Searched refs:AidlUnionDecl (Results 1 – 16 of 16) sorted by relevance
/system/tools/aidl/ |
D | aidl_to_cpp_common.h | 109 void GenerateToString(CodeWriter& out, const AidlUnionDecl& parcelable); 131 const AidlUnionDecl& decl; 136 static std::set<std::string> GetHeaders(const AidlUnionDecl&);
|
D | aidl_language.h | 89 class AidlUnionDecl; 109 virtual void Visit(const AidlUnionDecl&) {} 988 virtual const AidlUnionDecl* AsUnionDeclaration() const { return nullptr; } 1004 AidlUnionDecl* AsUnionDeclaration() { 1005 return const_cast<AidlUnionDecl*>( 1203 class AidlUnionDecl : public AidlParcelable { 1205 AidlUnionDecl(const AidlLocation& location, const std::string& name, const std::string& package, 1208 virtual ~AidlUnionDecl() = default; 1211 AidlUnionDecl(const AidlUnionDecl&) = delete; 1212 AidlUnionDecl(AidlUnionDecl&&) = delete; [all …]
|
D | aidl_dumpapi.h | 38 void Visit(const AidlUnionDecl& t) override;
|
D | parser.cpp | 34 void Visit(const AidlUnionDecl& decl) override { in Visit() 50 const_cast<AidlUnionDecl&>(decl).AddType(std::move(tag_enum)); in Visit() 133 void Visit(const AidlUnionDecl& t) override { FindCycle(&t); } in CheckNoRecursiveDefinition()
|
D | generate_cpp.cpp | 1202 void GenerateReadFromParcel(CodeWriter& out, const AidlUnionDecl& decl, in GenerateReadFromParcel() 1208 void GenerateWriteToParcel(CodeWriter& out, const AidlUnionDecl& decl, in GenerateWriteToParcel() 1245 void GenerateParcelFields(CodeWriter& out, const AidlUnionDecl& decl, in GenerateParcelFields() 1287 if (auto decl = AidlCast<AidlUnionDecl>(parcel); decl) { in GenerateParcelClassDecl() 1344 } else if (auto union_decl = AidlCast<AidlUnionDecl>(defined_type); union_decl) { in GenerateClassDecl() 1399 void Visit(const AidlUnionDecl& union_decl) override { in GenerateHeaderIncludes() 1459 void Visit(const AidlUnionDecl& union_decl) override { in GenerateHeaderDefinitions() 1491 } else if (auto union_decl = AidlCast<AidlUnionDecl>(defined_type); union_decl) { in GenerateClientHeader() 1508 } else if (auto union_decl = AidlCast<AidlUnionDecl>(defined_type); union_decl) { in GenerateServerHeader() 1542 void Visit(const AidlUnionDecl& union_decl) override { in GenerateSource()
|
D | generate_ndk.cpp | 56 const AidlUnionDecl& union_decl, const Options& options); 84 const AidlUnionDecl& defined_type, const Options& options); 185 void Visit(const AidlUnionDecl& union_decl) override { in GenerateHeaderDefinitions() 212 } else if (auto union_decl = AidlCast<AidlUnionDecl>(defined_type); union_decl) { in GenerateClientHeader() 227 } else if (auto union_decl = AidlCast<AidlUnionDecl>(defined_type); union_decl) { in GenerateServerHeader() 255 void Visit(const AidlUnionDecl& union_decl) override { in GenerateSource() 313 void Visit(const AidlUnionDecl& union_decl) override { in GenerateHeaderIncludes() 362 } else if (auto union_decl = AidlCast<AidlUnionDecl>(defined_type); union_decl) { in GenerateClassDecl() 1442 const AidlUnionDecl& defined_type, const Options& options) { in GenerateParcelClassDecl() 1507 const AidlUnionDecl& defined_type, const Options& options) { in GenerateParcelSource()
|
D | generate_java.cpp | 163 void GenerateParcelableDescribeContents(CodeWriter& out, const AidlUnionDecl& decl, in GenerateParcelableDescribeContents() 214 void GenerateToString(CodeWriter& out, const AidlUnionDecl& parcel, const AidlTypenames& typenames, in GenerateToString() 269 void GenerateEqualsAndHashCode(CodeWriter& out, const AidlUnionDecl& decl, in GenerateEqualsAndHashCode() 679 void GenerateUnionClass(CodeWriter& out, const AidlUnionDecl* decl, const AidlTypenames& typenames, in GenerateUnionClass() 1008 void Visit(const AidlUnionDecl& t) override { ForDefinedType(t); } in Visit() 1055 } else if (const AidlUnionDecl* union_decl = defined_type.AsUnionDeclaration(); in GenerateClass()
|
D | check_valid.cpp | 56 void Visit(const AidlUnionDecl& t) override { CheckDefinedType(t); } in Visit()
|
D | preprocess.cpp | 106 void Visit(const AidlUnionDecl& t) override { in Visit()
|
D | diagnostics.cpp | 114 void Visit(const AidlUnionDecl& a) override { fun(a); } in Check() 178 void Visit(const AidlUnionDecl& u) override { in Visit() 439 void Visit(const AidlUnionDecl& t) override { in Visit()
|
D | generate_rust.cpp | 58 void Visit(const AidlUnionDecl& type) override { VisitType(type); } in Visit() 1170 void GenerateParcelBody(CodeWriter& out, const AidlUnionDecl* parcel, in GenerateParcelBody() 1215 void GenerateParcelDefault(CodeWriter& out, const AidlUnionDecl* parcel, in GenerateParcelDefault() 1244 void GenerateParcelSerializeBody(CodeWriter& out, const AidlUnionDecl* parcel, in GenerateParcelSerializeBody() 1276 void GenerateParcelDeserializeBody(CodeWriter& out, const AidlUnionDecl* parcel, in GenerateParcelDeserializeBody() 1434 } else if (const AidlUnionDecl* union_decl = defined_type.AsUnionDeclaration(); in GenerateClass()
|
D | aidl_dumpapi.cpp | 153 void DumpVisitor::Visit(const AidlUnionDecl& t) { in Visit()
|
D | aidl.cpp | 360 void Visit(const AidlUnionDecl& m) override { Check(m, AidlAnnotation::CONTEXT_TYPE_UNION); } in ValidateAnnotationContext() 551 AidlUnionDecl* union_decl = defined_type->AsUnionDeclaration(); in load_and_validate_aidl()
|
D | aidl_language.cpp | 1423 void Visit(const AidlUnionDecl& t) override { defined_type = &t; } in AidlCast() 1658 AidlUnionDecl::AidlUnionDecl(const AidlLocation& location, const std::string& name, in AidlUnionDecl() function in AidlUnionDecl 1664 bool AidlUnionDecl::CheckValid(const AidlTypenames& typenames) const { in CheckValid()
|
D | aidl_to_cpp_common.cpp | 472 void GenerateToString(CodeWriter& out, const AidlUnionDecl& parcelable) { in GenerateToString() 624 std::set<std::string> UnionWriter::GetHeaders(const AidlUnionDecl& decl) { in GetHeaders()
|
D | aidl_language_y.yy | 625 $$ = new AidlUnionDecl(loc(@2), $2->GetText(), ps->Package(), $1->GetComments(), $3, $5);
|