Home
last modified time | relevance | path

Searched refs:ch_width (Results 1 – 10 of 10) sorted by relevance

/external/rust/crates/textwrap/src/
Dcore.rs64 fn ch_width(ch: char) -> usize { in ch_width() function
75 fn ch_width(ch: char) -> usize { in ch_width() function
182 width += ch_width(ch); in display_width()
273 if width > 0 && width + ch_width(ch) > line_width { in break_apart()
281 width = ch_width(ch); in break_apart()
285 width += ch_width(ch); in break_apart()
376 assert_eq!(ch_width(ch), 1, "char: {}", desc); in emojis_have_correct_width()
394 assert_eq!(ch_width(ch), 2, "char: {}", desc); in emojis_have_correct_width()
/external/rust/crates/clap/src/output/textwrap/
Dcore.rs70 width += ch_width(ch); in display_width()
77 fn ch_width(ch: char) -> usize { in ch_width() function
82 fn ch_width(_: char) -> usize { in ch_width() function
108 assert_eq!(ch_width(ch), 1, "char: {desc}"); in emojis_have_correct_width()
126 assert_eq!(ch_width(ch), 1, "char: {desc}"); in emojis_have_correct_width()
/external/autotest/server/site_tests/network_WiFi_Perf/
Dnetwork_WiFi_Perf.py193 ch_width = ap_config.channel_width
194 if ch_width is None:
199 test_type, ap_config.mode, ch_width)
/external/wpa_supplicant_8/src/ap/
Dap_drv_ops.c983 params.ch_width = 20; in hostapd_drv_do_acs()
985 params.ch_width = 40; in hostapd_drv_do_acs()
997 params.ch_width = 80; in hostapd_drv_do_acs()
1000 params.ch_width = 160; in hostapd_drv_do_acs()
1002 params.ch_width = 320; in hostapd_drv_do_acs()
1006 params.ch_width = op_class_to_bandwidth( in hostapd_drv_do_acs()
Ddrv_callbacks.c1171 if (acs_res->ch_width == 40) { in hostapd_acs_channel_selected()
1176 } else if (acs_res->ch_width == 80) { in hostapd_acs_channel_selected()
1190 } else if (acs_res->ch_width == 160) { in hostapd_acs_channel_selected()
1199 if (hapd->iface->conf->ieee80211be && acs_res->ch_width == 320) { in hostapd_acs_channel_selected()
2032 data->ch_switch.ch_width, in wpa_supplicant_event()
Dhostapd.c1796 enum oper_chan_width ch_width; in setup_interface2() local
1798 ch_width = op_class_to_ch_width(iface->conf->op_class); in setup_interface2()
1799 hostapd_set_oper_chwidth(iface->conf, ch_width); in setup_interface2()
/external/wpa_supplicant_8/src/drivers/
Ddriver.h2743 u16 ch_width; member
6411 enum chan_width ch_width; member
6515 u16 ch_width; member
Ddriver_nl80211_event.c1262 data.ch_switch.ch_width = convert2width(nla_get_u32(bw)); in mlme_event_ch_switch()
2626 event.acs_selected_channels.ch_width = in qca_nl80211_acs_select_ch()
2632 event.acs_selected_channels.ch_width, in qca_nl80211_acs_select_ch()
3116 event.acs_selected_channels.ch_width = in brcm_nl80211_acs_select_ch()
3134 event.acs_selected_channels.ch_width, in brcm_nl80211_acs_select_ch()
Ddriver_nl80211.c3326 nla_put_u16(msg, BRCM_VENDOR_ATTR_ACS_CHWIDTH, params->ch_width) || in wpa_driver_do_broadcom_acs()
3336 params->vht_enabled, params->ch_width); in wpa_driver_do_broadcom_acs()
12265 params->ch_width) || in nl80211_qca_do_acs()
12278 params->vht_enabled, params->eht_enabled, params->ch_width, in nl80211_qca_do_acs()
/external/wpa_supplicant_8/wpa_supplicant/
Devents.c5817 channel_width_to_string(data->ch_switch.ch_width), in wpa_supplicant_event()
5847 channel_width_to_string(data->ch_switch.ch_width), in wpa_supplicant_event()
5889 data->ch_switch.ch_width, in wpa_supplicant_event()