Home
last modified time | relevance | path

Searched refs:chunk_mut (Results 1 – 13 of 13) sorted by relevance

/external/rust/crates/bytes/src/buf/
Dbuf_mut.rs161 fn chunk_mut(&mut self) -> &mut UninitSlice; in chunk_mut() method
194 let d = self.chunk_mut(); in put()
240 let dst = self.chunk_mut(); in put_slice()
916 fn chunk_mut(&mut self) -> &mut UninitSlice {
917 (**self).chunk_mut()
1001 fn chunk_mut(&mut self) -> &mut UninitSlice { in chunk_mut() method
1036 fn chunk_mut(&mut self) -> &mut UninitSlice { in chunk_mut() method
Dchain.rs184 fn chunk_mut(&mut self) -> &mut UninitSlice { in chunk_mut() function
186 self.a.chunk_mut() in chunk_mut()
188 self.b.chunk_mut() in chunk_mut()
Dlimit.rs64 fn chunk_mut(&mut self) -> &mut UninitSlice { in chunk_mut() method
65 let bytes = self.inner.chunk_mut(); in chunk_mut()
/external/rust/crates/bytes/tests/
Dtest_buf_mut.rs14 assert!(buf.chunk_mut().len() >= 64); in test_vec_as_mut_buf()
84 fn chunk_mut(&mut self) -> &mut UninitSlice { in test_deref_bufmut_forwards() method
Dtest_bytes.rs916 let ptr = bytes.chunk_mut().as_mut_ptr(); in bytes_buf_mut_advance()
917 assert_eq!(1024, bytes.chunk_mut().len()); in bytes_buf_mut_advance()
921 let next = bytes.chunk_mut().as_mut_ptr(); in bytes_buf_mut_advance()
922 assert_eq!(1024 - 10, bytes.chunk_mut().len()); in bytes_buf_mut_advance()
929 assert_eq!(1024, bytes.chunk_mut().len()); in bytes_buf_mut_advance()
/external/rust/crates/tokio/src/io/util/
Dread_buf.rs53 let dst = me.buf.chunk_mut(); in poll()
/external/rust/crates/tokio/src/net/unix/datagram/
Dsocket.rs741 let dst = buf.chunk_mut();
804 let dst = buf.chunk_mut();
/external/rust/crates/tokio/src/net/
Dudp.rs790 let dst = buf.chunk_mut();
854 let dst = buf.chunk_mut();
/external/rust/crates/tokio/src/net/unix/
Dstream.rs338 let dst = buf.chunk_mut();
/external/rust/crates/bytes/
DCHANGELOG.md13 - Rename Buf/BufMut, methods to chunk/chunk_mut (#450)
/external/rust/crates/bytes/src/
Dbytes_mut.rs448 let dst = self.chunk_mut().as_mut_ptr(); in resize()
988 fn chunk_mut(&mut self) -> &mut UninitSlice { in chunk_mut() method
/external/rust/crates/tokio/src/net/tcp/
Dstream.rs628 let dst = buf.chunk_mut();
/external/rust/crates/protobuf/src/
Dbuf_read_iter.rs311 let buf = Self::uninit_slice_as_mut_slice(&mut r.chunk_mut()[..len]); in read_exact_bytes()