Searched refs:split_off (Results 1 – 15 of 15) sorted by relevance
/external/rust/crates/bytes/tests/ |
D | test_bytes.rs | 158 fn split_off() { in split_off() function 160 let world = hello.split_off(5); in split_off() 166 let world = hello.split_off(5); in split_off() 176 let _ = hello.split_off(44); in split_off_oob() 182 let other = bytes.split_off(128); in split_off_uninitialized() 198 let off = bytes.split_off(i); in split_off_to_loop() 207 let off = bytes.split_off(i); in split_off_to_loop() 301 let _ = make_bytes().split_off(4); in split_off_to_at_gt_len() 309 let _ = make_bytes().split_off(5); in split_off_to_at_gt_len() 404 let _ = b.split_off(7); in freeze_after_split_off() [all …]
|
/external/rust/crates/bytes/benches/ |
D | bytes.rs | 115 test::black_box(b.split_off(100)); in split_off_and_drop()
|
D | bytes_mut.rs | 67 let _b2 = buf.split_off(1024); in deref_shared()
|
/external/rust/crates/paste/src/ |
D | segment.rs | 32 fragment = fragment.split_off(2); in parse()
|
/external/rust/crates/bytes/src/ |
D | bytes.rs | 352 pub fn split_off(&mut self, at: usize) -> Bytes { in split_off() method 454 drop(self.split_off(len)); in truncate()
|
D | bytes_mut.rs | 288 pub fn split_off(&mut self, at: usize) -> BytesMut { in split_off() method
|
/external/rust/crates/tinyvec/src/ |
D | tinyvec.rs | 789 pub fn split_off(&mut self, at: usize) -> Self { in split_off() method 791 TinyVec::Inline(a) => TinyVec::Inline(a.split_off(at)), in split_off() 792 TinyVec::Heap(v) => TinyVec::Heap(v.split_off(at)), in split_off()
|
D | slicevec.rs | 559 pub fn split_off<'a>(&'a mut self, at: usize) -> SliceVec<'s, T> { in split_off() method
|
D | arrayvec.rs | 798 pub fn split_off(&mut self, at: usize) -> Self { in split_off() method
|
/external/rust/crates/quiche/src/ |
D | stream.rs | 708 buf = buf.split_off((self.off - buf.off()) as usize); in push() 719 buf = buf.split_off((b.max_off() - buf.off()) as usize); in push() 724 tmp_buf = Some(buf.split_off((b.off() - buf.off()) as usize)); in push() 1198 pub fn split_off(&mut self, at: usize) -> RangeBuf { in split_off() method 1200 data: self.data.split_off(at), in split_off()
|
/external/rust/crates/bytes/ |
D | CHANGELOG.md | 65 - `must_use` attributes to `split`, `split_off`, and `split_to` methods (#337).
|
/external/crosvm/devices/src/virtio/gpu/ |
D | mod.rs | 1137 let event_devices = self.event_devices.split_off(0); in activate()
|
/external/rust/crates/syn/src/ |
D | lit.rs | 1534 let suffix = digits.split_off(read); in parse_lit_float()
|
/external/rust/crates/bindgen/src/ir/ |
D | item.rs | 1899 path = path.split_off(split_idx); in namespace_aware_canonical_path()
|
/external/rust/crates/url/src/ |
D | parser.rs | 1293 let path = self.serialization.split_off(path_start); in parse_path()
|