/system/tools/aidl/ |
D | aidl_typenames.h | 36 class AidlEnumDeclaration; variable 85 const AidlEnumDeclaration* GetEnumDeclaration(const AidlTypeSpecifier& type) const;
|
D | aidl_language.h | 86 class AidlEnumDeclaration; 108 virtual void Visit(const AidlEnumDeclaration&) {} 915 virtual const AidlEnumDeclaration* AsEnumDeclaration() const { return nullptr; } 929 AidlEnumDeclaration* AsEnumDeclaration() { 930 return const_cast<AidlEnumDeclaration*>( 1075 class AidlEnumDeclaration : public AidlDefinedType { 1077 AidlEnumDeclaration(const AidlLocation& location, const string& name, 1080 virtual ~AidlEnumDeclaration() = default; 1083 AidlEnumDeclaration(const AidlEnumDeclaration&) = delete; 1084 AidlEnumDeclaration(AidlEnumDeclaration&&) = delete; [all …]
|
D | generate_java.h | 40 void generate_enum(const CodeWriterPtr& code_writer, const AidlEnumDeclaration* enum_decl,
|
D | aidl_dumpapi.h | 37 void Visit(const AidlEnumDeclaration& t) override;
|
D | generate_cpp.h | 55 const AidlEnumDeclaration& parsed_doc);
|
D | generate_ndk.h | 51 const AidlEnumDeclaration& enum_decl, const Options& options);
|
D | aidl_checkapi.cpp | 227 static bool HasZeroEnumerator(const AidlEnumDeclaration& enum_decl) { in HasZeroEnumerator() 234 static bool EvaluatesToZero(const AidlEnumDeclaration& enum_decl, const std::string& value) { in EvaluatesToZero() 370 static bool are_compatible_enums(const AidlEnumDeclaration& older, in are_compatible_enums() 371 const AidlEnumDeclaration& newer) { in are_compatible_enums()
|
D | generate_cpp_unittest.cpp | 65 AidlEnumDeclaration* ParseSingleEnumDeclaration() { in ParseSingleEnumDeclaration()
|
D | aidl_to_cpp_common.h | 76 std::string GenerateEnumValues(const AidlEnumDeclaration& enum_decl,
|
D | aidl_dumpapi.cpp | 104 void DumpVisitor::Visit(const AidlEnumDeclaration& t) { in Visit()
|
D | generate_java.cpp | 336 const AidlEnumDeclaration* enum_decl, in generate_java_enum_declaration() 359 if (const AidlEnumDeclaration* enum_decl = defined_type->AsEnumDeclaration(); in generate_java() 656 void generate_enum(const CodeWriterPtr& code_writer, const AidlEnumDeclaration* enum_decl, in generate_enum() 981 void Visit(const AidlEnumDeclaration& t) override { ForDefinedType(t); } in Visit()
|
D | generate_ndk.cpp | 118 const AidlTypenames& types, const AidlEnumDeclaration& defined_type, in GenerateNdkEnumDeclaration() 164 if (const AidlEnumDeclaration* enum_decl = defined_type.AsEnumDeclaration(); in GenerateNdk() 281 const AidlEnumDeclaration* enum_decl = defined_type.AsEnumDeclaration(); in GenerateHeaderIncludes() 1271 const AidlEnumDeclaration& enum_decl) { in GenerateEnumToString() 1304 const AidlEnumDeclaration& enum_decl, const Options& /*options*/) { in GenerateEnumHeader()
|
D | aidl_to_ndk.cpp | 186 TypeInfo EnumDeclarationTypeInfo(const AidlEnumDeclaration& enum_decl) { in EnumDeclarationTypeInfo() 387 } else if (const AidlEnumDeclaration* enum_decl = type->AsEnumDeclaration(); in GetTypeAspect()
|
D | aidl_language.cpp | 1219 AidlEnumDeclaration::AidlEnumDeclaration(const AidlLocation& location, const std::string& name, in AidlEnumDeclaration() function in AidlEnumDeclaration 1246 bool AidlEnumDeclaration::Autofill(const AidlTypenames& typenames) { in Autofill() 1269 bool AidlEnumDeclaration::CheckValid(const AidlTypenames& typenames) const { in CheckValid()
|
D | aidl_typenames.cpp | 335 const AidlEnumDeclaration* AidlTypenames::GetEnumDeclaration(const AidlTypeSpecifier& type) const { in GetEnumDeclaration()
|
D | diagnostics.cpp | 103 void Visit(const AidlEnumDeclaration& a) override { fun(a); } in Check()
|
D | generate_rust.cpp | 770 bool GenerateRustEnumDeclaration(const string& filename, const AidlEnumDeclaration* enum_decl, in GenerateRustEnumDeclaration() 807 if (const AidlEnumDeclaration* enum_decl = defined_type->AsEnumDeclaration(); in GenerateRust()
|
D | aidl.cpp | 370 void Visit(const AidlEnumDeclaration& m) override { in ValidateAnnotationContext() 610 AidlEnumDeclaration* enum_decl = defined_type->AsEnumDeclaration(); in load_and_validate_aidl()
|
D | aidl_to_java.cpp | 105 if (const AidlEnumDeclaration* enum_decl = typenames.GetEnumDeclaration(aidl); in JavaNameOf() 157 if (const AidlEnumDeclaration* enum_decl = typenames.GetEnumDeclaration(type); in AidlBackingTypeName()
|
D | aidl_to_cpp_common.cpp | 199 std::string GenerateEnumValues(const AidlEnumDeclaration& enum_decl, in GenerateEnumValues()
|
D | generate_cpp.cpp | 1339 const AidlEnumDeclaration& enum_decl) { in GenerateEnumToString() 1368 const AidlEnumDeclaration& enum_decl) { in BuildEnumHeader() 1536 const AidlEnumDeclaration& enum_decl, in GenerateCppEnumDeclaration() 1611 const AidlEnumDeclaration* enum_decl = defined_type.AsEnumDeclaration(); in GenerateCpp()
|
D | aidl_language_y.yy | 581 $$ = new AidlEnumDeclaration(loc(@2), $2->GetText(), $3, ps->Package(), $1->GetComments());
|
D | aidl_const_expressions.cpp | 489 const AidlEnumDeclaration* enum_type = defined_type->AsEnumDeclaration(); in ValueString()
|