Home
last modified time | relevance | path

Searched refs:split_off (Results 1 – 15 of 15) sorted by relevance

/external/rust/crates/bytes/tests/
Dtest_bytes.rs158 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/
Dbytes.rs115 test::black_box(b.split_off(100)); in split_off_and_drop()
Dbytes_mut.rs67 let _b2 = buf.split_off(1024); in deref_shared()
/external/rust/crates/paste/src/
Dsegment.rs32 fragment = fragment.split_off(2); in parse()
/external/rust/crates/bytes/src/
Dbytes.rs352 pub fn split_off(&mut self, at: usize) -> Bytes { in split_off() method
454 drop(self.split_off(len)); in truncate()
Dbytes_mut.rs288 pub fn split_off(&mut self, at: usize) -> BytesMut { in split_off() method
/external/rust/crates/tinyvec/src/
Dtinyvec.rs789 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()
Dslicevec.rs559 pub fn split_off<'a>(&'a mut self, at: usize) -> SliceVec<'s, T> { in split_off() method
Darrayvec.rs798 pub fn split_off(&mut self, at: usize) -> Self { in split_off() method
/external/rust/crates/quiche/src/
Dstream.rs708 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/
DCHANGELOG.md65 - `must_use` attributes to `split`, `split_off`, and `split_to` methods (#337).
/external/crosvm/devices/src/virtio/gpu/
Dmod.rs1137 let event_devices = self.event_devices.split_off(0); in activate()
/external/rust/crates/syn/src/
Dlit.rs1534 let suffix = digits.split_off(read); in parse_lit_float()
/external/rust/crates/bindgen/src/ir/
Ditem.rs1899 path = path.split_off(split_idx); in namespace_aware_canonical_path()
/external/rust/crates/url/src/
Dparser.rs1293 let path = self.serialization.split_off(path_start); in parse_path()