Home
last modified time | relevance | path

Searched refs:parsed_value (Results 1 – 2 of 2) sorted by relevance

/system/tools/aidl/
Daidl_const_expressions.cpp375 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
[all …]
Daidl_language.h663 AidlConstantValue(const AidlLocation& location, Type parsed_type, int64_t parsed_value,
670 static bool ParseIntegral(const string& value, int64_t* parsed_value, Type* parsed_type);