/external/rust/crates/gdbstub/src/internal/ |
D | be_bytes.rs | 11 fn from_be_bytes(buf: &[u8]) -> Option<Self>; in from_be_bytes() method 27 fn from_be_bytes(buf: &[u8]) -> Option<Self> { 66 BeBytes::from_be_bytes(&[0x12, 0x34, 0x56, 0x78]).unwrap() in basic() 74 BeBytes::from_be_bytes(&[0x12, 0x34, 0x56]).unwrap() in small() 82 BeBytes::from_be_bytes(&[0xde, 0xad, 0xbe, 0xef]).unwrap_or(0x1234) in too_big()
|
/external/rust/crates/bytes/src/buf/ |
D | buf_impl.rs | 48 return $typ::from_be_bytes(buf); 331 buf_get_impl!(self, u16::from_be_bytes); in get_u16() 371 buf_get_impl!(self, i16::from_be_bytes); in get_i16() 411 buf_get_impl!(self, u32::from_be_bytes); in get_u32() 451 buf_get_impl!(self, i32::from_be_bytes); in get_i32() 491 buf_get_impl!(self, u64::from_be_bytes); in get_u64() 531 buf_get_impl!(self, i64::from_be_bytes); in get_i64() 571 buf_get_impl!(self, u128::from_be_bytes); in get_u128() 611 buf_get_impl!(self, i128::from_be_bytes); in get_i128()
|
/external/rust/crates/gdbstub/src/arch/ppc/reg/ |
D | common.rs | 84 .map(|x| u32::from_be_bytes(x.try_into().unwrap())); in gdb_deserialize() 92 .map(|x| f64::from_be_bytes(x.try_into().unwrap())); in gdb_deserialize() 102 .map(|x| u32::from_be_bytes(x.try_into().unwrap())); in gdb_deserialize() 113 .map(|x| u128::from_be_bytes(x.try_into().unwrap())); in gdb_deserialize()
|
/external/rust/crates/ring/src/digest/ |
D | sha2.rs | 64 *W = S::from_be_bytes(*M); 162 fn from_be_bytes(input: Self::InputBytes) -> Self; in from_be_bytes() method 185 fn from_be_bytes(input: Self::InputBytes) -> Self { in from_be_bytes() method 186 Wrapping(u32::from_be_bytes(input)) in from_be_bytes() 277 fn from_be_bytes(input: Self::InputBytes) -> Self { in from_be_bytes() method 278 Wrapping(u64::from_be_bytes(input)) in from_be_bytes()
|
D | sha1.rs | 55 W[t] = W32::from_be_bytes(M[t]);
|
/external/rust/crates/quiche/examples/ |
D | qpack-decode.rs | 59 let stream_id = u64::from_be_bytes(stream_id); in main() 62 let len = u32::from_be_bytes(len) as usize; in main()
|
/external/crosvm/disk/src/qcow/ |
D | qcow_raw_file.rs | 48 *ptr = u64::from_be_bytes(value) & mask; in read_pointer_table() 91 *refcount = u16::from_be_bytes(value); in read_refcount_block()
|
D | mod.rs | 200 Ok(u16::from_be_bytes(value)) in read_u16_from_file() 209 Ok(u32::from_be_bytes(value)) in read_u32_from_file() 218 Ok(u64::from_be_bytes(value)) in read_u64_from_file()
|
/external/rust/crates/ring/src/aead/gcm/ |
D | gcm_nohw.rs | 229 swapped[0] ^= u64::from_be_bytes(inp[8..].try_into().unwrap()); in ghash() 230 swapped[1] ^= u64::from_be_bytes(inp[..8].try_into().unwrap()); in ghash()
|
/external/rust/crates/gdbstub/src/gdbstub_impl/ |
D | mod.rs | 417 let addr = <T::Arch as Arch>::Usize::from_be_bytes(cmd.addr) in handle_base() 445 let addr = <T::Arch as Arch>::Usize::from_be_bytes(cmd.addr) in handle_base() 488 let addr = <T::Arch as Arch>::Usize::from_be_bytes(cmd.addr) in handle_base() 513 let addr = <T::Arch as Arch>::Usize::from_be_bytes(cmd.addr) in handle_base()
|
/external/rust/crates/ring/src/rsa/ |
D | verification.rs | 73 let e = bigint::PublicExponent::from_be_bytes(e, e_min_value)?; in from_modulus_and_exponent()
|
/external/crosvm/devices/src/virtio/video/ |
D | command.rs | 210 uuid: u128::from_be_bytes(uuid), in from_reader()
|
/external/rust/crates/criterion/src/ |
D | connection.rs | 109 let length = u32::from_be_bytes(length_buf); in recv()
|
/external/rust/crates/serde_cbor/src/ |
D | de.rs | 271 .map(|()| u16::from_be_bytes(buf)) in parse_u16() 278 .map(|()| u32::from_be_bytes(buf)) in parse_u32() 285 .map(|()| u64::from_be_bytes(buf)) in parse_u64()
|
/external/rust/crates/byteorder/src/ |
D | lib.rs | 1973 u16::from_be_bytes(buf[..2].try_into().unwrap()) in read_u16() 1978 u32::from_be_bytes(buf[..4].try_into().unwrap()) in read_u32() 1983 u64::from_be_bytes(buf[..8].try_into().unwrap()) in read_u64() 1988 u128::from_be_bytes(buf[..16].try_into().unwrap()) in read_u128()
|
/external/rust/crates/half/src/ |
D | bfloat.rs | 149 pub fn from_be_bytes(bytes: [u8; 2]) -> bf16 { in from_be_bytes() method 150 bf16::from_bits(u16::from_be_bytes(bytes))
|
D | binary16.rs | 448 pub fn from_be_bytes(bytes: [u8; 2]) -> f16 { in from_be_bytes() method 449 f16::from_bits(u16::from_be_bytes(bytes))
|
/external/rust/crates/ring/src/arithmetic/ |
D | bigint.rs | 660 pub fn from_be_bytes( in from_be_bytes() method 1540 PublicExponent::from_be_bytes(untrusted::Input::from(&[0x1, 0x00, 0x01]), 65537) in test_public_exponent_debug()
|