Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_checkapi.cpp157 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()
Daidl_language.cpp206 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 …]
Dgenerate_java.cpp115 out << " = " << variable->ValueString(ConstantValueDecorator); in generate_parcel_class()
261 enumerator->ValueString(enum_decl->GetBackingType(), ConstantValueDecorator).c_str()); in generate_enum()
Daidl_language.h348 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,
Dgenerate_ndk.cpp252 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()
Daidl_const_expressions.cpp319 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()
Dgenerate_cpp.cpp819 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()
Dgenerate_java_binder.cpp1102 constant->ValueString(ConstantValueDecorator)); in generate_binder_interface_class()
1109 constant->ValueString(ConstantValueDecorator)); in generate_binder_interface_class()
Daidl_unittest.cpp640 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()
Daidl.cpp671 if (constant->ValueString(cpp::ConstantValueDecorator).empty()) { in load_and_validate_aidl()