Lines Matching refs:idx
272 int ch, idx; in token() local
279 idx = 0; in token()
280 while( ch != -1 && ! is_delimiter_Array[ ch & 255 ] && idx < MAX_NAME-1 ) in token()
282 ident[idx++] = ch; in token()
286 if (ch == -1 && idx < 1) return ((char *)NULL); in token()
287 if (idx >= 1 && ch != ':' && ch != -1) stream->ungetChar(); in token()
288 if (idx < 1 ) ident[idx++] = ch; /* single-character token */ in token()
289 ident[idx] = 0; in token()
290 rLen = idx; in token()
307 int ch, idx; in linetoken() local
311 idx = 0; in linetoken()
312 while (ch != -1 && ch != lineterm && ch != '\r' && idx < MAX_NAME-1 ) in linetoken()
314 ident[idx++] = ch; in linetoken()
319 ident[idx] = 0; in linetoken()