Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_const_expressions.cpp263 bool AidlConstantValue::ParseIntegral(const string& value, int64_t* parsed_value, in ParseIntegral() argument
265 if (parsed_value == nullptr || parsed_type == nullptr) { in ParseIntegral()
286 *parsed_value = static_cast<int32_t>(rawValue32); in ParseIntegral()
289 *parsed_value = static_cast<int64_t>(rawValue64); in ParseIntegral()
292 *parsed_value = 0; in ParseIntegral()
299 if (!android::base::ParseInt<int64_t>(value_substr, parsed_value)) { in ParseIntegral()
300 *parsed_value = 0; in ParseIntegral()
309 if (*parsed_value <= INT8_MAX && *parsed_value >= INT8_MIN) { in ParseIntegral()
311 } else if (*parsed_value <= INT32_MAX && *parsed_value >= INT32_MIN) { in ParseIntegral()
324 int64_t parsed_value = 0; in Integral() local
[all …]
Daidl_language.h472 AidlConstantValue(const AidlLocation& location, Type parsed_type, int64_t parsed_value,
478 static bool ParseIntegral(const string& value, int64_t* parsed_value, Type* parsed_type);