Searched refs:state_off (Results 1 – 1 of 1) sorted by relevance
125 state_off: usize, field167 state_off: 0, in new()348 let buf = &mut self.state_buf[self.state_off..self.state_len]; in try_fill_buffer()359 self.state_off += read; in try_fill_buffer()386 let buf = &mut self.state_buf[self.state_off..self.state_len]; in try_fill_buffer_for_tests()390 self.state_off += read; in try_fill_buffer_for_tests()401 if self.state_off == 1 { in try_consume_varint()435 let left = std::cmp::min(out.len(), self.state_len - self.state_off); in try_consume_data()439 self.state_off += len; in try_consume_data()456 let left = std::cmp::min(out.len(), self.state_len - self.state_off); in try_consume_data_for_tests()[all …]