Lines Matching refs:ptr
222 const char *names, char *ptr) in ParseField() argument
225 char *base = ptr; in ParseField()
237 if (*ptr == '*') { in ParseField()
241 ++ptr; in ParseField()
242 } else if (isdigit(*ptr)) { in ParseField()
245 n1 = strtol(ptr, &endp, 10) + off; in ParseField()
247 n2 = strtol(ptr, &endp, 10) + off; in ParseField()
249 ptr = endp; /* gcc likes temp var for &endp */ in ParseField()
256 if (strncasecmp(ptr, &names[i], 3) == 0) { in ParseField()
257 ptr += 3; in ParseField()
273 if (*ptr == '-' && n2 < 0) { in ParseField()
274 ++ptr; in ParseField()
285 if (*ptr == '/') { in ParseField()
287 skip = strtol(ptr + 1, &endp, 10); in ParseField()
288 ptr = endp; /* gcc likes temp var for &endp */ in ParseField()
312 if (*ptr != ',') { in ParseField()
315 ++ptr; in ParseField()
320 if (*ptr) { in ParseField()