/external/rust/crates/protobuf/src/ |
D | repeated.rs | 94 pub fn as_mut_slice<'a>(&'a mut self) -> &'a mut [T] { in as_mut_slice() method 107 &mut self.as_mut_slice()[start..end] in slice_mut() 119 &mut self.as_mut_slice()[start..] in slice_from_mut() 131 &mut self.as_mut_slice()[..end] in slice_to_mut() 143 self.as_mut_slice().split_at_mut(mid) in split_at_mut() 161 self.as_mut_slice().last_mut() in last_mut() 246 self.as_mut_slice().reverse() in reverse() 265 self.as_mut_slice().iter_mut() in iter_mut() 274 self.as_mut_slice().sort_by(compare) in sort_by() 454 &mut self.as_mut_slice()[index] in index_mut() [all …]
|
D | misc.rs | 7 vec.as_mut_slice().as_mut_ptr().offset(vec.len() as isize), in remaining_capacity_as_slice_mut()
|
/external/rust/cxx/src/ |
D | rust_slice.rs | 31 pub unsafe fn as_mut_slice<'a, T>(self) -> &'a mut [T] { in as_mut_slice() method
|
D | cxx_vector.rs | 127 pub fn as_mut_slice(self: Pin<&mut Self>) -> &mut [T] in as_mut_slice() function
|
/external/crosvm/rutabaga_gfx/src/ |
D | rutabaga_2d.rs | 225 VolatileSlice::new(info_2d.host_mem.as_mut_slice()), in transfer_write() 265 [VolatileSlice::new(info_2d.host_mem.as_mut_slice())] in transfer_read()
|
/external/crosvm/devices/src/virtio/gpu/ |
D | udmabuf_bindings.rs | 33 pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] { in as_mut_slice() method
|
D | udmabuf.rs | 51 unsafe { self.list.as_mut_slice(len) } in get_mut_slice()
|
/external/crosvm/sys_util/src/ |
D | rand.rs | 85 rand_bytes(rand.as_mut_slice(), source)?; in rand_vec()
|
/external/crosvm/devices/src/ |
D | direct_irq.rs | 97 let data = unsafe { irq_set[0].eventfd.as_mut_slice(count * u32_size) }; in plat_irq_ioctl()
|
/external/rust/crates/ring/tests/ |
D | rsa_tests.rs | 107 .sign(alg, &rng, &msg, actual.as_mut_slice()) in test_signature_rsa_pkcs1_sign() 146 key_pair.sign(alg, &rng, &msg, actual.as_mut_slice())?; in test_signature_rsa_pss_sign()
|
/external/crosvm/data_model/src/ |
D | lib.rs | 111 fn as_mut_slice(&mut self) -> &mut [u8] { in as_mut_slice() method
|
/external/adhd/sof_sys/src/ |
D | bindings.rs | 33 pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] { in as_mut_slice() method
|
/external/crosvm/x86_64/src/ |
D | smbios.rs | 239 smbios_ep.as_mut_slice().copy_from_slice(&sme); in setup_smbios_from_file() 262 smbios_ep.as_mut_slice().copy_from_slice(&sme); in setup_smbios_from_file()
|
/external/rust/crates/vmm_vhost/src/vhost_kern/ |
D | vhost_binding.rs | 91 pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] { in as_mut_slice() method 244 let regions = unsafe { self.buf[0].regions.as_mut_slice(index as usize + 1) }; in set_region()
|
/external/crosvm/gpu_display/src/ |
D | gpu_display_stub.rs | 29 VolatileSlice::new(self.bytes.as_mut_slice()) in as_volatile_slice()
|
/external/rust/crates/tinyvec/src/ |
D | arrayvec.rs | 254 pub fn as_mut_slice(&mut self) -> &mut [A::Item] { in as_mut_slice() method 506 let target = &mut self.as_mut_slice()[index..]; in try_insert() 807 let moves = &mut self.as_mut_slice()[at..]; in split_off() 1012 let (dedup, _) = self.as_mut_slice().partition_dedup_by(same_bucket); in dedup_by()
|
D | slicevec.rs | 94 pub fn as_mut_slice(&mut self) -> &mut [T] { in as_mut_slice() method 291 self.as_mut_slice()[index..].rotate_right(1); in insert()
|
/external/crosvm/devices/src/virtio/snd/vios_backend/ |
D | shm_vios.rs | 126 .recv_with_fds(config.as_mut_slice(), &mut fds) in try_new() 496 .recv(msg.as_mut_slice()) in spawn_recv_thread() 720 .recv(status.as_mut_slice()) in recv_cmd_status()
|
/external/crosvm/vfio_sys/src/ |
D | plat.rs | 31 pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] { in as_mut_slice() method
|
/external/crosvm/usb_sys/src/ |
D | lib.rs | 36 pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] { in as_mut_slice() method
|
/external/crosvm/devices/src/virtio/video/ |
D | mod.rs | 154 copy_config(data, 0, cfg.as_mut_slice(), offset); in read_config()
|
/external/crosvm/devices/src/usb/host_backend/ |
D | usb_endpoint.rs | 106 buffer.read(v.as_mut_slice()).map_err(Error::ReadBuffer)?; in get_transfer_buffer()
|
/external/rust/crates/smallvec/src/ |
D | tests.rs | 636 assert_eq!(iter.as_mut_slice(), &[1, 2, 3]); in test_into_iter_as_slice() 639 assert_eq!(iter.as_mut_slice(), &[2, 3]); in test_into_iter_as_slice() 642 assert_eq!(iter.as_mut_slice(), &[2]); in test_into_iter_as_slice()
|
/external/crosvm/kvm_sys/src/ |
D | lib.rs | 173 unsafe { self.entries.as_mut_slice(len) } in get_mut_slice()
|
/external/adhd/cras/client/libcras/src/ |
D | audio_socket.rs | 82 let rc = self.socket.read(message.as_mut_slice())?; in read_from_socket()
|