Home
last modified time | relevance | path

Searched refs:current_path (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DFileSpec.cpp425 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 Datf_test.cpp248 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 Dscheduler_test.cpp566 "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 Dplain_test.cpp92 "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 Dtap_test.cpp92 "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 Drequirements_test.cpp378 .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 Dkyuafile_test.cpp386 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 Doperations_test.cpp151 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 Doperations.cpp357 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 Dauto_cleaners_test.cpp85 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 Dlua_module_test.cpp132 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 Doperations.hpp51 path current_path(void);
H A Dpath.cpp158 return fs::current_path() / *this; in to_absolute()
H A Dlua_module.cpp312 open_fs(s, fs::current_path()); in open_fs()
/freebsd/contrib/llvm-project/libcxx/include/__filesystem/
H A Doperations.h137 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 Dconfig_test.cpp81 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 Dlayout.cpp149 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 Dlayout_test.cpp58 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 Dfilesystem417 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 Disolation_test.cpp229 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 DStdTsSymbolMap.inc14 SYMBOL(current_path, std::experimental::filesystem::, <experimental/filesystem>)
/freebsd/contrib/kyua/utils/
H A Dstacktrace_test.cpp485 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 Dfilesystem.cppm
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DProcessLaunchInfo.cpp274 if (! llvm::sys::fs::current_path(cwd)) in ConvertArgumentsForLaunchingInShell()
/freebsd/contrib/llvm-project/lldb/tools/lldb-server/
H A Dlldb-gdbserver.cpp151 if (std::error_code ec = llvm::sys::fs::current_path(cwd)) { in handle_launch()

12