Lines Matching refs:pos
25 const u8 *pos, *end;
29 pos = buf;
32 hdr->identifier = *pos++;
39 if (pos >= end) {
44 tmp = *pos++;
52 tmp = *pos++;
66 if (pos >= end) {
71 hdr->length = (hdr->length << 8) | *pos++;
78 if (end < pos || hdr->length > (unsigned int) (end - pos)) {
83 hdr->payload = pos;
92 const u8 *pos, *end;
107 pos = hdr.payload;
111 while (pos < end) {
115 if (pos >= end)
117 tmp = *pos++;
146 char *pos = buf;
156 ret = os_snprintf(pos, buf + len - pos,
159 if (ret < 0 || ret >= buf + len - pos)
161 pos += ret;
187 const u8 *pos = buf;
191 pos++;
194 val |= rotate_bits(*pos++);
196 val |= ((unsigned long) rotate_bits(*pos++)) << 8;
198 val |= ((unsigned long) rotate_bits(*pos++)) << 16;
200 val |= ((unsigned long) rotate_bits(*pos++)) << 24;