Lines Matching refs:arg_name
121 auto arg_name = kArgumentPrefix + arg->GetName(); in GenerateClientMethod() local
127 out << "_aidl_data.write(" << arg_name << ")?;\n"; in GenerateClientMethod()
129 out << "_aidl_data.write(&" << arg_name << ")?;\n"; in GenerateClientMethod()
134 out << "_aidl_data.write_slice_size(" << arg_name << ".as_deref())?;\n"; in GenerateClientMethod()
136 out << "_aidl_data.write_slice_size(Some(" << arg_name << "))?;\n"; in GenerateClientMethod()
207 string arg_name = kArgumentPrefix + arg->GetName(); in GenerateServerTransaction() local
219 out << "let " << arg_mut << arg_name << ": " << arg_type << " = " << arg_init << ";\n"; in GenerateServerTransaction()
223 out << "_aidl_data." << resize_name << "(&mut " << arg_name << ")?;\n"; in GenerateServerTransaction()
230 args += TakeReference(ref_mode, arg_name); in GenerateServerTransaction()
246 string arg_name = kArgumentPrefix + arg->GetName(); in GenerateServerTransaction() local
254 out << "if " << arg_name << ".iter().any(Option::is_none) { " in GenerateServerTransaction()
258 out << "let " << arg_name << " = " << arg_name in GenerateServerTransaction()
262 out << "_aidl_reply.write(&" << arg_name << ")?;\n"; in GenerateServerTransaction()