Searched refs:MethodDecl (Results 1 – 4 of 4) sorted by relevance
/system/tools/aidl/ |
D | ast_cpp_unittest.cpp | 98 unique_ptr<MethodDecl> norm{new MethodDecl( in TEST_F() 101 unique_ptr<MethodDecl> sub{ in TEST_F() 102 new MethodDecl("void", "SubMethod", in TEST_F() 104 MethodDecl::IS_CONST | MethodDecl::IS_VIRTUAL)}; in TEST_F() 105 unique_ptr<MethodDecl> sub2{ in TEST_F() 106 new MethodDecl("void", "SubMethod", in TEST_F() 108 MethodDecl::IS_CONST | MethodDecl::IS_VIRTUAL)}; in TEST_F()
|
D | generate_cpp.cpp | 162 modifiers |= MethodDecl::IS_VIRTUAL; in BuildMethodDecl() 163 modifiers |= MethodDecl::IS_PURE_VIRTUAL; in BuildMethodDecl() 165 modifiers |= MethodDecl::IS_OVERRIDE; in BuildMethodDecl() 169 new MethodDecl{kBinderStatusLiteral, method.GetName(), in BuildMethodDecl() 892 unique_ptr<Declaration> on_transact{new MethodDecl{ in BuildServerHeader() 899 MethodDecl::IS_OVERRIDE in BuildServerHeader() 976 unique_ptr<Declaration> getter(new MethodDecl("const " + cppType + "&", constant->GetName(), in BuildInterfaceHeader() 977 {}, MethodDecl::IS_STATIC)); in BuildInterfaceHeader() 1120 unique_ptr<MethodDecl> read(new MethodDecl(kAndroidStatusLiteral, "readFromParcel", in BuildParcelHeader() 1122 MethodDecl::IS_OVERRIDE | MethodDecl::IS_FINAL)); in BuildParcelHeader() [all …]
|
D | ast_cpp.cpp | 189 MethodDecl::MethodDecl(const std::string& return_type, in MethodDecl() function in android::aidl::cpp::MethodDecl 192 : MethodDecl(return_type, name, std::move(arg_list), 0u) {} in MethodDecl() 194 MethodDecl::MethodDecl(const std::string& return_type, const std::string& name, ArgList&& arg_list, in MethodDecl() function in android::aidl::cpp::MethodDecl 206 void MethodDecl::Write(CodeWriter* to) const { in Write()
|
D | ast_cpp.h | 160 class MethodDecl : public Declaration { 171 MethodDecl(const std::string& return_type, 174 MethodDecl(const std::string& return_type, 178 virtual ~MethodDecl() = default;
|