Lines Matching refs:parsed_value
375 bool AidlConstantValue::ParseIntegral(const string& value, int64_t* parsed_value, in ParseIntegral() argument
377 if (parsed_value == nullptr || parsed_type == nullptr) { in ParseIntegral()
398 *parsed_value = static_cast<int32_t>(rawValue32); in ParseIntegral()
401 *parsed_value = static_cast<int64_t>(rawValue64); in ParseIntegral()
404 *parsed_value = 0; in ParseIntegral()
411 if (!android::base::ParseInt<int64_t>(value_substr, parsed_value)) { in ParseIntegral()
412 *parsed_value = 0; in ParseIntegral()
421 if (*parsed_value <= INT8_MAX && *parsed_value >= INT8_MIN) { in ParseIntegral()
423 } else if (*parsed_value <= INT32_MAX && *parsed_value >= INT32_MIN) { in ParseIntegral()
436 int64_t parsed_value = 0; in Integral() local
437 bool success = ParseIntegral(value, &parsed_value, &parsed_type); in Integral()
442 return new AidlConstantValue(location, parsed_type, parsed_value, value); in Integral()
569 double parsed_value; in ValueString() local
570 if (!ParseFloating(value_, &parsed_value)) { in ValueString()
575 return decorator(type, std::to_string(parsed_value)); in ValueString()
578 float parsed_value; in ValueString() local
579 if (!ParseFloating(value_, &parsed_value)) { in ValueString()
584 return decorator(type, std::to_string(parsed_value) + "f"); in ValueString()
1011 int64_t parsed_value, const string& checked_value) in AidlConstantValue() argument
1016 final_value_(parsed_value) { in AidlConstantValue()