Home
last modified time | relevance | path

Searched refs:n_files (Results 1 – 10 of 10) sorted by relevance

/coreutils/src/
Dmv.c322 int n_files; in main() local
427 n_files = argc - optind; in main()
430 if (n_files <= !target_directory) in main()
432 if (n_files <= 0) in main()
449 if (2 < n_files) in main()
464 char const *lastfile = file[n_files - 1]; in main()
465 if (n_files == 2) in main()
477 n_files--; in main()
491 if (2 < n_files in main()
506 for (int i = 0; i < n_files; i++) in main()
[all …]
Dln.c476 int n_files; in main() local
562 n_files = argc - optind; in main()
565 if (n_files <= 0) in main()
586 if (n_files != 2) in main()
588 if (n_files < 2) in main()
597 else if (n_files < 2 && !target_directory) in main()
604 if (n_files == 2 && !target_directory) in main()
610 = target_directory ? target_directory : file[n_files - 1]; in main()
628 n_files -= !target_directory; in main()
631 else if (! (n_files == 2 && !target_directory)) in main()
[all …]
Dtail.c1095 any_live_files (const struct File_spec *f, size_t n_files) in any_live_files() argument
1103 for (size_t i = 0; i < n_files; i++) in any_live_files()
1144 tail_forever (struct File_spec *f, size_t n_files, double sleep_interval) in tail_forever() argument
1148 && n_files == 1 && f[0].fd != -1 && ! S_ISREG (f[0].mode)); in tail_forever()
1152 last = n_files - 1; in tail_forever()
1159 for (i = 0; i < n_files; i++) in tail_forever()
1226 if (fd != f[i].fd || S_ISREG (stats.st_mode) || 1 < n_files) in tail_forever()
1284 if (! any_live_files (f, n_files)) in tail_forever()
1318 any_remote_file (const struct File_spec *f, size_t n_files) in any_remote_file() argument
1320 for (size_t i = 0; i < n_files; i++) in any_remote_file()
[all …]
Drm.c353 uintmax_t n_files = argc - optind; in main() local
356 if (prompt_once && (x.recursive || 3 < n_files)) in main()
362 select_plural (n_files)) in main()
365 select_plural (n_files))), in main()
366 program_name, n_files); in main()
Dinstall.c787 int n_files; in main() local
938 n_files = argc - optind; in main()
941 if (n_files <= ! (dir_arg || target_directory)) in main()
943 if (n_files <= 0) in main()
959 if (2 < n_files) in main()
975 char const *lastfile = file[n_files - 1]; in main()
981 n_files--; in main()
983 else if (2 < n_files) in main()
1022 exit_status = savewd_process_files (n_files, file, process_dir, &x); in main()
1041 for (i = 0; i < n_files; i++) in main()
Dcp.c608 do_copy (int n_files, char **file, char const *target_directory, in do_copy() argument
615 if (n_files <= !target_directory) in do_copy()
617 if (n_files <= 0) in do_copy()
633 if (2 < n_files) in do_copy()
648 char const *lastfile = file[n_files - 1]; in do_copy()
654 n_files--; in do_copy()
671 if (2 < n_files in do_copy()
688 if (2 <= n_files) in do_copy()
694 for (int i = 0; i < n_files; i++) in do_copy()
Dod.c1563 int n_files; in main() local
1793 n_files = argc - optind; in main()
1812 switch (n_files) in main()
1819 --n_files; in main()
1835 n_files -= 2; in main()
1840 --n_files; in main()
1857 n_files -= 2; in main()
1862 if (traditional && 1 < n_files) in main()
1893 if (n_files > 0) in main()
Dpr.c860 unsigned int n_files; in main() local
879 n_files = 0; in main()
910 file_names[n_files++] = optarg; in main()
1126 file_names[n_files++] = argv[optind]; in main()
1129 if (n_files == 0) in main()
1137 print_files (n_files, file_names); in main()
1140 for (unsigned int i = 0; i < n_files; i++) in main()
Dshred.c1166 int n_files; in main() local
1238 n_files = argc - optind; in main()
1240 if (n_files == 0) in main()
1252 for (i = 0; i < n_files; i++) in main()
Dls.c1657 int n_files; in main() local
1761 n_files = argc - i; in main()
1763 if (n_files <= 0) in main()
1793 else if (n_files <= 1 && pending_dirs && pending_dirs->next == 0) in main()