Home
last modified time | relevance | path

Searched refs:AsEnumDeclaration (Results 1 – 12 of 12) sorted by relevance

/system/tools/aidl/
Daidl_checkapi.cpp364 } else if (old_type->AsEnumDeclaration() != nullptr) { in check_api()
365 if (new_type->AsEnumDeclaration() == nullptr) { in check_api()
373 are_compatible_enums(*(old_type->AsEnumDeclaration()), *(new_type->AsEnumDeclaration())); in check_api()
Dgenerate_cpp_unittest.cpp1553 EXPECT_NE(nullptr, defined_types.front().get()->AsEnumDeclaration()); in ParseSingleEnumDeclaration()
1555 return defined_types.front().get()->AsEnumDeclaration(); in ParseSingleEnumDeclaration()
Daidl_language.h673 virtual const AidlEnumDeclaration* AsEnumDeclaration() const { return nullptr; } in AsEnumDeclaration() function
686 AidlEnumDeclaration* AsEnumDeclaration() { in AsEnumDeclaration() function
688 const_cast<const AidlDefinedType*>(this)->AsEnumDeclaration()); in AsEnumDeclaration()
835 const AidlEnumDeclaration* AsEnumDeclaration() const override { return this; } in AsEnumDeclaration() function
Daidl_typenames.cpp260 if (auto enum_decl = defined_type->AsEnumDeclaration(); enum_decl != nullptr) { in GetEnumDeclaration()
Daidl_to_cpp.cpp311 definedType->AsEnumDeclaration() != nullptr) { in AddHeaders()
Dgenerate_ndk.cpp139 if (const AidlEnumDeclaration* enum_decl = defined_type.AsEnumDeclaration(); in GenerateNdk()
197 } else if (type->AsEnumDeclaration() != nullptr) { in GenerateHeaderIncludes()
224 const AidlEnumDeclaration* enum_decl = defined_type.AsEnumDeclaration(); in GenerateHeaderIncludes()
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_to_ndk.cpp357 } else if (const AidlEnumDeclaration* enum_decl = type->AsEnumDeclaration(); in GetTypeAspect()
Dgenerate_java.cpp83 if (const AidlEnumDeclaration* enum_decl = defined_type->AsEnumDeclaration(); in generate_java()
Dgenerate_cpp.cpp117 const bool isEnum = definedType && definedType->AsEnumDeclaration() != nullptr; in BuildArgList()
1428 const AidlEnumDeclaration* enum_decl = defined_type.AsEnumDeclaration(); in GenerateCpp()
Daidl_to_java.cpp794 if (t != nullptr && t->AsEnumDeclaration()) { in ToStringFor()
Daidl_language.cpp510 if (defined_type != nullptr && defined_type->AsEnumDeclaration() != nullptr && !IsArray()) { in CheckValid()