Lines Matching defs:nfiles
141 int merge_files (char **infiles, int nfiles, char *outfile);
142 int merge_direct (char **infiles, int nfiles, char *outfile);
1454 merge_files (char **infiles, int nfiles, char *outfile)
1462 if (nfiles <= MAX_DIRECT_MERGE)
1463 return merge_direct (infiles, nfiles, outfile);
1468 ntemps = (nfiles + MAX_DIRECT_MERGE - 1) / MAX_DIRECT_MERGE;
1474 nf = nfiles - i * MAX_DIRECT_MERGE;
1503 merge_direct (char **infiles, int nfiles, char *outfile)
1524 if (nfiles == 0)
1540 lb1 = (struct linebuffer *) xmalloc (nfiles * sizeof (struct linebuffer));
1541 lb2 = (struct linebuffer *) xmalloc (nfiles * sizeof (struct linebuffer));
1546 xmalloc (nfiles * sizeof (struct linebuffer *));
1551 xmalloc (nfiles * sizeof (struct linebuffer *));
1553 streams = (FILE **) xmalloc (nfiles * sizeof (FILE *));
1556 file_lossage = (int *) xmalloc (nfiles * sizeof (int));
1560 for (i = 0; i < nfiles; i++)
1575 nleft = nfiles;
1586 for (i = 0; i < nfiles; i++)
1635 for (i = 0; i < nfiles; i++)