Home
last modified time | relevance | path

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

/linux/rust/kernel/device/
H A Dproperty.rs339 pub fn as_slice(&self) -> &[u64] { in as_slice() method
358 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.rs109 let data = guard.0.as_slice();
/linux/rust/kernel/debugfs/
H A Dtraits.rs158 let slice = self.as_slice(); in write_to_slice()
/linux/rust/kernel/alloc/
H A Dkvec.rs241 pub fn as_slice(&self) -> &[T] { in as_slice() function
930 self.as_slice() in borrow()
/linux/rust/syn/
H A Dscan_expr.rs196 let mut state = INIT.as_slice(); in scan_expr()
/linux/rust/kernel/
H A Ddma.rs530 pub unsafe fn as_slice(&self, offset: usize, count: usize) -> Result<&[T]> { in as_slice() method
H A Dstr.rs855 unsafe { CStr::from_bytes_with_nul_unchecked(self.buf.as_slice()) } in deref()
/linux/drivers/gpu/nova-core/gsp/
H A Dcmdq.rs271 let gsp_mem = &unsafe { self.0.as_slice(0, 1) }.unwrap()[0];
/linux/drivers/gpu/nova-core/gsp/fw/r570_144/
H A Dbindings.rs20 pub unsafe fn as_slice(&self, len: usize) -> &[T] { in as_slice() method
/linux/rust/proc-macro2/
H A Dfallback.rs1080 b'\0' => repr.push_str(match bytes.as_slice().first() { in byte_string()