Home
last modified time | relevance | path

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

/linux/rust/kernel/device/
H A Dproperty.rs337 pub fn as_slice(&self) -> &[u64] { in as_slice() method
356 write!(f, "{:?}", self.as_slice()) in fmt()
/linux/scripts/
H A Drustdoc_test_gen.rs88 match valid_paths.as_slice() { in find_real_path()
/linux/rust/macros/
H A Dpaste.rs51 segments.append(&mut concat_helper(tokens.as_slice())); in concat_helper()
/linux/samples/rust/
H A Drust_configfs.rs110 let data = guard.0.as_slice();
/linux/drivers/gpu/nova-core/
H A Dgpu.rs35 ).as_slice()
/linux/rust/kernel/alloc/
H A Dkvec.rs228 pub fn as_slice(&self) -> &[T] { in as_slice() function
916 self.as_slice() in borrow()
/linux/rust/kernel/
H A Ddma.rs419 pub unsafe fn as_slice(&self, offset: usize, count: usize) -> Result<&[T]> { in as_slice() method
430 /// Performs the same functionality as [`CoherentAllocation::as_slice`], except that a mutable
H A Dstr.rs933 unsafe { CStr::from_bytes_with_nul_unchecked(self.buf.as_slice()) } in deref()