Searched refs:ValueString (Results 1 – 10 of 10) sorted by relevance
/system/tools/aidl/ |
D | aidl_checkapi.cpp | 162 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()
|
D | aidl_language.cpp | 196 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 …]
|
D | generate_java.cpp | 119 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()
|
D | aidl_language.h | 354 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,
|
D | generate_ndk.cpp | 285 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()
|
D | aidl_const_expressions.cpp | 359 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()
|
D | generate_cpp.cpp | 813 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()
|
D | generate_java_binder.cpp | 1102 constant->ValueString(ConstantValueDecorator)); in generate_binder_interface_class() 1109 constant->ValueString(ConstantValueDecorator)); in generate_binder_interface_class()
|
D | aidl.cpp | 679 if (constant->ValueString(cpp::ConstantValueDecorator).empty()) { in load_and_validate_aidl()
|
D | aidl_unittest.cpp | 846 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()
|