Home
last modified time | relevance | path

Searched refs:AidlDefinedType (Results 1 – 25 of 30) sorted by relevance

12

/system/tools/aidl/
Daidl_typenames.h35 class AidlDefinedType; variable
61 const AidlDocument* GetDocumentFor(const AidlDefinedType* type) const;
64 bool AddPreprocessedType(unique_ptr<AidlDefinedType> type);
68 const AidlDefinedType* TryGetDefinedType(const string& type_name) const;
69 std::vector<AidlDefinedType*> AllDefinedTypes() const;
74 const AidlDefinedType* defined_type;
93 void IterateTypes(const std::function<void(const AidlDefinedType&)>& body) const;
99 DefinedImplResult(const AidlDefinedType* type, const bool from_preprocessed) in DefinedImplResult()
101 const AidlDefinedType* type;
105 map<string, AidlDefinedType*> defined_types_;
[all …]
Daidl_typenames.cpp86 static bool HasValidNameComponents(const AidlDefinedType& defined) { in HasValidNameComponents()
134 const AidlDocument* AidlTypenames::GetDocumentFor(const AidlDefinedType* type) const { in GetDocumentFor()
150 bool AidlTypenames::AddPreprocessedType(unique_ptr<AidlDefinedType> type) { in AddPreprocessedType()
181 const AidlDefinedType* AidlTypenames::TryGetDefinedType(const string& type_name) const { in TryGetDefinedType()
215 std::vector<AidlDefinedType*> AidlTypenames::AllDefinedTypes() const { in AllDefinedTypes()
216 std::vector<AidlDefinedType*> res; in AllDefinedTypes()
233 const AidlDefinedType* defined_type = TryGetDefinedType(type_name); in ResolveTypename()
257 const AidlDefinedType* t = TryGetDefinedType(type.GetName()); in CanBeJavaOnlyImmutable()
281 const AidlDefinedType* t = TryGetDefinedType(type.GetName()); in CanBeFixedSize()
319 const AidlDefinedType* t = TryGetDefinedType(name); in GetArgumentAspect()
[all …]
Daidl_to_cpp_common.h44 string ClassName(const AidlDefinedType& defined_type, ClassNames type);
49 std::string HeaderFile(const AidlDefinedType& defined_type, ClassNames class_type,
52 void EnterNamespace(CodeWriter& out, const AidlDefinedType& defined_type);
53 void LeaveNamespace(CodeWriter& out, const AidlDefinedType& defined_type);
Daidl_dumpapi.h27 void DumpType(const AidlDefinedType& dt, const string& type);
28 void DumpMembers(const AidlDefinedType& dt);
Dgenerate_java.h30 bool generate_java(const std::string& filename, const AidlDefinedType* iface,
45 void generate_constant_declarations(CodeWriter& out, const AidlDefinedType& type);
Daidl_language.h411 const AidlDefinedType* GetDefinedType() const;
429 const AidlDefinedType* defined_type_ = nullptr; // set when Resolve() for defined types
707 const AidlConstantValue* Resolve(const AidlDefinedType* scope) const;
891 class AidlDefinedType : public AidlAnnotatable {
893 AidlDefinedType(const AidlLocation& location, const std::string& name, const Comments& comments,
895 virtual ~AidlDefinedType() = default;
898 AidlDefinedType(const AidlDefinedType&) = delete;
899 AidlDefinedType(AidlDefinedType&&) = delete;
900 AidlDefinedType& operator=(const AidlDefinedType&) = delete;
901 AidlDefinedType& operator=(AidlDefinedType&&) = delete;
[all …]
Daidl_checkapi.cpp52 static std::string Dump(const AidlDefinedType& type) { in Dump()
62 static bool CheckEquality(const AidlDefinedType& older, const AidlDefinedType& newer) { in CheckEquality()
137 static bool are_compatible_constants(const AidlDefinedType& older, const AidlDefinedType& newer) { in are_compatible_constants()
247 static bool are_compatible_parcelables(const AidlDefinedType& older, const AidlTypenames&, in are_compatible_parcelables()
248 const AidlDefinedType& newer, in are_compatible_parcelables()
441 std::vector<AidlDefinedType*> old_types = old_tns->AllDefinedTypes(); in check_api()
442 std::vector<AidlDefinedType*> new_types = new_tns->AllDefinedTypes(); in check_api()
461 map<string, AidlDefinedType*> new_map; in check_api()
Dparser.cpp66 ConstantReferenceResolver(const AidlDefinedType* scope, const AidlTypenames& typenames, in ConstantReferenceResolver()
97 const AidlDefinedType* scope;
129 const AidlDefinedType* scope_;
Daidl_to_ndk.h31 std::string NdkHeaderFile(const AidlDefinedType& defined_type, cpp::ClassNames name,
37 std::string NdkFullClassName(const AidlDefinedType& type, cpp::ClassNames name);
Dgenerate_rust.h29 bool GenerateRust(const std::string& filename, const AidlDefinedType* iface,
Dgenerate_aidl_mappings.h29 SignatureMap generate_mappings(const AidlDefinedType* iface, const AidlTypenames& typenames);
Daidl_dumpapi.cpp34 void DumpVisitor::DumpType(const AidlDefinedType& dt, const string& type) { in DumpType()
48 void DumpVisitor::DumpMembers(const AidlDefinedType& dt) { in DumpMembers()
153 static string GetApiDumpPathFor(const AidlDefinedType& defined_type, const Options& options) { in GetApiDumpPathFor()
Dgenerate_aidl_mappings.cpp30 SignatureMap generate_mappings(const AidlDefinedType* defined_type, in generate_mappings()
Daidl_language.cpp500 const AidlDefinedType* AidlTypeSpecifier::GetDefinedType() const { in GetDefinedType()
900 AidlDefinedType::AidlDefinedType(const AidlLocation& location, const std::string& name, in AidlDefinedType() function in AidlDefinedType
925 bool AidlDefinedType::CheckValid(const AidlTypenames& typenames) const { in CheckValid()
935 std::string AidlDefinedType::GetCanonicalName() const { in GetCanonicalName()
942 bool AidlDefinedType::CheckValidWithMembers(const AidlTypenames& typenames) const { in CheckValidWithMembers()
984 bool AidlDefinedType::CheckValidForGetterNames() const { in CheckValidForGetterNames()
1002 : AidlDefinedType(location, name, comments, package, members), in AidlParcelable()
1037 if (!AidlDefinedType::CheckValid(typenames)) { in CheckValid()
1222 : AidlDefinedType(location, name, comments, package, nullptr), in AidlEnumDeclaration()
1270 if (!AidlDefinedType::CheckValid(typenames)) { in CheckValid()
[all …]
Dgenerate_cpp.h33 const AidlDefinedType& parsed_doc, const IoDelegate& io_delegate);
Daidl_to_cpp.h64 void AddHeaders(const AidlDefinedType& parcelable, std::set<std::string>* headers);
Dgenerate_ndk.h30 const AidlDefinedType& defined_type, const IoDelegate& io_delegate);
Daidl_to_cpp_common.cpp52 string ClassName(const AidlDefinedType& defined_type, ClassNames type) { in ClassName()
76 std::string HeaderFile(const AidlDefinedType& defined_type, ClassNames class_type, in HeaderFile()
93 void EnterNamespace(CodeWriter& out, const AidlDefinedType& defined_type) { in EnterNamespace()
99 void LeaveNamespace(CodeWriter& out, const AidlDefinedType& defined_type) { in LeaveNamespace()
Daidl_to_ndk.cpp32 std::string NdkHeaderFile(const AidlDefinedType& defined_type, cpp::ClassNames name, in NdkHeaderFile()
380 const AidlDefinedType* type = types.TryGetDefinedType(aidl_name); in GetTypeAspect()
415 std::string NdkFullClassName(const AidlDefinedType& type, cpp::ClassNames name) { in NdkFullClassName()
Dgenerate_ndk.cpp145 const AidlDefinedType& defined_type, const IoDelegate& io_delegate) { in GenerateNdk()
179 void EnterNdkNamespace(CodeWriter& out, const AidlDefinedType& defined_type) { in EnterNdkNamespace()
183 void LeaveNdkNamespace(CodeWriter& out, const AidlDefinedType& defined_type) { in LeaveNdkNamespace()
199 const AidlDefinedType& defined_type) { in GenerateHeaderIncludes()
215 const AidlDefinedType* type = types.TryGetDefinedType(typespec.GetName()); in GenerateHeaderIncludes()
295 const AidlDefinedType& /*defined_type*/) { in GenerateSourceIncludes() argument
298 types.IterateTypes([&](const AidlDefinedType& a_defined_type) { in GenerateSourceIncludes()
Daidl.cpp95 bool check_filename(const std::string& filename, const AidlDefinedType& defined_type) { in check_filename()
156 bool write_dep_file(const Options& options, const AidlDefinedType& defined_type, in write_dep_file()
222 string GetOutputFilePath(const Options& options, const AidlDefinedType& defined_type) { in GetOutputFilePath()
726 typenames->IterateTypes([&](const AidlDefinedType& type) { in load_and_validate_aidl()
Daidl_to_java.cpp384 const AidlDefinedType* t = c.typenames.TryGetDefinedType(c.type.GetName()); in WriteToParcelFor()
615 const AidlDefinedType* t = c.typenames.TryGetDefinedType(c.type.GetName()); in CreateFromParcelFor()
758 const AidlDefinedType* t = c.typenames.TryGetDefinedType(c.type.GetName()); in ReadFromParcelFor()
789 const AidlDefinedType* t = c.typenames.TryGetDefinedType(name); in ToStringFor()
Daidl_language_y.yy90 AidlDefinedType* declaration;
96 std::vector<std::unique_ptr<AidlDefinedType>>* declarations;
259 { $$ = new std::vector<std::unique_ptr<AidlDefinedType>>();
Daidl_const_expressions.cpp487 const AidlDefinedType* defined_type = type.GetDefinedType(); in ValueString()
748 const AidlConstantValue* AidlConstantReference::Resolve(const AidlDefinedType* scope) const { in Resolve()
751 const AidlDefinedType* defined_type; in Resolve()
Dgenerate_rust.cpp50 void GenerateMangledAlias(CodeWriter& out, const AidlDefinedType* type) { in GenerateMangledAlias()
795 bool GenerateRust(const string& filename, const AidlDefinedType* defined_type, in GenerateRust()

12