Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_language.h87 class AidlUnionDecl;
107 virtual void Visit(const AidlUnionDecl&) {}
916 virtual const AidlUnionDecl* AsUnionDeclaration() const { return nullptr; }
933 AidlUnionDecl* AsUnionDeclaration() {
934 return const_cast<AidlUnionDecl*>(
1117 class AidlUnionDecl : public AidlParcelable {
1119 AidlUnionDecl(const AidlLocation& location, const std::string& name, const std::string& package,
1122 virtual ~AidlUnionDecl() = default;
1125 AidlUnionDecl(const AidlUnionDecl&) = delete;
1126 AidlUnionDecl(AidlUnionDecl&&) = delete;
[all …]
Daidl_to_cpp_common.h83 void GenerateToString(CodeWriter& out, const AidlUnionDecl& parcelable);
105 const AidlUnionDecl& decl;
Dgenerate_java.h43 void generate_union(CodeWriter& out, const AidlUnionDecl* decl, const AidlTypenames& typenames);
Daidl_dumpapi.h36 void Visit(const AidlUnionDecl& t) override;
Dgenerate_java.cpp158 void GenerateParcelableDescribeContents(CodeWriter& out, const AidlUnionDecl& decl, in GenerateParcelableDescribeContents()
208 void GenerateToString(CodeWriter& out, const AidlUnionDecl& parcel, in GenerateToString()
262 void GenerateEqualsAndHashCode(CodeWriter& out, const AidlUnionDecl& decl, in GenerateEqualsAndHashCode()
343 bool generate_java_union_declaration(const std::string& filename, const AidlUnionDecl* decl, in generate_java_union_declaration()
368 if (const AidlUnionDecl* union_decl = defined_type->AsUnionDeclaration(); union_decl != nullptr) { in generate_java()
681 void generate_union(CodeWriter& out, const AidlUnionDecl* decl, const AidlTypenames& typenames) { in generate_union()
980 void Visit(const AidlUnionDecl& t) override { ForDefinedType(t); } in Visit()
Dgenerate_rust.cpp594 void GenerateParcelBody(CodeWriter& out, const AidlUnionDecl* parcel, in GenerateParcelBody()
608 void GenerateParcelDefault(CodeWriter& out, const AidlUnionDecl* parcel) { in GenerateParcelDefault()
632 void GenerateParcelSerializeBody(CodeWriter& out, const AidlUnionDecl* parcel, in GenerateParcelSerializeBody()
654 void GenerateParcelDeserializeBody(CodeWriter& out, const AidlUnionDecl* parcel, in GenerateParcelDeserializeBody()
803 if (const AidlUnionDecl* parcelable = defined_type->AsUnionDeclaration(); parcelable != nullptr) { in GenerateRust()
Ddiagnostics.cpp105 void Visit(const AidlUnionDecl& a) override { fun(a); } in Check()
173 void Visit(const AidlUnionDecl& u) override { in Visit()
Dgenerate_ndk.cpp46 const AidlUnionDecl& defined_type, const Options& options);
48 const AidlUnionDecl& defined_type, const Options& options);
153 if (const AidlUnionDecl* union_decl = defined_type.AsUnionDeclaration(); union_decl != nullptr) { in GenerateNdk()
154 GenerateNdkParcel<AidlUnionDecl>(output_file, options, types, *union_decl, io_delegate); in GenerateNdk()
276 const AidlUnionDecl* union_decl = defined_type.AsUnionDeclaration(); in GenerateHeaderIncludes()
1147 const AidlUnionDecl& defined_type, const Options& /*options*/) { in GenerateParcelHeader()
1211 const AidlUnionDecl& defined_type, const Options& /*options*/) { in GenerateParcelSource()
Daidl_dumpapi.cpp101 void DumpVisitor::Visit(const AidlUnionDecl& t) { in Visit()
Daidl_language.cpp1289 AidlUnionDecl::AidlUnionDecl(const AidlLocation& location, const std::string& name, in AidlUnionDecl() function in AidlUnionDecl
1295 bool AidlUnionDecl::CheckValid(const AidlTypenames& typenames) const { in CheckValid()
1349 bool AidlUnionDecl::LanguageSpecificCheckValid(const AidlTypenames& typenames, in LanguageSpecificCheckValid()
Dgenerate_cpp.cpp1194 void AddTypeSpecificHeaders(const AidlUnionDecl&, std::set<std::string>& includes) { in AddTypeSpecificHeaders() argument
1198 void BuildReadFromParcel(const AidlUnionDecl& decl, const AidlTypenames& typenames, in BuildReadFromParcel()
1206 void BuildWriteToParcel(const AidlUnionDecl& decl, const AidlTypenames& typenames, in BuildWriteToParcel()
1237 void BuildParcelFields(ClassDecl& clazz, const AidlUnionDecl& decl, in BuildParcelFields()
1600 const AidlUnionDecl* union_decl = defined_type.AsUnionDeclaration(); in GenerateCpp()
Daidl.cpp373 void Visit(const AidlUnionDecl& m) override { Check(m, AidlAnnotation::CONTEXT_TYPE_UNION); } in ValidateAnnotationContext()
611 AidlUnionDecl* union_decl = defined_type->AsUnionDeclaration(); in load_and_validate_aidl()
Daidl_to_cpp_common.cpp305 void GenerateToString(CodeWriter& out, const AidlUnionDecl& parcelable) { in GenerateToString()
Daidl_language_y.yy590 $$ = new AidlUnionDecl(loc(@2), $2->GetText(), ps->Package(), $1->GetComments(), $3, $5);