/external/crosvm/data_model/src/ |
D | endian.rs | 106 endian_type!(u16, Le16, to_le, from_le); 107 endian_type!(i16, SLe16, to_le, from_le); 108 endian_type!(u32, Le32, to_le, from_le); 109 endian_type!(i32, SLe32, to_le, from_le); 110 endian_type!(u64, Le64, to_le, from_le); 111 endian_type!(i64, SLe64, to_le, from_le); 112 endian_type!(usize, LeSize, to_le, from_le); 113 endian_type!(isize, SLeSize, to_le, from_le);
|
/external/rust/crates/hashbrown/src/raw/ |
D | generic.rs | 108 BitMask((cmp.wrapping_sub(repeat(0x01)) & !cmp & repeat(0x80)).to_le()) in match_byte() 118 BitMask((self.0 & (self.0 << 1) & repeat(0x80)).to_le()) in match_empty() 126 BitMask((self.0 & repeat(0x80)).to_le()) in match_empty_or_deleted()
|
/external/rust/crates/num-traits/src/ |
D | int.rs | 295 fn to_le(self) -> Self; in to_le() method 383 fn to_le(self) -> Self { 384 <$T>::to_le(self)
|
/external/rust/crates/byteorder/src/ |
D | lib.rs | 2215 out.to_le() in read_uint() 2226 out.to_le() in read_uint128() 2231 unsafe_write_num_bytes!(u16, 2, n, buf, to_le); in write_u16() 2236 unsafe_write_num_bytes!(u32, 4, n, buf, to_le); in write_u32() 2241 unsafe_write_num_bytes!(u64, 8, n, buf, to_le); in write_u64() 2246 unsafe_write_num_bytes!(u128, 16, n, buf, to_le); in write_u128() 2254 let bytes = *(&n.to_le() as *const u64 as *const [u8; 8]); in write_uint() 2264 let bytes = *(&n.to_le() as *const u128 as *const [u8; 16]); in write_uint128() 2271 unsafe_read_slice!(src, dst, 2, to_le); in read_u16_into() 2276 unsafe_read_slice!(src, dst, 4, to_le); in read_u32_into() [all …]
|
/external/rust/crates/ring/src/ |
D | endian.rs | 137 impl_endian!(LittleEndian, u32, to_le, from_le, 4); 138 impl_endian!(LittleEndian, u64, to_le, from_le, 8);
|
/external/flatbuffers/rust/flatbuffers/src/ |
D | endian_scalar.rs | 60 Self::to_le(self)
|
/external/rust/crates/rand/src/ |
D | rng.rs | 357 *x = x.to_le(); 375 *x = Wrapping(x.0.to_le());
|
/external/rust/crates/ppv-lite86/src/ |
D | generic.rs | 550 dmap(x, |x| x.to_le()) in unsafe_read_le() 561 let x = dmap(self, |x| x.to_le()); in write_le() 576 qmap(x, |x| x.to_le()) in unsafe_read_le() 587 let x = qmap(self, |x| x.to_le()); in write_le()
|
/external/rust/crates/rand_core/src/ |
D | impls.rs | 72 let tmp = n.to_le();
|
/external/flatbuffers/tests/include_test/sub/ |
D | include_test2_generated.rs | 53 let n = i64::to_le(self as i64); in to_little_endian()
|
/external/flatbuffers/tests/namespace_test/ |
D | namespace_test1_generated.rs | 52 let n = i8::to_le(self as i8); in to_little_endian()
|
/external/rust/crates/protobuf/src/ |
D | coded_output_stream.rs | 256 let bytes = unsafe { mem::transmute::<_, [u8; 4]>(value.to_le()) }; in write_raw_little_endian32() 262 let bytes = unsafe { mem::transmute::<_, [u8; 8]>(value.to_le()) }; in write_raw_little_endian64()
|
D | coded_input_stream.rs | 257 Ok(r.to_le()) in read_raw_little_endian32() 268 Ok(r.to_le()) in read_raw_little_endian64()
|
/external/flatbuffers/samples/ |
D | monster_generated.rs | 48 let n = i8::to_le(self as i8); in to_little_endian() 109 let n = u8::to_le(self as u8); in to_little_endian()
|
/external/rust/crates/rand/src/distributions/ |
D | integer.rs | 139 vec.to_le()
|
/external/rust/crates/rand_chacha/src/ |
D | chacha.rs | 95 *x = x.to_le();
|
/external/flatbuffers/tests/ |
D | monster_test_generated.rs | 210 let n = u8::to_le(self as u8); in to_little_endian() 279 let n = i8::to_le(self as i8); in to_little_endian() 345 let n = u8::to_le(self as u8); in to_little_endian() 412 let n = u8::to_le(self as u8); in to_little_endian() 479 let n = u8::to_le(self as u8); in to_little_endian()
|
/external/rust/crates/half/ |
D | CHANGELOG.md | 30 - Added `to_le/be/ne_bytes` and `from_le/be/ne_bytes` to both `f16` and `bf16`, which were added to
|
/external/flatbuffers/tests/rust_usage_test/tests/ |
D | integration_test.rs | 2592 …let x = foo{a: 0x12345678i32.to_le(), _pad0: [0,0], b: 0x1234i16.to_le(), _pad1: [0, 0, 0], c: 0x1… in layout_14_vtable_with_1_struct_of_int8_and_int16_and_int32()
|