Home
last modified time | relevance | path

Searched refs:AidlUnionDecl (Results 1 – 16 of 16) sorted by relevance

/system/tools/aidl/
Daidl_to_cpp_common.h109 void GenerateToString(CodeWriter& out, const AidlUnionDecl& parcelable);
131 const AidlUnionDecl& decl;
136 static std::set<std::string> GetHeaders(const AidlUnionDecl&);
Daidl_language.h89 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 …]
Daidl_dumpapi.h38 void Visit(const AidlUnionDecl& t) override;
Dparser.cpp34 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()
Dgenerate_cpp.cpp1202 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()
Dgenerate_ndk.cpp56 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()
Dgenerate_java.cpp163 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()
Dcheck_valid.cpp56 void Visit(const AidlUnionDecl& t) override { CheckDefinedType(t); } in Visit()
Dpreprocess.cpp106 void Visit(const AidlUnionDecl& t) override { in Visit()
Ddiagnostics.cpp114 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()
Dgenerate_rust.cpp58 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()
Daidl_dumpapi.cpp153 void DumpVisitor::Visit(const AidlUnionDecl& t) { in Visit()
Daidl.cpp360 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()
Daidl_language.cpp1423 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()
Daidl_to_cpp_common.cpp472 void GenerateToString(CodeWriter& out, const AidlUnionDecl& parcelable) { in GenerateToString()
624 std::set<std::string> UnionWriter::GetHeaders(const AidlUnionDecl& decl) { in GetHeaders()
Daidl_language_y.yy625 $$ = new AidlUnionDecl(loc(@2), $2->GetText(), ps->Package(), $1->GetComments(), $3, $5);