Home
last modified time | relevance | path

Searched refs:ValueString (Results 1 – 12 of 12) sorted by relevance

/system/tools/aidl/
Daidl_language.cpp249 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()
Dgenerate_rust.cpp347 << 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()
Daidl_dumpapi.cpp89 out << c.ValueString(type, AidlConstantValueDecorator); in DumpConstantValue()
Dgenerate_java.cpp401 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()
Dgenerate_cpp.cpp530 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()
Daidl_language.h509 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,
Dgenerate_ndk.cpp324 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()
Daidl.cpp706 if (constant->ValueString(AidlConstantValueDecorator).empty()) { in load_and_validate_aidl()
711 if (var->GetDefaultValue() && var->ValueString(AidlConstantValueDecorator).empty()) { in load_and_validate_aidl()
Daidl_to_cpp_common.cpp370 name_of(first_field->GetType(), typenames) + "(" + first_field->ValueString(decorator) + ")"; in PublicFields()
Daidl_const_expressions.cpp467 string AidlConstantValue::ValueString(const AidlTypeSpecifier& type, in ValueString() function in AidlConstantValue
553 const string value_string = value->ValueString(array_base, decorator); in ValueString()
Dgenerate_java_binder.cpp399 << constant->ValueString(ConstantValueDecorator) << ";\n"; in generate_constant_declarations()
Daidl_unittest.cpp1143 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()