/external/crosvm/arch/src/ |
D | fdt.rs | 73 let fdt_ret = unsafe { fdt_begin_node(fdt.as_mut_ptr() as *mut c_void, cstr_name.as_ptr()) }; in begin_node() 82 let fdt_ret = unsafe { fdt_end_node(fdt.as_mut_ptr() as *mut c_void) }; in end_node() 96 fdt.as_mut_ptr() as *mut c_void, in property() 152 fdt.as_mut_ptr() as *mut c_void, in property_null() 171 fdt.as_mut_ptr() as *mut c_void, in property_cstring() 190 let mut fdt_ret = unsafe { fdt_create(fdt.as_mut_ptr() as *mut c_void, fdt_max_size as c_int) }; in start_fdt() 196 fdt_ret = unsafe { fdt_finish_reservemap(fdt.as_mut_ptr() as *mut c_void) }; in start_fdt() 205 let mut fdt_ret = unsafe { fdt_finish(fdt.as_mut_ptr() as *mut c_void) }; in finish_fdt() 213 fdt.as_mut_ptr() as *mut c_void, in finish_fdt() 214 fdt_final.as_mut_ptr() as *mut c_void, in finish_fdt() [all …]
|
/external/crosvm/sys_util/src/ |
D | sock_ctrl_msg.rs | 98 fn as_mut_ptr(&mut self) -> *mut cmsghdr { in as_mut_ptr() method 100 CmsgBuffer::Inline(a) => a.as_mut_ptr() as *mut cmsghdr, in as_mut_ptr() 101 CmsgBuffer::Heap(a) => a.as_mut_ptr(), in as_mut_ptr() 133 write_unaligned(cmsg_buffer.as_mut_ptr() as *mut cmsghdr, cmsg); in raw_sendmsg() 138 CMSG_DATA(cmsg_buffer.as_mut_ptr()), in raw_sendmsg() 143 msg.msg_control = cmsg_buffer.as_mut_ptr() as *mut c_void; in raw_sendmsg() 163 iov_base: in_data.as_mut_ptr() as *mut c_void, in raw_recvmsg() 178 msg.msg_control = cmsg_buffer.as_mut_ptr() as *mut c_void; in raw_recvmsg() 206 in_fds[in_fds_count..(in_fds_count + fd_count)].as_mut_ptr(), in raw_recvmsg()
|
D | passwd.rs | 34 buf.as_mut_ptr(), in get_user_id() 66 buf.as_mut_ptr(), in get_group_id()
|
D | tempdir.rs | 48 libc::mkdtemp(dir_bytes.as_mut_ptr() as *mut libc::c_char) in new()
|
D | terminal.rs | 100 let ret = unsafe { read(self.tty_fd(), out.as_mut_ptr() as *mut _, out.len()) }; in read_raw()
|
D | net.rs | 187 let ret = libc::read(self.fd, buf.as_mut_ptr() as *mut _, buf.len()); in recv()
|
D | mmap.rs | 378 buf.as_mut_ptr(), in read_slice()
|
/external/crosvm/gpu_renderer/src/ |
D | command_buffer.rs | 37 self.cbuf.as_mut_ptr() as *mut u8, in as_mut() 65 pub fn as_mut_ptr(&mut self) -> *mut c_void { in as_mut_ptr() method 66 self.cbuf.as_mut_ptr() as *mut c_void in as_mut_ptr()
|
D | lib.rs | 435 virgl_renderer_fill_caps(id, version, buf.as_mut_ptr() as *mut c_void); in get_cap_set() 560 attrs.as_mut_ptr(), in image_from_dmabuf() 612 virgl_renderer_submit_cmd(buf.as_mut_ptr() as *mut c_void, self.id as i32, dword_count) in submit() 804 self.backing_iovecs.as_mut_ptr() as *mut iovec, in attach_backing() 895 base: buf.as_mut_ptr() as *mut c_void, in transfer_read_buf()
|
/external/rust/crates/byteorder/src/ |
D | lib.rs | 1105 slice::from_raw_parts_mut(dst.as_mut_ptr() as *mut u16, dst.len()) in read_i16_into() 1134 slice::from_raw_parts_mut(dst.as_mut_ptr() as *mut u32, dst.len()) in read_i32_into() 1163 slice::from_raw_parts_mut(dst.as_mut_ptr() as *mut u64, dst.len()) in read_i64_into() 1193 slice::from_raw_parts_mut(dst.as_mut_ptr() as *mut u128, dst.len()) in read_i128_into() 1223 slice::from_raw_parts_mut(dst.as_mut_ptr() as *mut u32, dst.len()) in read_f32_into() 1284 slice::from_raw_parts_mut(dst.as_mut_ptr() as *mut u64, dst.len()) in read_f64_into() 1911 copy_nonoverlapping((&bytes).as_ptr(), $dst.as_mut_ptr(), $size); 1923 $dst.as_mut_ptr() as *mut u8, 1940 $dst.as_mut_ptr(), 1983 let ptr_out = out.as_mut_ptr(); in read_uint() [all …]
|
D | io.rs | 1604 slice::from_raw_parts_mut(slice.as_mut_ptr() as *mut u8, len) in slice_to_u8_mut()
|
/external/flatbuffers/rust/flatbuffers/src/ |
D | vtable_writer.rs | 79 let p = self.buf.as_mut_ptr() as *mut u8; in clear()
|
D | endian_scalar.rs | 154 let mut_ptr = (&mut s[..sz]).as_mut_ptr() as *mut T; in emplace_scalar()
|
D | builder.rs | 105 let ptr = (&mut self.owned_buf[self.head..]).as_mut_ptr(); in reset() 511 let ptr = (&mut self.owned_buf[..middle]).as_mut_ptr(); in grow_owned_buf()
|
/external/crosvm/src/ |
D | panic_hook.rs | 27 let mut ret = pipe2(fds.as_mut_ptr(), O_NONBLOCK); in redirect_stderr()
|
/external/crosvm/gpu_buffer/src/ |
D | rendernode.rs | 66 name: name_bytes.as_mut_ptr() as *mut c_char, in get_drm_device_name()
|
/external/crosvm/x86_64/src/ |
D | bootparam.rs | 27 pub unsafe fn as_mut_ptr(&mut self) -> *mut T { in as_mut_ptr() method 36 ::std::slice::from_raw_parts_mut(self.as_mut_ptr(), len) in as_mut_slice()
|
/external/crosvm/virtio_sys/src/ |
D | virtio_ring.rs | 20 pub unsafe fn as_mut_ptr(&mut self) -> *mut T { in as_mut_ptr() method 29 ::std::slice::from_raw_parts_mut(self.as_mut_ptr(), len) in as_mut_slice()
|
D | virtio_net.rs | 20 pub unsafe fn as_mut_ptr(&mut self) -> *mut T { in as_mut_ptr() method 29 ::std::slice::from_raw_parts_mut(self.as_mut_ptr(), len) in as_mut_slice()
|
D | vhost.rs | 20 pub unsafe fn as_mut_ptr(&mut self) -> *mut T { in as_mut_ptr() method 29 ::std::slice::from_raw_parts_mut(self.as_mut_ptr(), len) in as_mut_slice()
|
/external/crosvm/usb_util/src/ |
D | usb_transfer.rs | 124 self.buffer.as_mut_ptr() in as_ptr()
|
/external/crosvm/kvm/src/ |
D | lib.rs | 173 ioctl_with_mut_ptr(self, kind, cpuid.as_mut_ptr()) in get_cpuid() 1239 data.as_mut_ptr(), in run() 1632 kvm_sigmask[0].sigset.as_mut_ptr(), in set_signal_mask() 1740 pub fn as_mut_ptr(&mut self) -> *mut kvm_cpuid2 { in as_mut_ptr() method
|
/external/crosvm/net_sys/src/ |
D | if_tun.rs | 20 pub unsafe fn as_mut_ptr(&mut self) -> *mut T { in as_mut_ptr() method 29 ::std::slice::from_raw_parts_mut(self.as_mut_ptr(), len) in as_mut_slice()
|
D | iff.rs | 20 pub unsafe fn as_mut_ptr(&mut self) -> *mut T { in as_mut_ptr() method 29 ::std::slice::from_raw_parts_mut(self.as_mut_ptr(), len) in as_mut_slice()
|
/external/crosvm/src/plugin/ |
D | mod.rs | 188 let ret = socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds.as_mut_ptr()); in new_seqpacket_pair()
|