Home
last modified time | relevance | path

Searched refs:MethodDecl (Results 1 – 4 of 4) sorted by relevance

/system/tools/aidl/
Dast_cpp_unittest.cpp105 unique_ptr<MethodDecl> norm{new MethodDecl( in TEST_F()
108 unique_ptr<MethodDecl> sub{ in TEST_F()
109 new MethodDecl("void", "SubMethod", in TEST_F()
111 MethodDecl::IS_CONST | MethodDecl::IS_VIRTUAL)}; in TEST_F()
112 unique_ptr<MethodDecl> sub2{ in TEST_F()
113 new MethodDecl("void", "SubMethod", in TEST_F()
115 MethodDecl::IS_CONST | MethodDecl::IS_VIRTUAL)}; in TEST_F()
Dast_cpp.h144 class MethodDecl : public Declaration {
153 MethodDecl(const std::string& return_type,
156 MethodDecl(const std::string& return_type,
160 virtual ~MethodDecl() = default;
173 DISALLOW_COPY_AND_ASSIGN(MethodDecl);
Dast_cpp.cpp160 MethodDecl::MethodDecl(const std::string& return_type, in MethodDecl() function in android::aidl::cpp::MethodDecl
163 : MethodDecl(return_type, name, std::move(arg_list), 0u) {} in MethodDecl()
165 MethodDecl::MethodDecl(const std::string& return_type, in MethodDecl() function in android::aidl::cpp::MethodDecl
177 void MethodDecl::Write(CodeWriter* to) const { in Write()
Dgenerate_cpp.cpp159 modifiers |= MethodDecl::IS_VIRTUAL; in BuildMethodDecl()
160 modifiers |= MethodDecl::IS_PURE_VIRTUAL; in BuildMethodDecl()
162 modifiers |= MethodDecl::IS_OVERRIDE; in BuildMethodDecl()
166 new MethodDecl{kBinderStatusLiteral, in BuildMethodDecl()
630 unique_ptr<Declaration> on_transact{new MethodDecl{ in BuildServerHeader()
637 MethodDecl::IS_OVERRIDE in BuildServerHeader()