/system/tools/hidl/c2hal/ |
D | Declaration.cpp | 26 Declaration::Declaration(const std::string &name) in Declaration() function in android::Declaration 30 Declaration::~Declaration() {} in ~Declaration() 32 const std::string& Declaration::getName() const { in getName() 35 void Declaration::setName(const std::string &name) { in setName() 39 void Declaration::forceCamelCase() { in forceCamelCase() 44 void Declaration::forcePascalCase() { in forcePascalCase() 49 void Declaration::forceUpperSnakeCase() { in forceUpperSnakeCase() 54 const std::string& Declaration::getComment() const { in getComment() 57 void Declaration::setComment(const std::string &comment) { in setComment() 62 void Declaration::generateCommentText(Formatter &out) const { in generateCommentText() [all …]
|
D | FunctionDeclaration.h | 26 struct Declaration; 29 struct FunctionDeclaration : Declaration { 32 std::vector<Declaration *> *params); 48 std::vector<Declaration *> *mParams;
|
D | Declaration.h | 30 struct Declaration { struct 31 Declaration(const std::string &name); 32 virtual ~Declaration(); 62 DISALLOW_COPY_AND_ASSIGN(Declaration); argument
|
D | CompositeDeclaration.h | 25 struct CompositeDeclaration : Declaration { 29 std::vector<android::Declaration *> *fieldDeclarations); 35 const std::vector<android::Declaration *>* getFieldDeclarations() const; 51 std::vector<android::Declaration *> *mFieldDeclarations;
|
D | TypeDef.h | 28 struct TypeDef : Declaration { 29 TypeDef(const std::string &name, Declaration* declaration); 39 Declaration* mDeclaration;
|
D | Note.h | 31 struct Note : Declaration { 34 Note(Declaration *decl); 44 Declaration *mDecl = nullptr;
|
D | Note.cpp | 22 : Declaration(name) in Note() 25 Note::Note(Declaration *decl) in Note() 26 : Declaration(""), in Note()
|
D | CompositeDeclaration.cpp | 31 std::vector<android::Declaration *> *fieldDeclarations) in CompositeDeclaration() 32 : Declaration(""), in CompositeDeclaration() 49 Declaration::setName(name); in setName() 56 const std::vector<android::Declaration *>* 115 auto nonFpDecs = new std::vector<Declaration*>; in processContents()
|
D | FunctionDeclaration.cpp | 27 std::vector<Declaration *> *params) in FunctionDeclaration() 28 : Declaration(""), in FunctionDeclaration() 47 Declaration::setName(name); in setName()
|
D | AST.h | 35 struct Declaration; 51 void setDeclarations(std::vector<Declaration *> *declarations); 74 std::vector<Declaration *> *mDeclarations = nullptr;
|
D | TypeDef.cpp | 21 TypeDef::TypeDef(const std::string &name, Declaration* declaration) in TypeDef() 22 : Declaration(name), mDeclaration(declaration) in TypeDef()
|
D | EnumVarDeclaration.cpp | 25 : Declaration(""), mExpression(expression) in EnumVarDeclaration() 35 Declaration::setName(name); in setName()
|
D | VarDeclaration.cpp | 22 : Declaration(""), in VarDeclaration() 33 Declaration::setName(name); in setName()
|
D | c2hal_y.yy | 20 #include "Declaration.h" 154 android::Declaration *declaration; 156 std::vector<android::Declaration *> *declarations; 158 android::Declaration *param; 159 std::vector<android::Declaration *> *params; 194 $$ = new std::vector<Declaration *>; 343 $$ = new std::vector<Declaration *>; 354 $$ = new std::vector<Declaration *>; 397 $$ = new std::vector<Declaration *>; 401 $$ = new std::vector<Declaration *>;
|
D | Include.cpp | 22 : Declaration(name), mIsLibrary(isLibrary) in Include()
|
D | Include.h | 29 struct Include : Declaration {
|
D | EnumVarDeclaration.h | 30 struct EnumVarDeclaration : Declaration {
|
D | VarDeclaration.h | 25 struct VarDeclaration : Declaration{
|
D | Define.h | 29 struct Define : Declaration {
|
D | AST.cpp | 88 void AST::setDeclarations(std::vector<Declaration *> *declarations) { in setDeclarations() 158 auto globalFuns = new std::vector<Declaration*>; in isolateGlobalInterface() 200 auto constants = new std::vector<Declaration*>; in isolateConstants()
|
D | Define.cpp | 26 : Declaration(name), mSlurp(slurp) in Define()
|
/system/tools/aidl/ |
D | ast_cpp.h | 43 class Declaration : public AstNode { 45 Declaration() = default; 46 virtual ~Declaration() = default; 49 DISALLOW_COPY_AND_ASSIGN(Declaration); 52 class LiteralDecl : public Declaration { 64 class ClassDecl : public Declaration { 70 std::vector<std::unique_ptr<Declaration>> public_members, 71 std::vector<std::unique_ptr<Declaration>> private_members); 76 void AddPublic(std::unique_ptr<Declaration> member); 77 void AddPrivate(std::unique_ptr<Declaration> member); [all …]
|
D | ast_cpp_unittest.cpp | 116 vector<unique_ptr<Declaration>> test_methods; in TEST_F() 120 vector<unique_ptr<Declaration>> test_sub_methods; in TEST_F() 123 unique_ptr<Declaration> test{new ClassDecl { "TestClass", "", in TEST_F() 126 unique_ptr<Declaration> test_sub{new ClassDecl { "TestSubClass", in TEST_F() 129 vector<unique_ptr<Declaration>> classes; in TEST_F() 136 vector<unique_ptr<Declaration>> test_ns_vec; in TEST_F() 142 vector<unique_ptr<Declaration>> test_ns_globals; in TEST_F()
|
D | generate_cpp.cpp | 143 unique_ptr<Declaration> BuildMethodDecl(const AidlMethod& method, in BuildMethodDecl() 154 return unique_ptr<Declaration>{ in BuildMethodDecl() 161 unique_ptr<Declaration> BuildMetaMethodDecl(const AidlMethod& method, const TypeNamespace&, in BuildMetaMethodDecl() 175 return unique_ptr<Declaration>(new LiteralDecl(code.str())); in BuildMetaMethodDecl() 180 std::vector<unique_ptr<Declaration>> NestInNamespaces(vector<unique_ptr<Declaration>> decls, in NestInNamespaces() 184 vector<unique_ptr<Declaration>> inner; in NestInNamespaces() 185 inner.emplace_back(unique_ptr<Declaration>{new CppNamespace{*it, std::move(decls)}}); in NestInNamespaces() 192 std::vector<unique_ptr<Declaration>> NestInNamespaces(unique_ptr<Declaration> decl, in NestInNamespaces() 194 vector<unique_ptr<Declaration>> decls; in NestInNamespaces() 228 unique_ptr<Declaration> DefineClientTransaction(const TypeNamespace& types, in DefineClientTransaction() [all …]
|
D | ast_cpp.cpp | 49 std::vector<unique_ptr<Declaration>> public_members, in ClassDecl() 50 std::vector<unique_ptr<Declaration>> private_members) in ClassDecl() 83 void ClassDecl::AddPublic(std::unique_ptr<Declaration> member) { in AddPublic() 87 void ClassDecl::AddPrivate(std::unique_ptr<Declaration> member) { in AddPrivate() 416 std::vector<unique_ptr<Declaration>> declarations) in CppNamespace() 421 unique_ptr<Declaration> declaration) in CppNamespace() 440 std::vector<unique_ptr<Declaration>> declarations) in Document() 455 std::vector<std::unique_ptr<Declaration>> declarations) in CppHeader() 469 std::vector<std::unique_ptr<Declaration>> declarations) in CppSource()
|