/system/tools/aidl/ |
D | aidl_typenames.h | 35 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 …]
|
D | aidl_typenames.cpp | 86 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 …]
|
D | aidl_to_cpp_common.h | 44 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);
|
D | aidl_dumpapi.h | 27 void DumpType(const AidlDefinedType& dt, const string& type); 28 void DumpMembers(const AidlDefinedType& dt);
|
D | generate_java.h | 30 bool generate_java(const std::string& filename, const AidlDefinedType* iface, 45 void generate_constant_declarations(CodeWriter& out, const AidlDefinedType& type);
|
D | aidl_language.h | 411 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 …]
|
D | aidl_checkapi.cpp | 52 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()
|
D | parser.cpp | 66 ConstantReferenceResolver(const AidlDefinedType* scope, const AidlTypenames& typenames, in ConstantReferenceResolver() 97 const AidlDefinedType* scope; 129 const AidlDefinedType* scope_;
|
D | aidl_to_ndk.h | 31 std::string NdkHeaderFile(const AidlDefinedType& defined_type, cpp::ClassNames name, 37 std::string NdkFullClassName(const AidlDefinedType& type, cpp::ClassNames name);
|
D | generate_rust.h | 29 bool GenerateRust(const std::string& filename, const AidlDefinedType* iface,
|
D | generate_aidl_mappings.h | 29 SignatureMap generate_mappings(const AidlDefinedType* iface, const AidlTypenames& typenames);
|
D | aidl_dumpapi.cpp | 34 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()
|
D | generate_aidl_mappings.cpp | 30 SignatureMap generate_mappings(const AidlDefinedType* defined_type, in generate_mappings()
|
D | aidl_language.cpp | 500 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 …]
|
D | generate_cpp.h | 33 const AidlDefinedType& parsed_doc, const IoDelegate& io_delegate);
|
D | aidl_to_cpp.h | 64 void AddHeaders(const AidlDefinedType& parcelable, std::set<std::string>* headers);
|
D | generate_ndk.h | 30 const AidlDefinedType& defined_type, const IoDelegate& io_delegate);
|
D | aidl_to_cpp_common.cpp | 52 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()
|
D | aidl_to_ndk.cpp | 32 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()
|
D | generate_ndk.cpp | 145 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()
|
D | aidl.cpp | 95 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()
|
D | aidl_to_java.cpp | 384 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()
|
D | aidl_language_y.yy | 90 AidlDefinedType* declaration; 96 std::vector<std::unique_ptr<AidlDefinedType>>* declarations; 259 { $$ = new std::vector<std::unique_ptr<AidlDefinedType>>();
|
D | aidl_const_expressions.cpp | 487 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()
|
D | generate_rust.cpp | 50 void GenerateMangledAlias(CodeWriter& out, const AidlDefinedType* type) { in GenerateMangledAlias() 795 bool GenerateRust(const string& filename, const AidlDefinedType* defined_type, in GenerateRust()
|