Home
last modified time | relevance | path

Searched defs:enum_decl (Results 1 – 12 of 12) sorted by relevance

/system/tools/aidl/
Daidl_to_cpp.cpp73 if (auto enum_decl = typenames.GetEnumDeclaration(type); enum_decl != nullptr) { in RawParcelMethod() local
255 if (auto enum_decl = typenames.GetEnumDeclaration(type); in ParcelReadCastOf() local
271 if (auto enum_decl = typenames.GetEnumDeclaration(type); in ParcelWriteCastOf() local
Daidl_checkapi.cpp227 static bool HasZeroEnumerator(const AidlEnumDeclaration& enum_decl) { in HasZeroEnumerator()
234 static bool EvaluatesToZero(const AidlEnumDeclaration& enum_decl, const std::string& value) { in EvaluatesToZero()
287 auto enum_decl = new_types.GetEnumDeclaration(new_field->GetType()); in are_compatible_parcelables() local
319 if (const auto& enum_decl = new_types.GetEnumDeclaration(new_field->GetType()); in are_compatible_parcelables() local
Daidl_typenames.cpp337 if (auto enum_decl = defined_type->AsEnumDeclaration(); enum_decl != nullptr) { in GetEnumDeclaration() local
378 if (auto enum_decl = const_cast<AidlDefinedType&>(type).AsEnumDeclaration(); enum_decl) { in Autofill() local
Daidl_to_ndk.cpp186 TypeInfo EnumDeclarationTypeInfo(const AidlEnumDeclaration& enum_decl) { in EnumDeclarationTypeInfo()
387 } else if (const AidlEnumDeclaration* enum_decl = type->AsEnumDeclaration(); in GetTypeAspect() local
Dgenerate_ndk.cpp164 if (const AidlEnumDeclaration* enum_decl = defined_type.AsEnumDeclaration(); in GenerateNdk() local
281 const AidlEnumDeclaration* enum_decl = defined_type.AsEnumDeclaration(); in GenerateHeaderIncludes() local
1271 const AidlEnumDeclaration& enum_decl) { in GenerateEnumToString()
1304 const AidlEnumDeclaration& enum_decl, const Options& /*options*/) { in GenerateEnumHeader()
Dgenerate_java.cpp336 const AidlEnumDeclaration* enum_decl, in generate_java_enum_declaration()
359 if (const AidlEnumDeclaration* enum_decl = defined_type->AsEnumDeclaration(); in generate_java() local
656 void generate_enum(const CodeWriterPtr& code_writer, const AidlEnumDeclaration* enum_decl, in generate_enum()
Dgenerate_rust.cpp770 bool GenerateRustEnumDeclaration(const string& filename, const AidlEnumDeclaration* enum_decl, in GenerateRustEnumDeclaration()
807 if (const AidlEnumDeclaration* enum_decl = defined_type->AsEnumDeclaration(); in GenerateRust() local
Dgenerate_cpp.cpp1339 const AidlEnumDeclaration& enum_decl) { in GenerateEnumToString()
1368 const AidlEnumDeclaration& enum_decl) { in BuildEnumHeader()
1536 const AidlEnumDeclaration& enum_decl, in GenerateCppEnumDeclaration()
1611 const AidlEnumDeclaration* enum_decl = defined_type.AsEnumDeclaration(); in GenerateCpp() local
Daidl_to_java.cpp105 if (const AidlEnumDeclaration* enum_decl = typenames.GetEnumDeclaration(aidl); in JavaNameOf() local
157 if (const AidlEnumDeclaration* enum_decl = typenames.GetEnumDeclaration(type); in AidlBackingTypeName() local
Daidl_to_cpp_common.cpp199 std::string GenerateEnumValues(const AidlEnumDeclaration& enum_decl, in GenerateEnumValues()
Daidl.cpp610 AidlEnumDeclaration* enum_decl = defined_type->AsEnumDeclaration(); in load_and_validate_aidl() local
Daidl_const_expressions.cpp765 if (auto enum_decl = defined_type->AsEnumDeclaration(); enum_decl) { in Resolve() local