Home
last modified time | relevance | path

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

/system/tools/aidl/
Dgenerate_rust.cpp193 auto arg_name = kArgumentPrefix + arg->GetName(); in GenerateClientMethodHelpers() local
199 out << "aidl_data.write(" << arg_name << ")?;\n"; in GenerateClientMethodHelpers()
201 out << "aidl_data.write(&" << arg_name << ")?;\n"; in GenerateClientMethodHelpers()
206 out << "aidl_data.write_slice_size(" << arg_name << ".as_deref())?;\n"; in GenerateClientMethodHelpers()
208 out << "aidl_data.write_slice_size(Some(" << arg_name << "))?;\n"; in GenerateClientMethodHelpers()
417 string arg_name = kArgumentPrefix + arg->GetName(); in GenerateServerTransaction() local
429 out << "let " << arg_mut << arg_name << ": " << arg_type << " = " << arg_init << ";\n"; in GenerateServerTransaction()
433 out << "_aidl_data." << resize_name << "(&mut " << arg_name << ")?;\n"; in GenerateServerTransaction()
440 args += TakeReference(ref_mode, arg_name); in GenerateServerTransaction()
456 string arg_name = kArgumentPrefix + arg->GetName(); in GenerateServerTransaction() local
[all …]