| /freebsd-13.1/contrib/llvm-project/lldb/source/Utility/ |
| H A D | FileSpec.cpp | 407 llvm::SmallString<64> current_path; in CopyByRemovingLastPathComponent() local 408 GetPath(current_path, false); in CopyByRemovingLastPathComponent() 416 llvm::SmallString<64> current_path; in GetLastPathComponent() local 417 GetPath(current_path, false); in GetLastPathComponent() 424 GetPath(current_path, false); in PrependPathComponent() 437 GetPath(current_path, false); in AppendPathComponent() 439 SetFile(current_path, m_style); in AppendPathComponent() 448 GetPath(current_path, false); in RemoveLastPathComponent() 481 GetPath(current_path, false); in IsAbsolute() 484 if (current_path.empty()) in IsAbsolute() [all …]
|
| /freebsd-13.1/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-13.1/contrib/subversion/subversion/libsvn_ra/ |
| H A D | compat.c | 249 const char *current_path = lrb->last_path; in log_receiver() local 261 if (! current_path) in log_receiver() 268 lrb->peg_path = apr_pstrdup(lrb->pool, current_path); in log_receiver() 282 apr_pstrdup(hash_pool, current_path)); in log_receiver() 292 current_path, lrb->kind, log_entry->revision, pool)); in log_receiver() 298 else if (strcmp(prev_path, current_path) != 0) in log_receiver() 471 const char *current_path = lrb->last_path; in gls_log_receiver() local 483 log_entry->changed_paths2, current_path, in gls_log_receiver() 491 return maybe_crop_and_send_segment(current_path, lrb->start_rev, in gls_log_receiver() 502 SVN_ERR(maybe_crop_and_send_segment(current_path, lrb->start_rev, in gls_log_receiver()
|
| /freebsd-13.1/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-13.1/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-13.1/contrib/llvm-project/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());
|
| /freebsd-13.1/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-13.1/contrib/subversion/subversion/libsvn_fs_fs/ |
| H A D | pack.c | 1214 path_order_t *current_path; in copy_reps_from_temp() local 1220 current_path = APR_ARRAY_IDX(path_order, i, path_order_t *); in copy_reps_from_temp() 1221 if (current_path->is_head) in copy_reps_from_temp() 1223 node_part = get_item(context, ¤t_path->noderev_id, TRUE); in copy_reps_from_temp() 1228 rep_part = get_item(context, ¤t_path->rep_id, TRUE); in copy_reps_from_temp() 1236 path_order_t *current_path; in copy_reps_from_temp() local 1241 current_path = APR_ARRAY_IDX(path_order, i, path_order_t *); in copy_reps_from_temp() 1242 node_part = get_item(context, ¤t_path->noderev_id, TRUE); in copy_reps_from_temp()
|
| /freebsd-13.1/contrib/subversion/subversion/libsvn_repos/ |
| H A D | rev_hunt.c | 838 svn_stringbuf_t *current_path; in svn_repos_node_location_segments() local 888 current_path = svn_stringbuf_create(path, pool); in svn_repos_node_location_segments() 897 cur_path = apr_pstrmemdup(subpool, current_path->data, in svn_repos_node_location_segments() 898 current_path->len); in svn_repos_node_location_segments() 926 svn_stringbuf_set(current_path, prev_path); in svn_repos_node_location_segments()
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/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() { 2189 return proximate(__p, current_path(), __ec); 2193 proximate(const path& __p, const path& __base = current_path()) { 2221 return relative(__p, current_path(), __ec); [all …]
|
| /freebsd-13.1/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-13.1/contrib/subversion/subversion/libsvn_fs_x/ |
| H A D | pack.c | 945 path_order_t *current_path in select_reps() local 948 if (!svn_fs_x__id_eq(&start_path->node_id, ¤t_path->node_id)) in select_reps() 952 node_part = get_item(context, ¤t_path->noderev_id, TRUE); in select_reps() 953 rep_part = get_item(context, ¤t_path->rep_id, TRUE); in select_reps() 956 APR_ARRAY_PUSH(selected, path_order_t *) = current_path; in select_reps()
|