Searched refs:ValueString (Results 1 – 12 of 12) sorted by relevance
/system/tools/aidl/ |
D | aidl_language.cpp | 249 param->ValueString(param_type->type, AidlConstantValueDecorator); in CheckValid() 304 raw_params.emplace(param_name, param->ValueString(param_type->type, decorator)); in AnnotationParams() 691 return !ValueString(AidlConstantValueDecorator).empty(); in CheckValid() 704 ret += " = " + ValueString(AidlConstantValueDecorator); in ToString() 713 std::string AidlVariableDeclaration::ValueString(const ConstantValueDecorator& decorator) const { in ValueString() function in AidlVariableDeclaration 715 return default_value_->ValueString(GetType(), decorator); in ValueString() 847 ValueString(AidlConstantValueDecorator); in ToString() 1207 if (GetValue()->ValueString(enum_backing_type, AidlConstantValueDecorator).empty()) { in CheckValid() 1214 string AidlEnumerator::ValueString(const AidlTypeSpecifier& backing_type, in ValueString() function in AidlEnumerator 1216 return GetValue()->ValueString(backing_type, decorator); in ValueString()
|
D | generate_rust.cpp | 347 << constant->ValueString(ConstantValueDecoratorRef) << ";\n"; in GenerateConstantDeclarations() 528 out << variable->GetName() << ": " << variable->ValueString(ConstantValueDecorator) << ",\n"; in GenerateParcelDefault() 617 const auto& first_value = first_field->ValueString(ConstantValueDecorator); in GenerateParcelDefault() 784 auto value = enumerator->GetValue()->ValueString(aidl_backing_type, ConstantValueDecorator); in GenerateRustEnumDeclaration()
|
D | aidl_dumpapi.cpp | 89 out << c.ValueString(type, AidlConstantValueDecorator); in DumpConstantValue()
|
D | generate_java.cpp | 401 out << " = " << variable->ValueString(ConstantValueDecorator); in generate_parcel_class() 429 out << " = " << variable->ValueString(ConstantValueDecorator); in generate_parcel_class() 675 enumerator->ValueString(enum_decl->GetBackingType(), ConstantValueDecorator).c_str()); in generate_enum() 716 const auto& first_value = first_field->ValueString(ConstantValueDecorator); in generate_union()
|
D | generate_cpp.cpp | 530 constant->ValueString(ConstantValueDecorator).c_str())); in BuildConstantDefinitions() 554 constant->ValueString(ConstantValueDecorator), attribute); in BuildConstantDeclarations() 557 constant->ValueString(ConstantValueDecorator), attribute); in BuildConstantDeclarations() 560 constant->ValueString(ConstantValueDecorator), attribute); in BuildConstantDeclarations() 1107 return cppType + "(" + variable.ValueString(ConstantValueDecorator) + ")"; in GetInitializer() 1348 std::string c = enumerator->ValueString(enum_decl.GetBackingType(), ConstantValueDecorator); in GenerateEnumToString() 1375 enumerator->ValueString(enum_decl.GetBackingType(), ConstantValueDecorator)); in BuildEnumHeader()
|
D | aidl_language.h | 509 std::string ValueString(const ConstantValueDecorator& decorator) const; 651 string ValueString(const AidlTypeSpecifier& type, const ConstantValueDecorator& decorator) const; 797 string ValueString(const ConstantValueDecorator& decorator) const { 798 return value_->ValueString(GetType(), decorator); 1058 string ValueString(const AidlTypeSpecifier& backing_type,
|
D | generate_ndk.cpp | 324 out << " = " << constant->ValueString(ConstantValueDecorator) << " };\n"; in GenerateConstantDeclarations() 341 << constant->ValueString(ConstantValueDecorator) << ";\n"; in GenerateConstantDefinitions() 1048 out << " = " << variable->ValueString(ConstantValueDecorator); in GenerateParcelHeader() 1284 std::string c = enumerator->ValueString(enum_decl.GetBackingType(), ConstantValueDecorator); in GenerateEnumToString() 1321 << enumerator->ValueString(enum_decl.GetBackingType(), ConstantValueDecorator) << ",\n"; in GenerateEnumHeader()
|
D | aidl.cpp | 706 if (constant->ValueString(AidlConstantValueDecorator).empty()) { in load_and_validate_aidl() 711 if (var->GetDefaultValue() && var->ValueString(AidlConstantValueDecorator).empty()) { in load_and_validate_aidl()
|
D | aidl_to_cpp_common.cpp | 370 name_of(first_field->GetType(), typenames) + "(" + first_field->ValueString(decorator) + ")"; in PublicFields()
|
D | aidl_const_expressions.cpp | 467 string AidlConstantValue::ValueString(const AidlTypeSpecifier& type, in ValueString() function in AidlConstantValue 553 const string value_string = value->ValueString(array_base, decorator); in ValueString()
|
D | generate_java_binder.cpp | 399 << constant->ValueString(ConstantValueDecorator) << ";\n"; in generate_constant_declarations()
|
D | aidl_unittest.cpp | 1143 EXPECT_EQ("245", cpp_constants[0]->ValueString(cpp::ConstantValueDecorator)); in TEST_P() 1162 EXPECT_EQ("-1", cpp_constants[0]->ValueString(cpp::ConstantValueDecorator)); in TEST_P()
|