Home
last modified time | relevance | path

Searched refs:file_name (Results 1 – 14 of 14) sorted by relevance

/coreutils/src/
Dpwd.c32 struct file_name struct
76 file_name_free (struct file_name *p) in file_name_free()
82 static struct file_name *
85 struct file_name *p = xmalloc (sizeof *p); in file_name_init()
99 file_name_prepend (struct file_name *p, char const *s, size_t s_len) in file_name_prepend()
151 find_dir_entry (struct stat *dot_sb, struct file_name *file_name, in find_dir_entry() argument
220 file_name_prepend (file_name, dp->d_name, _D_EXACT_NAMLEN (dp)); in find_dir_entry()
266 robust_getcwd (struct file_name *file_name) in robust_getcwd() argument
286 find_dir_entry (&dot_sb, file_name, height++); in robust_getcwd()
290 if (file_name->start[0] == '\0') in robust_getcwd()
[all …]
Dtemp-stream.c85 temp_stream (FILE **fp, char **file_name) in temp_stream() argument
162 if (file_name) in temp_stream()
163 *file_name = tempfile; in temp_stream()
Dtemp-stream.h6 extern bool temp_stream (FILE **fp, char **file_name);
Dptx.c505 swallow_file_in_memory (char const *file_name, BLOCK *block) in swallow_file_in_memory() argument
512 bool using_stdin = !file_name || !*file_name || STREQ (file_name, "-"); in swallow_file_in_memory()
516 block->start = read_file (file_name, 0, &used_length); in swallow_file_in_memory()
519 error (EXIT_FAILURE, errno, "%s", quotef (using_stdin ? "-" : file_name)); in swallow_file_in_memory()
647 digest_break_file (char const *file_name) in digest_break_file() argument
652 swallow_file_in_memory (file_name, &file_contents); in digest_break_file()
687 digest_word_file (char const *file_name, WORD_TABLE *table) in digest_word_file() argument
693 swallow_file_in_memory (file_name, &file_contents); in digest_word_file()
1250 char const *file_name; /* file name for reference */ in define_all_fields() local
1421 file_name = input_file_name[occurs->file_index]; in define_all_fields()
[all …]
Dsystem.h269 dot_or_dotdot (char const *file_name) in dot_or_dotdot() argument
271 if (file_name[0] == '.') in dot_or_dotdot()
273 char sep = file_name[(file_name[1] == '.') + 1]; in dot_or_dotdot()
753 #define emit_cycle_warning(file_name) \ argument
761 quotef (file_name)); \
Dtac.c381 char *file_name; in copy_to_temp() local
383 if (!temp_stream (&fp, &file_name)) in copy_to_temp()
399 error (0, errno, _("%s: write error"), quotef (file_name)); in copy_to_temp()
411 error (0, errno, _("%s: write error"), quotef (file_name)); in copy_to_temp()
416 *g_tempfile = file_name; in copy_to_temp()
Ddu.c1065 char *file_name = argv_iter (ai, &ai_err); in main() local
1066 if (!file_name) in main()
1083 if (files_from && STREQ (files_from, "-") && STREQ (file_name, "-")) in main()
1089 quoteaf (file_name)); in main()
1097 if (!file_name[0]) in main()
1121 temp_argv[0] = file_name; in main()
Dwc.c873 char *file_name; in main() local
874 for (int i = 0; (file_name = argv_iter (ai, &ai_err)); i++) in main()
877 if (files_from && STREQ (files_from, "-") && STREQ (file_name, "-")) in main()
883 quoteaf (file_name)); in main()
887 if (!file_name[0]) in main()
909 ok &= wc_file (file_name, &fstatus[nfiles ? i : 0]); in main()
Ddigest.c682 char **file_name, bool escaped_filename) in bsd_split_3() argument
695 *file_name = s; in bsd_split_3()
765 unsigned char **digest, size_t *d_len, int *binary, char **file_name) in split_3() argument
838 digest, d_len, file_name, escaped_filename); in split_3()
906 *file_name = &s[i]; in split_3()
Dstty.c1301 char *file_name = nullptr; in main() local
1343 if (file_name) in main()
1345 file_name = optarg; in main()
1390 device_name = file_name ? file_name : _("standard input"); in main()
1399 if (file_name) in main()
Dsort.c2899 check (char const *file_name, char checkonly) in check() argument
2901 FILE *fp = xfopen (file_name, "r"); in check()
2914 while (fillbuf (&buf, fp, file_name)) in check()
2932 program_name, file_name, in check()
2975 xfclose (fp, file_name); in check()
/coreutils/tests/pr/
Dpr-tests.pl444 my $file_name = $$e;
445 push @$new_ent, {IN=>{"$pfx/$file_name"=>undef}};
456 my $file_name = $$e;
457 push @$new_ent, {OUT=>{"$pfx/$file_name"=>undef}};
/coreutils/tests/
DCoreutils.pm110 my ($program_name, $test_name, $file_name, $data) = @_;
112 if (defined $file_name)
114 $file = $file_name;
155 my ($file_name, $contents);
158 ($file_name, $contents) = (undef, $file_spec);
166 ($file_name, $contents) = each %$file_spec;
171 or return $file_name;
178 my $is_junk_file = (! defined $file_name
182 $file_name, $contents);
/coreutils/gl/lib/
Drandread.c105 randread_error (void const *file_name) in randread_error() argument
110 quote (file_name)); in randread_error()