Home
last modified time | relevance | path

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

/external/rust/crates/protobuf/src/
Dbuf_read_iter.rs57 limit_within_buf: usize, field
83 limit_within_buf: 0, in from_read()
94 limit_within_buf: 0, in from_buf_read()
105 limit_within_buf: bytes.len(), in from_byte_slice()
117 limit_within_buf: bytes.len(), in from_bytes()
125 debug_assert!(self.pos_within_buf <= self.limit_within_buf); in assertions()
126 debug_assert!(self.limit_within_buf <= self.buf.len()); in assertions()
139 self.limit_within_buf = self.buf.len(); in update_limit_within_buf()
141 self.limit_within_buf = (self.limit - self.pos_of_buf_start) as usize; in update_limit_within_buf()
179 .get_unchecked(self.pos_within_buf..self.limit_within_buf) in remaining_in_buf()
[all …]