Home
last modified time | relevance | path

Searched refs:num_rates (Results 1 – 21 of 21) sorted by relevance

/third_party/ffmpeg/libavresample/tests/
Davresample.c210 int num_formats, num_rates, num_layouts; in main() local
214 num_rates = 2; in main()
227 num_rates = strtol(argv[2], NULL, 0); in main()
228 num_rates = av_clip(num_rates, 1, FF_ARRAY_ELEMS(rates)); in main()
262 for (m = 0; m < num_rates; m++) { in main()
279 for (n = 0; n < num_rates; n++) { in main()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dhw_features.c186 iface->num_rates = 0; in hostapd_prepare_rates()
189 os_calloc(mode->num_rates, sizeof(struct hostapd_rate_data)); in hostapd_prepare_rates()
196 for (i = 0; i < mode->num_rates; i++) { in hostapd_prepare_rates()
204 rate = &iface->current_rates[iface->num_rates]; in hostapd_prepare_rates()
211 iface->num_rates, rate->rate, rate->flags); in hostapd_prepare_rates()
212 iface->num_rates++; in hostapd_prepare_rates()
215 if ((iface->num_rates == 0 || num_basic_rates == 0) && in hostapd_prepare_rates()
219 iface->num_rates, num_basic_rates); in hostapd_prepare_rates()
Dctrl_iface_ap.c772 if (iface->current_rates && iface->num_rates) { in hostapd_ctrl_iface_status()
778 for (j = 0; j < iface->num_rates; j++) { in hostapd_ctrl_iface_status()
Dhostapd.h489 int num_rates; member
Dieee802_11.c96 num = hapd->iface->num_rates; in hostapd_eid_supp_rates()
108 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num; in hostapd_eid_supp_rates()
139 num = hapd->iface->num_rates; in hostapd_eid_ext_supp_rates()
150 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num + 8; in hostapd_eid_ext_supp_rates()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dhw_features.c186 iface->num_rates = 0; in hostapd_prepare_rates()
189 os_calloc(mode->num_rates, sizeof(struct hostapd_rate_data)); in hostapd_prepare_rates()
196 for (i = 0; i < mode->num_rates; i++) { in hostapd_prepare_rates()
204 rate = &iface->current_rates[iface->num_rates]; in hostapd_prepare_rates()
211 iface->num_rates, rate->rate, rate->flags); in hostapd_prepare_rates()
212 iface->num_rates++; in hostapd_prepare_rates()
215 if ((iface->num_rates == 0 || num_basic_rates == 0) && in hostapd_prepare_rates()
219 iface->num_rates, num_basic_rates); in hostapd_prepare_rates()
Dctrl_iface_ap.c824 if (iface->current_rates && iface->num_rates) { in hostapd_ctrl_iface_status()
830 for (j = 0; j < iface->num_rates; j++) { in hostapd_ctrl_iface_status()
Dhostapd.h518 int num_rates; member
Dieee802_11.c116 num = hapd->iface->num_rates; in hostapd_eid_supp_rates()
134 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num; in hostapd_eid_supp_rates()
171 num = hapd->iface->num_rates; in hostapd_eid_ext_supp_rates()
188 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num + 8; in hostapd_eid_ext_supp_rates()
/third_party/EGL/extensions/EXT/
DEGL_EXT_surface_compression.txt62 EGLint *rates, EGLint rate_size, EGLint *num_rates);
210 EGLint *rates, EGLint rate_size, EGLint *num_rates);
216 … returned. The number of rates is returned in <num_rates>, and elements 0 through <num_rates>-1 of
221 in <num_rates>.
245 * An EGL_BAD_PARAMETER error is generated if <num_rates> is NULL.
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_nl80211_capa.c1534 mode->num_rates++; in phy_info_rates()
1537 mode->rates = os_calloc(mode->num_rates, sizeof(int)); in phy_info_rates()
1765 for (i = 0; i < modes[m].num_rates; i++) { in wpa_driver_nl80211_postprocess_modes()
1811 mode->num_rates = 0; in wpa_driver_nl80211_postprocess_modes()
1819 for (i = 0; i < mode11g->num_rates; i++) { in wpa_driver_nl80211_postprocess_modes()
1823 mode->rates[mode->num_rates] = mode11g->rates[i]; in wpa_driver_nl80211_postprocess_modes()
1824 mode->num_rates++; in wpa_driver_nl80211_postprocess_modes()
1825 if (mode->num_rates == 4) in wpa_driver_nl80211_postprocess_modes()
1829 if (mode->num_rates == 0) { in wpa_driver_nl80211_postprocess_modes()
Ddriver_hostap.c1117 mode->num_rates = 4; in hostap_get_hw_feature_data()
1120 rlen = mode->num_rates * sizeof(int); in hostap_get_hw_feature_data()
Dwpa_hal.c1107 modes[index].num_rates = modesData[index].numRates; in WifiWpaGetHwFeatureData()
1109 modes[index].rates = os_calloc(modes[index].num_rates, sizeof(uint32_t)); in WifiWpaGetHwFeatureData()
1122 for (loop = 0; loop < (size_t)modes[index].num_rates; loop++) { in WifiWpaGetHwFeatureData()
Ddriver.h237 int num_rates; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211_capa.c1750 mode->num_rates++; in phy_info_rates()
1753 mode->rates = os_calloc(mode->num_rates, sizeof(int)); in phy_info_rates()
1996 for (i = 0; i < modes[m].num_rates; i++) { in wpa_driver_nl80211_postprocess_modes()
2060 mode->num_rates = 0; in wpa_driver_nl80211_postprocess_modes()
2068 for (i = 0; i < mode11g->num_rates; i++) { in wpa_driver_nl80211_postprocess_modes()
2072 mode->rates[mode->num_rates] = mode11g->rates[i]; in wpa_driver_nl80211_postprocess_modes()
2073 mode->num_rates++; in wpa_driver_nl80211_postprocess_modes()
2074 if (mode->num_rates == 4) in wpa_driver_nl80211_postprocess_modes()
2078 if (mode->num_rates == 0) { in wpa_driver_nl80211_postprocess_modes()
Ddriver_hostap.c1121 mode->num_rates = 4; in hostap_get_hw_feature_data()
1124 rlen = mode->num_rates * sizeof(int); in hostap_get_hw_feature_data()
Dwpa_hal.c1110 modes[index].num_rates = modesData[index].numRates; in WifiWpaGetHwFeatureData()
1112 modes[index].rates = os_calloc(modes[index].num_rates, sizeof(uint32_t)); in WifiWpaGetHwFeatureData()
1125 for (loop = 0; loop < (size_t)modes[index].num_rates; loop++) { in WifiWpaGetHwFeatureData()
Ddriver.h257 int num_rates; member
/third_party/EGL/api/EGL/
Deglext.h975 …Config *configs, const EGLAttrib *attrib_list, EGLint *rates, EGLint rate_size, EGLint *num_rates);
977 …Config *configs, const EGLAttrib *attrib_list, EGLint *rates, EGLint rate_size, EGLint *num_rates);
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Devents.c870 for (k = 0; k < mode->num_rates; k++) { in rate_match()
874 if (k == mode->num_rates) { in rate_match()
884 bss->freq, mode->mode, mode->num_rates); in rate_match()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Devents.c910 for (k = 0; k < mode->num_rates; k++) { in rate_match()
914 if (k == mode->num_rates) { in rate_match()
924 bss->freq, mode->mode, mode->num_rates); in rate_match()