Home
last modified time | relevance | path

Searched refs:getcwd (Results 1 – 25 of 160) sorted by relevance

1234567

/freebsd/contrib/netbsd-tests/lib/librumphijack/
H A Dh_cwd.c84 if (getcwd(pwd, sizeof(pwd)) == NULL) in simple()
92 if (getcwd(pwd, sizeof(pwd)) == NULL) in simple()
100 if (getcwd(pwd, sizeof(pwd)) == NULL) in simple()
106 if (getcwd(pwd, sizeof(pwd)) == NULL) in simple()
113 if (getcwd(pwd, sizeof(pwd)) == NULL) in simple()
119 if (getcwd(pwd, sizeof(pwd)) == NULL) in simple()
139 if (getcwd(pwd, sizeof(pwd)) == NULL) in symlinktest()
/freebsd/contrib/netbsd-tests/lib/libc/gen/
H A Dt_realpath.c129 ATF_REQUIRE_MSG(getcwd(path, sizeof(path)) != NULL, in ATF_TC_BODY()
131 ATF_REQUIRE_MSG(getcwd(slnk, sizeof(slnk)) != NULL, in ATF_TC_BODY()
134 (void)getcwd(path, sizeof(path)); in ATF_TC_BODY()
135 (void)getcwd(slnk, sizeof(slnk)); in ATF_TC_BODY()
H A Dt_getcwd.c56 ATF_REQUIRE(getcwd(buf, 0) == NULL); in ATF_TC_BODY()
62 ATF_REQUIRE(getcwd((void *)-1, sizeof(buf)) == NULL); in ATF_TC_BODY()
121 if (getcwd(buf, sizeof(buf)) == NULL) { in ATF_TC_BODY()
/freebsd/include/ssp/
H A Dunistd.h52 __ssp_redirect_raw(char *, getcwd, getcwd, (char *__buf, size_t __len),
/freebsd/contrib/libcbor/doc/source/
H A Dconf.py50 print(os.getcwd())
51 print(os.getcwd() + '/../build/doxygen/xml')
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_chroot.c60 (void)getcwd(buf, sizeof(buf)); in ATF_TC_BODY()
147 ATF_REQUIRE(getcwd(buf, sizeof(buf)) != NULL); in ATF_TC_BODY()
186 (void)getcwd(buf, sizeof(buf)); in ATF_TC_BODY()
272 ATF_REQUIRE(getcwd(buf, sizeof(buf)) != NULL); in ATF_TC_BODY()
/freebsd/contrib/kyua/m4/
H A Dfs.m439 dnl Checks whether getcwd(NULL, 0) works; i.e. if getcwd(3) can dynamically
43 [whether getcwd(NULL, 0) works],
48 char *cwd = getcwd(NULL, 0);
56 [Define to 1 if getcwd(NULL, 0) works])
/freebsd/tests/sys/fs/fusefs/
H A Dstatfs.cc70 ASSERT_NE(nullptr, getcwd(mp, PATH_MAX)) << strerror(errno); in TEST_F()
115 ASSERT_NE(nullptr, getcwd(mp, PATH_MAX)) << strerror(errno); in TEST_F()
153 ASSERT_NE(nullptr, getcwd(mp, PATH_MAX)) << strerror(errno); in TEST_F()
/freebsd/contrib/libpcap/testprogs/
H A Dvisopts.py304 atexit.register(shutil.rmtree, os.getcwd())
305 print "generated files under directory: %s" % os.getcwd()
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_sparse_basic.c88 #define getcwd _getcwd macro
584 cwd = getcwd(NULL, PATH_MAX);/* Solaris getcwd needs the size. */ in DEFINE_TEST()
586 cwd = getcwd(NULL, 0); in DEFINE_TEST()
671 cwd = getcwd(NULL, PATH_MAX);/* Solaris getcwd needs the size. */ in DEFINE_TEST()
673 cwd = getcwd(NULL, 0); in DEFINE_TEST()
/freebsd/lib/libc/compat-43/
H A Dgetwd.c43 if ( (p = getcwd(buf, MAXPATHLEN)) ) in getwd()
/freebsd/crypto/openssl/tools/
H A Dc_rehash.in55 if (defined(&Cwd::getcwd)) {
56 $pwd=Cwd::getcwd();
/freebsd/contrib/netbsd-tests/lib/libc/ssp/
H A Dh_getcwd.c44 (void)getcwd(b, len); in main()
H A Dt_ssp.sh425 atf_test_case getcwd
464 atf_add_test_case getcwd
/freebsd/crypto/heimdal/lib/roken/
H A Dgetcwd.c46 getcwd(char *path, size_t size) in getcwd() function
/freebsd/lib/libpathconv/tests/
H A Drel2abs.c45 if (!getcwd(cwd, MAXPATHLEN)) { in main()
H A Dabs2rel.c46 if (!getcwd(cwd, MAXPATHLEN)) { in main()
/freebsd/crypto/openssl/util/perl/OpenSSL/
H A DTest.pm981 return abs2rel(catfile($directories{SRCTOP},@_,$f),getcwd);
987 return abs2rel(catdir($directories{SRCTOP},@_), getcwd);
994 return abs2rel(catfile($directories{BLDTOP},@_,$f), getcwd);
1000 return abs2rel(catdir($directories{BLDTOP},@_), getcwd);
/freebsd/tools/test/stress2/lib/
H A Dresources.c63 if (getcwd(path, sizeof(path)) == NULL) in inodes()
86 if (getcwd(path, sizeof(path)) == NULL) in df()
/freebsd/bin/pwd/
H A Dpwd.c76 (p = getcwd(NULL, 0)) != NULL) in main()
/freebsd/contrib/libucl/python/
H A Dsetup.py13 if os.getcwd() != LIB_ROOT:
/freebsd/contrib/tcsh/
H A Dtc.decls.h192 # undef getcwd
193 # define getcwd(a, b) xgetcwd(a, b) macro
/freebsd/contrib/libxo/tests/gettext/
H A Dgt_01.c51 getcwd(path, sizeof(path)); in main()
/freebsd/tools/test/stress2/misc/
H A Dstatfs.sh79 if (getcwd(path, sizeof(path)) == NULL)
/freebsd/bin/pax/tests/
H A Dlegacy_test.pl24 my $top = getcwd . "/ustar-pathnames-1";

1234567