| /freebsd/contrib/llvm-project/lldb/source/Utility/ |
| H A D | FileSpec.cpp | 425 llvm::SmallString<64> current_path; in CopyByRemovingLastPathComponent() local 426 GetPath(current_path, false); in CopyByRemovingLastPathComponent() 427 if (llvm::sys::path::has_parent_path(current_path, m_style)) in CopyByRemovingLastPathComponent() 428 return FileSpec(llvm::sys::path::parent_path(current_path, m_style), in CopyByRemovingLastPathComponent() 435 llvm::SmallString<64> current_path; in PrependPathComponent() local 436 GetPath(current_path, false); in PrependPathComponent() 438 llvm::sys::path::begin(current_path, m_style), in PrependPathComponent() 439 llvm::sys::path::end(current_path), m_style); in PrependPathComponent() 448 llvm::SmallString<64> current_path; in AppendPathComponent() local 449 GetPath(current_path, fals in AppendPathComponent() 459 llvm::SmallString<64> current_path; RemoveLastPathComponent() local [all...] |
| /freebsd/contrib/kyua/engine/ |
| H A D | atf_test.cpp | 248 fs::current_path()); in ATF_TEST_CASE_BODY() 258 fs::current_path()); in ATF_TEST_CASE_BODY() 267 "not-executable", fs::current_path()); in ATF_TEST_CASE_BODY() 324 fs::current_path().str()); in ATF_TEST_CASE_BODY() 360 fs::current_path().str()); in ATF_TEST_CASE_BODY() 387 fs::current_path().str()); in ATF_TEST_CASE_BODY() 403 fs::current_path().str()); in ATF_TEST_CASE_BODY()
|
| H A D | scheduler_test.cpp | 566 "mock", fs::path("the-program"), fs::current_path(), "the-suite") in ATF_TEST_CASE_BODY() 617 fs::current_path(), "the-suite") in ATF_TEST_CASE_BODY() 732 "mock", fs::path("the-program"), fs::current_path(), "the-suite") in ATF_TEST_CASE_BODY() 786 "mock", fs::path("the-program"), fs::current_path(), "the-suite", in ATF_TEST_CASE_BODY() 811 "mock", fs::path("the-program"), fs::current_path(), "the-suite") in ATF_TEST_CASE_BODY() 852 "mock", fs::path("the-program"), fs::current_path(), "the-suite") in do_cleanup_test() 930 "mock", fs::path("the-program"), fs::current_path(), "the-suite") in ATF_TEST_CASE_BODY() 963 "mock", fs::path("the-program"), fs::current_path(), "the-suite") in ATF_TEST_CASE_BODY() 998 "mock", fs::path("the-program"), fs::current_path(), "the-suite") in do_check_list_files_on_failure() 1043 "mock", fs::path("the-program"), fs::current_path(), "the-suite") in ATF_TEST_CASE_BODY() [all …]
|
| H A D | plain_test.cpp | 92 "plain", fs::path(test_case_name), fs::current_path(), "the-suite") in run_one() 167 utils::setenv("CONTROL_DIR", fs::current_path().str()); in ATF_TEST_CASE_BODY()
|
| H A D | tap_test.cpp | 92 "tap", fs::path(test_case_name), fs::current_path(), "the-suite") in run_one() 177 utils::setenv("CONTROL_DIR", fs::current_path().str()); in ATF_TEST_CASE_BODY()
|
| H A D | requirements_test.cpp | 378 .add_required_file(fs::current_path() / "test-file") in ATF_TEST_CASE_BODY() 443 utils::setenv("PATH", (fs::current_path() / "bin").str()); in ATF_TEST_CASE_BODY() 473 utils::setenv("PATH", (fs::current_path() / "bin").str()); in ATF_TEST_CASE_BODY()
|
| H A D | kyuafile_test.cpp | 386 const fs::path previous_dir = fs::current_path(); in ATF_TEST_CASE_BODY() 436 ATF_REQUIRE_EQ(fs::current_path() / "one", in ATF_TEST_CASE_BODY() 438 ATF_REQUIRE_EQ(fs::current_path() / "dir/two", in ATF_TEST_CASE_BODY()
|
| /freebsd/contrib/kyua/utils/fs/ |
| H A D | operations_test.cpp | 151 const fs::path previous = fs::current_path(); in ATF_TEST_CASE_BODY() 154 const fs::path cwd = fs::current_path(); in ATF_TEST_CASE_BODY() 163 const fs::path previous = fs::current_path(); in ATF_TEST_CASE_BODY() 168 (void)fs::current_path(); in ATF_TEST_CASE_BODY() 209 const fs::path dir = fs::current_path() / "bin"; in ATF_TEST_CASE_BODY() 222 const fs::path dir1 = fs::current_path() / "dir1"; in ATF_TEST_CASE_BODY() 223 const fs::path dir2 = fs::current_path() / "dir2"; in ATF_TEST_CASE_BODY() 435 const fs::path tmpdir = fs::current_path() / "tmp"; in ATF_TEST_CASE_BODY() 477 fs::current_path(); in ATF_TEST_CASE_BODY() 557 const fs::path tmpdir = fs::current_path() / "tmp"; in ATF_TEST_CASE_BODY()
|
| H A D | operations.cpp | 357 fs::current_path(void) in current_path() function in fs 405 const optional< std::string > current_path = utils::getenv("PATH"); in find_in_path() local 406 if (!current_path || current_path.get().empty()) in find_in_path() 409 std::istringstream path_input(current_path.get() + ":"); in find_in_path()
|
| H A D | auto_cleaners_test.cpp | 85 utils::setenv("TMPDIR", (fs::current_path() / "tmp").str()); in ATF_TEST_CASE_BODY() 142 utils::setenv("TMPDIR", (fs::current_path() / "tmp").str()); in ATF_TEST_CASE_BODY()
|
| H A D | lua_module_test.cpp | 132 F("return fs.exists('%s')") % fs::current_path(), 0, 1, 0); in ATF_TEST_CASE_BODY() 180 F("return fs.exists('%s')") % (fs::current_path() / "bar"), in ATF_TEST_CASE_BODY() 238 fs::open_fs(state, fs::current_path() / "root"); in ATF_TEST_CASE_BODY()
|
| H A D | operations.hpp | 51 path current_path(void);
|
| H A D | path.cpp | 158 return fs::current_path() / *this; in to_absolute()
|
| H A D | lua_module.cpp | 312 open_fs(s, fs::current_path()); in open_fs()
|
| /freebsd/contrib/llvm-project/libcxx/include/__filesystem/ |
| H A D | operations.h | 137 inline _LIBCPP_HIDE_FROM_ABI path current_path() { return __current_path(); } in current_path() function 138 inline _LIBCPP_HIDE_FROM_ABI path current_path(error_code& __ec) { return __current_path(&__ec); } in current_path() function 139 inline _LIBCPP_HIDE_FROM_ABI void current_path(const path& __p) { __current_path(__p); } in current_path() function 140 inline _LIBCPP_HIDE_FROM_ABI void current_path(const path& __p, error_code& __ec) noexcept { in current_path() function 246 return proximate(__p, current_path(), __ec); in proximate() 248 inline _LIBCPP_HIDE_FROM_ABI path proximate(const path& __p, const path& __base = current_path()) { 265 return relative(__p, current_path(), __ec); in relative() 267 inline _LIBCPP_HIDE_FROM_ABI path relative(const path& __p, const path& __base = current_path()) {
|
| /freebsd/contrib/kyua/cli/ |
| H A D | config_test.cpp | 81 utils::setenv("KYUA_CONFDIR", (fs::current_path() / "system-dir").str()); in mock_system_config() 95 utils::setenv("HOME", (fs::current_path() / "user-dir").str()); in mock_user_config() 281 utils::setenv("KYUA_CONFDIR", fs::current_path().str()); in ATF_TEST_CASE_BODY() 322 utils::setenv("KYUA_CONFDIR", fs::current_path().str()); in ATF_TEST_CASE_BODY()
|
| /freebsd/contrib/kyua/store/ |
| H A D | layout.cpp | 149 const std::string test_suite = test_suite_for_path(fs::current_path()); in find_results() 242 return fs::current_path(); in query_store_dir()
|
| H A D | layout_test.cpp | 58 fs::current_path()); in ATF_TEST_CASE_BODY() 281 const fs::path home = fs::current_path() / "homedir"; in ATF_TEST_CASE_BODY() 304 ATF_REQUIRE_EQ(fs::current_path(), layout::query_store_dir()); in ATF_TEST_CASE_BODY()
|
| /freebsd/contrib/llvm-project/libcxx/include/ |
| H A D | filesystem | 417 path current_path(); 418 path current_path(error_code& ec); 419 void current_path(const path& p); 420 void current_path(const path& p, error_code& ec) noexcept; 483 path proximate(const path& p, const path& base = current_path()); 490 path relative(const path& p, const path& base=current_path());
|
| /freebsd/contrib/kyua/utils/process/ |
| H A D | isolation_test.cpp | 229 const fs::path exp_subdir = fs::current_path() / _directory; in operator ()() 231 std::exit(fs::current_path() == exp_subdir ? in operator ()()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/ |
| H A D | StdTsSymbolMap.inc | 14 SYMBOL(current_path, std::experimental::filesystem::, <experimental/filesystem>)
|
| /freebsd/contrib/kyua/utils/ |
| H A D | stacktrace_test.cpp | 485 const std::string gdb = (fs::current_path() / "fake-gdb").str(); in ATF_TEST_CASE_BODY() 512 const std::string gdb = (fs::current_path() / "fake-gdb").str(); in ATF_TEST_CASE_BODY()
|
| /freebsd/contrib/llvm-project/libcxx/modules/std/ |
| H A D | filesystem.cppm | |
| /freebsd/contrib/llvm-project/lldb/source/Host/common/ |
| H A D | ProcessLaunchInfo.cpp | 274 if (! llvm::sys::fs::current_path(cwd)) in ConvertArgumentsForLaunchingInShell()
|
| /freebsd/contrib/llvm-project/lldb/tools/lldb-server/ |
| H A D | lldb-gdbserver.cpp | 151 if (std::error_code ec = llvm::sys::fs::current_path(cwd)) { in handle_launch()
|