Home
last modified time | relevance | path

Searched refs:AidlEnumDeclaration (Results 1 – 23 of 23) sorted by relevance

/system/tools/aidl/
Daidl_typenames.h36 class AidlEnumDeclaration; variable
85 const AidlEnumDeclaration* GetEnumDeclaration(const AidlTypeSpecifier& type) const;
Daidl_language.h86 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 …]
Dgenerate_java.h40 void generate_enum(const CodeWriterPtr& code_writer, const AidlEnumDeclaration* enum_decl,
Daidl_dumpapi.h37 void Visit(const AidlEnumDeclaration& t) override;
Dgenerate_cpp.h55 const AidlEnumDeclaration& parsed_doc);
Dgenerate_ndk.h51 const AidlEnumDeclaration& enum_decl, const Options& options);
Daidl_checkapi.cpp227 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()
Dgenerate_cpp_unittest.cpp65 AidlEnumDeclaration* ParseSingleEnumDeclaration() { in ParseSingleEnumDeclaration()
Daidl_to_cpp_common.h76 std::string GenerateEnumValues(const AidlEnumDeclaration& enum_decl,
Daidl_dumpapi.cpp104 void DumpVisitor::Visit(const AidlEnumDeclaration& t) { in Visit()
Dgenerate_java.cpp336 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()
Dgenerate_ndk.cpp118 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()
Daidl_to_ndk.cpp186 TypeInfo EnumDeclarationTypeInfo(const AidlEnumDeclaration& enum_decl) { in EnumDeclarationTypeInfo()
387 } else if (const AidlEnumDeclaration* enum_decl = type->AsEnumDeclaration(); in GetTypeAspect()
Daidl_language.cpp1219 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()
Daidl_typenames.cpp335 const AidlEnumDeclaration* AidlTypenames::GetEnumDeclaration(const AidlTypeSpecifier& type) const { in GetEnumDeclaration()
Ddiagnostics.cpp103 void Visit(const AidlEnumDeclaration& a) override { fun(a); } in Check()
Dgenerate_rust.cpp770 bool GenerateRustEnumDeclaration(const string& filename, const AidlEnumDeclaration* enum_decl, in GenerateRustEnumDeclaration()
807 if (const AidlEnumDeclaration* enum_decl = defined_type->AsEnumDeclaration(); in GenerateRust()
Daidl.cpp370 void Visit(const AidlEnumDeclaration& m) override { in ValidateAnnotationContext()
610 AidlEnumDeclaration* enum_decl = defined_type->AsEnumDeclaration(); in load_and_validate_aidl()
Daidl_to_java.cpp105 if (const AidlEnumDeclaration* enum_decl = typenames.GetEnumDeclaration(aidl); in JavaNameOf()
157 if (const AidlEnumDeclaration* enum_decl = typenames.GetEnumDeclaration(type); in AidlBackingTypeName()
Daidl_to_cpp_common.cpp199 std::string GenerateEnumValues(const AidlEnumDeclaration& enum_decl, in GenerateEnumValues()
Dgenerate_cpp.cpp1339 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()
Daidl_language_y.yy581 $$ = new AidlEnumDeclaration(loc(@2), $2->GetText(), $3, ps->Package(), $1->GetComments());
Daidl_const_expressions.cpp489 const AidlEnumDeclaration* enum_type = defined_type->AsEnumDeclaration(); in ValueString()