Searched refs:pos (Results 1 – 3 of 3) sorted by relevance
21 pos: usize, field28 pos: 0, in new()33 if self.pos < self.data.len() { in lookahead_char()34 self.data[self.pos] == ch in lookahead_char()41 match self.data.get(self.pos) { in advance()43 self.pos += 1; in advance()54 let pos = self.pos; in try_do() localVariable58 self.pos = pos; in try_do()65 if self.data.len() == self.pos { in accept_eof()
285 pos: usize, field302 pos: 0, in new()314 if self.pos < self.length && !self.hit_error { in next()317 match Ipv6Option::new_checked(&self.data[self.pos..]) { in next()320 self.pos += repr.buffer_len(); in next()
723 let pos = i * 8 + 2; in emit() localVariable724 NetworkEndian::write_u32(&mut buffer[pos..], first); in emit()725 NetworkEndian::write_u32(&mut buffer[pos + 4..], second); in emit()