Home
last modified time | relevance | path

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

/external/crosvm/devices/src/
Dacpi.rs72 let val_arr = val.to_ne_bytes(); in read()
89 let mut val_arr = u16::to_ne_bytes(0u16); in write()
Ddirect_irq.rs99 left.copy_from_slice(&fd.to_ne_bytes()[..]); in plat_irq_ioctl()
Dpl030.rs144 *data_array = reg_content.to_ne_bytes(); in read()
Dbat.rs466 let val_arr = val.to_ne_bytes(); in read()
480 let mut val_arr = u32::to_ne_bytes(0u32); in write()
Dvfio.rs411 left.copy_from_slice(&descriptor.as_raw_descriptor().to_ne_bytes()[..]); in irq_enable()
/external/rust/crates/mio/src/sys/unix/
Dwaker.rs34 let buf: [u8; 8] = 1u64.to_ne_bytes(); in wake()
49 let mut buf: [u8; 8] = 0u64.to_ne_bytes(); in reset()
Dnet.rs151 let ip = Ipv4Addr::from(addr.sin_addr.s_addr.to_ne_bytes()); in to_socket_addr()
/external/rust/crates/getrandom/src/
Drdrand.rs40 return Ok(el.to_ne_bytes());
/external/crosvm/devices/src/irqchip/kvm/
Dx86_64.rs966 &(entry.get(0, 32) as u32).to_ne_bytes(), in finalize_devices()
971 &(entry.get(32, 32) as u32).to_ne_bytes(), in finalize_devices()
1032 &(entry.get(0, 32) as u32).to_ne_bytes(), in broadcast_eoi()
1037 &(entry.get(32, 32) as u32).to_ne_bytes(), in broadcast_eoi()
/external/rust/crates/ring/src/
Dendian.rs100 $base::to_ne_bytes(encoded.0)
/external/crosvm/cros_async/src/
Dfd_executor.rs557 let buf = VALUE.to_ne_bytes(); in drop_before_completion()
582 let mut buf = 0u64.to_ne_bytes(); in drop_before_completion()
During_executor.rs999 let bm = Arc::new(VecIoWrapper::from(VALUE.to_ne_bytes().to_vec())); in drop_before_completion()
1020 let mut buf = 0u64.to_ne_bytes(); in drop_before_completion()
1040 let bm = Arc::new(VecIoWrapper::from(0xf2e96u64.to_ne_bytes().to_vec())); in drop_on_different_thread()
During_source.rs100 let buf = Arc::new(VecIoWrapper::from(0u64.to_ne_bytes().to_vec())); in read_u64()
317 let mut val = 0u64.to_ne_bytes(); in read_u64()
Dpoll_source.rs158 let mut buf = 0u64.to_ne_bytes(); in read_u64()
/external/crosvm/devices/src/irqchip/
Dioapic.rs111 let out_arr = out.to_ne_bytes(); in read()
525 ioapic.write(ioapic_bus_address(IOWIN_OFF), &value.to_ne_bytes()); in write_reg()
/external/rust/crates/half/src/
Dbfloat.rs121 pub fn to_ne_bytes(self) -> [u8; 2] { in to_ne_bytes() method
122 self.0.to_ne_bytes()
Dbinary16.rs420 pub fn to_ne_bytes(self) -> [u8; 2] { in to_ne_bytes() method
421 self.0.to_ne_bytes()
/external/crosvm/hypervisor/src/kvm/
Dmod.rs821 hcall.result.to_ne_bytes().copy_from_slice(data); in set_data()
/external/crosvm/kvm/src/
Dlib.rs1070 hcall.result.to_ne_bytes().copy_from_slice(data); in set_data()
/external/crosvm/devices/src/virtio/fs/
Dpassthrough.rs958 Ok(IoctlReply::Done(Ok(flags.to_ne_bytes().to_vec()))) in get_flags()