Searched refs:ValueString (Results 1 – 10 of 10) sorted by relevance
/system/tools/aidl/ |
D | aidl_checkapi.cpp | 157 const string old_value = old_c->ValueString(AidlConstantValueDecorator); in are_compatible_interfaces() 158 const string new_value = new_c->ValueString(AidlConstantValueDecorator); in are_compatible_interfaces() 185 const string old_value = old_field->ValueString(AidlConstantValueDecorator); in are_compatible_parcelables() 186 const string new_value = new_field->ValueString(AidlConstantValueDecorator); in are_compatible_parcelables() 236 old_enum_map[name]->ValueString(older.GetBackingType(), AidlConstantValueDecorator); in are_compatible_enums() 238 new_enum_map[name]->ValueString(newer.GetBackingType(), AidlConstantValueDecorator); in are_compatible_enums()
|
D | aidl_language.cpp | 206 const std::string param_value = param->ValueString(type, AidlConstantValueDecorator); in CheckValid() 232 raw_params.emplace(param_name, param->ValueString(type, decorator)); in AnnotationParams() 517 return !ValueString(AidlConstantValueDecorator).empty(); in CheckValid() 523 ret += " = " + ValueString(AidlConstantValueDecorator); in ToString() 532 std::string AidlVariableDeclaration::ValueString(const ConstantValueDecorator& decorator) const { in ValueString() function in AidlVariableDeclaration 534 return default_value_->ValueString(GetType(), decorator); in ValueString() 608 ValueString(AidlConstantValueDecorator); in ToString() 883 if (GetValue()->ValueString(enum_backing_type, AidlConstantValueDecorator).empty()) { in CheckValid() 890 string AidlEnumerator::ValueString(const AidlTypeSpecifier& backing_type, in ValueString() function in AidlEnumerator 892 return GetValue()->ValueString(backing_type, decorator); in ValueString() [all …]
|
D | generate_java.cpp | 115 out << " = " << variable->ValueString(ConstantValueDecorator); in generate_parcel_class() 261 enumerator->ValueString(enum_decl->GetBackingType(), ConstantValueDecorator).c_str()); in generate_enum()
|
D | aidl_language.h | 348 std::string ValueString(const ConstantValueDecorator& decorator) const; 447 string ValueString(const AidlTypeSpecifier& type, const ConstantValueDecorator& decorator) const; 532 string ValueString(const ConstantValueDecorator& decorator) const { in ValueString() function 533 return value_->ValueString(GetType(), decorator); in ValueString() 767 string ValueString(const AidlTypeSpecifier& backing_type,
|
D | generate_ndk.cpp | 252 out << constant->GetName() << " = " << constant->ValueString(ConstantValueDecorator) in GenerateConstantDeclarations() 269 << constant->ValueString(ConstantValueDecorator) << ";\n"; in GenerateConstantDefinitions() 881 out << " = " << variable->ValueString(ConstantValueDecorator); in GenerateParcelHeader() 963 std::string c = enumerator->ValueString(enum_decl.GetBackingType(), ConstantValueDecorator); in GenerateEnumToString() 998 << enumerator->ValueString(enum_decl.GetBackingType(), ConstantValueDecorator) << ",\n"; in GenerateEnumHeader()
|
D | aidl_const_expressions.cpp | 319 const std::string& value = other.ValueString(type, AidlConstantValueDecorator); in ShallowIntegralCopy() 331 string AidlConstantValue::ValueString(const AidlTypeSpecifier& type, in ValueString() function in AidlConstantValue 400 const string value_string = value->ValueString(array_base, decorator); in ValueString()
|
D | generate_cpp.cpp | 819 constant->ValueString(ConstantValueDecorator).c_str())); in BuildInterfaceSource() 991 constant->ValueString(ConstantValueDecorator)); in BuildInterfaceHeader() 1112 out << " = " << cppType.c_str() << "(" << variable->ValueString(ConstantValueDecorator) in BuildParcelHeader() 1212 std::string c = enumerator->ValueString(enum_decl.GetBackingType(), ConstantValueDecorator); in GenerateEnumToString() 1238 enumerator->ValueString(enum_decl.GetBackingType(), ConstantValueDecorator)); in BuildEnumHeader()
|
D | generate_java_binder.cpp | 1102 constant->ValueString(ConstantValueDecorator)); in generate_binder_interface_class() 1109 constant->ValueString(ConstantValueDecorator)); in generate_binder_interface_class()
|
D | aidl_unittest.cpp | 640 EXPECT_EQ("245", cpp_constants[0]->ValueString(cpp::ConstantValueDecorator)); in TEST_F() 659 EXPECT_EQ("-1", cpp_constants[0]->ValueString(cpp::ConstantValueDecorator)); in TEST_F()
|
D | aidl.cpp | 671 if (constant->ValueString(cpp::ConstantValueDecorator).empty()) { in load_and_validate_aidl()
|