Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 3096) sorted by relevance

12345678910>>...124

/freebsd/contrib/kyua/utils/fs/
H A Dpath_test.cpp43 using utils::fs::path;
59 ATF_REQUIRE_EQ(".", path(".").str()); in ATF_TEST_CASE_BODY()
60 ATF_REQUIRE_EQ("..", path("..").str()); in ATF_TEST_CASE_BODY()
61 ATF_REQUIRE_EQ("/", path("/").str()); in ATF_TEST_CASE_BODY()
62 ATF_REQUIRE_EQ("/", path("///").str()); in ATF_TEST_CASE_BODY()
64 ATF_REQUIRE_EQ("foo", path("foo").str()); in ATF_TEST_CASE_BODY()
65 ATF_REQUIRE_EQ("foo/bar", path("foo/bar").str()); in ATF_TEST_CASE_BODY()
66 ATF_REQUIRE_EQ("foo/bar", path("foo/bar/").str()); in ATF_TEST_CASE_BODY()
68 ATF_REQUIRE_EQ("/foo", path("/foo").str()); in ATF_TEST_CASE_BODY()
69 ATF_REQUIRE_EQ("/foo/bar", path("/foo/bar").str()); in ATF_TEST_CASE_BODY()
[all …]
H A Dpath.cpp90 fs::path::path(const std::string& text) : in path() function in fs::path
100 fs::path::c_str(void) const in c_str()
110 fs::path::str(void) const in str()
121 fs::path
122 fs::path::branch_path(void) const in branch_path()
126 return fs::path("."); in branch_path()
128 return fs::path("/"); in branch_path()
130 return fs::path(_repr.substr(0, end_pos)); in branch_path()
138 fs::path::leaf_name(void) const in leaf_name()
154 fs::path
[all …]
H A Doperations.hpp50 void copy(const fs::path&, const fs::path&);
51 path current_path(void);
52 bool exists(const fs::path&);
53 utils::optional< path > find_in_path(const char*);
54 utils::units::bytes free_disk_space(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);
58 fs::path mkdtemp_public(const std::string&);
59 fs::path mkstemp(const std::string&);
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__filesystem/
H A Doperations.h36 _LIBCPP_EXPORTED_FROM_ABI path __absolute(const path&, error_code* __ec = nullptr);
37 _LIBCPP_EXPORTED_FROM_ABI path __canonical(const path&, error_code* __ec = nullptr);
39 __copy_file(const path& __from, const path& __to, copy_options __opt, error_code* __ec = nullptr);
41 __copy_symlink(const path& __existing_symlink, const path& __new_symlink, error_code* __ec = nullpt…
43 __copy(const path& __from, const path& __to, copy_options __opt, error_code* __ec = nullptr);
44 _LIBCPP_EXPORTED_FROM_ABI bool __create_directories(const path&, error_code* = nullptr);
46 __create_directory_symlink(const path& __to, const path& __new_symlink, error_code* __ec = nullptr);
47 _LIBCPP_EXPORTED_FROM_ABI bool __create_directory(const path&, error_code* = nullptr);
48 _LIBCPP_EXPORTED_FROM_ABI bool __create_directory(const path&, const path& __attributes, error_code…
50 __create_hard_link(const path& __to, const path& __new_hard_link, error_code* __ec = nullptr);
[all …]
/freebsd/contrib/atf/atf-c++/detail/
H A Dfs_test.cpp73 using atf::fs::path; in ATF_TEST_CASE_BODY()
75 ATF_REQUIRE_EQ(path(".").str(), "."); in ATF_TEST_CASE_BODY()
76 ATF_REQUIRE_EQ(path("..").str(), ".."); in ATF_TEST_CASE_BODY()
78 ATF_REQUIRE_EQ(path("foo").str(), "foo"); in ATF_TEST_CASE_BODY()
79 ATF_REQUIRE_EQ(path("foo/bar").str(), "foo/bar"); in ATF_TEST_CASE_BODY()
80 ATF_REQUIRE_EQ(path("foo/bar/").str(), "foo/bar"); in ATF_TEST_CASE_BODY()
82 ATF_REQUIRE_EQ(path("/foo").str(), "/foo"); in ATF_TEST_CASE_BODY()
83 ATF_REQUIRE_EQ(path("/foo/bar").str(), "/foo/bar"); in ATF_TEST_CASE_BODY()
84 ATF_REQUIRE_EQ(path("/foo/bar/").str(), "/foo/bar"); in ATF_TEST_CASE_BODY()
86 ATF_REQUIRE_EQ(path("///foo").str(), "/foo"); in ATF_TEST_CASE_BODY()
[all …]
H A Dfs.hpp67 class path { class
83 explicit path(const std::string&);
88 path(const path&);
93 path(const atf_fs_path_t *);
98 ~path(void);
122 path branch_path(void) const;
155 path to_absolute(void) const;
160 path& operator=(const path&);
165 bool operator==(const path&) const;
170 bool operator!=(const path&) const;
[all …]
/freebsd/sys/contrib/dev/rtw89/
H A Drtw8852c_rfk.c152 u8 path; in _wait_rx_mode()
156 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode()
157 if (!(kpath & BIT(path))) in _wait_rx_mode()
161 2, 5000, false, rtwdev, path, 0x00, in _wait_rx_mode()
165 path, ret); in _wait_rx_mode()
303 enum rtw89_rf_path path, u8 index) in _dack_reload_by_path()
311 path_offset = (path == RF_PATH_A ? 0 : 0x28); in _dack_reload_by_path()
319 val32 |= dack->msbk_d[path][inde in _dack_reload_by_path()
151 u8 path; _wait_rx_mode() local
302 _dack_reload_by_path(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,u8 index) _dack_reload_by_path() argument
359 _dack_reload(struct rtw89_dev * rtwdev,enum rtw89_rf_path path) _dack_reload() argument
405 _dack_reset(struct rtw89_dev * rtwdev,u8 path) _dack_reset() argument
441 rtw8852c_txck_force(struct rtw89_dev * rtwdev,u8 path,bool force,enum dac_ck ck) rtw8852c_txck_force() argument
453 rtw8852c_rxck_force(struct rtw89_dev * rtwdev,u8 path,bool force,enum adc_ck ck) rtw8852c_rxck_force() argument
645 rtw8852c_disable_rxagc(struct rtw89_dev * rtwdev,u8 path,u8 en_rxgac) rtw8852c_disable_rxagc() argument
653 _iqk_rxk_setting(struct rtw89_dev * rtwdev,u8 path) _iqk_rxk_setting() argument
697 _iqk_check_cal(struct rtw89_dev * rtwdev,u8 path,u8 ktype) _iqk_check_cal() argument
718 _iqk_one_shot(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path,u8 ktype) _iqk_one_shot() argument
781 _rxk_group_sel(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _rxk_group_sel() argument
866 _iqk_nbrxk(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_nbrxk() argument
942 _txk_group_sel(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _txk_group_sel() argument
1011 _iqk_nbtxk(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_nbtxk() argument
1063 _lok_finetune_check(struct rtw89_dev * rtwdev,u8 path) _lok_finetune_check() argument
1102 _iqk_lok(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_lok() argument
1211 _iqk_txk_setting(struct rtw89_dev * rtwdev,u8 path) _iqk_txk_setting() argument
1258 _iqk_info_iqk(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_info_iqk() argument
1301 _iqk_by_path(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_by_path() argument
1323 _iqk_get_ch_info(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,u8 path) _iqk_get_ch_info() argument
1366 _iqk_start_iqk(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_start_iqk() argument
1371 _iqk_restore(struct rtw89_dev * rtwdev,u8 path) _iqk_restore() argument
1396 _iqk_afebb_restore(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_afebb_restore() argument
1405 _iqk_preset(struct rtw89_dev * rtwdev,u8 path) _iqk_preset() argument
1419 _iqk_macbb_setting(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_macbb_setting() argument
1451 _rck(struct rtw89_dev * rtwdev,enum rtw89_rf_path path) _rck() argument
1489 u8 ch, path; _iqk_init() local
1518 _doiqk(struct rtw89_dev * rtwdev,bool force,enum rtw89_phy_idx phy_idx,u8 path) _doiqk() argument
1564 _rx_dck_value_rewrite(struct rtw89_dev * rtwdev,u8 path,u8 addr,u8 val_i,u8 val_q) _rx_dck_value_rewrite() argument
1591 _rx_dck_rek_check(struct rtw89_dev * rtwdev,u8 path) _rx_dck_rek_check() argument
1639 _rx_dck_fix_if_need(struct rtw89_dev * rtwdev,u8 path,u8 addr,u8 val_i_bs,u8 val_q_bs,u8 val_i,u8 val_q) _rx_dck_fix_if_need() argument
1664 _rx_dck_recover(struct rtw89_dev * rtwdev,u8 path) _rx_dck_recover() argument
1713 _rx_dck_toggle(struct rtw89_dev * rtwdev,u8 path) _rx_dck_toggle() argument
1732 _set_rx_dck(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,u8 path,bool is_afe) _set_rx_dck() argument
1829 _rf_direct_cntrl(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,bool is_bybb) _rf_direct_cntrl() argument
1841 _dpk_bkup_kip(struct rtw89_dev * rtwdev,const u32 reg[],u32 reg_bkup[][RTW8852C_DPK_KIP_REG_NUM],u8 path) _dpk_bkup_kip() argument
1855 _dpk_reload_kip(struct rtw89_dev * rtwdev,const u32 reg[],u32 reg_bkup[][RTW8852C_DPK_KIP_REG_NUM],u8 path) _dpk_reload_kip() argument
1868 _dpk_one_shot(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,enum rtw8852c_dpk_id id) _dpk_one_shot() argument
1903 _dpk_information(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _dpk_information() argument
1928 _dpk_bb_afe_setting(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kpath) _dpk_bb_afe_setting() argument
1958 _dpk_bb_afe_restore(struct rtw89_dev * rtwdev,u8 path) _dpk_bb_afe_restore() argument
1975 _dpk_tssi_pause(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,bool is_pause) _dpk_tssi_pause() argument
1984 _dpk_kip_control_rfc(struct rtw89_dev * rtwdev,u8 path,bool ctrl_by_kip) _dpk_kip_control_rfc() argument
1991 _dpk_txpwr_bb_force(struct rtw89_dev * rtwdev,u8 path,bool force) _dpk_txpwr_bb_force() argument
2001 _dpk_kip_restore(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _dpk_kip_restore() argument
2011 _dpk_lbk_rxiqk(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _dpk_lbk_rxiqk() argument
2058 _dpk_rf_setting(struct rtw89_dev * rtwdev,u8 gain,enum rtw89_rf_path path,u8 kidx) _dpk_rf_setting() argument
2100 _dpk_tpg_sel(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,u8 kidx) _dpk_tpg_sel() argument
2123 _dpk_sync_check(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,u8 kidx) _dpk_sync_check() argument
2202 _dpk_kset_query(struct rtw89_dev * rtwdev,enum rtw89_rf_path path) _dpk_kset_query() argument
2212 _dpk_kip_set_txagc(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 dbm,bool set_from_bb) _dpk_kip_set_txagc() argument
2224 _dpk_gainloss(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kidx) _dpk_gainloss() argument
2281 _dpk_kip_set_rxagc(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kidx) _dpk_kip_set_rxagc() argument
2309 _dpk_bypass_rxiqc(struct rtw89_dev * rtwdev,enum rtw89_rf_path path) _dpk_bypass_rxiqc() argument
2318 _dpk_agc(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kidx,u8 init_xdbm,u8 loss_only) _dpk_agc() argument
2448 _dpk_idl_mpa(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kidx) _dpk_idl_mpa() argument
2497 _dpk_reload_check(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _dpk_reload_check() argument
2530 _dpk_kip_preset_8852c(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kidx) _dpk_kip_preset_8852c() argument
2550 _dpk_para_query(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,u8 kidx) _dpk_para_query() argument
2568 _dpk_gain_normalize_8852c(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kidx,bool is_execute) _dpk_gain_normalize_8852c() argument
2615 _dpk_on(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kidx) _dpk_on() argument
2637 _dpk_main(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 gain) _dpk_main() argument
2674 _dpk_init(struct rtw89_dev * rtwdev,u8 path) _dpk_init() argument
2682 _dpk_drf_direct_cntrl(struct rtw89_dev * rtwdev,u8 path,bool is_bybb) _dpk_drf_direct_cntrl() argument
2697 u8 path; _dpk_cal_select() local
2786 u8 path, kpath; _dpk_force_bypass() local
2813 _dpk_onoff(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,bool off) _dpk_onoff() argument
2831 u8 path, kidx; _dpk_track() local
2897 _tssi_set_sys(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_set_sys() argument
2915 _tssi_ini_txpwr_ctrl_bb(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_ini_txpwr_ctrl_bb() argument
2924 _tssi_ini_txpwr_ctrl_bb_he_tb(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_ini_txpwr_ctrl_bb_he_tb() argument
2932 _tssi_set_dck(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_set_dck() argument
2951 _tssi_set_bbgain_split(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_set_bbgain_split() argument
2959 _tssi_set_tmeter_tbl(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_set_tmeter_tbl() argument
3145 _tssi_slope_cal_org(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_slope_cal_org() argument
3162 _tssi_set_aligk_default(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_set_aligk_default() argument
3188 _tssi_set_slope(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_set_slope() argument
3196 _tssi_run_slope(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_run_slope() argument
3204 _tssi_set_track(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_set_track() argument
3213 _tssi_set_txagc_offset_mv_avg(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_set_txagc_offset_mv_avg() argument
3223 u32 i, path = RF_PATH_A, path_max = RF_PATH_NUM_8852C; _tssi_enable() local
3251 u32 i, path = RF_PATH_A, path_max = RF_PATH_NUM_8852C; _tssi_disable() local
3573 _tssi_get_ofdm_de(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_get_ofdm_de() argument
3637 _tssi_get_ofdm_trim_de(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_get_ofdm_trim_de() argument
3711 u32 i, path = RF_PATH_A, path_max = RF_PATH_NUM_8852C; _tssi_set_efuse_to_de() local
3768 rtw8852c_tssi_cont_en(struct rtw89_dev * rtwdev,bool en,enum rtw89_rf_path path) rtw8852c_tssi_cont_en() argument
3799 _bw_setting(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,enum rtw89_bandwidth bw,bool is_dav) _bw_setting() argument
3848 u8 kpath, path; _ctrl_bw() local
3876 _ch_setting(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,u8 central_ch,enum rtw89_band band,bool is_dav) _ch_setting() argument
3915 u8 kpath, path; _ctrl_ch() local
3942 u8 path; _rxbb_bw() local
3975 int path; _lck_keep_thermal() local
3988 int path = rtwdev->dbcc_en ? 2 : 1; _lck() local
4012 int path; rtw8852c_lck_track() local
4075 u8 path; rtw8852c_rck() local
4112 u8 path, kpath; _rx_dck() local
4179 int path; rtw8852c_rx_dck_track() local
4244 u32 i, path = RF_PATH_A, path_max = RF_PATH_NUM_8852C; rtw8852c_tssi() local
4279 u32 i, path = RF_PATH_A, path_max = RF_PATH_NUM_8852C; rtw8852c_tssi_scan() local
[all...]
H A Drtw8852a_rfk.c94 u8 path; in _wait_rx_mode() local
98 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode()
99 if (!(kpath & BIT(path))) in _wait_rx_mode()
103 2, 5000, false, rtwdev, path, 0x00, in _wait_rx_mode()
107 path, ret); in _wait_rx_mode()
254 enum rtw89_rf_path path, u8 index) in _dack_reload_by_path() argument
266 if (path == RF_PATH_A) in _dack_reload_by_path()
275 tmp |= dack->msbk_d[path][index][i + 12] << (i * 8); in _dack_reload_by_path()
283 tmp |= dack->msbk_d[path][index][i + 8] << (i * 8); in _dack_reload_by_path()
291 tmp |= dack->msbk_d[path][index][i + 4] << (i * 8); in _dack_reload_by_path()
[all …]
H A Drtw8852b_rfk.c235 enum rtw89_rf_path path, bool is_bybb) in _rfk_rf_direct_cntrl()
238 rtw89_write_rf(rtwdev, path, RR_RSV1, RR_RSV1_RST, 0x1); in _rfk_rf_direct_cntrl()
240 rtw89_write_rf(rtwdev, path, RR_RSV1, RR_RSV1_RST, 0x0); in _rfk_rf_direct_cntrl()
244 enum rtw89_rf_path path, bool is_bybb) in _rfk_drf_direct_cntrl()
247 rtw89_write_rf(rtwdev, path, RR_BBDC, RR_BBDC_SEL, 0x1); in _rfk_drf_direct_cntrl()
249 rtw89_write_rf(rtwdev, path, RR_BBDC, RR_BBDC_SEL, 0x0); in _rfk_drf_direct_cntrl()
252 static bool _iqk_check_cal(struct rtw89_dev *rtwdev, u8 path) in _iqk_check_cal()
269 rtw89_debug(rtwdev, RTW89_DBG_RFK, "[IQK]S%x, ret=%d\n", path, ret); in _iqk_check_cal()
271 rtw89_debug(rtwdev, RTW89_DBG_RFK, "[IQK]S%x, 0x8008 = 0x%x\n", path, val); in _iqk_check_cal()
295 enum rtw89_rf_path path) in _set_rx_dck()
234 _rfk_rf_direct_cntrl(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,bool is_bybb) _rfk_rf_direct_cntrl() argument
243 _rfk_drf_direct_cntrl(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,bool is_bybb) _rfk_drf_direct_cntrl() argument
251 _iqk_check_cal(struct rtw89_dev * rtwdev,u8 path) _iqk_check_cal() argument
294 _set_rx_dck(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _set_rx_dck() argument
304 u8 path, dck_tune; _rx_dck() local
334 _rck(struct rtw89_dev * rtwdev,enum rtw89_rf_path path) _rck() argument
486 _check_addc(struct rtw89_dev * rtwdev,enum rtw89_rf_path path) _check_addc() argument
586 _check_dadc(struct rtw89_dev * rtwdev,enum rtw89_rf_path path) _check_dadc() argument
790 _iqk_rxk_setting(struct rtw89_dev * rtwdev,u8 path) _iqk_rxk_setting() argument
814 _iqk_one_shot(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path,u8 ktype) _iqk_one_shot() argument
869 _rxk_group_sel(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _rxk_group_sel() argument
927 _iqk_nbrxk(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_nbrxk() argument
975 _iqk_rxclk_setting(struct rtw89_dev * rtwdev,u8 path) _iqk_rxclk_setting() argument
1014 _txk_group_sel(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _txk_group_sel() argument
1077 _iqk_nbtxk(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_nbtxk() argument
1125 _lok_res_table(struct rtw89_dev * rtwdev,u8 path,u8 ibias) _lok_res_table() argument
1145 _lok_finetune_check(struct rtw89_dev * rtwdev,u8 path) _lok_finetune_check() argument
1189 _iqk_lok(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_lok() argument
1271 _iqk_txk_setting(struct rtw89_dev * rtwdev,u8 path) _iqk_txk_setting() argument
1301 _iqk_txclk_setting(struct rtw89_dev * rtwdev,u8 path) _iqk_txclk_setting() argument
1314 _iqk_info_iqk(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_info_iqk() argument
1345 _iqk_by_path(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_by_path() argument
1384 _iqk_get_ch_info(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,u8 path) _iqk_get_ch_info() argument
1446 _iqk_start_iqk(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_start_iqk() argument
1451 _iqk_restore(struct rtw89_dev * rtwdev,u8 path) _iqk_restore() argument
1480 _iqk_afebb_restore(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_afebb_restore() argument
1505 _iqk_preset(struct rtw89_dev * rtwdev,u8 path) _iqk_preset() argument
1528 _iqk_macbb_setting(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_macbb_setting() argument
1554 u8 idx, path; _iqk_init() local
1585 u8 path; _wait_rx_mode() local
1610 _doiqk(struct rtw89_dev * rtwdev,bool force,enum rtw89_phy_idx phy_idx,u8 path) _doiqk() argument
1661 _dpk_bkup_kip(struct rtw89_dev * rtwdev,const u32 reg[],u32 reg_bkup[][RTW8852B_DPK_KIP_REG_NUM],u8 path) _dpk_bkup_kip() argument
1674 _dpk_reload_kip(struct rtw89_dev * rtwdev,const u32 reg[],const u32 reg_bkup[][RTW8852B_DPK_KIP_REG_NUM],u8 path) _dpk_reload_kip() argument
1699 _dpk_onoff(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,bool off) _dpk_onoff() argument
1714 _dpk_one_shot(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,enum rtw8852b_dpk_id id) _dpk_one_shot() argument
1756 _dpk_rx_dck(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _dpk_rx_dck() argument
1763 _dpk_information(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _dpk_information() argument
1788 _dpk_bb_afe_setting(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kpath) _dpk_bb_afe_setting() argument
1805 _dpk_bb_afe_restore(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kpath) _dpk_bb_afe_restore() argument
1821 _dpk_tssi_pause(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,bool is_pause) _dpk_tssi_pause() argument
1831 _dpk_kip_restore(struct rtw89_dev * rtwdev,enum rtw89_rf_path path) _dpk_kip_restore() argument
1842 _dpk_lbk_rxiqk(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _dpk_lbk_rxiqk() argument
1885 _dpk_get_thermal(struct rtw89_dev * rtwdev,u8 kidx,enum rtw89_rf_path path) _dpk_get_thermal() argument
1902 _dpk_rf_setting(struct rtw89_dev * rtwdev,u8 gain,enum rtw89_rf_path path,u8 kidx) _dpk_rf_setting() argument
1933 _dpk_bypass_rxcfir(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,bool is_bypass) _dpk_bypass_rxcfir() argument
1955 _dpk_tpg_sel(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,u8 kidx) _dpk_tpg_sel() argument
1972 _dpk_table_select(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,u8 kidx,u8 gain) _dpk_table_select() argument
1983 _dpk_sync_check(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,u8 kidx) _dpk_sync_check() argument
2026 _dpk_sync(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kidx) _dpk_sync() argument
2103 _dpk_gainloss(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kidx) _dpk_gainloss() argument
2110 _dpk_kip_preset(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kidx) _dpk_kip_preset() argument
2117 _dpk_kip_pwr_clk_on(struct rtw89_dev * rtwdev,enum rtw89_rf_path path) _dpk_kip_pwr_clk_on() argument
2127 _dpk_kip_set_txagc(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 txagc) _dpk_kip_set_txagc() argument
2138 _dpk_kip_set_rxagc(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _dpk_kip_set_rxagc() argument
2156 _dpk_set_offset(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,s8 gain_offset) _dpk_set_offset() argument
2218 _dpk_agc(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kidx,u8 init_txagc,bool loss_only) _dpk_agc() argument
2365 _dpk_idl_mpa(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kidx,u8 gain) _dpk_idl_mpa() argument
2379 _dpk_fill_result(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kidx,u8 gain,u8 txagc) _dpk_fill_result() argument
2418 _dpk_reload_check(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _dpk_reload_check() argument
2445 _dpk_main(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 gain) _dpk_main() argument
2501 u8 path; _dpk_cal_select() local
2569 u8 path, kpath; _dpk_force_bypass() local
2598 u8 path, kidx; _dpk_track() local
2699 u8 tx_scale, ofdm_bkof, path, kpath; _set_dpd_backoff() local
2724 _tssi_rf_setting(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_rf_setting() argument
2736 _tssi_set_sys(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_set_sys() argument
2755 _tssi_ini_txpwr_ctrl_bb(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_ini_txpwr_ctrl_bb() argument
2764 _tssi_ini_txpwr_ctrl_bb_he_tb(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_ini_txpwr_ctrl_bb_he_tb() argument
2772 _tssi_set_dck(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_set_dck() argument
2780 _tssi_set_tmeter_tbl(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_set_tmeter_tbl() argument
2938 _tssi_set_dac_gain_tbl(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_set_dac_gain_tbl() argument
2946 _tssi_slope_cal_org(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_slope_cal_org() argument
2962 _tssi_alignment_default(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,bool all) _tssi_alignment_default() argument
3020 _tssi_set_tssi_slope(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_set_tssi_slope() argument
3028 _tssi_set_tssi_track(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_set_tssi_track() argument
3038 _tssi_set_txagc_offset_mv_avg(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_set_txagc_offset_mv_avg() argument
3233 _tssi_get_ofdm_de(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_get_ofdm_de() argument
3269 _tssi_get_ofdm_trim_de(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_get_ofdm_trim_de() argument
3361 _tssi_alimentk_dump_result(struct rtw89_dev * rtwdev,enum rtw89_rf_path path) _tssi_alimentk_dump_result() argument
3385 _tssi_alimentk_done(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_alimentk_done() argument
3421 _tssi_hw_tx(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u16 cnt,u16 period,s16 pwr_dbm,u8 enable) _tssi_hw_tx() argument
3495 _tssi_get_cw_report(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,const s16 * power,u32 * tssi_cw_rpt) _tssi_get_cw_report() argument
3569 _tssi_alimentk(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_alimentk() argument
3751 u8 path; rtw8852b_rck() local
3945 _bw_setting(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,enum rtw89_bandwidth bw,bool dav) _bw_setting() argument
4073 _ch_setting(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,u8 central_ch,bool dav) _ch_setting() argument
4118 _set_rxbb_bw(struct rtw89_dev * rtwdev,enum rtw89_bandwidth bw,enum rtw89_rf_path path) _set_rxbb_bw() argument
4141 u8 kpath, path; _rxbb_bw() local
[all...]
H A Drtw8851b_rfk.c141 u8 path) in _adc_fifo_rst() argument
149 enum rtw89_rf_path path, bool is_bybb) in _rfk_rf_direct_cntrl() argument
152 rtw89_write_rf(rtwdev, path, RR_RSV1, RR_RSV1_RST, 0x1); in _rfk_rf_direct_cntrl()
154 rtw89_write_rf(rtwdev, path, RR_RSV1, RR_RSV1_RST, 0x0); in _rfk_rf_direct_cntrl()
158 enum rtw89_rf_path path, bool is_bybb) in _rfk_drf_direct_cntrl() argument
161 rtw89_write_rf(rtwdev, path, RR_BBDC, RR_BBDC_SEL, 0x1); in _rfk_drf_direct_cntrl()
163 rtw89_write_rf(rtwdev, path, RR_BBDC, RR_BBDC_SEL, 0x0); in _rfk_drf_direct_cntrl()
169 u8 path; in _wait_rx_mode() local
172 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode()
173 if (!(kpath & BIT(path))) in _wait_rx_mode()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dfilesystem18 // `class path` from http://eel.is/c++draft/fs.class.path.general#6
19 class path {
27 path() noexcept;
28 path(const path& p);
29 path(path&& p) noexcept;
30 path(string_type&& source, format fmt = auto_format);
32 path(const Source& source, format fmt = auto_format);
34 path(InputIterator first, InputIterator last, format fmt = auto_format);
36 path(const Source& source, const locale& loc, format fmt = auto_format);
38path(InputIterator first, InputIterator last, const locale& loc, format fmt = auto_format);
[all …]
/freebsd/sbin/pfctl/
H A Dpf_ruleset.c93 int c = strcmp(a->path, b->path); in pf_anchor_compare()
144 pf_find_anchor(const char *path) in pf_find_anchor() argument
151 strlcpy(key->path, path, sizeof(key->path)); in pf_find_anchor()
158 pf_find_ruleset(const char *path) in pf_find_ruleset() argument
162 while (*path == '/') in pf_find_ruleset()
163 path++; in pf_find_ruleset()
164 if (!*path) in pf_find_ruleset()
166 anchor = pf_find_anchor(path); in pf_find_ruleset()
174 pf_find_or_create_ruleset(const char *path) in pf_find_or_create_ruleset() argument
180 if (path[0] == 0) in pf_find_or_create_ruleset()
[all …]
/freebsd/sys/netpfil/pf/
H A Dpf_ruleset.c90 int c = strcmp(a->path, b->path); in pf_kanchor_compare()
98 int c = strcmp(a->path, b->path); in pf_keth_anchor_compare()
135 pf_find_kanchor(const char *path) in pf_find_kanchor() argument
142 strlcpy(key->path, path, sizeof(key->path)); in pf_find_kanchor()
178 pf_find_kruleset(const char *path) in pf_find_kruleset() argument
182 while (*path == '/') in pf_find_kruleset()
183 path++; in pf_find_kruleset()
184 if (!*path) in pf_find_kruleset()
186 anchor = pf_find_kanchor(path); in pf_find_kruleset()
194 pf_find_or_create_kruleset(const char *path) in pf_find_or_create_kruleset() argument
[all …]
/freebsd/sbin/devfs/
H A Ddevfs.rules28 add path null unhide
29 add path zero unhide
30 add path crypto unhide
31 add path random unhide
32 add path urandom unhide
38 add path 'ptyp*' unhide
39 add path 'ptyq*' unhide
40 add path 'ptyr*' unhide
41 add path 'ptys*' unhide
42 add path 'ptyP*' unhide
[all …]
/freebsd/contrib/kyua/engine/
H A Dfilters_test.cpp50 return engine::test_filter(fs::path(test_program), test_case); in mkfilter()
60 const engine::test_filter filter(fs::path("foo/bar"), "baz"); in ATF_TEST_CASE_BODY()
61 ATF_REQUIRE_EQ(fs::path("foo/bar"), filter.test_program); in ATF_TEST_CASE_BODY()
70 ATF_REQUIRE_EQ(fs::path("foo"), filter.test_program); in ATF_TEST_CASE_BODY()
120 const engine::test_filter filter(fs::path("foo/bar"), "baz"); in ATF_TEST_CASE_BODY()
129 const engine::test_filter f(fs::path("foo/bar"), "baz"); in ATF_TEST_CASE_BODY()
133 const engine::test_filter f(fs::path("foo/bar"), ""); 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()
148 const engine::test_filter f2(fs::path("foo"), "bar"); in ATF_TEST_CASE_BODY()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.cleanpath.d34 path[i++] = "/foo/bar/baz";
35 path[i++] = "/foo/bar///baz/";
36 path[i++] = "/foo/bar/baz/";
37 path[i++] = "/foo/bar/baz//";
38 path[i++] = "/foo/bar/baz/.";
39 path[i++] = "/foo/bar/baz/./";
40 path[i++] = "/foo/bar/../../baz/.//";
41 path[i++] = "foo/bar/./././././baz/";
42 path[i++] = "/foo/bar/baz/../../../../../../";
43 path[i++] = "/../../../../../../";
[all …]
/freebsd/sys/fs/ext2fs/
H A Dext2_extents.c184 ext4_ext_print_path(struct inode *ip, struct ext4_extent_path *path) in ext4_ext_print_path() argument
188 depth = path->ep_depth; in ext4_ext_print_path()
193 for (k = 0; k <= depth && error == 0; k++, path++) { in ext4_ext_print_path()
194 if (path->ep_index) { in ext4_ext_print_path()
195 error = ext4_ext_walk_index(ip, path->ep_index, in ext4_ext_print_path()
197 } else if (path->ep_ext) { in ext4_ext_print_path()
198 error = ext4_ext_walk_extent(ip, path->ep_ext); in ext4_ext_print_path()
495 ext4_ext_binsearch_index(struct ext4_extent_path *path, int blk) in ext4_ext_binsearch_index() argument
500 eh = path->ep_header; in ext4_ext_binsearch_index()
516 path in ext4_ext_binsearch_index()
520 ext4_ext_binsearch_ext(struct ext4_extent_path * path,int blk) ext4_ext_binsearch_ext() argument
548 ext4_ext_fill_path_bdata(struct ext4_extent_path * path,struct buf * bp,uint64_t blk) ext4_ext_fill_path_bdata() argument
563 ext4_ext_fill_path_buf(struct ext4_extent_path * path,struct buf * bp) ext4_ext_fill_path_buf() argument
573 ext4_ext_drop_refs(struct ext4_extent_path * path) ext4_ext_drop_refs() argument
589 ext4_ext_path_free(struct ext4_extent_path * path) ext4_ext_path_free() argument
604 struct ext4_extent_path *path; ext4_ext_find_extent() local
737 ext4_ext_blkpref(struct inode * ip,struct ext4_extent_path * path,e4fs_daddr_t block) ext4_ext_blkpref() argument
791 ext4_ext_next_leaf_block(struct inode * ip,struct ext4_extent_path * path) ext4_ext_next_leaf_block() argument
814 ext4_ext_dirty(struct inode * ip,struct ext4_extent_path * path) ext4_ext_dirty() argument
844 ext4_ext_insert_index(struct inode * ip,struct ext4_extent_path * path,uint32_t lblk,e4fs_daddr_t blk) ext4_ext_insert_index() argument
924 ext4_ext_split(struct inode * ip,struct ext4_extent_path * path,struct ext4_extent * newext,int at) ext4_ext_split() argument
1082 ext4_ext_grow_indepth(struct inode * ip,struct ext4_extent_path * path,struct ext4_extent * newext) ext4_ext_grow_indepth() argument
1143 ext4_ext_create_new_leaf(struct inode * ip,struct ext4_extent_path * path,struct ext4_extent * newext) ext4_ext_create_new_leaf() argument
1197 ext4_ext_correct_indexes(struct inode * ip,struct ext4_extent_path * path) ext4_ext_correct_indexes() argument
1235 ext4_ext_insert_extent(struct inode * ip,struct ext4_extent_path * path,struct ext4_extent * newext) ext4_ext_insert_extent() argument
1400 struct ext4_extent_path *path; ext4_ext_get_blocks() local
1531 ext4_ext_rm_index(struct inode * ip,struct ext4_extent_path * path) ext4_ext_rm_index() argument
1548 ext4_ext_rm_leaf(struct inode * ip,struct ext4_extent_path * path,uint64_t start) ext4_ext_rm_leaf() argument
1674 ext4_ext_more_to_rm(struct ext4_extent_path * path) ext4_ext_more_to_rm() argument
1695 struct ext4_extent_path *path; ext4_ext_remove_space() local
[all...]
/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_store_subr.c76 bhnd_nvstore_path *path; in bhnd_nvstore_path_new() local
79 path = bhnd_nv_malloc(sizeof(*path)); in bhnd_nvstore_path_new()
80 if (path == NULL) in bhnd_nvstore_path_new()
83 path->index = NULL; in bhnd_nvstore_path_new()
84 path->num_vars = 0; in bhnd_nvstore_path_new()
86 path->pending = bhnd_nvram_plist_new(); in bhnd_nvstore_path_new()
87 if (path->pending == NULL) in bhnd_nvstore_path_new()
90 path->path_str = bhnd_nv_strndup(path_str, path_len); in bhnd_nvstore_path_new()
91 if (path->path_str == NULL) in bhnd_nvstore_path_new()
94 return (path); in bhnd_nvstore_path_new()
[all …]
/freebsd/sys/cam/
H A Dcam_xpt.h66 struct cam_path *path, void *args);
79 struct cam_path *path,
83 struct cam_path *path,
96 struct cam_path *path);
97 void xpt_free_path(struct cam_path *path);
98 void xpt_path_counts(struct cam_path *path, uint32_t *bus_ref,
103 int xpt_path_comp_dev(struct cam_path *path,
105 char * xpt_path_string(struct cam_path *path, char *str,
107 void xpt_path_sbuf(struct cam_path *path, struct sbuf *sb);
108 path_id_t xpt_path_path_id(struct cam_path *path);
[all …]
/freebsd/usr.sbin/ckdist/
H A Dckdist.c63 #define isstdin(path) ((path)[0] == '-' && !(path)[1]) argument
74 static int ckdist(const char *path, int type);
75 static int chkmd5(FILE * fp, const char *path);
76 static int chkinf(FILE * fp, const char *path);
77 static int report(const char *path, const char *name, int error);
78 static const char *distname(const char *path, const char *name,
80 static const char *stripath(const char *path);
81 static int distfile(const char *path);
83 static int fail(const char *path, const char *msg);
181 ckdist(const char *path, int type) in ckdist() argument
[all …]
/freebsd/lib/libc/stdio/
H A Dmktemp.c52 mkostempsat(int dfd, char *path, int slen, int oflags) in mkostempsat() argument
56 return (_gettemp(dfd, path, &fd, 0, slen, oflags) ? fd : -1); in mkostempsat()
60 mkostemps(char *path, int slen, int oflags) in mkostemps() argument
64 return (_gettemp(AT_FDCWD, path, &fd, 0, slen, oflags) ? fd : -1); in mkostemps()
68 mkstemps(char *path, int slen) in mkstemps() argument
72 return (_gettemp(AT_FDCWD, path, &fd, 0, slen, 0) ? fd : -1); in mkstemps()
76 mkostemp(char *path, int oflags) in mkostemp() argument
80 return (_gettemp(AT_FDCWD, path, &fd, 0, 0, oflags) ? fd : -1); in mkostemp()
84 mkstemp(char *path) in mkstemp() argument
88 return (_gettemp(AT_FDCWD, path, &fd, 0, 0, 0) ? fd : -1); in mkstemp()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DPath.h25 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);
122 const_iterator begin(StringRef path, Style style = Style::native);
127 const_iterator end(StringRef path);
132 reverse_iterator rbegin(StringRef path, Style style = Style::native);
137 reverse_iterator rend(StringRef path);
155 void remove_filename(SmallVectorImpl<char> &path, Style style = Style::native);
[all …]
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DFileSystem.cpp80 llvm::ErrorOr<vfs::Status> FileSystem::GetStatus(const Twine &path) const { in GetStatus()
81 return m_fs->status(path); in GetStatus()
91 sys::TimePoint<> FileSystem::GetModificationTime(const Twine &path) const { in GetModificationTime()
92 ErrorOr<vfs::Status> status = m_fs->status(path); in GetModificationTime()
104 uint64_t FileSystem::GetByteSize(const Twine &path) const { in GetByteSize()
105 ErrorOr<vfs::Status> status = m_fs->status(path); in GetByteSize()
122 uint32_t FileSystem::GetPermissions(const Twine &path) const { in GetPermissions()
124 return GetPermissions(path, ec); in GetPermissions()
127 uint32_t FileSystem::GetPermissions(const Twine &path, in GetPermissions() argument
129 ErrorOr<vfs::Status> status = m_fs->status(path); in GetPermissions()
172 EnumerateDirectory(Twine path,bool find_directories,bool find_files,bool find_other,EnumerateDirectoryCallbackType callback,void * callback_baton) EnumerateDirectory() argument
207 SmallString<128> path; MakeAbsolute() local
219 GetRealPath(const Twine & path,SmallVectorImpl<char> & output) const GetRealPath() argument
224 Resolve(SmallVectorImpl<char> & path) Resolve() argument
251 SmallString<128> path; Resolve() local
266 GetMemoryBuffer(const llvm::Twine & path,uint64_t size,uint64_t offset,bool is_volatile) GetMemoryBuffer() argument
285 CreateWritableDataBuffer(const llvm::Twine & path,uint64_t size,uint64_t offset) CreateWritableDataBuffer() argument
297 CreateDataBuffer(const llvm::Twine & path,uint64_t size,uint64_t offset) CreateDataBuffer() argument
338 llvm::StringRef path = *error_or_path; ResolveExecutableLocation() local
368 OpenWithFS(const FileSystem & fs,const char * path,int flags,int mode) OpenWithFS() argument
446 auto path = file_spec.GetPath(); Open() local
469 RemoveFile(const llvm::Twine & path) RemoveFile() argument
[all...]
/freebsd/usr.sbin/bhyve/
H A Dconfig.c49 _lookup_config_node(nvlist_t *parent, const char *path, bool create) in _lookup_config_node() argument
54 copy = strdup(path); in _lookup_config_node()
61 warnx("Invalid configuration node: %s", path); in _lookup_config_node()
83 path, tofree); in _lookup_config_node()
106 create_config_node(const char *path) in create_config_node() argument
109 return (_lookup_config_node(config_root, path, true)); in create_config_node()
113 find_config_node(const char *path) in find_config_node() argument
116 return (_lookup_config_node(config_root, path, false)); in find_config_node()
120 create_relative_config_node(nvlist_t *parent, const char *path) in create_relative_config_node() argument
123 return (_lookup_config_node(parent, path, true)); in create_relative_config_node()
[all …]
/freebsd/contrib/netbsd-tests/lib/libutil/
H A Dt_pidfile.c71 check_pidfile(const char *path) in check_pidfile() argument
76 printf("Validating contents of pidfile '%s'\n", path); in check_pidfile()
78 if ((file = fopen(path, "r")) == NULL) in check_pidfile()
79 errx(EXIT_FAILURE, "Cannot open expected pidfile '%s'", path); in check_pidfile()
83 path); in check_pidfile()
93 ensure_deleted(const char *path) in ensure_deleted() argument
95 printf("Ensuring pidfile %s does not exist any more\n", path); in ensure_deleted()
96 if (access(path, R_OK) != -1) { in ensure_deleted()
97 unlink(path); in ensure_deleted()
100 path); in ensure_deleted()
[all …]

12345678910>>...124