Home
last modified time | relevance | path

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

/external/rust/crates/protobuf/src/
Dbuf_read_iter.rs58 pos_of_buf_start: u64, field
84 pos_of_buf_start: 0, in from_read()
95 pos_of_buf_start: 0, in from_buf_read()
106 pos_of_buf_start: 0, in from_byte_slice()
118 pos_of_buf_start: 0, in from_bytes()
127 debug_assert!(self.pos_of_buf_start + self.pos_within_buf as u64 <= self.limit); in assertions()
132 self.pos_of_buf_start + self.pos_within_buf as u64 in pos()
138 if self.pos_of_buf_start + (self.buf.len() as u64) <= self.limit { in update_limit_within_buf()
141 self.limit_within_buf = (self.limit - self.pos_of_buf_start) as usize; in update_limit_within_buf()
196 self.limit - (self.pos_of_buf_start + self.pos_within_buf as u64) in bytes_until_limit()
[all …]