Searched refs:copy_from_slice (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/gpu/drm/ |
| H A D | drm_panic_qr.rs | 461 buf[..len].copy_from_slice(&data[self.offset..self.offset + len]); in next() 564 tmp[0..size].copy_from_slice(&self.data[offset..offset + size]); in error_code_for_blocks() 576 .copy_from_slice(&tmp[size..size + self.ec_size]); in error_code_for_blocks()
|
| /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()
|