Searched refs:as_slice (Results 1 – 12 of 12) sorted by relevance
339 pub fn as_slice(&self) -> &[u64] { in as_slice() method358 write!(f, "{:?}", self.as_slice()) in fmt()
88 match valid_paths.as_slice() { in find_real_path()
51 segments.append(&mut concat_helper(tokens.as_slice())); in concat_helper()
109 let data = guard.0.as_slice();
158 let slice = self.as_slice(); in write_to_slice()
241 pub fn as_slice(&self) -> &[T] { in as_slice() function930 self.as_slice() in borrow()
196 let mut state = INIT.as_slice(); in scan_expr()
530 pub unsafe fn as_slice(&self, offset: usize, count: usize) -> Result<&[T]> { in as_slice() method
855 unsafe { CStr::from_bytes_with_nul_unchecked(self.buf.as_slice()) } in deref()
271 let gsp_mem = &unsafe { self.0.as_slice(0, 1) }.unwrap()[0];
20 pub unsafe fn as_slice(&self, len: usize) -> &[T] { in as_slice() method
1080 b'\0' => repr.push_str(match bytes.as_slice().first() { in byte_string()