/glibc-2.36/io/ |
D | ftw.c | 180 char *dirbuf; member 216 data->dirbuf = (char *) data->dirstreams in ftw_allocate() 352 int fd = __openat64_nocancel (*dfdp, data->dirbuf + data->ftw.base, in open_dir_stream() 364 name = data->dirbuf + data->ftw.base; in open_dir_stream() 369 name = data->dirbuf; in open_dir_stream() 410 *((char *) __mempcpy (data->dirbuf + data->ftw.base, name, namlen)) = '\0'; in process_entry() 419 name = data->dirbuf; in process_entry() 472 result = (*data->func) (data->dirbuf, &st, data->cvt_arr[flag], in process_entry() 501 result = (*data->func) (data->dirbuf, st, FTW_DNR, &data->ftw); in ftw_dir() 509 result = (*data->func) (data->dirbuf, st, FTW_D, &data->ftw); in ftw_dir() [all …]
|
D | tst-readlinkat.c | 27 char *dirbuf = malloc (dirbuflen); in prepare() local 28 if (dirbuf == NULL) in prepare() 34 snprintf (dirbuf, dirbuflen, "%s%s", test_dir, dir_name); in prepare() 35 if (mkdtemp (dirbuf) == NULL) in prepare() 41 add_temp_file (dirbuf); in prepare() 43 dir_fd = open (dirbuf, O_RDONLY | O_DIRECTORY); in prepare()
|
D | tst-futimesat.c | 47 char *dirbuf = malloc (dirbuflen); in prepare() local 48 if (dirbuf == NULL) in prepare() 54 snprintf (dirbuf, dirbuflen, "%s%s", test_dir, dir_name); in prepare() 55 if (mkdtemp (dirbuf) == NULL) in prepare() 61 add_temp_file (dirbuf); in prepare() 63 dir_fd = open (dirbuf, O_RDONLY | O_DIRECTORY); in prepare()
|
D | tst-fchmodat.c | 29 char *dirbuf = malloc (dirbuflen); in prepare() local 30 if (dirbuf == NULL) in prepare() 36 snprintf (dirbuf, dirbuflen, "%s%s", test_dir, dir_name); in prepare() 37 if (mkdtemp (dirbuf) == NULL) in prepare() 43 add_temp_file (dirbuf); in prepare() 45 dir_fd = open (dirbuf, O_RDONLY | O_DIRECTORY); in prepare()
|
D | tst-mkdirat.c | 28 char *dirbuf = malloc (dirbuflen); in prepare() local 29 if (dirbuf == NULL) in prepare() 35 snprintf (dirbuf, dirbuflen, "%s%s", test_dir, dir_name); in prepare() 36 if (mkdtemp (dirbuf) == NULL) in prepare() 42 add_temp_file (dirbuf); in prepare() 44 dir_fd = open (dirbuf, O_RDONLY | O_DIRECTORY); in prepare()
|
D | tst-mkfifoat.c | 28 char *dirbuf = malloc (dirbuflen); in prepare() local 29 if (dirbuf == NULL) in prepare() 35 snprintf (dirbuf, dirbuflen, "%s%s", test_dir, dir_name); in prepare() 36 if (mkdtemp (dirbuf) == NULL) in prepare() 42 add_temp_file (dirbuf); in prepare() 44 dir_fd = open (dirbuf, O_RDONLY | O_DIRECTORY); in prepare()
|
D | tst-mknodat.c | 28 char *dirbuf = malloc (dirbuflen); in prepare() local 29 if (dirbuf == NULL) in prepare() 35 snprintf (dirbuf, dirbuflen, "%s%s", test_dir, dir_name); in prepare() 36 if (mkdtemp (dirbuf) == NULL) in prepare() 42 add_temp_file (dirbuf); in prepare() 44 dir_fd = open (dirbuf, O_RDONLY | O_DIRECTORY); in prepare()
|
D | tst-fchownat.c | 39 char *dirbuf = malloc (dirbuflen); in prepare() local 40 if (dirbuf == NULL) in prepare() 46 snprintf (dirbuf, dirbuflen, "%s%s", test_dir, dir_name); in prepare() 47 if (mkdtemp (dirbuf) == NULL) in prepare() 53 add_temp_file (dirbuf); in prepare() 55 dir_fd = open (dirbuf, O_RDONLY | O_DIRECTORY); in prepare()
|
D | tst-fstatat.c | 27 char *dirbuf = malloc (dirbuflen); in prepare() local 28 if (dirbuf == NULL) in prepare() 34 snprintf (dirbuf, dirbuflen, "%s%s", test_dir, dir_name); in prepare() 35 if (mkdtemp (dirbuf) == NULL) in prepare() 41 add_temp_file (dirbuf); in prepare() 43 dir_fd = open (dirbuf, O_RDONLY | O_DIRECTORY); in prepare()
|
D | tst-symlinkat.c | 27 char *dirbuf = malloc (dirbuflen); in prepare() local 28 if (dirbuf == NULL) in prepare() 34 snprintf (dirbuf, dirbuflen, "%s%s", test_dir, dir_name); in prepare() 35 if (mkdtemp (dirbuf) == NULL) in prepare() 41 add_temp_file (dirbuf); in prepare() 43 dir_fd = open (dirbuf, O_RDONLY | O_DIRECTORY); in prepare()
|
D | tst-unlinkat.c | 27 char *dirbuf = malloc (dirbuflen); in prepare() local 28 if (dirbuf == NULL) in prepare() 34 snprintf (dirbuf, dirbuflen, "%s%s", test_dir, dir_name); in prepare() 35 if (mkdtemp (dirbuf) == NULL) in prepare() 41 add_temp_file (dirbuf); in prepare() 43 dir_fd = open (dirbuf, O_RDONLY | O_DIRECTORY); in prepare()
|
D | tst-linkat.c | 27 char *dirbuf = malloc (dirbuflen); in prepare() local 28 if (dirbuf == NULL) in prepare() 34 snprintf (dirbuf, dirbuflen, "%s%s", test_dir, dir_name); in prepare() 35 if (mkdtemp (dirbuf) == NULL) in prepare() 41 add_temp_file (dirbuf); in prepare() 43 dir_fd = open (dirbuf, O_RDONLY | O_DIRECTORY); in prepare()
|
D | tst-openat.c | 27 char *dirbuf = malloc (dirbuflen); in prepare() local 28 if (dirbuf == NULL) in prepare() 34 snprintf (dirbuf, dirbuflen, "%s%s", test_dir, dir_name); in prepare() 35 if (mkdtemp (dirbuf) == NULL) in prepare() 41 add_temp_file (dirbuf); in prepare() 43 dir_fd = open (dirbuf, O_RDONLY | O_DIRECTORY); in prepare()
|
D | tst-faccessat.c | 29 char *dirbuf = malloc (dirbuflen); in prepare() local 30 if (dirbuf == NULL) in prepare() 36 snprintf (dirbuf, dirbuflen, "%s%s", test_dir, dir_name); in prepare() 37 if (mkdtemp (dirbuf) == NULL) in prepare() 43 add_temp_file (dirbuf); in prepare() 45 dir_fd = open (dirbuf, O_RDONLY | O_DIRECTORY); in prepare()
|
D | tst-renameat.c | 27 char *dirbuf = malloc (dirbuflen); in prepare() local 28 if (dirbuf == NULL) in prepare() 34 snprintf (dirbuf, dirbuflen, "%s%s", test_dir, dir_name); in prepare() 35 if (mkdtemp (dirbuf) == NULL) in prepare() 41 add_temp_file (dirbuf); in prepare() 43 dir_fd = open (dirbuf, O_RDONLY | O_DIRECTORY); in prepare()
|
D | tst-fts.c | 81 char *dirbuf; in prepare() local 84 if (asprintf (&dirbuf, "%s%s", test_dir, dir_name) < 0) in prepare() 90 if (mkdtemp (dirbuf) == NULL) in prepare() 96 add_temp_file (dirbuf); in prepare() 97 fts_test_dir = dirbuf; in prepare()
|
/glibc-2.36/posix/ |
D | tst-pathconf.c | 36 static char *dirbuf; variable 45 dirbuf = xmalloc (dirbuflen); in prepare() 47 snprintf (dirbuf, dirbuflen, "%s%s", test_dir, dir_name); in prepare() 48 if (mkdtemp (dirbuf) == NULL) in prepare() 54 add_temp_file (dirbuf); in prepare() 56 dir_fd = open (dirbuf, O_RDONLY); in prepare() 71 size_t filenamelen = strlen (dirbuf) + strlen (fifo_name) + 2; in do_test() 74 snprintf (filename, filenamelen, "%s/%s", dirbuf, fifo_name); in do_test() 85 long dir_pathconf = pathconf (dirbuf, _PC_PIPE_BUF); in do_test()
|
/glibc-2.36/sysdeps/mach/hurd/ |
D | getcwd.c | 50 char *dirbuf = NULL; in __hurd_canonicalize_directory_name_internal() local 63 if (dirbuf != NULL) in __hurd_canonicalize_directory_name_internal() 65 (vm_address_t) dirbuf, dirbufsize); in __hurd_canonicalize_directory_name_internal() 148 dirdata = dirbuf; in __hurd_canonicalize_directory_name_internal() 160 if (dirdata != dirbuf) in __hurd_canonicalize_directory_name_internal() 166 (vm_address_t) dirbuf, dirbufsize); in __hurd_canonicalize_directory_name_internal() 167 dirbuf = dirdata; in __hurd_canonicalize_directory_name_internal()
|
/glibc-2.36/dirent/ |
D | tst-scandir.c | 45 char *dirbuf = malloc (dirbuflen); in prepare() local 46 if (dirbuf == NULL) in prepare() 52 snprintf (dirbuf, dirbuflen, "%s%s", test_dir, dir_name); in prepare() 53 if (mkdtemp (dirbuf) == NULL) in prepare() 59 add_temp_file (dirbuf); in prepare() 60 scandir_test_dir = dirbuf; in prepare()
|
/glibc-2.36/ChangeLog.old/ |
D | ChangeLog.6 | 2412 * io/fts.c (fts_build): Remove "register" from variables dirbuf
|