| /freebsd-14.2/contrib/kyua/utils/fs/ |
| H A D | path_test.cpp | 190 ATF_REQUIRE(!(path("/") < path("/"))); in ATF_TEST_CASE_BODY() 191 ATF_REQUIRE(!(path("/") < path("///"))); in ATF_TEST_CASE_BODY() 195 ATF_REQUIRE( path("/a") < path("/b")); in ATF_TEST_CASE_BODY() 196 ATF_REQUIRE(!(path("/b") < path("/a"))); in ATF_TEST_CASE_BODY() 198 ATF_REQUIRE( path("/a") < path("/aa")); in ATF_TEST_CASE_BODY() 199 ATF_REQUIRE(!(path("/aa") < path("/a"))); in ATF_TEST_CASE_BODY() 206 ATF_REQUIRE(path("/") == path("///")); in ATF_TEST_CASE_BODY() 207 ATF_REQUIRE(path("/a") == path("///a")); in ATF_TEST_CASE_BODY() 218 ATF_REQUIRE(path("/") != path("//a/")); in ATF_TEST_CASE_BODY() 219 ATF_REQUIRE(path("/a") != path("a///")); in ATF_TEST_CASE_BODY() [all …]
|
| H A D | path.cpp | 90 fs::path::path(const std::string& text) : in path() function in fs::path 121 fs::path 154 fs::path 176 fs::path::is_parent_of(path p) const in is_parent_of() 182 } while (p != fs::path(".") && p != fs::path("/")); in is_parent_of() 216 fs::path::operator<(const fs::path& p) const in operator <() 233 fs::path::operator==(const fs::path& p) const in operator ==() 248 fs::path::operator!=(const fs::path& p) const in operator !=() 267 fs::path 283 fs::path [all …]
|
| H A D | operations.hpp | 50 void copy(const fs::path&, const fs::path&); 51 path current_path(void); 52 bool exists(const fs::path&); 55 bool is_directory(const fs::path&); 56 void mkdir(const path&, const int); 57 void mkdir_p(const path&, const int); 60 void mount_tmpfs(const path&); 62 void rm_r(const path&); 63 void rmdir(const path&); 65 void unlink(const path&); [all …]
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__filesystem/ |
| H A D | operations.h | 37 _LIBCPP_EXPORTED_FROM_ABI path __absolute(const path&, error_code* __ec = nullptr); 38 _LIBCPP_EXPORTED_FROM_ABI path __canonical(const path&, error_code* __ec = nullptr); 75 inline _LIBCPP_HIDE_FROM_ABI bool copy_file(const path& __from, const path& __to) { in copy_file() 92 inline _LIBCPP_HIDE_FROM_ABI void copy(const path& __from, const path& __to) { in copy() 236 inline _LIBCPP_HIDE_FROM_ABI path proximate(const path& __p, const path& __base, error_code& __ec) { in proximate() 249 inline _LIBCPP_HIDE_FROM_ABI path proximate(const path& __p, const path& __base = current_path()) { 255 inline _LIBCPP_HIDE_FROM_ABI path relative(const path& __p, const path& __base, error_code& __ec) { in relative() 258 return path(); in relative() 261 return path(); in relative() 265 inline _LIBCPP_HIDE_FROM_ABI path relative(const path& __p, error_code& __ec) { in relative() [all …]
|
| /freebsd-14.2/contrib/atf/atf-c++/detail/ |
| H A D | fs_test.cpp | 166 ATF_REQUIRE(path("/") == path("///")); in ATF_TEST_CASE_BODY() 167 ATF_REQUIRE(path("/a") == path("///a")); in ATF_TEST_CASE_BODY() 168 ATF_REQUIRE(path("/a") == path("///a///")); in ATF_TEST_CASE_BODY() 183 ATF_REQUIRE(path("/") != path("//a/")); in ATF_TEST_CASE_BODY() 184 ATF_REQUIRE(path("/a") != path("a///")); in ATF_TEST_CASE_BODY() 186 ATF_REQUIRE(path("a/b/c") != path("a/b")); in ATF_TEST_CASE_BODY() 187 ATF_REQUIRE(path("a/b/c") != path("a//b")); in ATF_TEST_CASE_BODY() 188 ATF_REQUIRE(path("a/b/c") != path("/a/b/c")); in ATF_TEST_CASE_BODY() 254 ATF_REQUIRE(!(path("aaa") < path("aaa"))); in ATF_TEST_CASE_BODY() 256 ATF_REQUIRE( path("aab") < path("abc")); in ATF_TEST_CASE_BODY() [all …]
|
| H A D | fs.hpp | 67 class path { class 88 path(const path&); 93 path(const atf_fs_path_t *); 98 ~path(void); 122 path branch_path(void) const; 160 path& operator=(const path&); 189 path operator/(const path&) const; 341 directory(const path&); 359 bool exists(const path&); 377 void remove(const path&); [all …]
|
| /freebsd-14.2/sys/contrib/dev/rtw89/ |
| H A D | rtw8852c_rfk.c | 155 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode() 1506 for (path = 0; path < RTW8852C_IQK_SS; path++) { in _iqk_init() 2718 for (path = 0; path < RTW8852C_DPK_RF_PATH; path++) in _dpk_cal_select() 3854 for (path = 0; path < 2; path++) { in _ctrl_bw() 3930 for (path = 0; path < 2; path++) { in _ctrl_ch() 3946 for (path = 0; path < 2; path++) { in _rxbb_bw() 4077 for (path = 0; path < 2; path++) in rtw8852c_rck() 4122 for (path = 0; path < 2; path++) { in _rx_dck() 4187 for (path = 0; path < RF_PATH_NUM_8852C; path++) { in rtw8852c_rx_dck_track() 4206 for (path = 0; path < RF_PATH_NUM_8852C; path++) { in rtw8852c_rx_dck_track() [all …]
|
| H A D | rtw8852a_rfk.c | 98 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode() 588 path, BIT(path), tmp); in _iqk_read_xym_dbcc0() 1598 for (path = 0; path < RTW8852A_IQK_SS; path++) { in _iqk_init() 1719 for (path = 0; path < 2; path++) { in _rx_dck() 2609 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) in _dpk_cal_select() 2620 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) { in _dpk_cal_select() 2632 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) { in _dpk_cal_select() 2643 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) { in _dpk_cal_select() 2679 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) { in _dpk_force_bypass() 2724 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) { in _dpk_track() [all …]
|
| H A D | rtw8852b_rfk.c | 311 for (path = 0; path < RF_PATH_NUM_8852B; path++) { in _rx_dck() 1571 for (path = 0; path < RTW8852B_IQK_SS; path++) { in _iqk_init() 1588 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode() 2512 for (path = 0; path < RTW8852B_DPK_RF_PATH; path++) in _dpk_cal_select() 2518 for (path = 0; path < RTW8852B_DPK_RF_PATH; path++) { in _dpk_cal_select() 2528 for (path = 0; path < RTW8852B_DPK_RF_PATH; path++) { in _dpk_cal_select() 2536 for (path = 0; path < RTW8852B_DPK_RF_PATH; path++) { in _dpk_cal_select() 2603 for (path = 0; path < RF_PATH_NUM_8852B; path++) { in _dpk_track() 2709 for (path = 0; path < RF_PATH_NUM_8852B; path++) { in _set_dpd_backoff() 3753 for (path = 0; path < RF_PATH_NUM_8852B; path++) in rtw8852b_rck() [all …]
|
| H A D | rtw8851b_rfk.c | 172 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode() 586 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _rx_dck() 1578 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _iqk_init() 1762 path, dpk->cur_idx[path], phy, in _dpk_information() 2460 for (path = 0; path < RF_PATH_NUM_8851B; path++) in _dpk_cal_select() 2463 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _dpk_cal_select() 2475 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _dpk_cal_select() 2481 path, dpk->cur_idx[path]); in _dpk_cal_select() 2491 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _dpk_cal_select() 2527 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _dpk_track() [all …]
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/ |
| H A D | filesystem | 28 path(const path& p); 29 path(path&& p) noexcept; 41 path& operator=(const path& p); 52 path& operator/=(const path& p); 60 path& operator+=(const path& x); 78 path& replace_extension(const path& replacement = path()); 89 friend path operator/(const path& lhs, const path& rhs); 373 path absolute(const path& p); 376 path canonical(const path& p); 490 path relative(const path& p, const path& base=current_path()); [all …]
|
| /freebsd-14.2/sbin/pfctl/ |
| H A D | pf_ruleset.c | 94 int c = strcmp(a->path, b->path); in pf_anchor_compare() 152 strlcpy(key->path, path, sizeof(key->path)); in pf_find_anchor() 164 path++; in pf_find_ruleset() 184 path++; in pf_find_or_create_ruleset() 225 strlcpy(anchor->path, parent->path, in pf_find_or_create_ruleset() 328 if (strcmp(path, anchor->path) == 0) in _pf_find_eth_anchor() 356 path++; in pf_find_eth_ruleset() 376 path++; in pf_find_or_create_eth_ruleset() 416 strlcpy(anchor->path, parent->path, in pf_find_or_create_eth_ruleset() 458 strlcpy(path, s->anchor->path, MAXPATHLEN); in pfctl_anchor_setup() [all …]
|
| /freebsd-14.2/sbin/devfs/ |
| H A D | devfs.rules | 28 add path null unhide 29 add path zero unhide 30 add path crypto unhide 31 add path random unhide 70 add path ptmx unhide 71 add path pts unhide 73 add path fd unhide 75 add path stdin unhide 85 add path fuse unhide 86 add path zfs unhide [all …]
|
| /freebsd-14.2/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
| H A D | tst.cleanpath.d | 44 path[i++] = "/./"; 46 path[i++] = "./"; 47 path[i++] = "//"; 48 path[i++] = "/."; 49 path[i++] = "/./"; 50 path[i++] = "/./."; 51 path[i++] = "/.//"; 52 path[i++] = "."; 53 path[i++] = "/////"; 54 path[i++] = ""; [all …]
|
| /freebsd-14.2/sys/netpfil/pf/ |
| H A D | pf_ruleset.c | 91 int c = strcmp(a->path, b->path); in pf_kanchor_compare() 99 int c = strcmp(a->path, b->path); in pf_keth_anchor_compare() 143 strlcpy(key->path, path, sizeof(key->path)); in pf_find_kanchor() 184 path++; in pf_find_kruleset() 204 path++; in pf_find_or_create_kruleset() 245 strlcpy(anchor->path, parent->path, in pf_find_or_create_kruleset() 337 strlcpy(path, s->anchor->path, MAXPATHLEN); in pf_kanchor_setup() 531 path++; in pf_find_keth_ruleset() 549 strlcpy(key->path, path, sizeof(key->path)); in _pf_find_keth_anchor() 612 strlcpy(anchor->path, parent->path, in pf_find_or_create_keth_ruleset() [all …]
|
| /freebsd-14.2/contrib/kyua/engine/ |
| H A D | filters_test.cpp | 70 ATF_REQUIRE_EQ(fs::path("foo"), filter.test_program); in ATF_TEST_CASE_BODY() 137 const engine::test_filter f(fs::path("foo"), ""); in ATF_TEST_CASE_BODY() 147 const engine::test_filter f1(fs::path("foo"), ""); in ATF_TEST_CASE_BODY() 223 const engine::test_filter f(fs::path("top"), ""); in ATF_TEST_CASE_BODY() 283 const engine::test_filter f1(fs::path("d1/d2"), ""); in ATF_TEST_CASE_BODY() 295 const engine::test_filter f1(fs::path("d1/d2"), ""); in ATF_TEST_CASE_BODY() 532 state.match_test_case(fs::path("a/b/c"), "any"); in ATF_TEST_CASE_BODY() 533 state.match_test_case(fs::path("baz"), "tc"); in ATF_TEST_CASE_BODY() 534 state.match_test_case(fs::path("hey/d"), "yes"); in ATF_TEST_CASE_BODY() 549 state.match_test_program(fs::path("a/b/c")); in ATF_TEST_CASE_BODY() [all …]
|
| /freebsd-14.2/sys/fs/ext2fs/ |
| H A D | ext2_extents.c | 577 if (!path) in ext4_ext_drop_refs() 592 if (!path) in ext4_ext_path_free() 621 path = *ppath; in ext4_ext_find_extent() 747 if (path) { in ext4_ext_blkpref() 823 if (!path) in ext4_ext_dirty() 1411 path = NULL; in ext4_ext_get_blocks() 1494 if (path) { in ext4_ext_get_blocks() 1536 path--; in ext4_ext_rm_index() 1680 if (path->ep_index < EXT_FIRST_INDEX(path->ep_header)) in ext4_ext_more_to_rm() 1730 path[i].ep_index = EXT_LAST_INDEX(path[i].ep_header); in ext4_ext_remove_space() [all …]
|
| /freebsd-14.2/sys/dev/bhnd/nvram/ |
| H A D | bhnd_nvram_store_subr.c | 80 path = bhnd_nv_malloc(sizeof(*path)); in bhnd_nvstore_path_new() 81 if (path == NULL) in bhnd_nvstore_path_new() 84 path->index = NULL; in bhnd_nvstore_path_new() 85 path->num_vars = 0; in bhnd_nvstore_path_new() 95 return (path); in bhnd_nvstore_path_new() 104 bhnd_nv_free(path); in bhnd_nvstore_path_new() 728 info->path.str.value, info->path.str.value_len)); in bhnd_nvstore_var_register_path() 820 if (strcmp(alias->path->path_str, path) == 0) in bhnd_nvstore_find_alias() 981 alias->path = path; in bhnd_nvstore_register_alias() 1132 path = name; in bhnd_nvstore_parse_name_info() [all …]
|
| /freebsd-14.2/sys/cam/ |
| H A D | cam_xpt.h | 67 struct cam_path *path, void *args); 80 struct cam_path *path, 84 struct cam_path *path, 97 struct cam_path *path); 98 void xpt_free_path(struct cam_path *path); 126 #define xpt_path_lock(path) mtx_lock(xpt_path_mtx(path)) argument 127 #define xpt_path_unlock(path) mtx_unlock(xpt_path_mtx(path)) argument 128 #define xpt_path_assert(path, what) mtx_assert(xpt_path_mtx(path), (what)) argument 129 #define xpt_path_owned(path) mtx_owned(xpt_path_mtx(path)) argument 133 void *cbarg, struct cam_path *path); [all …]
|
| /freebsd-14.2/usr.sbin/ckdist/ |
| H A D | ckdist.c | 63 #define isstdin(path) ((path)[0] == '-' && !(path)[1]) argument 187 path = "(stdin)"; in ckdist() 211 warn("%s", path); in ckdist() 213 err(2, "%s", path); in ckdist() 360 if (!path) in distname() 362 name = stripath(path); in distname() 369 path = opt_dir; in distname() 370 plen = strlen(path); in distname() 372 plen = path && (s = strrchr(path, '/')) != NULL ? in distname() 399 s + 1 : path); in stripath() [all …]
|
| /freebsd-14.2/lib/libc/stdio/ |
| H A D | mktemp.c | 71 mkstemps(char *path, int slen) in mkstemps() argument 79 mkostemp(char *path, int oflags) in mkostemp() argument 87 mkstemp(char *path) in mkstemp() argument 95 mkdtemp(char *path) in mkdtemp() argument 97 return (_gettemp(AT_FDCWD, path, (int *)NULL, 1, 0, 0) ? path : (char *)NULL); in mkdtemp() 101 _mktemp(char *path) in _mktemp() argument 103 return (_gettemp(AT_FDCWD, path, (int *)NULL, 0, 0, 0) ? path : (char *)NULL); in _mktemp() 110 mktemp(char *path) in mktemp() argument 112 return (_mktemp(path)); in mktemp() 132 trv = path + strlen(path); in _gettemp() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Path.h | 25 namespace path { 82 friend const_iterator begin(StringRef path, Style style); 83 friend const_iterator end(StringRef path); 107 friend reverse_iterator rbegin(StringRef path, Style style); 108 friend reverse_iterator rend(StringRef path); 127 const_iterator end(StringRef path); 137 reverse_iterator rend(StringRef path); 223 void append(SmallVectorImpl<char> &path, const Twine &a, 269 inline void make_preferred(SmallVectorImpl<char> &path, 273 native(path, style); [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Host/common/ |
| H A D | FileSystem.cpp | 137 bool FileSystem::Exists(const Twine &path) const { return m_fs->exists(path); } in Exists() 164 m_fs->isLocal(path, b); in IsLocal() 207 SmallString<128> path; in MakeAbsolute() local 225 if (path.empty()) in Resolve() 229 SmallString<128> resolved(path.begin(), path.end()); in Resolve() 231 m_tilde_resolver->ResolveFullPath(llvm::StringRef(path.begin(), path.size()), in Resolve() 238 path.clear(); in Resolve() 251 SmallString<128> path; in Resolve() local 255 Resolve(path); in Resolve() 338 llvm::StringRef parent = llvm::sys::path::parent_path(path); in ResolveExecutableLocation() [all …]
|
| /freebsd-14.2/usr.sbin/bhyve/ |
| H A D | config.c | 54 copy = strdup(path); in _lookup_config_node() 83 path, tofree); in _lookup_config_node() 169 name = strrchr(path, '.'); in set_config_value() 172 name = path; in set_config_value() 174 node_name = strndup(path, name - path); in set_config_value() 189 value, path); in set_config_value() 214 name = path; in get_raw_config_value() 216 node_name = strndup(path, name - path); in get_raw_config_value() 282 if (path == NULL) in _expand_config_value() 293 path); in _expand_config_value() [all …]
|
| /freebsd-14.2/contrib/netbsd-tests/lib/libutil/ |
| H A D | t_pidfile.c | 83 path); in check_pidfile() 97 unlink(path); in ensure_deleted() 100 path); in ensure_deleted() 132 char *path; in generate_varrun_pidfile() local 142 return path; in generate_varrun_pidfile() 153 check_pidfile(path); in helper_default_path() 164 char *path; in ATF_TC_BODY() local 169 free(path); in ATF_TC_BODY() 180 check_pidfile(path); in helper_custom_basename() 191 char *path; in ATF_TC_BODY() local [all …]
|