Home
last modified time | relevance | path

Searched refs:copy_from_slice (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/gpu/drm/
H A Ddrm_panic_qr.rs461 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 Dref.rs1052 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 Dbyteorder.rs1354 bytes.as_mut_bytes().copy_from_slice(native.as_bytes()); in test_endian()
H A Dimpls.rs1845 bytes_mut.copy_from_slice(bytes); in test_impls()
/linux/rust/kernel/
H A Dstr.rs726 buffer[..len].copy_from_slice(bytes); in kstrtobool_raw()
H A Ddma.rs506 slice.copy_from_slice(data); in from_slice()
H A Dio.rs600 fn copy_from_slice(self, data: &[u8]) in copy_from_slice() method
/linux/rust/zerocopy/src/pointer/
H A Dptr.rs1365 bytes.copy_from_slice(&initialized[start..end]); in test()