/netbsd-src/external/bsd/kyua-testers/dist/ |
H A D | fs.c | 277 recursive_unmount(const char* current_path, const void* raw_parent_sb) in recursive_unmount() argument 282 bool ok = try_stat(current_path, ¤t_sb); in recursive_unmount() 286 ok &= try_iterate_directory(current_path, recursive_unmount, in recursive_unmount() 291 ok &= try_unmount(current_path); in recursive_unmount() 311 recursive_cleanup(const char* current_path, const void* raw_parent_sb) in recursive_cleanup() argument 316 bool ok = try_stat(current_path, ¤t_sb); in recursive_cleanup() 326 try_unprotect_symlink(current_path); in recursive_cleanup() 328 try_unprotect(current_path); in recursive_cleanup() 331 ok &= recursive_unmount(current_path, parent_sb); in recursive_cleanup() 333 ok &= recursive_cleanup(current_path, parent_sb); in recursive_cleanup() [all …]
|
/netbsd-src/external/bsd/kyua-cli/dist/utils/fs/ |
H A D | operations_test.cpp | 98 const fs::path previous = fs::current_path(); in ATF_TEST_CASE_BODY() 101 const fs::path cwd = fs::current_path(); in ATF_TEST_CASE_BODY() 110 const fs::path previous = fs::current_path(); in ATF_TEST_CASE_BODY() 115 (void)fs::current_path(); in ATF_TEST_CASE_BODY() 156 const fs::path dir = fs::current_path() / "bin"; in ATF_TEST_CASE_BODY() 169 const fs::path dir1 = fs::current_path() / "dir1"; in ATF_TEST_CASE_BODY() 170 const fs::path dir2 = fs::current_path() / "dir2"; in ATF_TEST_CASE_BODY() 286 const fs::path tmpdir = fs::current_path() / "tmp"; in ATF_TEST_CASE_BODY() 300 const fs::path tmpdir = fs::current_path() / "tmp"; in ATF_TEST_CASE_BODY()
|
H A D | operations.cpp | 95 fs::current_path(void) in current_path() function in fs 143 const optional< std::string > current_path = utils::getenv("PATH"); in find_in_path() local 144 if (!current_path || current_path.get().empty()) in find_in_path() 147 std::istringstream path_input(current_path.get() + ":"); in find_in_path()
|
H A D | auto_cleaners_test.cpp | 84 utils::setenv("TMPDIR", (fs::current_path() / "tmp").str()); in ATF_TEST_CASE_BODY() 141 utils::setenv("TMPDIR", (fs::current_path() / "tmp").str()); in ATF_TEST_CASE_BODY()
|
H A D | operations.hpp | 49 path current_path(void);
|
H A D | path.cpp | 154 return fs::current_path() / *this; in to_absolute()
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/ |
H A D | fs_ops.h | 103 path current_path(); in _GLIBCXX_VISIBILITY() 104 path current_path(error_code& __ec); in _GLIBCXX_VISIBILITY() 105 void current_path(const path& __p); in _GLIBCXX_VISIBILITY() 106 void current_path(const path& __p, error_code& __ec) noexcept; in _GLIBCXX_VISIBILITY() 261 { return proximate(__p, current_path(), __ec); } in _GLIBCXX_VISIBILITY() 263 path proximate(const path& __p, const path& __base = current_path()); in _GLIBCXX_VISIBILITY() 270 { return relative(__p, current_path(), __ec); } in _GLIBCXX_VISIBILITY() 272 path relative(const path& __p, const path& __base = current_path()); in _GLIBCXX_VISIBILITY()
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/ |
H A D | fs_ops.h | 110 path current_path(); in _GLIBCXX_VISIBILITY() 113 path current_path(error_code& __ec); in _GLIBCXX_VISIBILITY() 115 void current_path(const path& __p); in _GLIBCXX_VISIBILITY() 116 void current_path(const path& __p, error_code& __ec) noexcept; in _GLIBCXX_VISIBILITY() 314 { return proximate(__p, current_path(), __ec); } in _GLIBCXX_VISIBILITY() 317 path proximate(const path& __p, const path& __base = current_path()); in _GLIBCXX_VISIBILITY() 330 { return relative(__p, current_path(), __ec); } in _GLIBCXX_VISIBILITY() 333 path relative(const path& __p, const path& __base = current_path()); in _GLIBCXX_VISIBILITY()
|
/netbsd-src/external/bsd/kyua-cli/dist/engine/ |
H A D | testers_test.cpp | 83 utils::setenv("KYUA_TESTERSDIR", fs::current_path().str()); in create_mock_tester_exit() 112 utils::setenv("KYUA_TESTERSDIR", fs::current_path().str()); in create_mock_tester_signal() 306 utils::setenv("KYUA_TESTERSDIR", (fs::current_path() / "testers").str()); in ATF_TEST_CASE_BODY() 326 utils::setenv("KYUA_TESTERSDIR", (fs::current_path() / "testers").str()); in ATF_TEST_CASE_BODY() 341 utils::setenv("KYUA_TESTERSDIR", (fs::current_path() / "testers").str()); in ATF_TEST_CASE_BODY() 351 utils::setenv("KYUA_TESTERSDIR", fs::current_path().str()); in ATF_TEST_CASE_BODY()
|
H A D | test_case_test.cpp | 387 utils::setenv("KYUA_TESTERSDIR", fs::current_path().str()); in create_mock_tester_signal() 583 helper.set_config("control_dir", fs::current_path()); in ATF_TEST_CASE_BODY() 598 helper.set_config("control_dir", fs::current_path()); in ATF_TEST_CASE_BODY() 617 helper.set_config("control_dir", fs::current_path()); in ATF_TEST_CASE_BODY() 632 helper.set_config("control_dir", fs::current_path()); in ATF_TEST_CASE_BODY() 646 helper.set_config("control_dir", fs::current_path()); in ATF_TEST_CASE_BODY() 733 helper.set_config("control_dir", fs::current_path()); in ATF_TEST_CASE_BODY() 849 helper.set_config("control_dir", fs::current_path()); in ATF_TEST_CASE_BODY() 865 helper.set_config("control_dir", fs::current_path()); in ATF_TEST_CASE_BODY() 1004 helper.set("CONTROL_DIR", fs::current_path()); in ATF_TEST_CASE_BODY() [all …]
|
H A D | test_program_test.cpp | 71 utils::setenv("KYUA_TESTERSDIR", fs::current_path().str()); in create_mock_tester_signal() 88 ATF_REQUIRE_EQ(fs::current_path() / "root/binary", in ATF_TEST_CASE_BODY()
|
H A D | context.cpp | 93 return context(fs::current_path(), utils::getallenv()); in current()
|
H A D | context_test.cpp | 60 ATF_REQUIRE_EQ(fs::current_path(), context.cwd()); in ATF_TEST_CASE_BODY()
|
H A D | metadata_test.cpp | 644 .add_required_file(fs::current_path() / "test-file") in ATF_TEST_CASE_BODY() 705 utils::setenv("PATH", (fs::current_path() / "bin").str()); in ATF_TEST_CASE_BODY() 733 utils::setenv("PATH", (fs::current_path() / "bin").str()); in ATF_TEST_CASE_BODY()
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/bits/ |
H A D | fs_ops.h | 54 path absolute(const path& __p, const path& __base = current_path()); in _GLIBCXX_VISIBILITY() 56 path canonical(const path& __p, const path& __base = current_path()); in _GLIBCXX_VISIBILITY() 110 path current_path(); in _GLIBCXX_VISIBILITY() 111 path current_path(error_code& __ec); in _GLIBCXX_VISIBILITY() 112 void current_path(const path& __p); in _GLIBCXX_VISIBILITY() 113 void current_path(const path& __p, error_code& __ec) noexcept; in _GLIBCXX_VISIBILITY()
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/experimental/bits/ |
H A D | fs_ops.h | 55 path absolute(const path& __p, const path& __base = current_path()); in _GLIBCXX_VISIBILITY() 58 path canonical(const path& __p, const path& __base = current_path()); in _GLIBCXX_VISIBILITY() 118 path current_path(); in _GLIBCXX_VISIBILITY() 121 path current_path(error_code& __ec); in _GLIBCXX_VISIBILITY() 123 void current_path(const path& __p); in _GLIBCXX_VISIBILITY() 124 void current_path(const path& __p, error_code& __ec) noexcept; in _GLIBCXX_VISIBILITY()
|
/netbsd-src/external/bsd/kyua-cli/dist/cli/ |
H A D | config_test.cpp | 78 utils::setenv("KYUA_CONFDIR", (fs::current_path() / "system-dir").str()); in mock_system_config() 92 utils::setenv("HOME", (fs::current_path() / "user-dir").str()); in mock_user_config() 278 utils::setenv("KYUA_CONFDIR", fs::current_path().str()); in ATF_TEST_CASE_BODY() 319 utils::setenv("KYUA_CONFDIR", fs::current_path().str()); in ATF_TEST_CASE_BODY()
|
/netbsd-src/external/apache2/llvm/dist/libcxx/include/experimental/ |
H A D | filesystem | 122 path current_path(); 123 path current_path(error_code& ec); 124 void current_path(const path& p); 125 void current_path(const path& p, error_code& ec) noexcept; 188 path proximate(const path& p, const path& base = current_path()); 195 path relative(const path& p, const path& base=current_path());
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/filesystem/ |
H A D | ops.cc | 220 path cur = current_path(ec); in canonical() 634 fs::current_path() in current_path() function in fs 637 path p = current_path(ec); in current_path() 644 fs::current_path(error_code& ec) in current_path() function in fs 702 fs::current_path(const path& p) in current_path() function in fs 705 current_path(p, ec); in current_path() 711 fs::current_path(const path& p, error_code& ec) noexcept in current_path() function in fs 1314 path base = current_path(ec); in system_complete()
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/filesystem/ |
H A D | ops.cc | 214 path cur = current_path(ec); in canonical() 628 fs::current_path() in current_path() function in fs 631 path p = current_path(ec); in current_path() 638 fs::current_path(error_code& ec) in current_path() function in fs 696 fs::current_path(const path& p) in current_path() function in fs 699 current_path(p, ec); in current_path() 705 fs::current_path(const path& p, error_code& ec) noexcept in current_path() function in fs 1281 path base = current_path(ec); in system_complete()
|
H A D | std-ops.cc | 84 return current_path() / p; in absolute() 107 ret = current_path(ec); in absolute() 859 fs::current_path() in current_path() function in fs 862 path p = current_path(ec); in current_path() 869 fs::current_path(error_code& ec) in current_path() function in fs 920 fs::current_path(const path& p) in current_path() function in fs 923 current_path(p, ec); in current_path() 929 fs::current_path(const path& p, error_code& ec) noexcept in current_path() function in fs
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/ |
H A D | fs_ops.cc | 127 ret = current_path(ec); in absolute() 725 fs::current_path() in current_path() function in fs 728 path p = current_path(ec); in current_path() 735 fs::current_path(error_code& ec) in current_path() function in fs 793 fs::current_path(const path& p) in current_path() function in fs 796 current_path(p, ec); in current_path() 802 fs::current_path(const path& p, error_code& ec) noexcept in current_path() function in fs
|
H A D | fs_dir.cc | 275 path current_path() const in current_path() function 558 dirs->current_path(), in __erase()
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++17/ |
H A D | fs_ops.cc | 123 ret = current_path(ec); in absolute() 721 fs::current_path() in current_path() function in fs 724 path p = current_path(ec); in current_path() 731 fs::current_path(error_code& ec) in current_path() function in fs 789 fs::current_path(const path& p) in current_path() function in fs 792 current_path(p, ec); in current_path() 798 fs::current_path(const path& p, error_code& ec) noexcept in current_path() function in fs
|
/netbsd-src/external/apache2/llvm/dist/libcxx/include/ |
H A D | filesystem | 122 path current_path(); 123 path current_path(error_code& ec); 124 void current_path(const path& p); 125 void current_path(const path& p, error_code& ec) noexcept; 188 path proximate(const path& p, const path& base = current_path()); 195 path relative(const path& p, const path& base=current_path()); 1825 inline _LIBCPP_INLINE_VISIBILITY path current_path() { 1829 inline _LIBCPP_INLINE_VISIBILITY path current_path(error_code& __ec) { 1833 inline _LIBCPP_INLINE_VISIBILITY void current_path(const path& __p) { 1837 inline _LIBCPP_INLINE_VISIBILITY void current_path(const path& __p, [all …]
|