Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_checkapi.cpp162 const string old_value = old_c->ValueString(AidlConstantValueDecorator); in are_compatible_interfaces()
163 const string new_value = new_c->ValueString(AidlConstantValueDecorator); in are_compatible_interfaces()
203 const string old_value = old_field->ValueString(AidlConstantValueDecorator); in are_compatible_parcelables()
204 const string new_value = new_field->ValueString(AidlConstantValueDecorator); in are_compatible_parcelables()
288 old_enum_map[name]->ValueString(older.GetBackingType(), AidlConstantValueDecorator); in are_compatible_enums()
290 new_enum_map[name]->ValueString(newer.GetBackingType(), AidlConstantValueDecorator); in are_compatible_enums()
Daidl_language.cpp196 const std::string param_value = param->ValueString(type, AidlConstantValueDecorator); in CheckValid()
232 raw_params.emplace(param_name, param->ValueString(type, decorator)); in AnnotationParams()
553 return !ValueString(AidlConstantValueDecorator).empty(); in CheckValid()
559 ret += " = " + ValueString(AidlConstantValueDecorator); in ToString()
568 std::string AidlVariableDeclaration::ValueString(const ConstantValueDecorator& decorator) const { in ValueString() function in AidlVariableDeclaration
570 return default_value_->ValueString(GetType(), decorator); in ValueString()
652 ValueString(AidlConstantValueDecorator); in ToString()
966 if (GetValue()->ValueString(enum_backing_type, AidlConstantValueDecorator).empty()) { in CheckValid()
973 string AidlEnumerator::ValueString(const AidlTypeSpecifier& backing_type, in ValueString() function in AidlEnumerator
975 return GetValue()->ValueString(backing_type, decorator); in ValueString()
[all …]
Dgenerate_java.cpp119 out << " = " << variable->ValueString(ConstantValueDecorator); in generate_parcel_class()
252 out << " = " << field->ValueString(ConstantValueDecorator); in generate_parcel_class()
379 enumerator->ValueString(enum_decl->GetBackingType(), ConstantValueDecorator).c_str()); in generate_enum()
Daidl_language.h354 std::string ValueString(const ConstantValueDecorator& decorator) const;
469 string ValueString(const AidlTypeSpecifier& type, const ConstantValueDecorator& decorator) const;
558 string ValueString(const ConstantValueDecorator& decorator) const { in ValueString() function
559 return value_->ValueString(GetType(), decorator); in ValueString()
796 string ValueString(const AidlTypeSpecifier& backing_type,
Dgenerate_ndk.cpp285 out << constant->GetName() << " = " << constant->ValueString(ConstantValueDecorator) in GenerateConstantDeclarations()
302 << constant->ValueString(ConstantValueDecorator) << ";\n"; in GenerateConstantDefinitions()
942 out << " = " << variable->ValueString(ConstantValueDecorator); in GenerateParcelHeader()
1027 std::string c = enumerator->ValueString(enum_decl.GetBackingType(), ConstantValueDecorator); in GenerateEnumToString()
1062 << enumerator->ValueString(enum_decl.GetBackingType(), ConstantValueDecorator) << ",\n"; in GenerateEnumHeader()
Daidl_const_expressions.cpp359 const std::string& value = other.ValueString(type, AidlConstantValueDecorator); in ShallowIntegralCopy()
371 string AidlConstantValue::ValueString(const AidlTypeSpecifier& type, in ValueString() function in AidlConstantValue
440 const string value_string = value->ValueString(array_base, decorator); in ValueString()
Dgenerate_cpp.cpp813 constant->ValueString(ConstantValueDecorator).c_str())); in BuildInterfaceSource()
985 constant->ValueString(ConstantValueDecorator)); in BuildInterfaceHeader()
1106 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()
Dgenerate_java_binder.cpp1102 constant->ValueString(ConstantValueDecorator)); in generate_binder_interface_class()
1109 constant->ValueString(ConstantValueDecorator)); in generate_binder_interface_class()
Daidl.cpp679 if (constant->ValueString(cpp::ConstantValueDecorator).empty()) { in load_and_validate_aidl()
Daidl_unittest.cpp846 EXPECT_EQ("245", cpp_constants[0]->ValueString(cpp::ConstantValueDecorator)); in TEST_P()
865 EXPECT_EQ("-1", cpp_constants[0]->ValueString(cpp::ConstantValueDecorator)); in TEST_P()