Home
last modified time | relevance | path

Searched refs:raw_value (Results 1 – 7 of 7) sorted by relevance

/system/tools/aidl/
Daidl_to_cpp.cpp30 std::string ConstantValueDecorator(const AidlTypeSpecifier& type, const std::string& raw_value) { in ConstantValueDecorator() argument
32 return "::android::String16(" + raw_value + ")"; in ConstantValueDecorator()
35 return raw_value; in ConstantValueDecorator()
Daidl_to_cpp.h26 std::string ConstantValueDecorator(const AidlTypeSpecifier& type, const std::string& raw_value);
Daidl_to_java.h42 std::string ConstantValueDecorator(const AidlTypeSpecifier& type, const std::string& raw_value);
Daidl_language.cpp239 const std::string& raw_value) { in AidlConstantValueDecorator() argument
240 return raw_value; in AidlConstantValueDecorator()
425 const std::string raw_value = value->As(array_base, decorator); in As() local
427 success &= !raw_value.empty(); in As()
428 raw_values.push_back(decorator(array_base, raw_value)); in As()
444 const std::string raw_value = TrimIfSuffix(value_, "f"); in As() local
448 if (!android::base::ParseDouble(raw_value, &parsed_value)) goto parse_error; in As()
453 if (!android::base::ParseFloat(raw_value, &parsed_value)) goto parse_error; in As()
Daidl_to_java.cpp44 const std::string& raw_value) { in ConstantValueDecorator() argument
46 return raw_value; in ConstantValueDecorator()
Daidl_language.h259 std::function<std::string(const AidlTypeSpecifier& type, const std::string& raw_value)>;
262 std::string AidlConstantValueDecorator(const AidlTypeSpecifier& type, const std::string& raw_value);
/system/nvram/messages/include/nvram/messages/
Dproto.hpp194 uint64_t raw_value; in Decode() local
195 if (!reader->ReadVarint(&raw_value)) { in Decode()
198 value = static_cast<Type>(raw_value); in Decode()
199 return static_cast<uint64_t>(value) == raw_value; in Decode()