Lines Matching refs:nopened
3217 size_t nopened = open_input_files (files, nfiles, &fps); in mergefiles() local
3218 if (nopened < nfiles && nopened < 2) in mergefiles()
3219 sort_die (_("open failed"), files[nopened].name); in mergefiles()
3220 mergefps (files, ntemps, nopened, ofp, output_file, fps); in mergefiles()
3221 return nopened; in mergefiles()
3942 size_t nopened = open_input_files (files, nfiles, &fps); in merge() local
3944 if (nopened == nfiles) in merge()
3952 if (errno != EMFILE || nopened <= 2) in merge()
3955 else if (nopened <= 2) in merge()
3956 sort_die (_("open failed"), files[nopened].name); in merge()
3967 nopened--; in merge()
3968 xfclose (fps[nopened], files[nopened].name); in merge()
3969 temp = maybe_create_temp (&tfp, ! (nopened <= 2)); in merge()
3974 mergefps (&files[0], MIN (ntemps, nopened), nopened, tfp, temp->name, in merge()
3976 ntemps -= MIN (ntemps, nopened); in merge()
3980 memmove (&files[1], &files[nopened], (nfiles - nopened) * sizeof *files); in merge()
3982 nfiles -= nopened - 1; in merge()