/glibc-2.36/io/ |
D | ftwtest-sh | 137 base = "$tmp/", file = "$ftwtest", flag = FTW_D, cwd = $tmpreal, level = 0 138 base = "$tmp/$ftwtest/", file = "bar", flag = FTW_D, cwd = $tmpreal/$ftwtest, level = 1 139 base = "$tmp/$ftwtest/", file = "baz", flag = FTW_F, cwd = $tmpreal/$ftwtest, level = 1 140 base = "$tmp/$ftwtest/", file = "foo", flag = FTW_D, cwd = $tmpreal/$ftwtest, level = 1 141 base = "$tmp/$ftwtest/bar/", file = "xo", flag = FTW_F, cwd = $tmpreal/$ftwtest/bar, level = 2 142 base = "$tmp/$ftwtest/foo/", file = "lvl1", flag = FTW_D, cwd = $tmpreal/$ftwtest/foo, level = 2 143 base = "$tmp/$ftwtest/foo/lvl1/", file = "file@1", flag = FTW_F, cwd = $tmpreal/$ftwtest/foo/lvl1, … 144 base = "$tmp/$ftwtest/foo/lvl1/", file = "link@1", flag = FTW_SLN, cwd = $tmpreal/$ftwtest/foo/lvl1… 145 base = "$tmp/$ftwtest/foo/lvl1/", file = "lvl2", flag = FTW_D, cwd = $tmpreal/$ftwtest/foo/lvl1, le… 146 base = "$tmp/$ftwtest/foo/lvl1/lvl2/", file = "file@2", flag = FTW_F, cwd = $tmpreal/$ftwtest/foo/l… [all …]
|
D | tst-getcwd-abspath.c | 41 char *cwd = getcwd (NULL, 0); in getcwd_callback() local 43 TEST_VERIFY (cwd == NULL); in getcwd_callback() 46 cwd = realpath (".", NULL); in getcwd_callback() 48 TEST_VERIFY (cwd == NULL); in getcwd_callback()
|
D | ftwtest.c | 51 char *cwd = getcwd (NULL, 0); in cb() local 52 printf (", cwd = %s", cwd); in cb() 53 free (cwd); in cb()
|
D | ftw.c | 643 char *cwd = NULL; in ftw_startup() local 702 cwd = __getcwd (NULL, 0); in ftw_startup() 704 if (cwd == NULL) in ftw_startup() 795 else if (cwd != NULL) in ftw_startup() 798 __chdir (cwd); in ftw_startup() 799 free (cwd); in ftw_startup()
|
/glibc-2.36/sysdeps/mach/hurd/ |
D | execveat.c | 48 char *cwd; in __execveat() local 51 cwd = __getcwd (NULL, 0); in __execveat() 52 if (cwd == NULL) in __execveat() 61 (cwd = __hurd_canonicalize_directory_name_internal (port, NULL, 0), in __execveat() 62 cwd == NULL ? errno : 0)); in __execveat() 70 int res = __asprintf (&concat_name, "%s/%s", cwd, file_name); in __execveat() 71 free (cwd); in __execveat()
|
D | getcwd.c | 303 char *cwd = in __getcwd() local 307 return cwd; in __getcwd()
|
D | spawni.c | 789 char *cwd = __getcwd (NULL, 0); in __spawni() local 790 if (cwd == NULL) in __spawni() 793 res = __asprintf (&concat_name, "%s/%s", cwd, relpath); in __spawni() 794 free (cwd); in __spawni()
|
/glibc-2.36/stdlib/ |
D | test-canon.c | 37 static char cwd[PATH_MAX]; variable 110 good = (strncmp (result, cwd, cwd_len) == 0 in check_path() 126 getcwd (cwd, sizeof (buf)); in do_test() 127 cwd_len = strlen (cwd); in do_test() 209 if (strcmp (buf, cwd)) in do_test() 212 argv[0], cwd, buf); in do_test()
|
/glibc-2.36/iconv/ |
D | gconv_conf.c | 371 char *cwd; in __gconv_get_path() local 380 cwd = NULL; in __gconv_get_path() 394 cwd = __getcwd (NULL, 0); in __gconv_get_path() 395 cwdlen = __glibc_unlikely (cwd == NULL) ? 0 : strlen (cwd); in __gconv_get_path() 430 assert (cwd != NULL); in __gconv_get_path() 431 strspace = __mempcpy (strspace, cwd, cwdlen); in __gconv_get_path() 453 free (cwd); in __gconv_get_path()
|
/glibc-2.36/posix/ |
D | tst-spawn-chdir.c | 186 char *cwd = get_current_dir_name (); in do_test() local 187 if (cwd == NULL) in do_test() 190 cwd, strlen (cwd)); in do_test() 191 free (cwd); in do_test()
|
D | tst-execlp1.c | 9 char *cwd = get_current_dir_name (); in do_test() local 10 if (cwd == NULL) in do_test() 18 setenv ("PATH", cwd, 1); in do_test()
|
D | tst-execvp1.c | 13 char *cwd = get_current_dir_name (); in do_test() local 14 if (cwd == NULL) in do_test() 22 setenv ("PATH", cwd, 1); in do_test()
|
D | wordexp-test.c | 239 const char *cwd; in do_test() local 249 cwd = getcwd (NULL, 0); in do_test() 328 if (cwd == NULL) in do_test() 329 cwd = ".."; in do_test() 331 chdir (cwd); in do_test()
|
/glibc-2.36/sysdeps/unix/sysv/linux/x86/sys/ |
D | user.h | 29 unsigned short int cwd; member 104 long int cwd; member 116 unsigned short int cwd; member
|
D | ucontext.h | 116 __uint16_t __ctx(cwd);
|
/glibc-2.36/hurd/ |
D | Notes | 21 error_t hurd_path_lookup (file_t root, file_t cwd, 24 error_t hurd_path_split (file_t root, file_t cwd,
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | tst-getcwd-smallbuff.c | 240 char * cwd = getcwd (buf + sizeof (buf) / 2, 1); in do_test() local 241 TEST_VERIFY (cwd == NULL); in do_test()
|
/glibc-2.36/scripts/ |
D | build-many-glibcs.py | 698 subprocess.run(cmd, cwd=self.builddir, check=True) 884 cwd=self.component_srcdir(component), check=True) 891 cwd=self.component_srcdir(component), check=True) 898 cwd=self.component_srcdir(component), check=True) 908 cwd=self.component_srcdir(component), check=True) 911 cwd=self.component_srcdir(component), check=True) 913 cwd=self.component_srcdir(component), check=True) 923 cwd=self.component_srcdir(component), 963 cwd=self.component_srcdir('gcc'), check=True) 965 cwd=self.component_srcdir('gcc'),
|
/glibc-2.36/sysdeps/unix/sysv/linux/microblaze/sys/ |
D | user.h | 28 long int cwd; member
|
/glibc-2.36/intl/ |
D | dcigettext.c | 624 char *cwd = getcwd (NULL, 0); in gl_dcigettext() local 625 if (cwd == NULL) in gl_dcigettext() 630 int ret = __asprintf (&xdirname, "%s/%s", cwd, dirname); in gl_dcigettext() 631 free (cwd); in gl_dcigettext()
|
/glibc-2.36/sysdeps/unix/sysv/linux/x86/bits/ |
D | sigcontext.h | 126 __uint16_t cwd; member
|
/glibc-2.36/manual/ |
D | macros.texi | 227 cwd\comments\ 232 cwd\comments\
|
D | intro.texi | 831 @item @code{cwd} 832 @cindex cwd 834 Functions marked with @code{cwd} as an MT-Safety issue may temporarily
|
/glibc-2.36/ChangeLog.old/ |
D | ChangeLog.14 | 4428 dir entries. Change cwd back if old_dir != NULL. 4429 (process_entry): Adjust caller. Don't change cwd back here.
|
D | ChangeLog.6 | 3456 * stdlib/test-canon.c (cwd): Change size to PATH_MAX.
|