Searched refs:split_at_unchecked (Results 1 – 4 of 4) sorted by relevance
| /linux/rust/zerocopy/src/ |
| H A D | byte_slice.rs | 120 unsafe { Ok(self.split_at_unchecked(mid)) } in split_at() 141 unsafe fn split_at_unchecked(self, mid: usize) -> (Self, Self); in split_at_unchecked() method 214 unsafe fn split_at_unchecked(self, mid: usize) -> (Self, Self) { in split_at_unchecked() method 245 unsafe fn split_at_unchecked(self, mid: usize) -> (Self, Self) { in split_at_unchecked() method 334 unsafe fn split_at_unchecked(self, mid: usize) -> (Self, Self) { in split_at_unchecked() method 339 SplitByteSlice::split_at_unchecked(slice, mid) in split_at_unchecked() 354 unsafe fn split_at_unchecked(self, mid: usize) -> (Self, Self) { in split_at_unchecked() method 359 SplitByteSlice::split_at_unchecked(slice, mid) in split_at_unchecked() 380 let (l, r) = unsafe { slc.split_at_unchecked(mid) }; in prove_split_at_unchecked() 395 let (l, r) = unsafe { slc.split_at_unchecked(mid) }; in prove_split_at_unchecked() [all …]
|
| H A D | split_at.rs | 98 unsafe fn split_at_unchecked(&self, l_len: usize) -> Split<&Self> { in split_at_unchecked() method 914 let (left, right) = unsafe { inner.split_at_unchecked(l_len) }; in via_unchecked() 1034 let split = unsafe { SplitAt::split_at_unchecked(slice, 2) }; in test_split_at_unchecked()
|
| H A D | ref.rs | 604 let (bytes, suffix) = unsafe { source.split_at_unchecked(split_at) }; in from_suffix_with_elems()
|
| /linux/rust/zerocopy/src/pointer/ |
| H A D | inner.rs | 298 pub unsafe fn split_at_unchecked( in split_at_unchecked() function 603 let (l_slice, r_slice) = unsafe { self.split_at_unchecked(split_at) }; in try_cast_into() 667 let (l, r) = unsafe { ptr.split_at_unchecked(i) }; in test_split_at()
|