Home
last modified time | relevance | path

Searched refs:chunks_vectored (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/bytes/tests/
Dtest_chain.rs65 assert_eq!(2, buf.chunks_vectored(&mut iovecs)); in vectored_read()
86 assert_eq!(2, buf.chunks_vectored(&mut iovecs)); in vectored_read()
107 assert_eq!(1, buf.chunks_vectored(&mut iovecs)); in vectored_read()
128 assert_eq!(1, buf.chunks_vectored(&mut iovecs)); in vectored_read()
Dtest_buf.rs56 assert_eq!(1, buf.chunks_vectored(&mut dst[..])); in test_bufs_vec()
/external/rust/crates/bytes/src/buf/
Dchain.rs168 fn chunks_vectored<'a>(&'a self, dst: &mut [IoSlice<'a>]) -> usize { in chunks_vectored() function
169 let mut n = self.a.chunks_vectored(dst); in chunks_vectored()
170 n += self.b.chunks_vectored(&mut dst[n..]); in chunks_vectored()
Dbuf_impl.rs160 fn chunks_vectored<'a>(&'a self, dst: &mut [IoSlice<'a>]) -> usize { in chunks_vectored() method
916 fn chunks_vectored<'b>(&'b self, dst: &mut [IoSlice<'b>]) -> usize {
917 (**self).chunks_vectored(dst)