/system/tools/aidl/ |
D | aidl_checkapi.cpp | 157 const string old_value = old_c->ValueString(AidlConstantValueDecorator); in are_compatible_constants() 158 const string new_value = new_c->ValueString(AidlConstantValueDecorator); in are_compatible_constants() 230 return enumerator->GetValue()->ValueString( in HasZeroEnumerator() 237 return value->ValueString(enum_decl.GetBackingType(), AidlConstantValueDecorator) == "0"; in EvaluatesToZero() 273 const string old_value = old_field->ValueString(AidlConstantValueDecorator); in are_compatible_parcelables() 274 const string new_value = new_field->ValueString(AidlConstantValueDecorator); in are_compatible_parcelables() 384 old_enum_map[name]->ValueString(older.GetBackingType(), AidlConstantValueDecorator); in are_compatible_enums() 386 new_enum_map[name]->ValueString(newer.GetBackingType(), AidlConstantValueDecorator); in are_compatible_enums()
|
D | aidl_dumpapi.cpp | 118 out << c.ValueString(type, AidlConstantValueDecorator); in DumpConstantValue() 136 out << " /* " << c.ValueString(type, AidlConstantValueDecorator) << " */"; in DumpConstantValue()
|
D | aidl_language.cpp | 307 param->ValueString(param_type->type, AidlConstantValueDecorator); in CheckValid() 389 raw_params.emplace(param_name, param->ValueString(param_type->type, decorator)); in AnnotationParams() 929 return !ValueString(AidlConstantValueDecorator).empty(); in CheckValid() 942 ret += " = " + ValueString(AidlConstantValueDecorator); in ToString() 951 std::string AidlVariableDeclaration::ValueString(const ConstantValueDecorator& decorator) const { in ValueString() function in AidlVariableDeclaration 953 return default_value_->ValueString(GetType(), decorator); in ValueString() 1072 valid = valid && !ValueString(AidlConstantValueDecorator).empty(); in CheckValid() 1087 ValueString(AidlConstantValueDecorator); in ToString() 1572 if (GetValue()->ValueString(enum_backing_type, AidlConstantValueDecorator).empty()) { in CheckValid() 1579 string AidlEnumerator::ValueString(const AidlTypeSpecifier& backing_type, in ValueString() function in AidlEnumerator [all …]
|
D | preprocess.cpp | 83 out << c.ValueString(type, AidlConstantValueDecorator); in DumpConstantValue()
|
D | aidl_to_cpp_common.cpp | 257 out << " = " << enumerator->ValueString(enum_decl.GetBackingType(), decorator) << ",\n"; in GenerateEnumClassDecl() 315 std::string c = enumerator->ValueString(enum_decl.GetBackingType(), AidlConstantValueDecorator); in GenerateEnumToString() 659 first_field->ValueString(decorator) + ")"; in PrivateFields() 741 first_field->ValueString(decorator) + ")"; in PublicFields()
|
D | generate_java.cpp | 340 out << " = " << variable->ValueString(ConstantValueDecorator); in GenerateParcelableClass() 367 out << " = " << variable->ValueString(ConstantValueDecorator); in GenerateParcelableClass() 638 enumerator->ValueString(backing_type, ConstantValueDecorator)); in GenerateEnumClass() 713 const auto& first_value = first_field->ValueString(ConstantValueDecorator); in GenerateUnionClass()
|
D | aidl_language.h | 564 std::string ValueString(const ConstantValueDecorator& decorator) const; 704 string ValueString(const AidlTypeSpecifier& type, const ConstantValueDecorator& decorator) const; 862 string ValueString(const ConstantValueDecorator& decorator) const { 863 return value_->ValueString(GetType(), decorator); 1144 string ValueString(const AidlTypeSpecifier& backing_type,
|
D | generate_rust.cpp | 603 << constant->ValueString(ConstantValueDecoratorRef) << ";\n"; in GenerateConstantDeclarations() 1082 out << variable->ValueString(ConstantValueDecorator); in GenerateParcelDefault() 1229 const auto& first_value = first_field->ValueString(ConstantValueDecorator); in GenerateParcelDefault() 1413 auto value = enumerator->GetValue()->ValueString(aidl_backing_type, ConstantValueDecorator); in GenerateRustEnumDeclaration()
|
D | generate_cpp.cpp | 436 << constant->ValueString(ConstantValueDecorator) << ");\n"; in GenerateConstantDefinitions() 454 out << " = " << constant->ValueString(ConstantValueDecorator) << ";\n"; in GenerateConstantDeclarations() 458 out << " = " << constant->ValueString(ConstantValueDecorator) << " };\n"; in GenerateConstantDeclarations() 1223 out << " = " << variable->ValueString(ConstantValueDecorator); in GenerateParcelFields()
|
D | aidl_unittest.cpp | 1552 EXPECT_EQ("'\\0'", default_value->ValueString(*char_type, cpp::ConstantValueDecorator)); in TEST_F() 1553 EXPECT_EQ("'\\0'", default_value->ValueString(*char_type, ndk::ConstantValueDecorator)); in TEST_F() 1554 EXPECT_EQ("'\\0'", default_value->ValueString(*char_type, java::ConstantValueDecorator)); in TEST_F() 1732 EXPECT_EQ("245", cpp_constants[0]->ValueString(cpp::ConstantValueDecorator)); in TEST_P() 1751 EXPECT_EQ("-1", cpp_constants[0]->ValueString(cpp::ConstantValueDecorator)); in TEST_P() 1768 EXPECT_EQ("-1", fields[0]->ValueString(cpp::ConstantValueDecorator)); in TEST_F() 1769 EXPECT_EQ("{uint8_t(-1), 1}", fields[1]->ValueString(cpp::ConstantValueDecorator)); in TEST_F() 1770 EXPECT_EQ("{{uint8_t(-1), 1}}", fields[2]->ValueString(cpp::ConstantValueDecorator)); in TEST_F() 1787 EXPECT_EQ("-1", fields[0]->ValueString(ndk::ConstantValueDecorator)); in TEST_F() 1788 EXPECT_EQ("{uint8_t(-1), 1}", fields[1]->ValueString(ndk::ConstantValueDecorator)); in TEST_F() [all …]
|
D | generate_ndk.cpp | 436 out << " = " << constant->ValueString(ConstantValueDecorator) << ";\n"; in GenerateConstantDeclarations() 441 out << " = " << constant->ValueString(ConstantValueDecorator) << " };\n"; in GenerateConstantDeclarations() 457 << constant->ValueString(ConstantValueDecorator) << ";\n"; in GenerateConstantDefinitions() 1275 out << " = " << variable->ValueString(ConstantValueDecorator); in GenerateParcelClassDecl()
|
D | aidl_const_expressions.cpp | 614 string AidlConstantValue::ValueString(const AidlTypeSpecifier& type, in ValueString() function in AidlConstantValue 710 value_string = value->ValueString(base_type, decorator); in ValueString()
|
D | generate_java_binder.cpp | 459 << constant->ValueString(ConstantValueDecorator) << ";\n"; in GenerateConstantDeclarations()
|