Searched refs:AsEnumDeclaration (Results 1 – 12 of 12) sorted by relevance
364 } 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()
1553 EXPECT_NE(nullptr, defined_types.front().get()->AsEnumDeclaration()); in ParseSingleEnumDeclaration()1555 return defined_types.front().get()->AsEnumDeclaration(); in ParseSingleEnumDeclaration()
673 virtual const AidlEnumDeclaration* AsEnumDeclaration() const { return nullptr; } in AsEnumDeclaration() function686 AidlEnumDeclaration* AsEnumDeclaration() { in AsEnumDeclaration() function688 const_cast<const AidlDefinedType*>(this)->AsEnumDeclaration()); in AsEnumDeclaration()835 const AidlEnumDeclaration* AsEnumDeclaration() const override { return this; } in AsEnumDeclaration() function
260 if (auto enum_decl = defined_type->AsEnumDeclaration(); enum_decl != nullptr) { in GetEnumDeclaration()
311 definedType->AsEnumDeclaration() != nullptr) { in AddHeaders()
139 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()
535 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()
357 } else if (const AidlEnumDeclaration* enum_decl = type->AsEnumDeclaration(); in GetTypeAspect()
83 if (const AidlEnumDeclaration* enum_decl = defined_type->AsEnumDeclaration(); in generate_java()
117 const bool isEnum = definedType && definedType->AsEnumDeclaration() != nullptr; in BuildArgList()1428 const AidlEnumDeclaration* enum_decl = defined_type.AsEnumDeclaration(); in GenerateCpp()
794 if (t != nullptr && t->AsEnumDeclaration()) { in ToStringFor()
510 if (defined_type != nullptr && defined_type->AsEnumDeclaration() != nullptr && !IsArray()) { in CheckValid()