/external/crosvm/p9/src/protocol/ |
D | wire_format.rs | 90 let mut result = String::with_capacity(len as usize); in decode() 121 let mut result = Vec::with_capacity(len as usize); in decode() 186 let mut buf = Vec::with_capacity(len as usize); in decode() 247 let mut buf = Vec::with_capacity(8); in integer_encode() 312 let mut buf = Vec::with_capacity(len + mem::size_of::<u16>()); in string_encode() 323 let mut buf = Vec::with_capacity(exp.len()); in string_encode() 418 Vec::with_capacity(values.len() * mem::size_of::<u32>() + mem::size_of::<u16>()); in vector_encode() 430 let mut actual: Vec<u8> = Vec::with_capacity(expected.len()); in vector_encode() 451 Vec::with_capacity(expected.len() * mem::size_of::<u32>() + mem::size_of::<u16>()); in vector_decode() 474 Vec::with_capacity(values.len() * mem::size_of::<u8>() + mem::size_of::<u32>()); in data_encode() [all …]
|
/external/crosvm/qcow/src/ |
D | qcow_raw_file.rs | 69 let mut buffer = BufWriter::with_capacity(table.len() * size_of::<u64>(), &self.file); in write_pointer_table() 94 let mut buffer = BufWriter::with_capacity(table.len() * size_of::<u16>(), &self.file); in write_refcount_block()
|
D | vec_cache.rs | 96 map: HashMap::with_capacity(capacity), in new()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/ |
D | cross-cu-scope.ll | 46 …istinct !DISubprogram(name: "with_capacity<alloc::string::String>", linkageName: "_ZN5alloc7raw_ve…
|
/external/crosvm/sys_util/src/ |
D | sock_ctrl_msg.rs | 78 fn with_capacity(capacity: usize) -> CmsgBuffer { in with_capacity() method 108 let mut cmsg_buffer = CmsgBuffer::with_capacity(cmsg_capacity); in raw_sendmsg() 160 let mut cmsg_buffer = CmsgBuffer::with_capacity(cmsg_capacity); in raw_recvmsg()
|
D | struct_util.rs | 39 let mut out: Vec<T> = Vec::with_capacity(len); in read_struct_slice()
|
D | poll.rs | 674 let mut evts = Vec::with_capacity(EVT_COUNT); in poll_context_overflow()
|
/external/rust/crates/syn/1.0.7/src/ |
D | bigint.rs | 14 let mut repr = String::with_capacity(self.digits.len()); in to_string()
|
D | punctuated.rs | 410 let mut elements = Vec::with_capacity(self.len()); in into_iter()
|
/external/crosvm/src/plugin/ |
D | process.rs | 150 let mut vcpu_pipes: Vec<VcpuPipe> = Vec::with_capacity(cpu_count as usize); in new() 155 Vec::with_capacity(cpu_count as usize); in new() 394 let mut routes = Vec::with_capacity(irq_routing.routes.len()); in handle_set_irq_routing()
|
D | vcpu.rs | 464 let mut msr_entries = Vec::with_capacity(entry_indices.len()); in handle_request()
|
D | mod.rs | 624 let mut vcpu_handles = Vec::with_capacity(vcpu_count as usize); in run_config()
|
/external/crosvm/io_jail/src/ |
D | lib.rs | 512 let mut args_cstr = Vec::with_capacity(args.len()); in run() 513 let mut args_array = Vec::with_capacity(args.len()); in run()
|
/external/crosvm/p9/src/ |
D | server.rs | 355 let mut mds = Vec::with_capacity(walk.wnames.len()); in walk() 409 let mut buf = Data(Vec::with_capacity(capacity as usize)); in read() 786 let mut cursor = Cursor::new(Vec::with_capacity(count as usize)); in readdir()
|
/external/crosvm/devices/src/virtio/ |
D | p9.rs | 313 let mut cfg = Vec::with_capacity(tag.len() + mem::size_of::<u16>()); in new()
|
/external/crosvm/devices/src/virtio/input/ |
D | event_source.rs | 414 let mut ret: Vec<input_event> = Vec::with_capacity(count); in instantiate_input_events()
|
/external/flatbuffers/rust/flatbuffers/src/ |
D | builder.rs | 275 …WIPOffset<&str>; N_SMALLVEC_STRING_VECTOR_CAPACITY]> = smallvec::SmallVec::with_capacity(xs.len()); in create_vector_of_strings()
|
/external/crosvm/aarch64/src/ |
D | lib.rs | 216 let mut vcpus = Vec::with_capacity(vcpu_count as usize); in build_vm()
|
/external/rust/crates/syn/0.15.42/src/ |
D | punctuated.rs | 417 let mut elements = Vec::with_capacity(self.len()); in into_iter()
|
/external/crosvm/devices/src/virtio/gpu/ |
D | backend.rs | 828 let mut plane_info = Vec::with_capacity(buffer.num_planes()); in resource_create_3d()
|
D | mod.rs | 151 let mut iovecs = Vec::with_capacity(entry_count); in process_gpu_command()
|
/external/crosvm/x86_64/src/ |
D | lib.rs | 329 let mut vcpus = Vec::with_capacity(vcpu_count as usize); in build_vm()
|
/external/rust/crates/proc-macro2/src/ |
D | fallback.rs | 729 let mut text = String::with_capacity(t.len() + 2); in string()
|
/external/flatbuffers/tests/rust_usage_test/tests/ |
D | integration_test.rs | 804 let mut result_vec: Vec<T> = Vec::with_capacity(got.len()); in prop() 1243 let mut got3: Vec<T> = Vec::with_capacity(got2.len()); in prop()
|
/external/crosvm/kvm/src/ |
D | lib.rs | 39 let mut v = Vec::with_capacity(rounded_size); in vec_with_size_in_bytes()
|