Home
last modified time | relevance | path

Searched full:path (Results 1 – 25 of 4639) sorted by relevance

12345678910>>...186

/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/contrib/llvm-project/libcxx/include/__filesystem/
H A Doperations.h19 #include <__filesystem/path.h>
36 _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…
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DPath.h1 //===- llvm/Support/Path.h - Path Operating System Concept ------*- C++ -*-===//
9 // This file declares the llvm::sys::path namespace. It is designed after
11 // path class.
25 namespace path {
35 /// Check if \p S uses POSIX path rules.
48 /// Check if \p S uses Windows path rules.
54 /// Path iterator.
57 /// \a path. The traversal order is as follows:
76 StringRef Path; ///< The entire path. variable
77 StringRef Component; ///< The current component. Not necessarily in Path.
[all …]
/freebsd/contrib/kyua/utils/fs/
H A Dpath_test.cpp29 #include "utils/fs/path.hpp"
43 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()
[all …]
H A Dpath.cpp29 #include "utils/fs/path.hpp"
41 /// Normalizes an input string to a valid path.
43 /// A normalized path cannot have empty components; i.e. there can be at most
48 /// \return The normalized string, representing a path.
50 /// \throw utils::fs::invalid_path_error If the path is empty.
84 /// Creates a new path object from a textual representation of a path.
86 /// \param text A valid representation of a path in textual form.
89 /// valid path.
90 fs::path::path(const std::string& text) : in path() function in fs::path
96 /// Gets a view of the path as an array of characters.
[all …]
/freebsd/sys/contrib/edk2/Include/Library/
H A DDevicePathLib.h18 Determine whether a given device path is valid.
20 @param DevicePath A pointer to a device path data structure.
21 @param MaxSize The maximum size of the device path data structure.
41 Returns the Type field of a device path node.
43 Returns the Type field of the device path node specified by Node.
47 @param Node A pointer to a device path node data structure.
49 @return The Type field of the device path node specified by Node.
59 Returns the SubType field of a device path node.
61 Returns the SubType field of the device path node specified by Node.
65 @param Node A pointer to a device path node data structure.
[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/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/bmake/unit-tests/
H A Dvarname-dot-path.mk1 # $NetBSD: varname-dot-path.mk,v 1.3 2020/10/02 18:46:54 rillig Exp $
3 # Tests for the special .PATH variable, which TODO: describe the purpose.
5 _!= mkdir -p varname-dot-path.d
7 # By default, .PATH consists of "." and .CURDIR.
9 .if ${.PATH} != ". ${.CURDIR}"
10 . error ${.PATH}
13 # The special target .PATH adds a directory to the path.
14 .PATH: /
15 .if ${.PATH} != ". ${.CURDIR} /"
16 . error ${.PATH}
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DPath.cpp1 //===-- Path.cpp - Implement OS Path Concept ------------------------------===//
9 // This file implements the operating system Path API.
13 #include "llvm/Support/Path.h"
38 using llvm::sys::path::is_separator;
39 using llvm::sys::path::Style;
62 StringRef find_first_component(StringRef path, Style style) { in find_first_component() argument
69 if (path.empty()) in find_first_component()
70 return path; in find_first_component()
74 if (path.size() >= 2 && in find_first_component()
75 std::isalpha(static_cast<unsigned char>(path[0])) && path[1] == ':') in find_first_component()
[all …]
/freebsd/lib/libefivar/
H A Duefi-dputil.c50 Device Path services. The thing to remember is device paths are built out of
51 nodes. The device path is terminated by an end node that is length
71 // Template for an end-of-device path node.
84 Returns the size of a device path in bytes.
86 This function returns the size, in bytes, of the device path data structure
87 specified by DevicePath including the end of device path node.
90 @param DevicePath A pointer to a device path data structure.
93 @retval Others The size of a device path in bytes.
113 // Search for the end of the device path structure in GetDevicePathSize()
121 // Compute the size and add back in the size of the end device path structure in GetDevicePathSize()
[all …]
H A Defivar-dp-parse.c94 @param Str Device Path Text.
237 Get one device node from entire device path text.
239 …@param DevicePath On input, the current Device Path node; on output, the next device path node
240 @param IsInstanceEnd This node is the end of a device path instance
298 // The '(' doesn't pair with ')', invalid device path text in GetNextDeviceNodeStr()
430 Converts a generic text device path node to device path structure.
432 @param Type The type of the device path node.
433 @param TextDeviceNode The input text device path node.
435 @return A pointer to device path structure.
469 Converts a generic text device path node to device path structure.
[all …]
/freebsd/contrib/atf/atf-c++/detail/
H A Dfs_test.cpp63 // Test cases for the "path" class.
69 set_md_var("descr", "Tests the path's normalization"); in ATF_TEST_CASE_HEAD()
73 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()
[all …]
/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_store_subr.c62 * Allocate and initialize a new path instance.
67 * @param path_str The path's canonical string representation.
76 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()
[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/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()
191 printf("ip=%ju, Path:\n", ip->i_number); 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 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/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()
110 // TODO(jmmv): Not implemented. At the moment, the only reason for a path in ATF_TEST_CASE_BODY()
113 // an argument with an invalid non-empty path... 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()
[all …]
/freebsd/sys/contrib/edk2/Include/Protocol/
H A DDevicePathUtilities.h14 /// Device Path Utilities protocol
22 Returns the size of the device path, in bytes.
24 @param DevicePath Points to the start of the EFI device path.
26 @return Size Size of the specified device path, in bytes, including the end-of-path tag.
38 Create a duplicate of the specified path.
40 @param DevicePath Points to the source EFI device path.
42 @retval Pointer A pointer to the duplicate device path.
53 Create a new path by appending the second device path to the first.
56 If Src1 and Src2 are both NULL, then a copy of an end-of-device-path is returned.
58 @param Src1 Points to the first device path.
[all …]
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_path.h55 * Declaration of path related objects.
58 /****h* OpenSM/DR Path
60 * DR Path
63 * The DR Path structure encapsulates a directed route through the subnet.
71 /****s* OpenSM: DR Path/osm_dr_path_t
84 uint8_t path[IB_SUBNET_PATH_HOPS_MAX]; member
89 * Bind handle for port to which this path applies.
92 * The number of hops in this path.
94 * path
95 * The array of port numbers that comprise this path.
[all …]
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DFileSystem.cpp17 #include "llvm/Support/Path.h"
80 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
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/crypto/openssh/regress/unittests/misc/
H A Dtest_parse.c29 char *user, *host, *path; in test_parse() local
32 ASSERT_INT_EQ(parse_user_host_path("someuser@some.host:some/path", in test_parse()
33 &user, &host, &path), 0); in test_parse()
36 ASSERT_STRING_EQ(path, "some/path"); in test_parse()
37 free(user); free(host); free(path); in test_parse()
41 ASSERT_INT_EQ(parse_user_host_path("someuser@1.22.33.144:some/path", in test_parse()
42 &user, &host, &path), 0); in test_parse()
45 ASSERT_STRING_EQ(path, "some/path"); in test_parse()
46 free(user); free(host); free(path); in test_parse()
50 ASSERT_INT_EQ(parse_user_host_path("someuser@[1.22.33.144]:some/path", in test_parse()
[all …]

12345678910>>...186