Home
last modified time | relevance | path

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

/system/tools/aidl/
Dast_cpp_unittest.cpp125 unique_ptr<MethodDecl> norm{new MethodDecl( in TEST_F()
128 unique_ptr<MethodDecl> sub{ in TEST_F()
129 new MethodDecl("void", "SubMethod", in TEST_F()
131 MethodDecl::IS_CONST | MethodDecl::IS_VIRTUAL)}; in TEST_F()
132 unique_ptr<MethodDecl> sub2{ in TEST_F()
133 new MethodDecl("void", "SubMethod", in TEST_F()
135 MethodDecl::IS_CONST | MethodDecl::IS_VIRTUAL)}; in TEST_F()
Dast_cpp.cpp205 MethodDecl::MethodDecl(const std::string& return_type, const std::string& name, ArgList&& arg_list, in MethodDecl() function in android::aidl::cpp::MethodDecl
207 : MethodDecl(return_type, name, std::move(arg_list), 0u, attributes) {} in MethodDecl()
209 MethodDecl::MethodDecl(const std::string& return_type, const std::string& name, ArgList&& arg_list, in MethodDecl() function in android::aidl::cpp::MethodDecl
222 void MethodDecl::Write(CodeWriter* to) const { in Write()
Dast_cpp.h167 class MethodDecl : public Declaration {
178 MethodDecl(const std::string& return_type, const std::string& name, ArgList&& arg_list,
180 MethodDecl(const std::string& return_type, const std::string& name, ArgList&& arg_list,
182 virtual ~MethodDecl() = default;
Dgenerate_cpp.cpp167 modifiers |= MethodDecl::IS_VIRTUAL; in BuildMethodDecl()
168 modifiers |= MethodDecl::IS_PURE_VIRTUAL; in BuildMethodDecl()
170 modifiers |= MethodDecl::IS_OVERRIDE; in BuildMethodDecl()
174 return unique_ptr<Declaration>{new MethodDecl{ in BuildMethodDecl()
549 unique_ptr<Declaration> getter(new MethodDecl("const " + cppType + "&", constant->GetName(), in BuildConstantDeclarations()
550 {}, MethodDecl::IS_STATIC, attribute)); in BuildConstantDeclarations()
942 unique_ptr<Declaration> on_transact{new MethodDecl{ in BuildServerHeader()
949 MethodDecl::IS_OVERRIDE in BuildServerHeader()
1277 unique_ptr<MethodDecl> read(new MethodDecl(kAndroidStatusLiteral, "readFromParcel", in BuildParcelHeader()
1279 MethodDecl::IS_FINAL)); in BuildParcelHeader()
[all …]