Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_checkapi.cpp326 } else if (old_type->AsEnumDeclaration() != nullptr) { in check_api()
327 if (new_type->AsEnumDeclaration() == nullptr) { in check_api()
335 are_compatible_enums(*(old_type->AsEnumDeclaration()), *(new_type->AsEnumDeclaration())); in check_api()
Dgenerate_cpp_unittest.cpp1565 EXPECT_NE(nullptr, defined_types.front()->AsEnumDeclaration()); in ParseSingleEnumDeclaration()
1567 return defined_types.front()->AsEnumDeclaration(); in ParseSingleEnumDeclaration()
Daidl_typenames.cpp194 if (auto enum_decl = defined_type->AsEnumDeclaration(); enum_decl != nullptr) { in GetEnumDeclaration()
Daidl_language.h659 virtual const AidlEnumDeclaration* AsEnumDeclaration() const { return nullptr; } in AsEnumDeclaration() function
671 AidlEnumDeclaration* AsEnumDeclaration() { in AsEnumDeclaration() function
673 const_cast<const AidlDefinedType*>(this)->AsEnumDeclaration()); in AsEnumDeclaration()
798 const AidlEnumDeclaration* AsEnumDeclaration() const override { return this; } in AsEnumDeclaration() function
Daidl_to_cpp.cpp311 definedType->AsEnumDeclaration() != nullptr) { in AddHeaders()
Daidl.cpp536 AidlEnumDeclaration* enum_decl = const_cast<AidlEnumDeclaration*>(type.AsEnumDeclaration()); in load_and_validate_aidl()
614 AidlEnumDeclaration* enum_decl = defined_type->AsEnumDeclaration(); in load_and_validate_aidl()
Dgenerate_java.cpp83 if (const AidlEnumDeclaration* enum_decl = defined_type->AsEnumDeclaration(); in generate_java()
Daidl_to_ndk.cpp355 } else if (const AidlEnumDeclaration* enum_decl = type->AsEnumDeclaration(); in GetTypeAspect()
Dgenerate_ndk.cpp140 if (const AidlEnumDeclaration* enum_decl = defined_type.AsEnumDeclaration(); in GenerateNdk()
196 } else if (other_defined_type.AsEnumDeclaration() != nullptr) { in GenerateHeaderIncludes()
Dgenerate_cpp.cpp117 const bool isEnum = definedType && definedType->AsEnumDeclaration() != nullptr; in BuildArgList()
1428 const AidlEnumDeclaration* enum_decl = defined_type.AsEnumDeclaration(); in GenerateCpp()
Daidl_language.cpp480 if (defined_type != nullptr && defined_type->AsEnumDeclaration() != nullptr && !IsArray()) { in CheckValid()