Lines Matching defs:pos
110 char* pos = buffer;
113 idx = (int)strtol(pos, &endPos, 10);
115 if (pos == endPos) {
126 pos = endPos;
128 while (*pos == ' ') {
129 pos++;
133 while (*pos != ' ' && *pos != 0 && ifaceIdx < (int)(sizeof(s.iface)-1)) {
134 s.iface[ifaceIdx] = *pos;
136 pos++;
138 if (*pos != ' ') {
161 while (*pos == ' ') pos++;
164 endPos = pos;
168 if (endPos - pos == 3) {
171 if (sscanf(pos, "%" PRIx64, &rawTag) != 1) {
172 ALOGE("bad tag: %s", pos);
182 pos = endPos;
185 while (*pos == ' ') pos++;
188 if (sscanf(pos, "%u %u %" PRIu64 " %" PRIu64 " %" PRIu64 " %" PRIu64,
197 //ALOGI("skipping due to bad remaining fields: %s", pos);