/external/rust/crates/gdbstub/src/arch/x86/reg/ |
D | core64.rs | 84 .map(|x| u64::from_le_bytes(x.try_into().unwrap())); in gdb_deserialize() 90 self.rip = u64::from_le_bytes(bytes[0x80..0x88].try_into().unwrap()); in gdb_deserialize() 91 self.eflags = u32::from_le_bytes(bytes[0x88..0x8C].try_into().unwrap()); in gdb_deserialize() 95 .map(|x| u32::from_le_bytes(x.try_into().unwrap())); in gdb_deserialize() 111 .map(|x| u128::from_le_bytes(x.try_into().unwrap())); in gdb_deserialize() 117 self.mxcsr = u32::from_le_bytes(bytes[0x214..0x218].try_into().unwrap()); in gdb_deserialize()
|
D | core32.rs | 97 .map(|x| u32::from_le_bytes(x.try_into().unwrap())); in gdb_deserialize() 108 .map(|x| u32::from_le_bytes(x.try_into().unwrap())); in gdb_deserialize() 124 .map(|x| u128::from_le_bytes(x.try_into().unwrap())); in gdb_deserialize() 130 self.mxcsr = u32::from_le_bytes(bytes[0x130..0x134].try_into().unwrap()); in gdb_deserialize()
|
D | mod.rs | 69 .map(|x| u32::from_le_bytes(x.try_into().unwrap())); in gdb_deserialize()
|
/external/rust/crates/gdbstub/src/internal/ |
D | le_bytes.rs | 11 fn from_le_bytes(buf: &[u8]) -> Option<Self>; in from_le_bytes() method 27 fn from_le_bytes(buf: &[u8]) -> Option<Self> { 66 LeBytes::from_le_bytes(&[0x78, 0x56, 0x34, 0x12]).unwrap() in basic() 74 LeBytes::from_le_bytes(&[0x56, 0x34, 0x12]).unwrap() in small() 82 LeBytes::from_le_bytes(&[0xde, 0xad, 0xbe, 0xef]).unwrap_or(0x1234) in too_big()
|
/external/rust/crates/bytes/src/buf/ |
D | buf_impl.rs | 41 return $typ::from_le_bytes(buf); 351 buf_get_impl!(self, u16::from_le_bytes); in get_u16_le() 391 buf_get_impl!(self, i16::from_le_bytes); in get_i16_le() 431 buf_get_impl!(self, u32::from_le_bytes); in get_u32_le() 471 buf_get_impl!(self, i32::from_le_bytes); in get_i32_le() 511 buf_get_impl!(self, u64::from_le_bytes); in get_u64_le() 551 buf_get_impl!(self, i64::from_le_bytes); in get_i64_le() 591 buf_get_impl!(self, u128::from_le_bytes); in get_u128_le() 631 buf_get_impl!(self, i128::from_le_bytes); in get_i128_le()
|
/external/rust/crates/rand_xorshift/src/ |
D | lib.rs | 111 x: w(u32::from_le_bytes([b[0], b[1], b[2], b[3]])), in from_rng() 112 y: w(u32::from_le_bytes([b[4], b[5], b[6], b[7]])), in from_rng() 113 z: w(u32::from_le_bytes([b[8], b[9], b[10], b[11]])), in from_rng() 114 w: w(u32::from_le_bytes([b[12], b[13], b[14], b[15]])), in from_rng()
|
/external/crosvm/devices/src/virtio/ |
D | virtio_pci_common_config.rs | 84 u16::from_le_bytes(data.try_into().unwrap()), in write() 89 u32::from_le_bytes(data.try_into().unwrap()), in write() 95 u64::from_le_bytes(data.try_into().unwrap()), in write() 306 assert_eq!(u32::from_le_bytes(read_back), DUMMY_FEATURES as u32); in write_base_regs() 312 assert_eq!(u32::from_le_bytes(read_back), 0x0403_0201); in write_base_regs() 316 assert_eq!(u32::from_le_bytes(read_back), 0x0403_0201); in write_base_regs()
|
/external/rust/crates/gdbstub/src/arch/mips/reg/ |
D | mips.rs | 148 .map(|c| U::from_le_bytes(c).unwrap()); in gdb_deserialize() 235 .map(|c| U::from_le_bytes(c).unwrap()); in gdb_deserialize() 246 u32::from_le_bytes(bytes[dspctl_start..dspctl_start + 4].try_into().unwrap()); in gdb_deserialize() 249 self.dsp.restart = U::from_le_bytes( in gdb_deserialize()
|
/external/rust/crates/rand_core/src/ |
D | le.rs | 21 *out = u32::from_le_bytes(chunk.try_into().unwrap()); in read_u32_into() 30 *out = u64::from_le_bytes(chunk.try_into().unwrap()); in read_u64_into()
|
D | impls.rs | 139 u32::from_le_bytes(buf) in next_u32_via_fill() 146 u64::from_le_bytes(buf) in next_u64_via_fill()
|
/external/crosvm/devices/src/pci/ |
D | msix.rs | 168 let reg = u16::from_le_bytes([data[0], data[1]]); in write_msix_capability() 208 let msi_address: u64 = u64::from_le_bytes(data); in add_msi_route() 211 let msi_data: u32 = u32::from_le_bytes(data); in add_msi_route() 338 let value = u32::from_le_bytes(data.try_into().unwrap()); in write_msix_table() 348 let value = u64::from_le_bytes(data.try_into().unwrap()); in write_msix_table()
|
D | vfio_pci.rs | 60 u16::from_le_bytes(data) in read_config_word() 69 u32::from_le_bytes(data) in read_config_dword() 182 self.ctl = u16::from_le_bytes(value); in write_msi_reg() 193 self.address = u64::from_le_bytes(value); in write_msi_reg() 198 self.address |= u64::from_le_bytes(value); in write_msi_reg() 203 self.address |= u64::from_le_bytes(value); in write_msi_reg() 209 self.address = u64::from_le_bytes(value); in write_msi_reg() 216 self.data = u16::from_le_bytes(value); in write_msi_reg()
|
D | pci_root.rs | 240 u32::from(u16::from_le_bytes(data.try_into().unwrap())) << (offset * 16), in set_config_address() 242 4 => (0xffff_ffff, u32::from_le_bytes(data.try_into().unwrap())), in set_config_address()
|
/external/crosvm/devices/src/virtio/vhost/ |
D | vsock.rs | 263 assert_eq!(cid, u64::from_le_bytes(buf)); in read_config() 268 u32::from_le_bytes(buf[..4].try_into().unwrap()) in read_config() 274 u32::from_le_bytes(buf[..4].try_into().unwrap()) in read_config()
|
/external/rust/crates/clang-sys/build/ |
D | dynamic.rs | 43 let offset = i32::from_le_bytes(buffer); in parse_pe_header() 56 Ok(u16::from_le_bytes(buffer)) in parse_pe_header()
|
/external/rust/crates/clang-sys/out/ |
D | dynamic.rs | 43 let offset = i32::from_le_bytes(buffer); in parse_pe_header() 56 Ok(u16::from_le_bytes(buffer)) in parse_pe_header()
|
/external/crosvm/fuzz/ |
D | qcow_fuzzer.rs | 37 u64::from_le_bytes(buf) in read_u64()
|
D | block_fuzzer.rs | 106 u64::from_le_bytes(buf) in read_u64()
|
/external/rust/crates/gdbstub/src/arch/msp430/reg/ |
D | msp430.rs | 44 .map(|c| u16::from_le_bytes(c.try_into().unwrap())); in gdb_deserialize()
|
/external/rust/crates/gdbstub/src/arch/riscv/reg/ |
D | riscv.rs | 57 .map(|c| U::from_le_bytes(c).unwrap()); in gdb_deserialize()
|
/external/rust/crates/gdbstub/src/arch/arm/reg/ |
D | arm_core.rs | 54 .map(|c| u32::from_le_bytes(c.try_into().unwrap())); in gdb_deserialize()
|
/external/rust/crates/byteorder/ |
D | README.md | 62 like `to_le_bytes` and `from_le_bytes`, which support some of the same use
|
/external/adhd/cras/client/cras_tests/src/ |
D | audio.rs | 293 let sample = i16::from_le_bytes([ in write() 313 let mut sample = i32::from_le_bytes([ in write()
|
/external/adhd/cras/client/libcras/src/ |
D | cras_client_message.rs | 183 match u32::from_le_bytes(self.data[offset..offset + 4].try_into()?) { in get_id()
|
/external/crosvm/devices/src/usb/xhci/ |
D | scatter_gather_buffer.rs | 210 ntrb.set_data_buffer(u64::from_le_bytes(expected_immediate_data)); in immediate_data_test()
|