Lines Matching defs:ntemps
879 int ntemps = 2 * (total + MAX_IN_CORE_SORT - 1) / MAX_IN_CORE_SORT;
880 char **tempfiles = (char **) xmalloc (ntemps * sizeof (char *));
899 /* Split up the input into `ntemps' temporary files, or maybe fewer,
902 for (i = 0; i < ntemps; i++)
947 ntemps = i;
953 for (i = 0; i < ntemps; i++)
967 merge_files (tempfiles, ntemps, outfile);
1412 int ntemps;
1423 ntemps = (nfiles + MAX_DIRECT_MERGE - 1) / MAX_DIRECT_MERGE;
1424 tempfiles = (char **) xmalloc (ntemps * sizeof (char *));
1425 for (i = 0; i < ntemps; i++)
1428 if (i + 1 == ntemps)
1443 merge_files (tempfiles, ntemps, outfile);