Searched refs:tmpfp_idx (Results 1 – 1 of 1) sorted by relevance
65 static int tmpfp_idx = 0; /* points to first free entry in tmpfp */ variable85 if (tmpfp_idx == MAXTMP) { in writeout()99 if ((tmpfp[tmpfp_idx] = fdopen(fd, "w+F")) == NULL) { in writeout()108 if (fprintf(tmpfp[tmpfp_idx], "%s\n", &buf[offsets[i++]]) < 0) { in writeout()117 tmpfp_idx++; in writeout()300 for (ti = 0; ti < tmpfp_idx; ti++) in merge_files()310 for (ti = 0; ti < tmpfp_idx; ti++) { in merge_files()324 while (tmpfp_idx != 0) { in merge_files()327 for (ti = 1; ti < tmpfp_idx; ti++) in merge_files()340 tmpfp[choice] = tmpfp[tmpfp_idx - 1]; in merge_files()[all …]