Home | History | Annotate | Download | only in tls

Lines Matching refs:pos

22 	const u8 *pos, *end;
26 pos = buf;
29 hdr->identifier = *pos++;
36 if (pos >= end) {
41 tmp = *pos++;
49 tmp = *pos++;
63 if (pos >= end) {
68 hdr->length = (hdr->length << 8) | *pos++;
75 if (end < pos || hdr->length > (unsigned int) (end - pos)) {
80 hdr->payload = pos;
87 const u8 *pos, *end;
93 pos = buf;
96 while (pos < end) {
100 if (pos >= end)
102 tmp = *pos++;
151 char *pos = buf;
161 ret = os_snprintf(pos, buf + len - pos,
164 if (ret < 0 || ret >= buf + len - pos)
166 pos += ret;
192 const u8 *pos = buf;
196 pos++;
199 val |= rotate_bits(*pos++);
201 val |= ((unsigned long) rotate_bits(*pos++)) << 8;
203 val |= ((unsigned long) rotate_bits(*pos++)) << 16;
205 val |= ((unsigned long) rotate_bits(*pos++)) << 24;