Home
last modified time | relevance | path

Searched refs:cwd (Results 1 – 25 of 29) sorted by relevance

12

/glibc-2.36/io/
Dftwtest-sh137 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 …]
Dtst-getcwd-abspath.c41 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()
Dftwtest.c51 char *cwd = getcwd (NULL, 0); in cb() local
52 printf (", cwd = %s", cwd); in cb()
53 free (cwd); in cb()
Dftw.c643 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/
Dexecveat.c48 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()
Dgetcwd.c303 char *cwd = in __getcwd() local
307 return cwd; in __getcwd()
Dspawni.c789 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/
Dtest-canon.c37 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/
Dgconv_conf.c371 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/
Dtst-spawn-chdir.c186 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()
Dtst-execlp1.c9 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()
Dtst-execvp1.c13 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()
Dwordexp-test.c239 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/
Duser.h29 unsigned short int cwd; member
104 long int cwd; member
116 unsigned short int cwd; member
Ducontext.h116 __uint16_t __ctx(cwd);
/glibc-2.36/hurd/
DNotes21 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/
Dtst-getcwd-smallbuff.c240 char * cwd = getcwd (buf + sizeof (buf) / 2, 1); in do_test() local
241 TEST_VERIFY (cwd == NULL); in do_test()
/glibc-2.36/scripts/
Dbuild-many-glibcs.py698 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/
Duser.h28 long int cwd; member
/glibc-2.36/intl/
Ddcigettext.c624 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/
Dsigcontext.h126 __uint16_t cwd; member
/glibc-2.36/manual/
Dmacros.texi227 cwd\comments\
232 cwd\comments\
Dintro.texi831 @item @code{cwd}
832 @cindex cwd
834 Functions marked with @code{cwd} as an MT-Safety issue may temporarily
/glibc-2.36/ChangeLog.old/
DChangeLog.144428 dir entries. Change cwd back if old_dir != NULL.
4429 (process_entry): Adjust caller. Don't change cwd back here.
DChangeLog.63456 * stdlib/test-canon.c (cwd): Change size to PATH_MAX.

12