Home
last modified time | relevance | path

Searched refs:dir (Results 1 – 17 of 17) sorted by relevance

/io/
A Dpwd.c26 char *dir; in main() local
31 dir = getcwd ((char *) NULL, 0); in main()
33 if (dir == NULL) in main()
37 puts (dir); in main()
38 free (dir); in main()
41 return (dir == NULL ? EXIT_FAILURE : EXIT_SUCCESS); in main()
A Dtst-unlinkat.c69 DIR *dir = fdopendir (dupfd); in do_test() local
70 if (dir == NULL) in do_test()
76 while ((d = readdir64 (dir)) != NULL) in do_test()
82 closedir (dir); in do_test()
115 dir = fdopendir (dupfd); in do_test()
116 if (dir == NULL) in do_test()
122 while ((d = readdir64 (dir)) != NULL) in do_test()
133 closedir (dir); in do_test()
156 dir = fdopendir (dir_fd); in do_test()
157 if (dir == NULL) in do_test()
[all …]
A Dtst-mkdirat.c70 DIR *dir = fdopendir (dupfd); in do_test() local
71 if (dir == NULL) in do_test()
77 while ((d = readdir64 (dir)) != NULL) in do_test()
83 closedir (dir); in do_test()
123 dir = fdopendir (dupfd); in do_test()
124 if (dir == NULL) in do_test()
130 while ((d = readdir64 (dir)) != NULL) in do_test()
145 closedir (dir); in do_test()
A Dtst-mkfifoat.c70 DIR *dir = fdopendir (dupfd); in do_test() local
71 if (dir == NULL) in do_test()
77 while ((d = readdir64 (dir)) != NULL) in do_test()
83 closedir (dir); in do_test()
123 dir = fdopendir (dupfd); in do_test()
124 if (dir == NULL) in do_test()
130 while ((d = readdir64 (dir)) != NULL) in do_test()
145 closedir (dir); in do_test()
A Dtst-mknodat.c70 DIR *dir = fdopendir (dupfd); in do_test() local
71 if (dir == NULL) in do_test()
77 while ((d = readdir64 (dir)) != NULL) in do_test()
83 closedir (dir); in do_test()
123 dir = fdopendir (dupfd); in do_test()
124 if (dir == NULL) in do_test()
130 while ((d = readdir64 (dir)) != NULL) in do_test()
145 closedir (dir); in do_test()
A Dtst-openat.c69 DIR *dir = fdopendir (dupfd); in do_test() local
70 if (dir == NULL) in do_test()
76 while ((d = readdir64 (dir)) != NULL) in do_test()
82 closedir (dir); in do_test()
130 dir = fdopendir (dupfd); in do_test()
131 if (dir == NULL) in do_test()
137 while ((d = readdir64 (dir)) != NULL) in do_test()
148 closedir (dir); in do_test()
A Dtst-readlinkat.c69 DIR *dir = fdopendir (dupfd); in do_test() local
70 if (dir == NULL) in do_test()
76 while ((d = readdir64 (dir)) != NULL) in do_test()
82 closedir (dir); in do_test()
A Dtst-futimesat.c89 DIR *dir = fdopendir (dupfd); in do_test() local
90 if (dir == NULL) in do_test()
96 while ((d = readdir64 (dir)) != NULL) in do_test()
102 closedir (dir); in do_test()
A Dtst-fchmodat.c71 DIR *dir = fdopendir (dupfd); in do_test() local
72 if (dir == NULL) in do_test()
78 while ((d = readdir64 (dir)) != NULL) in do_test()
84 closedir (dir); in do_test()
A Dtst-fchownat.c81 DIR *dir = fdopendir (dupfd); in do_test() local
82 if (dir == NULL) in do_test()
88 while ((d = readdir64 (dir)) != NULL) in do_test()
94 closedir (dir); in do_test()
A Dtst-fstatat.c69 DIR *dir = fdopendir (dupfd); in do_test() local
70 if (dir == NULL) in do_test()
76 while ((d = readdir64 (dir)) != NULL) in do_test()
82 closedir (dir); in do_test()
A Dtst-symlinkat.c69 DIR *dir = fdopendir (dupfd); in do_test() local
70 if (dir == NULL) in do_test()
76 while ((d = readdir64 (dir)) != NULL) in do_test()
82 closedir (dir); in do_test()
A Dftw.c412 if (dir->streamfd != -1) in process_entry()
437 if (dir->streamfd != -1) in process_entry()
486 struct dir_data dir; in ftw_dir() local
495 data, &dir); in ftw_dir()
514 __closedir (dir.stream); in ftw_dir()
515 dir.streamfd = -1; in ftw_dir()
544 while (dir.stream != NULL && (d = __readdir64 (dir.stream)) != NULL) in ftw_dir()
555 if (dir.stream != NULL) in ftw_dir()
564 dir.streamfd = -1; in ftw_dir()
587 free (dir.content); in ftw_dir()
[all …]
A Dtst-linkat.c69 DIR *dir = fdopendir (dupfd); in do_test() local
70 if (dir == NULL) in do_test()
76 while ((d = readdir64 (dir)) != NULL) in do_test()
82 closedir (dir); in do_test()
A Dtst-faccessat.c71 DIR *dir = fdopendir (dupfd); in do_test() local
72 if (dir == NULL) in do_test()
78 while ((d = readdir64 (dir)) != NULL) in do_test()
84 closedir (dir); in do_test()
A Dtst-renameat.c69 DIR *dir = fdopendir (dupfd); in do_test() local
70 if (dir == NULL) in do_test()
76 while ((d = readdir64 (dir)) != NULL) in do_test()
82 closedir (dir); in do_test()
A DMakefile144 tst-open-tmpfile-ARGS = --test-dir=$(objpfx)

Completed in 49 milliseconds