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()
Dgenerate_cpp.cpp148 modifiers |= MethodDecl::IS_VIRTUAL; in BuildMethodDecl()
149 modifiers |= MethodDecl::IS_PURE_VIRTUAL; in BuildMethodDecl()
151 modifiers |= MethodDecl::IS_OVERRIDE; in BuildMethodDecl()
155 new MethodDecl{kBinderStatusLiteral, in BuildMethodDecl()
859 unique_ptr<Declaration> on_transact{new MethodDecl{ in BuildServerHeader()
866 MethodDecl::IS_OVERRIDE in BuildServerHeader()
935 unique_ptr<Declaration> getter(new MethodDecl("const " + cppType + "&", constant->GetName(), in BuildInterfaceHeader()
936 {}, MethodDecl::IS_STATIC)); in BuildInterfaceHeader()
1030 unique_ptr<MethodDecl> read(new MethodDecl(kAndroidStatusLiteral, "readFromParcel", in BuildParcelHeader()
1032 MethodDecl::IS_OVERRIDE | MethodDecl::IS_FINAL)); in BuildParcelHeader()
[all …]
Dast_cpp.h170 class MethodDecl : public Declaration {
181 MethodDecl(const std::string& return_type,
184 MethodDecl(const std::string& return_type,
188 virtual ~MethodDecl() = default;
203 DISALLOW_COPY_AND_ASSIGN(MethodDecl);
Dast_cpp.cpp187 MethodDecl::MethodDecl(const std::string& return_type, in MethodDecl() function in android::aidl::cpp::MethodDecl
190 : MethodDecl(return_type, name, std::move(arg_list), 0u) {} in MethodDecl()
192 MethodDecl::MethodDecl(const std::string& return_type, const std::string& name, ArgList&& arg_list, in MethodDecl() function in android::aidl::cpp::MethodDecl
204 void MethodDecl::Write(CodeWriter* to) const { in Write()