Lines Matching defs:file_name
33 struct file_name
75 file_name_free (struct file_name *p)
81 static struct file_name *
84 struct file_name *p = xmalloc (sizeof *p);
96 /* Prepend the name S of length S_LEN, to the growing file_name, P. */
98 file_name_prepend (struct file_name *p, char const *s, size_t s_len)
151 find_dir_entry (struct stat *dot_sb, struct file_name *file_name,
220 file_name_prepend (file_name, dp->d_name, _D_EXACT_NAMLEN (dp));
266 robust_getcwd (struct file_name *file_name)
286 find_dir_entry (&dot_sb, file_name, height++);
290 if (file_name->start[0] == '\0')
291 file_name_prepend (file_name, "", 0);
383 struct file_name *file_name = file_name_init ();
384 robust_getcwd (file_name);
385 puts (file_name->start);
386 file_name_free (file_name);