Home
last modified time | relevance | path

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

/system/tools/aidl/
Dast_cpp.h113 class ArgList : public AstNode {
115 ArgList() = default;
116 explicit ArgList(const std::string& single_argument);
117 explicit ArgList(const std::vector<std::string>& arg_list);
118 explicit ArgList(std::vector<std::unique_ptr<AstNode>> arg_list);
119 ArgList(ArgList&& arg_list) noexcept;
120 virtual ~ArgList() = default;
127 DISALLOW_COPY_AND_ASSIGN(ArgList);
139 ArgList&& arg_list);
141 ArgList&& arg_list,
[all …]
Dast_cpp_unittest.cpp107 ArgList{vector<string>{"int normalarg", "float normal2"}})}; in TEST_F()
110 ArgList{ "int subarg" }, in TEST_F()
114 ArgList{ "int subarg" }, in TEST_F()
157 ArgList simple("foo"); in TEST_F()
159 ArgList compound({"foo", "bar", "baz"}); in TEST_F()
163 ArgList nested(std::move(args)); in TEST_F()
186 ConstructorImpl c("ClassName", ArgList({"a", "b", "c"}), in TEST_F()
208 ArgList({"has", "some", "args"})); in TEST_F()
237 ArgList{{"arg 1", "arg 2", "arg 3"}}, in TEST_F()
Dast_cpp.cpp122 ArgList::ArgList(const std::string& single_argument) in ArgList() function in android::aidl::cpp::ArgList
123 : ArgList(vector<string>{single_argument}) {} in ArgList()
125 ArgList::ArgList(const std::vector<std::string>& arg_list) { in ArgList() function in android::aidl::cpp::ArgList
131 ArgList::ArgList(std::vector<std::unique_ptr<AstNode>> arg_list) in ArgList() function in android::aidl::cpp::ArgList
134 ArgList::ArgList(ArgList&& arg_list) noexcept : arguments_(std::move(arg_list.arguments_)) {} in ArgList() function in android::aidl::cpp::ArgList
136 void ArgList::Write(CodeWriter* to) const { in Write()
149 ArgList&& arg_list) in ConstructorDecl()
154 ArgList&& arg_list, in ConstructorDecl()
177 MacroDecl::MacroDecl(const std::string& name, ArgList&& arg_list) in MacroDecl()
189 ArgList&& arg_list) in MethodDecl()
[all …]
Dgenerate_cpp.cpp95 ArgList BuildArgList(const TypeNamespace& types, const AidlMethod& method, bool for_declaration, in BuildArgList()
140 return ArgList(method_arguments); in BuildArgList()
235 ArgList{BuildArgList(types, method, true /* for method decl */)}}}; in DefineClientTransaction()
282 ArgList(var_name)))); in DefineClientTransaction()
291 ArgList(var_name)))); in DefineClientTransaction()
309 ArgList(args)))); in DefineClientTransaction()
357 ArgList(kReturnVarName)))); in DefineClientTransaction()
372 ArgList(a->GetName())))); in DefineClientTransaction()
453 ArgList{StringPrintf("const ::android::sp<::android::IBinder>& %s", in BuildClientSource()
541 ArgList{{"ATRACE_TAG_AIDL", in HandleServerTransaction()
[all …]