Lines Matching defs:pos
57 const u8 *pos, *end;
61 pos = buf;
64 if (pos >= end) {
68 hdr->identifier = *pos++;
75 if (pos >= end) {
80 tmp = *pos++;
88 if (pos >= end) {
92 tmp = *pos++;
106 if (pos >= end) {
111 hdr->length = (hdr->length << 8) | *pos++;
118 if (end < pos || hdr->length > (unsigned int) (end - pos)) {
123 hdr->payload = pos;
131 const u8 *pos, *end;
137 pos = buf;
140 while (pos < end) {
144 if (pos >= end)
146 tmp = *pos++;
195 char *pos = buf;
205 ret = os_snprintf(pos, buf + len - pos,
208 if (os_snprintf_error(buf + len - pos, ret))
210 pos += ret;
236 const u8 *pos = buf;
240 pos++;
243 val |= rotate_bits(*pos++);
245 val |= ((unsigned long) rotate_bits(*pos++)) << 8;
247 val |= ((unsigned long) rotate_bits(*pos++)) << 16;
249 val |= ((unsigned long) rotate_bits(*pos++)) << 24;