/system/tools/hidl/ |
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()
|
D | Scope.h | 36 struct Scope : public NamedType { 41 void addType(NamedType* type); 47 NamedType *lookupType(const FQName &fqName) const; 63 std::vector<const NamedType*> getSortedDefinedTypes() const; 79 const std::vector<NamedType *> &getSubTypes() const; 89 std::vector<NamedType *> mTypes;
|
D | Scope.cpp | 35 : NamedType(localName, fullName, location, parent) {} in Scope() 38 void Scope::addType(NamedType* type) { in addType() 55 NamedType *Scope::lookupType(const FQName &fqName) const { in lookupType() 69 NamedType *outerType = mTypes[it->second]; in lookupType() 102 for (const NamedType *type : mTypes) { in definesInterfaces() 127 std::vector<const NamedType*> Scope::getSortedDefinedTypes() const { in getSortedDefinedTypes() 128 std::vector<const NamedType*> ret; in getSortedDefinedTypes() 131 std::sort(ret.begin(), ret.end(), [](const NamedType* lhs, const NamedType* rhs) -> bool { in getSortedDefinedTypes() 153 const std::vector<const NamedType*>& definedTypes = getSortedDefinedTypes(); in emitHidlDefinition() 218 const std::vector<NamedType *> &Scope::getSubTypes() const { in getSubTypes()
|
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
|
D | generateDependencies.cpp | 35 out << static_cast<const NamedType*>(type)->fqName().string() << "\n"; in generateDependencies()
|
D | TypeDef.h | 27 struct TypeDef : public NamedType {
|
D | TypeDef.cpp | 27 : NamedType(localName, fullName, location, parent), mReferencedType(type) {} in TypeDef()
|
D | AST.h | 43 struct NamedType; 68 void addScopedType(NamedType* type, Scope* scope);
|
D | Android.bp | 79 "NamedType.cpp",
|
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()
|
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()
|
D | AST.cpp | 238 static_cast<const NamedType *>(targetType)->fqName()); in gatherReferencedTypes() 518 void AST::addScopedType(NamedType* type, Scope* scope) { in addScopedType()
|
D | Interface.cpp | 800 const std::vector<const NamedType*>& definedTypes = getSortedDefinedTypes(); in emitHidlDefinition()
|
D | CompoundType.cpp | 650 std::vector<const NamedType*> preDeclaredTypes; in emitInlineHidlDefinition() 651 for (const NamedType* namedType : getSortedDefinedTypes()) { in emitInlineHidlDefinition()
|
D | hidl-gen_y.yy | 572 !isValidInterfaceField(static_cast<NamedType*>($2)->definedName().c_str(), 989 !isValidCompoundTypeField(style, static_cast<NamedType*>(
|
D | EnumType.cpp | 892 out << "predefined_type: \"" << static_cast<const NamedType*>(mElementType.get())->fullName() in emitVtsAttributeType()
|
/system/tools/hidl/hidl2aidl/ |
D | AidlHelper.h | 30 struct NamedType; 48 static void emitFileHeader(Formatter& out, const NamedType& type); 50 static Formatter getFileWithHeader(const NamedType& namedType, const Coordinator& coordinator); 56 static void emitAidl(const NamedType& namedType, const Coordinator& coordinator);
|
D | AidlHelper.cpp | 81 const NamedType& namedType = *static_cast<const NamedType*>(&type); in importLocallyReferencedType() 91 void AidlHelper::emitFileHeader(Formatter& out, const NamedType& type) { in emitFileHeader() 100 for (const NamedType* namedType : scope.getSubTypes()) { in emitFileHeader() 135 Formatter AidlHelper::getFileWithHeader(const NamedType& namedType, in getFileWithHeader()
|
D | AidlNamedType.cpp | 33 std::set<const NamedType*> subTypes; 36 static void emitConversionNotes(Formatter& out, const NamedType& namedType) { in emitConversionNotes() 71 for (const NamedType* subType : compoundType.getSubTypes()) { in processCompoundType() 124 for (const NamedType* namedType : processedType.subTypes) { in emitCompoundTypeAidlDefinition() 132 const std::vector<NamedType*>& latestSubTypes = compoundType.getSubTypes(); in emitCompoundTypeAidlDefinition() 139 for (const NamedType* subType : processedType.subTypes) { in emitCompoundTypeAidlDefinition() 173 void AidlHelper::emitAidl(const NamedType& namedType, const Coordinator& coordinator) { in emitAidl()
|
D | AidlType.cpp | 40 const NamedType& namedType = static_cast<const NamedType&>(type); in getAidlType()
|
D | main.cpp | 84 const std::vector<const NamedType*>& list) { in getLatestMinorVersionNamedTypeFromList() 87 for (const NamedType* currentNamedType : list) { in getLatestMinorVersionNamedTypeFromList() 248 std::vector<const NamedType*> namedTypesInPackage; in main() 256 std::vector<const NamedType*> types = ast->getRootScope().getSortedDefinedTypes(); in main() 262 [&](const NamedType* namedType) -> bool { in main() 268 for (const NamedType* namedType : namedTypesInPackage) { in main()
|
D | AidlScope.cpp | 25 for (const NamedType* type : scope.getSubTypes()) { in emitAidl()
|
D | AidlInterface.cpp | 156 std::map<std::string, NodeWithVersion<NamedType>> latestTypeForBaseName; in emitAidl() 157 std::vector<const NodeWithVersion<NamedType>> supersededNamedTypes; in emitAidl() 173 for (const NamedType* type : (*iface)->getSubTypes()) { in emitAidl() 187 [&](const NodeWithVersion<NamedType>& versionedType) { in emitAidl()
|
/system/tools/hidl/lint/lints/ |
D | namingConventions.cpp | 42 const NamedType* namedType = static_cast<const NamedType*>(type); in namingConventions()
|