Searched refs:as_slice (Results 1 – 12 of 12) sorted by relevance
95 match valid_paths.as_slice() { in find_real_path()
51 segments.append(&mut concat_helper(tokens.as_slice())); in concat_helper()
377 let slc = v.as_slice(); in prove_split_at_unchecked()
1062 assert_eq!(&*r, vec![AU64(0); typed_len].as_slice()); in test_new_helper_slice()1075 assert_eq!(Ref::bytes(&r), VAL1.0.to_ne_bytes().repeat(typed_len).as_slice()); in test_new_helper_slice()
896 let c: Ptr<'_, [ReadOnly<T>], _> = c.as_slice();1842 let slc = vec.as_slice(); in test_impls()
196 let mut state = INIT.as_slice(); in scan_expr()
515 pub fn as_slice(self) -> PtrInner<'a, [T]> { in as_slice() method
1035 pub fn as_slice(self) -> Ptr<'a, [T], I> { in as_slice() function1036 let slice = self.as_inner().as_slice(); in as_slice()
266 /// assert_eq!(v.as_slice(), &[1, 2]); in as_ptr() 270 pub fn as_slice(&self) -> &[T] {1110 self.as_slice()244 pub fn as_slice(&self) -> &[T] { as_slice() function
888 unsafe { CStr::from_bytes_with_nul_unchecked(self.buf.as_slice()) }
1080 b'\0' => repr.push_str(match bytes.as_slice().first() { in byte_string()