Searched refs:AidlUnionDecl (Results 1 – 14 of 14) sorted by relevance
/system/tools/aidl/ |
D | aidl_language.h | 87 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 …]
|
D | aidl_to_cpp_common.h | 83 void GenerateToString(CodeWriter& out, const AidlUnionDecl& parcelable); 105 const AidlUnionDecl& decl;
|
D | generate_java.h | 43 void generate_union(CodeWriter& out, const AidlUnionDecl* decl, const AidlTypenames& typenames);
|
D | aidl_dumpapi.h | 36 void Visit(const AidlUnionDecl& t) override;
|
D | generate_java.cpp | 158 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()
|
D | generate_rust.cpp | 594 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()
|
D | diagnostics.cpp | 105 void Visit(const AidlUnionDecl& a) override { fun(a); } in Check() 173 void Visit(const AidlUnionDecl& u) override { in Visit()
|
D | generate_ndk.cpp | 46 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()
|
D | aidl_dumpapi.cpp | 101 void DumpVisitor::Visit(const AidlUnionDecl& t) { in Visit()
|
D | aidl_language.cpp | 1289 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()
|
D | generate_cpp.cpp | 1194 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()
|
D | aidl.cpp | 373 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()
|
D | aidl_to_cpp_common.cpp | 305 void GenerateToString(CodeWriter& out, const AidlUnionDecl& parcelable) { in GenerateToString()
|
D | aidl_language_y.yy | 590 $$ = new AidlUnionDecl(loc(@2), $2->GetText(), ps->Package(), $1->GetComments(), $3, $5);
|