Lines Matching refs:ti
292 int ti;
299 for (ti = 0; ti < tmpfp_idx; ti++)
300 if ((words[ti] = malloc(MAXWORDLEN)) == NULL) {
301 while (--ti >= 0)
302 free(words[ti]);
309 for (ti = 0; ti < tmpfp_idx; ti++) {
310 (void) fseek(tmpfp[ti], 0, SEEK_SET);
311 (void) fgets(words[ti], MAXWORDLEN, tmpfp[ti]);
312 words[ti][MAXWORDLEN-1] = '\0';
326 for (ti = 1; ti < tmpfp_idx; ti++)
327 if (strcmp(words[choice], words[ti]) > 0)
328 choice = ti;