/system/tools/hidl/ |
D | AST.cpp | 36 AST::AST(Coordinator *coordinator, const std::string &path) in AST() function in android::AST 44 AST::~AST() { in ~AST() 54 void AST::addSyntaxError() { in addSyntaxError() 58 size_t AST::syntaxErrors() const { in syntaxErrors() 62 void *AST::scanner() { in scanner() 66 void AST::setScanner(void *scanner) { in setScanner() 70 const std::string &AST::getFilename() const { in getFilename() 74 bool AST::setPackage(const char *package) { in setPackage() 87 FQName AST::package() const { in package() 91 bool AST::isInterface(std::string *ifaceName) const { in isInterface() [all …]
|
D | Coordinator.h | 31 struct AST; 48 AST *parse(const FQName &fqName, std::set<AST *> *parsedASTs = nullptr, 111 std::map<FQName, AST *> mCache;
|
D | generateCppImpl.cpp | 35 status_t AST::generateCppImpl(const std::string &outputPath) const { in generateCppImpl() 45 void AST::generateFetchSymbol(Formatter &out, const std::string& ifaceName) const { in generateFetchSymbol() 49 status_t AST::generateStubImplMethod(Formatter &out, in generateStubImplMethod() 82 status_t AST::generateStubImplHeader(const std::string &outputPath) const { in generateStubImplHeader() 84 if (!AST::isInterface(&ifaceName)) { in generateStubImplHeader() 202 status_t AST::generateStubImplSource(const std::string &outputPath) const { in generateStubImplSource() 204 if (!AST::isInterface(&ifaceName)) { in generateStubImplSource()
|
D | generateVts.cpp | 32 status_t AST::emitVtsTypeDeclarations(Formatter &out) const { in emitVtsTypeDeclarations() 34 if (AST::isInterface(&ifaceName)) { in emitVtsTypeDeclarations() 59 status_t AST::generateVts(const std::string &outputPath) const { in generateVts() 68 if (!AST::isInterface(&ifaceName)) { in generateVts()
|
D | generateCpp.cpp | 36 status_t AST::generateCpp(const std::string &outputPath) const { in generateCpp() 46 status_t AST::generateCppHeaders(const std::string &outputPath) const { in generateCppHeaders() 68 void AST::getPackageComponents( in getPackageComponents() 73 void AST::getPackageAndVersionComponents( in getPackageAndVersionComponents() 78 std::string AST::makeHeaderGuard(const std::string &baseName, in makeHeaderGuard() 95 void AST::generateCppPackageInclude( in generateCppPackageInclude() 113 void AST::enterLeaveNamespace(Formatter &out, bool enter) const { in enterLeaveNamespace() 394 status_t AST::generateInterfaceHeader(const std::string &outputPath) const { in generateInterfaceHeader() 402 if (!AST::isInterface(&ifaceName)) { in generateInterfaceHeader() 574 status_t AST::generateHwBinderHeader(const std::string &outputPath) const { in generateHwBinderHeader() [all …]
|
D | AST.h | 42 struct AST { struct 43 AST(Coordinator *coordinator, const std::string &path); 44 ~AST(); 78 void addImportedAST(AST *ast); 138 std::set<AST *> mImportedASTs; argument 144 std::map<AST *, std::set<Type *>> mImportedTypes; argument 282 DISALLOW_COPY_AND_ASSIGN(AST);
|
D | Coordinator.cpp | 32 extern android::status_t parseFile(android::AST *ast); 57 AST *Coordinator::parse(const FQName &fqName, std::set<AST *> *parsedASTs, bool enforce) { in parse() 62 AST *ast = (*it).second; in parse() 74 AST *typesAST = nullptr; in parse() 90 AST *ast = new AST(this, path); in parse() 446 AST *currentAST = parse(currentFQName); in enforceMinorVersionUprevs() 511 AST *ast = parse(currentFQName); in enforceHashes()
|
D | main.cpp | 68 AST *ast; in generateSourcesForFile() 229 AST *ast = coordinator->parse(fqName); in generateMakefileSectionForType() 285 AST *typesAST) { in generateMakefileSection() 350 AST *ast = coordinator->parse(fqName); in isPackageJavaCompatible() 389 const std::vector<FQName> &packageInterfaces, AST *typesAST) { in packageNeedsJavaCode() 472 AST *typesAST = nullptr; in generateMakefileForPackage() 476 AST *ast = coordinator->parse(fqName); in generateMakefileForPackage() 764 AST *typesAST = nullptr; in generateAndroidBpForPackage() 767 AST *ast = coordinator->parse(fqName); in generateAndroidBpForPackage() 923 AST *ast = coordinator->parse(fqName); in generateAndroidBpImplForPackage() [all …]
|
D | generateJava.cpp | 29 void AST::emitJavaReaderWriter( in emitJavaReaderWriter() 48 status_t AST::generateJavaTypes( in generateJavaTypes() 98 status_t AST::generateJava( in generateJava() 112 if (!AST::isInterface(&ifaceName)) { in generateJava() 700 status_t AST::emitJavaTypeDeclarations(Formatter &out) const { in emitJavaTypeDeclarations()
|
/system/tools/hidl/c2hal/ |
D | AST.cpp | 37 AST::AST(const std::string &path, in AST() function in android::AST 48 AST::~AST() { in ~AST() 73 void *AST::scanner() { in scanner() 77 void AST::setScanner(void *scanner) { in setScanner() 81 bool AST::isOpenGl() const { in isOpenGl() 85 const std::string& AST::getFilename() const { in getFilename() 89 void AST::setDeclarations(std::vector<Declaration *> *declarations) { in setDeclarations() 100 void AST::setIncludes(std::vector<Include *> *includes) { in setIncludes() 104 Expression *AST::getExpression() const { in getExpression() 107 void AST::setExpression(Expression *expression) { in setExpression() [all …]
|
D | AST.h | 37 struct AST { struct 38 AST(const std::string &path, 42 ~AST(); 93 DISALLOW_COPY_AND_ASSIGN(AST); argument
|
D | Expression.cpp | 91 virtual Type getType(const AST &ast) { in getType() 109 virtual Type getType(const AST &ast) { in getType() 143 virtual Type getType(const AST &ast) { in getType() 166 virtual Type getType(const AST &ast) { in getType() 191 virtual Type getType(const AST &ast) { in getType() 214 virtual Type getType(const AST &) { in getType() 241 virtual Type getType(const AST &) { in getType()
|
D | Declaration.h | 28 struct AST; 56 virtual void processContents(AST &ast) = 0;
|
D | Define.cpp | 21 extern android::status_t parseExpression(android::AST *ast, std::string str); 47 void Define::processContents(AST &ast) { in processContents()
|
D | Expression.h | 27 struct AST; 77 virtual Type getType(const AST &scope) = 0;
|
D | Include.cpp | 44 void Include::processContents(AST &) { in processContents() argument
|
D | TypeDef.cpp | 37 void TypeDef::processContents(AST &ast) { in processContents()
|
D | Include.h | 37 void processContents(AST &ast) override;
|
D | TypeDef.h | 36 void processContents(AST &ast) override;
|
D | Note.h | 41 void processContents(AST &ast) override;
|
D | EnumVarDeclaration.h | 41 void processContents(AST &ast) override;
|
D | VarDeclaration.h | 38 void processContents(AST &ast) override;
|
D | EnumVarDeclaration.cpp | 53 void EnumVarDeclaration::processContents(AST &) { in processContents() argument
|
D | Note.cpp | 52 void Note::processContents(AST &ast) { in processContents()
|
D | VarDeclaration.cpp | 53 void VarDeclaration::processContents(AST &) { in processContents() argument
|