Searched refs:current_path (Results 1 - 25 of 44) sorted by relevance

12

/netbsd-current/external/bsd/kyua-testers/dist/
H A Dfs.c270 /// \param current_path The file or directory to traverse.
277 recursive_unmount(const char* current_path, const void* raw_parent_sb) argument
282 bool ok = try_stat(current_path, &current_sb);
286 ok &= try_iterate_directory(current_path, recursive_unmount,
291 ok &= try_unmount(current_path);
304 /// \param current_path The file or directory to traverse.
311 recursive_cleanup(const char* current_path, const void* raw_parent_sb) argument
316 bool ok = try_stat(current_path, &current_sb);
326 try_unprotect_symlink(current_path);
328 try_unprotect(current_path);
521 char* current_path; local
[all...]
/netbsd-current/external/bsd/kyua-cli/dist/utils/fs/
H A Doperations.hpp49 path current_path(void);
H A Doperations_test.cpp98 const fs::path previous = fs::current_path();
101 const fs::path cwd = fs::current_path();
110 const fs::path previous = fs::current_path();
115 (void)fs::current_path();
156 const fs::path dir = fs::current_path() / "bin";
169 const fs::path dir1 = fs::current_path() / "dir1";
170 const fs::path dir2 = fs::current_path() / "dir2";
286 const fs::path tmpdir = fs::current_path() / "tmp";
300 const fs::path tmpdir = fs::current_path() / "tmp";
H A Doperations.cpp95 fs::current_path(void) function in class:fs
143 const optional< std::string > current_path = utils::getenv("PATH"); local
144 if (!current_path || current_path.get().empty())
147 std::istringstream path_input(current_path.get() + ":");
H A Dauto_cleaners_test.cpp84 utils::setenv("TMPDIR", (fs::current_path() / "tmp").str());
141 utils::setenv("TMPDIR", (fs::current_path() / "tmp").str());
H A Dpath.cpp154 return fs::current_path() / *this;
/netbsd-current/external/bsd/kyua-cli/dist/engine/
H A Dtesters_test.cpp83 utils::setenv("KYUA_TESTERSDIR", fs::current_path().str());
112 utils::setenv("KYUA_TESTERSDIR", fs::current_path().str());
306 utils::setenv("KYUA_TESTERSDIR", (fs::current_path() / "testers").str());
326 utils::setenv("KYUA_TESTERSDIR", (fs::current_path() / "testers").str());
341 utils::setenv("KYUA_TESTERSDIR", (fs::current_path() / "testers").str());
351 utils::setenv("KYUA_TESTERSDIR", fs::current_path().str());
H A Dcontext.cpp93 return context(fs::current_path(), utils::getallenv());
H A Dtest_case_test.cpp387 utils::setenv("KYUA_TESTERSDIR", fs::current_path().str());
583 helper.set_config("control_dir", fs::current_path());
598 helper.set_config("control_dir", fs::current_path());
617 helper.set_config("control_dir", fs::current_path());
632 helper.set_config("control_dir", fs::current_path());
646 helper.set_config("control_dir", fs::current_path());
733 helper.set_config("control_dir", fs::current_path());
849 helper.set_config("control_dir", fs::current_path());
865 helper.set_config("control_dir", fs::current_path());
1004 helper.set("CONTROL_DIR", fs::current_path());
[all...]
H A Dcontext_test.cpp60 ATF_REQUIRE_EQ(fs::current_path(), context.cwd());
H A Dtest_program_test.cpp71 utils::setenv("KYUA_TESTERSDIR", fs::current_path().str());
88 ATF_REQUIRE_EQ(fs::current_path() / "root/binary",
H A Dmetadata_test.cpp644 .add_required_file(fs::current_path() / "test-file")
705 utils::setenv("PATH", (fs::current_path() / "bin").str());
733 utils::setenv("PATH", (fs::current_path() / "bin").str());
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/bits/
H A Dfs_ops.h54 path absolute(const path& __p, const path& __base = current_path());
56 path canonical(const path& __p, const path& __base = current_path());
110 path current_path();
111 path current_path(error_code& __ec);
112 void current_path(const path& __p);
113 void current_path(const path& __p, error_code& __ec) noexcept;
H A Dfs_fwd.h269 path current_path();
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/
H A Dfs_ops.h103 path current_path();
104 path current_path(error_code& __ec);
105 void current_path(const path& __p);
106 void current_path(const path& __p, error_code& __ec) noexcept;
261 { return proximate(__p, current_path(), __ec); }
263 path proximate(const path& __p, const path& __base = current_path());
270 { return relative(__p, current_path(), __ec); }
272 path relative(const path& __p, const path& __base = current_path());
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
H A Dfs_ops.h110 path current_path();
113 path current_path(error_code& __ec);
115 void current_path(const path& __p);
116 void current_path(const path& __p, error_code& __ec) noexcept;
314 { return proximate(__p, current_path(), __ec); }
317 path proximate(const path& __p, const path& __base = current_path());
330 { return relative(__p, current_path(), __ec); }
333 path relative(const path& __p, const path& __base = current_path());
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/experimental/bits/
H A Dfs_ops.h55 path absolute(const path& __p, const path& __base = current_path());
58 path canonical(const path& __p, const path& __base = current_path());
118 path current_path();
121 path current_path(error_code& __ec);
123 void current_path(const path& __p);
124 void current_path(const path& __p, error_code& __ec) noexcept;
H A Dfs_fwd.h285 path current_path();
/netbsd-current/external/bsd/kyua-cli/dist/cli/
H A Dconfig_test.cpp78 utils::setenv("KYUA_CONFDIR", (fs::current_path() / "system-dir").str());
92 utils::setenv("HOME", (fs::current_path() / "user-dir").str());
278 utils::setenv("KYUA_CONFDIR", fs::current_path().str());
319 utils::setenv("KYUA_CONFDIR", fs::current_path().str());
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/src/filesystem/
H A Dops.cc214 path cur = current_path(ec);
628 fs::current_path() function in class:fs
631 path p = current_path(ec);
638 fs::current_path(error_code& ec) function in class:fs
696 fs::current_path(const path& p) function in class:fs
699 current_path(p, ec);
705 fs::current_path(const path& p, error_code& ec) noexcept
1281 path base = current_path(ec);
H A Dstd-ops.cc84 return current_path() / p;
107 ret = current_path(ec);
859 fs::current_path() function in class:fs
862 path p = current_path(ec);
869 fs::current_path(error_code& ec) function in class:fs
920 fs::current_path(const path& p) function in class:fs
923 current_path(p, ec);
929 fs::current_path(const path& p, error_code& ec) noexcept
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/src/filesystem/
H A Dops.cc220 path cur = current_path(ec);
634 fs::current_path() function in class:fs
637 path p = current_path(ec);
644 fs::current_path(error_code& ec) function in class:fs
702 fs::current_path(const path& p) function in class:fs
705 current_path(p, ec);
711 fs::current_path(const path& p, error_code& ec) noexcept
1310 path base = current_path(ec);
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/
H A Dfs_dir.cc275 path current_path() const function in struct:fs::recursive_directory_iterator::_Dir_stack
558 dirs->current_path(),
H A Dfs_ops.cc127 ret = current_path(ec);
725 fs::current_path() function in class:fs
728 path p = current_path(ec);
735 fs::current_path(error_code& ec) function in class:fs
793 fs::current_path(const path& p) function in class:fs
796 current_path(p, ec);
802 fs::current_path(const path& p, error_code& ec) noexcept
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++17/
H A Dfs_ops.cc123 ret = current_path(ec);
721 fs::current_path() function in class:fs
724 path p = current_path(ec);
731 fs::current_path(error_code& ec) function in class:fs
789 fs::current_path(const path& p) function in class:fs
792 current_path(p, ec);
798 fs::current_path(const path& p, error_code& ec) noexcept

Completed in 252 milliseconds

12