/aosp12/system/tools/hidl/ |
H A D | NamedType.cpp | 23 NamedType::NamedType(const std::string& localName, const FQName& fullName, const Location& loc, in NamedType() function in android::NamedType 27 bool NamedType::isNamedType() const { in isNamedType() 31 const FQName &NamedType::fqName() const { in fqName() 35 std::string NamedType::fullName() const { in fullName() 39 std::string NamedType::fullJavaName() const { in fullJavaName() 43 const Location &NamedType::location() const { in location() 47 void NamedType::emitDump( in emitDump()
|
H A D | Scope.cpp | 35 : NamedType(localName, fullName, location, parent) {} in Scope() 38 void Scope::addType(NamedType* type) { in addType() 48 return NamedType::validate(); in validate() 71 NamedType *Scope::lookupType(const FQName &fqName) const { in lookupType() 85 NamedType *outerType = mTypes[it->second]; in lookupType() 118 for (const NamedType *type : mTypes) { in definesInterfaces() 143 std::vector<const NamedType*> Scope::getSortedDefinedTypes() const { in getSortedDefinedTypes() 144 std::vector<const NamedType*> ret; in getSortedDefinedTypes() 147 std::sort(ret.begin(), ret.end(), [](const NamedType* lhs, const NamedType* rhs) -> bool { in getSortedDefinedTypes() 169 const std::vector<const NamedType*>& definedTypes = getSortedDefinedTypes(); in emitHidlDefinition() [all …]
|
H A D | Scope.h | 36 struct Scope : public NamedType { 41 void addType(NamedType* type); 50 NamedType *lookupType(const FQName &fqName) const; 66 std::vector<const NamedType*> getSortedDefinedTypes() const; 82 const std::vector<NamedType *> &getSubTypes() const; 92 std::vector<NamedType *> mTypes;
|
H A D | NamedType.h | 30 struct NamedType : public Type { struct 31 NamedType(const std::string& localName, const FQName& fullName, const Location& loc, 54 DISALLOW_COPY_AND_ASSIGN(NamedType); argument
|
H A D | generateDependencies.cpp | 35 out << static_cast<const NamedType*>(type)->fqName().string() << "\n"; in generateDependencies()
|
H A D | TypeDef.h | 27 struct TypeDef : public NamedType {
|
H A D | TypeDef.cpp | 27 : NamedType(localName, fullName, location, parent), mReferencedType(type) {} in TypeDef()
|
H A D | AST.h | 43 struct NamedType; 68 void addScopedType(NamedType* type, Scope* scope);
|
H A D | Android.bp | 96 "NamedType.cpp",
|
H A D | Type.cpp | 243 std::cerr << " at " << static_cast<const NamedType*>(nextType)->location(); in topologicalOrder() 302 const Location& typeLoc = static_cast<const NamedType*>(refType)->location(); in checkForwardReferenceRestrictions()
|
H A D | main.cpp | 166 std::vector<NamedType*> rootTypes = typesAST->getRootScope().getSubTypes(); in appendPerTypeTargets() 167 for (const NamedType* rootType : rootTypes) { in appendPerTypeTargets() 447 std::vector<NamedType*> subTypes = typesAST->getRootScope().getSubTypes(); in packageNeedsJavaCode()
|
H A D | AST.cpp | 238 static_cast<const NamedType *>(targetType)->fqName()); in gatherReferencedTypes() 518 void AST::addScopedType(NamedType* type, Scope* scope) { in addScopedType()
|
H A D | CompoundType.cpp | 650 std::vector<const NamedType*> preDeclaredTypes; in emitInlineHidlDefinition() 651 for (const NamedType* namedType : getSortedDefinedTypes()) { in emitInlineHidlDefinition()
|
H A D | hidl-gen_y.yy | 572 !isValidInterfaceField(static_cast<NamedType*>($2)->definedName().c_str(), 989 !isValidCompoundTypeField(style, static_cast<NamedType*>(
|
H A D | Interface.cpp | 825 const std::vector<const NamedType*>& definedTypes = getSortedDefinedTypes(); in emitHidlDefinition()
|
H A D | EnumType.cpp | 908 out << "predefined_type: \"" << static_cast<const NamedType*>(mElementType.get())->fullName() in emitVtsAttributeType()
|
/aosp12/system/tools/hidl/hidl2aidl/ |
H A D | AidlHelper.h | 33 struct NamedType; 47 std::set<const NamedType*> subTypes; 84 Formatter& out, const NamedType& type, 85 const std::map<const NamedType*, const ProcessedCompoundType>& processedTypes); 88 const NamedType& namedType, const Coordinator& coordinator, 89 const std::map<const NamedType*, const ProcessedCompoundType>& processedTypes); 96 const NamedType& namedType, const Coordinator& coordinator, 97 const std::map<const NamedType*, const ProcessedCompoundType>& processedTypes); 101 const std::map<const NamedType*, const ProcessedCompoundType>&); 119 const std::set<const NamedType*>& namedTypesInPackage, [all …]
|
H A D | AidlTranslate.cpp | 67 static const std::string aidlTypePackage(const NamedType& type, AidlBackend backend) { in aidlTypePackage() 109 const NamedType* type = static_cast<const NamedType*>(field.field->get()); in namedTypeTranslation() 367 static const std::string getHidlPackagePath(const NamedType* type) { in getHidlPackagePath() 371 static std::optional<const Interface*> getParentInterface(const NamedType* type) { in getParentInterface() 382 static const std::string hidlIncludeFile(const NamedType* type) { in hidlIncludeFile() 393 static const std::string aidlIncludeFile(const NamedType* type, AidlBackend backend) { in aidlIncludeFile() 401 const std::set<const NamedType*>& namedTypes, in emitCppTranslateHeader() 402 const std::map<const NamedType*, const ProcessedCompoundType>& processedTypes, in emitCppTranslateHeader() argument 437 const std::set<const NamedType*>& namedTypes, in emitTranslateSource() 438 const std::map<const NamedType*, const ProcessedCompoundType>& processedTypes, in emitTranslateSource() argument [all …]
|
H A D | AidlHelper.cpp | 94 const NamedType& namedType = *static_cast<const NamedType*>(&type); in importLocallyReferencedType() 107 Formatter& out, const NamedType& type, in emitFileHeader() 108 const std::map<const NamedType*, const ProcessedCompoundType>& processedTypes) { in emitFileHeader() argument 117 for (const NamedType* namedType : scope.getSubTypes()) { in emitFileHeader() 166 const NamedType& namedType, const Coordinator& coordinator, in getFileWithHeader() 167 const std::map<const NamedType*, const ProcessedCompoundType>& processedTypes) { in getFileWithHeader() argument 180 for (const NamedType* subType : compoundType.getSubTypes()) { in processCompoundType()
|
H A D | main.cpp | 89 const std::set<const NamedType*>& list) { in getLatestMinorVersionNamedTypeFromList() 92 for (const NamedType* currentNamedType : list) { in getLatestMinorVersionNamedTypeFromList() 162 static void getSubTypes(const NamedType& namedType, std::set<const NamedType*>* types) { in getSubTypes() 165 for (const NamedType* subType : compoundType.getSubTypes()) { in getSubTypes() 403 std::set<const NamedType*> namedTypesInPackage; in main() 439 std::map<const NamedType*, const ProcessedCompoundType> processedTypesInPackage; in main() 446 std::pair<const NamedType*, const ProcessedCompoundType>(namedType, processed)); in main()
|
H A D | AidlNamedType.cpp | 27 static void emitConversionNotes(Formatter& out, const NamedType& namedType) { in emitConversionNotes() 77 const std::map<const NamedType*, const ProcessedCompoundType>& processedTypes) { in emitCompoundTypeAidlDefinition() argument 109 const NamedType& namedType, const Coordinator& coordinator, in emitAidl() 110 const std::map<const NamedType*, const ProcessedCompoundType>& processedTypes) { in emitAidl() argument
|
H A D | AidlInterface.cpp | 175 const std::map<const NamedType*, const ProcessedCompoundType>& processedTypes) { in emitAidl() argument 187 std::map<std::string, NodeWithVersion<NamedType>> latestTypeForBaseName; in emitAidl() 188 std::vector<const NodeWithVersion<NamedType>> supersededNamedTypes; in emitAidl() 207 for (const NamedType* type : iface->getSubTypes()) { in emitAidl() 221 [&](const NodeWithVersion<NamedType>& versionedType) { in emitAidl()
|
H A D | AidlType.cpp | 57 const NamedType& namedType = static_cast<const NamedType&>(type); in getAidlType()
|
/aosp12/system/tools/hidl/lint/lints/ |
H A D | namingConventions.cpp | 42 const NamedType* namedType = static_cast<const NamedType*>(type); in namingConventions()
|