Searched refs:via_runtime_check (Results 1 – 1 of 1) sorted by relevance
| /linux/rust/zerocopy/src/ |
| H A D | split_at.rs | 554 pub fn via_runtime_check(self) -> Result<(&'a T, &'a [T::Elem]), Self> { in via_runtime_check() function 555 match self.into_ptr().via_runtime_check() { in via_runtime_check() 774 pub fn via_runtime_check(self) -> Result<(&'a mut T, &'a mut [T::Elem]), Self> { in via_runtime_check() function 775 match self.into_ptr().via_runtime_check() { in via_runtime_check() 884 fn via_runtime_check(self) -> Result<(Ptr<'a, T, I>, Ptr<'a, [T::Elem], I>), Self> { in via_runtime_check() function 974 let (l, r) = dst.split_at(i).unwrap().via_runtime_check().unwrap(); in test_split_at() 987 let (l, r) = dst.split_at_mut(i).unwrap().via_runtime_check().unwrap(); in test_split_at() 1020 let split = dst.split_at(i).unwrap().via_runtime_check(); in test_split_at_overlapping()
|