/netbsd/regress/sys/kern/getcwd/ |
H A D | getcwd.c | 253 chdir ("/"); in test___getcwd_perms() 266 chdir ("/"); in test___getcwd_perms() 307 chdir("subdir"); in test___getcwd_chroot() 325 chdir ("/"); in test___getcwd_chroot() 339 chdir("/"); in test___getcwd() 356 chdir("/sbin"); in test___getcwd() 364 chdir("/usr/bin"); in test___getcwd() 368 chdir("/tmp"); in test___getcwd() 371 chdir(bigname); in test___getcwd() 382 chdir("/tmp"); in test___getcwd() [all …]
|
/netbsd/etc/rc.d/ |
H A D | rtadvd | 26 [ -z "${chdir}" ] || [ "/${chdir}" = // ] && return 0 51 echo "${name}: copying ${conf} to ${chdir}${conf}" 52 mkdir -p "${chdir}${confdir}" 53 cp "${conf}" "${chdir}${conf}" || return 1 57 mkdir -p "${chdir}/var/run" 60 ln -snf "${chdir}/var/run/${name}.dump" /var/run
|
/netbsd/external/gpl2/xcvs/dist/m4/ |
H A D | chdir-long.m4 | 3 # Use Gnulib's robust chdir function. 7 # Arrange to compile chdir-long.c only on systems that define PATH_MAX. 18 AC_LIBSOURCES([chdir-long.c, chdir-long.h]) 31 AC_LIBOBJ([chdir-long])
|
H A D | getcwd-path-max.m4 | 98 /* If mkdir or chdir fails, it could be that this system cannot create 103 if (mkdir (DIR_NAME, S_IRWXU) < 0 || chdir (DIR_NAME) < 0) 160 /* Unlink first, in case the chdir failed. */ 164 if (chdir ("..") < 0)
|
/netbsd/external/bsd/nsd/dist/contrib/bind2nsd/scripts/ |
H A D | bind2nsd | 70 os.chdir(named_root) 76 os.chdir(pwd) 90 os.chdir(tmpdir) 104 os.chdir(pwd)
|
H A D | s64-sync | 100 os.chdir(tmpdir) 117 os.chdir(pwd) 201 os.chdir(named_root) 205 os.chdir(pwd)
|
H A D | nsd-sync | 100 os.chdir(tmpdir) 114 os.chdir(pwd) 193 os.chdir(named_root) 197 os.chdir(pwd)
|
/netbsd/external/gpl3/gdb/dist/gnulib/import/ |
H A D | rename.c | 128 if (!cwd || chdir (cwd)) in rpl_rename() 132 dst_temp = chdir (dst) ? NULL : getcwd (NULL, 0); in rpl_rename() 133 src_temp = chdir (src) ? NULL : getcwd (NULL, 0); in rpl_rename() 137 src_temp = chdir (src) ? NULL : getcwd (NULL, 0); in rpl_rename() 138 if (!IS_ABSOLUTE_FILE_NAME (dst) && chdir (cwd)) in rpl_rename() 140 dst_temp = chdir (dst) ? NULL : getcwd (NULL, 0); in rpl_rename() 142 if (chdir (cwd)) in rpl_rename()
|
/netbsd/external/gpl3/gdb.old/dist/gnulib/import/ |
H A D | rename.c | 128 if (!cwd || chdir (cwd)) in rpl_rename() 132 dst_temp = chdir (dst) ? NULL : getcwd (NULL, 0); in rpl_rename() 133 src_temp = chdir (src) ? NULL : getcwd (NULL, 0); in rpl_rename() 137 src_temp = chdir (src) ? NULL : getcwd (NULL, 0); in rpl_rename() 138 if (!IS_ABSOLUTE_FILE_NAME (dst) && chdir (cwd)) in rpl_rename() 140 dst_temp = chdir (dst) ? NULL : getcwd (NULL, 0); in rpl_rename() 142 if (chdir (cwd)) in rpl_rename()
|
/netbsd/external/bsd/libarchive/dist/tar/test/ |
H A D | test_copy.c | 150 assertEqualInt(0, chdir("original")); in create_tree() 187 assertEqualInt(0, chdir("..")); in create_tree() 293 assertEqualInt(0, chdir("plain")); in copy_basic() 332 assertEqualInt(0, chdir("..")); in copy_basic() 348 assertEqualInt(0, chdir(target)); in copy_ustar() 375 assertEqualInt(0, chdir("../..")); in copy_ustar()
|
/netbsd/external/gpl2/gmake/dist/tests/scripts/options/ |
H A D | dash-C | 28 chdir $workdir; 30 chdir $pwd; 56 chdir $workdir; 58 chdir $pwd;
|
/netbsd/bin/csh/ |
H A D | dir.c | 89 if (chdir(ecp) == -1) in dinit() 99 if (chdir("/") == -1) { in dinit() 346 if (chdir(short2str(cp)) < 0) in dochngd() 356 if (chdir(tmp = short2str(dp->di_name)) < 0) in dochngd() 428 if (chdir(short2str(dp)) >= 0) { in dfollow() 434 if (chdir(short2str(cp)) >= 0) in dfollow() 451 if (chdir(short2str(buf)) >= 0) { in dfollow() 460 if ((dp[0] == '/' || dp[0] == '.') && chdir(short2str(dp)) >= 0) { in dfollow() 492 if (chdir(tmp = short2str(dp->di_name)) < 0) in dopushd() 506 if (chdir(tmp = short2str(dp->di_name)) < 0) in dopushd() [all …]
|
/netbsd/tests/lib/libc/sys/ |
H A D | t_chroot.c | 64 ATF_REQUIRE(chdir(buf) == 0); in ATF_TC_BODY() 98 (void)chdir("/"); in ATF_TC_BODY() 189 ATF_REQUIRE(chdir(buf) == 0); in ATF_TC_BODY() 221 (void)chdir("/"); in ATF_TC_BODY()
|
/netbsd/crypto/external/bsd/openssl.old/dist/test/ |
H A D | conf_include_test.c | 19 # define chdir _chdir macro 32 # define chdir(x) (-1); macro 56 ret = chdir(s); in change_path()
|
/netbsd/usr.bin/make/unit-tests/ |
H A D | opt-chdir.exp | 1 make: chdir /./././././././././././././././././././././././././././././././././././././././././././… 4 make: chdir /nonexistent: No such file or directory
|
/netbsd/crypto/external/bsd/openssl/dist/test/ |
H A D | conf_include_test.c | 20 # define chdir _chdir macro 34 # define chdir(x) (-1); macro 58 ret = chdir(s); in change_path()
|
/netbsd/libexec/atrun/ |
H A D | atrun.c | 142 if (chdir(pentry->pw_dir) == -1) in become_user() 143 (void)chdir("/"); in become_user() 264 if (chdir(_PATH_ATSPOOL) == -1) in run_file() 320 if (chdir(_PATH_ATJOBS) == -1) in run_file() 444 if (chdir(_PATH_ATJOBS) == -1) in main()
|
/netbsd/external/ibm-public/postfix/dist/src/postfix/ |
H A D | postfix.c | 628 if (chdir(var_command_dir)) in main() 630 if (chdir(var_daemon_dir)) in main() 632 if (chdir(var_queue_dir)) in main()
|
/netbsd/sys/sys/ |
H A D | spawn.h | 70 #define fae_chdir_path fae_data.chdir.path 71 } chdir; member
|
/netbsd/external/apache2/llvm/dist/clang/utils/analyzer/ |
H A D | entrypoint.py | 37 os.chdir('/build') 67 os.chdir("/projects")
|
/netbsd/external/gpl3/gcc.old/dist/libgfortran/intrinsics/ |
H A D | chdir.c | 48 val = chdir (str); in chdir_i4_sub() 65 val = chdir (str); in chdir_i8_sub()
|
/netbsd/external/gpl3/gcc/dist/libgfortran/intrinsics/ |
H A D | chdir.c | 48 val = chdir (str); in chdir_i4_sub() 65 val = chdir (str); in chdir_i8_sub()
|
/netbsd/external/gpl3/gdb/dist/gnulib/import/m4/ |
H A D | chdir-long.m4 | 3 # Use Gnulib's robust chdir function. 7 # Arrange to compile chdir-long.c only on systems that define PATH_MAX.
|
/netbsd/external/gpl3/gdb.old/dist/gnulib/import/m4/ |
H A D | chdir-long.m4 | 3 # Use Gnulib's robust chdir function. 7 # Arrange to compile chdir-long.c only on systems that define PATH_MAX.
|
/netbsd/external/bsd/nvi/dist/ex/ |
H A D | ex_cd.c | 91 if (!chdir(dir)) in ex_cd() 120 if (!chdir(buf)) { in ex_cd()
|