Home
last modified time | relevance | path

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

/system/tools/aidl/
Dast_cpp_unittest.cpp106 unique_ptr<MethodDecl> norm{new MethodDecl( in TEST_F()
109 unique_ptr<MethodDecl> sub{ in TEST_F()
110 new MethodDecl("void", "SubMethod", in TEST_F()
112 MethodDecl::IS_CONST | MethodDecl::IS_VIRTUAL)}; in TEST_F()
113 unique_ptr<MethodDecl> sub2{ in TEST_F()
114 new MethodDecl("void", "SubMethod", in TEST_F()
116 MethodDecl::IS_CONST | MethodDecl::IS_VIRTUAL)}; in TEST_F()
Dast_cpp.h158 class MethodDecl : public Declaration {
168 MethodDecl(const std::string& return_type,
171 MethodDecl(const std::string& return_type,
175 virtual ~MethodDecl() = default;
189 DISALLOW_COPY_AND_ASSIGN(MethodDecl);
Dast_cpp.cpp170 MethodDecl::MethodDecl(const std::string& return_type, in MethodDecl() function in android::aidl::cpp::MethodDecl
173 : MethodDecl(return_type, name, std::move(arg_list), 0u) {} in MethodDecl()
175 MethodDecl::MethodDecl(const std::string& return_type, in MethodDecl() function in android::aidl::cpp::MethodDecl
188 void MethodDecl::Write(CodeWriter* to) const { in Write()
Dgenerate_cpp.cpp160 modifiers |= MethodDecl::IS_VIRTUAL; in BuildMethodDecl()
161 modifiers |= MethodDecl::IS_PURE_VIRTUAL; in BuildMethodDecl()
163 modifiers |= MethodDecl::IS_OVERRIDE; in BuildMethodDecl()
167 new MethodDecl{kBinderStatusLiteral, in BuildMethodDecl()
669 unique_ptr<Declaration> on_transact{new MethodDecl{ in BuildServerHeader()
676 MethodDecl::IS_OVERRIDE in BuildServerHeader()
731 unique_ptr<MethodDecl> getter(new MethodDecl( in BuildInterfaceHeader()
733 {}, MethodDecl::IS_STATIC)); in BuildInterfaceHeader()