Searched refs:copy_from_slice (Results 1 – 8 of 8) sorted by relevance
| /linux/rust/zerocopy/src/ |
| H A D | ref.rs | 1052 Ref::bytes_mut(&mut r).copy_from_slice(&VAL2.to_bytes()[..]); in test_new_helper() 1080 Ref::bytes_mut(&mut r).copy_from_slice(&VAL2.0.to_ne_bytes().repeat(typed_len)); in test_new_helper_slice() 1126 ascending_prefix[16..].copy_from_slice(&[0, 0, 0, 0, 0, 0, 0, 0]); in test_new_aligned_sized() 1129 ascending_suffix[..8].copy_from_slice(&[0, 0, 0, 0, 0, 0, 0, 0]); in test_new_aligned_sized()
|
| H A D | byteorder.rs | 1354 bytes.as_mut_bytes().copy_from_slice(native.as_bytes()); in test_endian()
|
| H A D | impls.rs | 1845 bytes_mut.copy_from_slice(bytes); in test_impls()
|
| /linux/rust/kernel/ |
| H A D | str.rs | 726 buffer[..len].copy_from_slice(bytes); in kstrtobool_raw()
|
| H A D | dma.rs | 506 slice.copy_from_slice(data); in from_slice()
|
| H A D | io.rs | 600 fn copy_from_slice(self, data: &[u8]) in copy_from_slice() method
|
| /linux/rust/zerocopy/src/pointer/ |
| H A D | ptr.rs | 1365 bytes.copy_from_slice(&initialized[start..end]); in test()
|
| /linux/drivers/android/binder/ |
| H A D | thread.rs | 864 fd_bytes.copy_from_slice(&fda_bytes[i..i + size_of::<u32>()]); in translate_object()
|