Home
last modified time | relevance | path

Searched refs:remaining_mut (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/bytes/src/buf/
Dbuf_mut.rs55 fn remaining_mut(&self) -> usize; in remaining_mut() method
117 self.remaining_mut() > 0 in has_remaining_mut()
187 assert!(self.remaining_mut() >= src.remaining()); in put()
230 self.remaining_mut() >= src.len(), in put_slice()
232 self.remaining_mut(), in put_slice()
912 fn remaining_mut(&self) -> usize {
913 (**self).remaining_mut()
996 fn remaining_mut(&self) -> usize { in remaining_mut() method
1016 fn remaining_mut(&self) -> usize { in remaining_mut() method
Dchain.rs180 fn remaining_mut(&self) -> usize { in remaining_mut() function
181 self.a.remaining_mut() + self.b.remaining_mut() in remaining_mut()
193 let a_rem = self.a.remaining_mut(); in advance_mut()
Dlimit.rs60 fn remaining_mut(&self) -> usize { in remaining_mut() method
61 cmp::min(self.inner.remaining_mut(), self.limit) in remaining_mut()
Dwriter.rs79 let n = cmp::min(self.buf.remaining_mut(), src.len()); in write()
/external/rust/crates/bytes/tests/
Dtest_buf_mut.rs12 assert_eq!(buf.remaining_mut(), usize::MAX); in test_vec_as_mut_buf()
20 assert_eq!(buf.remaining_mut(), usize::MAX - 4); in test_vec_as_mut_buf()
80 fn remaining_mut(&self) -> usize { in test_deref_bufmut_forwards() method
/external/rust/crates/bytes/
DCHANGELOG.md89 - `BytesMut` implicitly grows internal storage. `remaining_mut()` returns
/external/rust/crates/bytes/src/
Dbytes_mut.rs971 fn remaining_mut(&self) -> usize { in remaining_mut() method
1115 if self.remaining_mut() >= s.len() { in write_str()