Lines Matching refs:value_
332 : AidlNode(location), type_(type), value_(checked_value) { in AidlConstantValue()
333 CHECK(!value_.empty() || type_ == Type::ERROR); in AidlConstantValue()
437 if (type_string == "boolean") return decorator(type, value_); in As()
440 if (type_string == "char") return decorator(type, value_); in As()
443 bool is_float_literal = value_.back() == 'f'; in As()
444 const std::string raw_value = TrimIfSuffix(value_, "f"); in As()
463 if (!android::base::ParseUint<uint8_t>(value_, &unsigned_value)) goto parse_error; in As()
468 if (!android::base::ParseUint<uint32_t>(value_, &unsigned_value)) goto parse_error; in As()
473 if (!android::base::ParseUint<uint64_t>(value_, &unsigned_value)) goto parse_error; in As()
479 if (!android::base::ParseInt<int8_t>(value_, nullptr)) goto parse_error; in As()
480 return decorator(type, value_); in As()
483 if (!android::base::ParseInt<int32_t>(value_, nullptr)) goto parse_error; in As()
484 return decorator(type, value_); in As()
487 if (!android::base::ParseInt<int64_t>(value_, nullptr)) goto parse_error; in As()
488 return decorator(type, value_); in As()
492 if (type_string == "String") return decorator(type, value_); in As()
502 AIDL_ERROR(this) << "Could not parse " << value_ << " as " << type_string; in As()
534 : AidlMember(location), type_(type), name_(name), value_(value) {} in AidlConstantDeclaration()
539 valid &= value_->CheckValid(); in CheckValid()