Searched refs:tmpfp_idx (Results 1 – 1 of 1) sorted by relevance
67 static int tmpfp_idx = 0; /* points to first free entry in tmpfp */ variable87 if (tmpfp_idx == MAXTMP) { in writeout()101 if ((tmpfp[tmpfp_idx] = fdopen(fd, "w+F")) == NULL) { in writeout()110 if (fprintf(tmpfp[tmpfp_idx], "%s\n", &buf[offsets[i++]]) < 0) { in writeout()119 tmpfp_idx++; in writeout()302 for (ti = 0; ti < tmpfp_idx; ti++) in merge_files()312 for (ti = 0; ti < tmpfp_idx; ti++) { in merge_files()326 while (tmpfp_idx != 0) { in merge_files()329 for (ti = 1; ti < tmpfp_idx; ti++) in merge_files()342 tmpfp[choice] = tmpfp[tmpfp_idx - 1]; in merge_files()[all …]