Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_typenames.h34 class AidlEnumDeclaration; variable
76 const AidlEnumDeclaration* GetEnumDeclaration(const AidlTypeSpecifier& type) const;
Daidl_language.h394 class AidlEnumDeclaration; variable
673 virtual const AidlEnumDeclaration* AsEnumDeclaration() const { return nullptr; } in AsEnumDeclaration()
686 AidlEnumDeclaration* AsEnumDeclaration() { in AsEnumDeclaration()
687 return const_cast<AidlEnumDeclaration*>( in AsEnumDeclaration()
807 class AidlEnumDeclaration : public AidlDefinedType {
809 AidlEnumDeclaration(const AidlLocation& location, const string& name,
812 virtual ~AidlEnumDeclaration() = default;
815 AidlEnumDeclaration(const AidlEnumDeclaration&) = delete;
816 AidlEnumDeclaration(AidlEnumDeclaration&&) = delete;
817 AidlEnumDeclaration& operator=(const AidlEnumDeclaration&) = delete;
[all …]
Dgenerate_java.h40 void generate_enum(const CodeWriterPtr& code_writer, const AidlEnumDeclaration* enum_decl,
Dgenerate_cpp.h63 const AidlEnumDeclaration& parsed_doc);
Dgenerate_ndk.h56 const AidlEnumDeclaration& enum_decl, const Options& options);
Dgenerate_cpp_unittest.cpp1540 AidlEnumDeclaration* ParseSingleEnumDeclaration() { in ParseSingleEnumDeclaration()
1709 AidlEnumDeclaration* enum_decl = ParseSingleEnumDeclaration(); in TEST_F()
1722 AidlEnumDeclaration* enum_decl = ParseSingleEnumDeclaration(); in TEST_F()
Daidl_to_cpp_common.h73 std::string GenerateEnumValues(const AidlEnumDeclaration& enum_decl,
Daidl_language.cpp978 AidlEnumDeclaration::AidlEnumDeclaration(const AidlLocation& location, const std::string& name, in AidlEnumDeclaration() function in AidlEnumDeclaration
983 void AidlEnumDeclaration::SetBackingType(std::unique_ptr<const AidlTypeSpecifier> type) { in SetBackingType()
987 bool AidlEnumDeclaration::Autofill() { in Autofill()
1010 std::set<AidlAnnotation::Type> AidlEnumDeclaration::GetSupportedAnnotations() const { in GetSupportedAnnotations()
1015 bool AidlEnumDeclaration::CheckValid(const AidlTypenames& typenames) const { in CheckValid()
1030 void AidlEnumDeclaration::Dump(CodeWriter* writer) const { in Dump()
Dgenerate_java.cpp68 const AidlEnumDeclaration* enum_decl, in generate_java_enum_declaration()
83 if (const AidlEnumDeclaration* enum_decl = defined_type->AsEnumDeclaration(); in generate_java()
359 void generate_enum(const CodeWriterPtr& code_writer, const AidlEnumDeclaration* enum_decl, in generate_enum()
Daidl_checkapi.cpp264 static bool are_compatible_enums(const AidlEnumDeclaration& older, in are_compatible_enums()
265 const AidlEnumDeclaration& newer) { in are_compatible_enums()
Dgenerate_ndk.cpp99 const AidlTypenames& types, const AidlEnumDeclaration& defined_type, in GenerateNdkEnumDeclaration()
139 if (const AidlEnumDeclaration* enum_decl = defined_type.AsEnumDeclaration(); in GenerateNdk()
224 const AidlEnumDeclaration* enum_decl = defined_type.AsEnumDeclaration(); in GenerateHeaderIncludes()
1021 const AidlEnumDeclaration& enum_decl) { in GenerateEnumToString()
1047 const AidlEnumDeclaration& enum_decl, const Options& /*options*/) { in GenerateEnumHeader()
Daidl_to_ndk.cpp166 TypeInfo EnumDeclarationTypeInfo(const AidlEnumDeclaration& enum_decl) { in EnumDeclarationTypeInfo()
357 } else if (const AidlEnumDeclaration* enum_decl = type->AsEnumDeclaration(); in GetTypeAspect()
Daidl.cpp535 AidlEnumDeclaration* enum_decl = const_cast<AidlEnumDeclaration*>(type.AsEnumDeclaration()); in load_and_validate_aidl()
622 AidlEnumDeclaration* enum_decl = defined_type->AsEnumDeclaration(); in load_and_validate_aidl()
Daidl_typenames.cpp258 const AidlEnumDeclaration* AidlTypenames::GetEnumDeclaration(const AidlTypeSpecifier& type) const { in GetEnumDeclaration()
Daidl_to_cpp_common.cpp359 std::string GenerateEnumValues(const AidlEnumDeclaration& enum_decl, in GenerateEnumValues()
Dgenerate_cpp.cpp1206 const AidlEnumDeclaration& enum_decl) { in GenerateEnumToString()
1232 const AidlEnumDeclaration& enum_decl) { in BuildEnumHeader()
1389 const AidlEnumDeclaration& enum_decl, in GenerateCppEnumDeclaration()
1428 const AidlEnumDeclaration* enum_decl = defined_type.AsEnumDeclaration(); in GenerateCpp()
Daidl_to_java.cpp99 if (const AidlEnumDeclaration* enum_decl = typenames.GetEnumDeclaration(aidl); in JavaNameOf()
147 if (const AidlEnumDeclaration* enum_decl = typenames.GetEnumDeclaration(type); in AidlBackingTypeName()
Daidl_language_y.yy84 AidlEnumDeclaration* enum_decl;
557 $$ = new AidlEnumDeclaration(loc(@2), $2->GetText(), $3, ps->Package(), $1->GetComments());