Lines Matching refs:name
41 char *name; in make_dir() local
42 if (asprintf (&name, "%s/%s", fts_test_dir, dirname) < 0) in make_dir()
48 if (mkdir (name, 0700) < 0) in make_dir()
50 printf ("cannot create dir \"%s\": %m\n", name); in make_dir()
54 add_temp_file (name); in make_dir()
60 char *name; in make_file() local
61 if (asprintf (&name, "%s/%s", fts_test_dir, filename) < 0) in make_file()
67 int fd = open (name, O_WRONLY | O_CREAT | O_EXCL, 0600); in make_file()
70 printf ("cannot create file \"%s\": %m\n", name); in make_file()
75 add_temp_file (name); in make_file()
145 const char *name = child->fts_name; in children() local
149 printf ("%*s%s\n", 2 * level, "", name); in children()
173 const char *name = ent->fts_name; in do_test() local
182 printf ("%*s%s =>\n", 2 * level, "", name); in do_test()
188 printf ("%*s<= %s\n", 2 * level, "", name); in do_test()
198 printf ("FAIL: unexpected fts_read ent %s\n", name); in do_test()