Home
last modified time | relevance | path

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

/smoltcp-0.9.1/src/
Dparsers.rs21 pos: usize, field
28 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() localVariable
58 self.pos = pos; in try_do()
65 if self.data.len() == self.pos { in accept_eof()
/smoltcp-0.9.1/src/wire/
Dipv6option.rs285 pos: usize, field
302 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()
Dtcp.rs723 let pos = i * 8 + 2; in emit() localVariable
724 NetworkEndian::write_u32(&mut buffer[pos..], first); in emit()
725 NetworkEndian::write_u32(&mut buffer[pos + 4..], second); in emit()