Lines Matching refs:cursor
52 (x) = (x) * 10 + (line[cursor] - '0'); \
57 } while (isdigit(line[++cursor]))
77 int cursor = *cursorp; in next_field() local
85 while (ISSPACE(line[cursor])) in next_field()
86 cursor++; in next_field()
88 if (line[cursor] == '\0') { in next_field()
96 if (line[cursor] == '*') { in next_field()
97 cursor++; in next_field()
100 if (ISSPACE(line[cursor])) { in next_field()
111 if (line[cursor] != '/') { in next_field()
120 if (!isdigit(line[cursor])) { in next_field()
132 if (line[cursor] == '-') { in next_field()
133 cursor++; in next_field()
134 if (!isdigit(line[cursor])) { in next_field()
152 if (line[cursor] == '/') { in next_field()
153 cursor++; in next_field()
154 if (!isdigit(line[cursor])) { in next_field()
187 if (line[cursor] != ',') in next_field()
190 cursor++; in next_field()
193 if (line[cursor] == '\0') { in next_field()
198 if (!ISSPACE(line[cursor])) { in next_field()
233 *cursorp = cursor; in next_field()
242 int lower, upper, cursor = 0; in main() local
251 switch (next_field(lower, upper, argv[3], &cursor, &ret)) { in main()