Searched refs:AsEnumDeclaration (Results 1 – 11 of 11) sorted by relevance
326 } 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()
1565 EXPECT_NE(nullptr, defined_types.front()->AsEnumDeclaration()); in ParseSingleEnumDeclaration()1567 return defined_types.front()->AsEnumDeclaration(); in ParseSingleEnumDeclaration()
194 if (auto enum_decl = defined_type->AsEnumDeclaration(); enum_decl != nullptr) { in GetEnumDeclaration()
659 virtual const AidlEnumDeclaration* AsEnumDeclaration() const { return nullptr; } in AsEnumDeclaration() function671 AidlEnumDeclaration* AsEnumDeclaration() { in AsEnumDeclaration() function673 const_cast<const AidlDefinedType*>(this)->AsEnumDeclaration()); in AsEnumDeclaration()798 const AidlEnumDeclaration* AsEnumDeclaration() const override { return this; } in AsEnumDeclaration() function
311 definedType->AsEnumDeclaration() != nullptr) { in AddHeaders()
536 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()
83 if (const AidlEnumDeclaration* enum_decl = defined_type->AsEnumDeclaration(); in generate_java()
355 } else if (const AidlEnumDeclaration* enum_decl = type->AsEnumDeclaration(); in GetTypeAspect()
140 if (const AidlEnumDeclaration* enum_decl = defined_type.AsEnumDeclaration(); in GenerateNdk()196 } else if (other_defined_type.AsEnumDeclaration() != nullptr) { in GenerateHeaderIncludes()
117 const bool isEnum = definedType && definedType->AsEnumDeclaration() != nullptr; in BuildArgList()1428 const AidlEnumDeclaration* enum_decl = defined_type.AsEnumDeclaration(); in GenerateCpp()
480 if (defined_type != nullptr && defined_type->AsEnumDeclaration() != nullptr && !IsArray()) { in CheckValid()