Searched refs:num (Results 1 - 25 of 1878) sorted by last modified time

1234567891011>>

/external/zlib/src/examples/
H A Denough.c117 /* The array for saving results, num[], is indexed with this triplet:
151 to the num[] array as described above for the (syms, left, len) triplet.
173 local size_t size; /* number of elements in num and done */
175 local big_t *num; /* saved results array for code counting */ variable
178 /* Index function for num[] and done[] */
181 /* Free allocated space. Uses globals code, num, and done. */
192 if (num != NULL)
193 free(num);
201 Keep a record of previous results in num to prevent repeating the same
202 calculation. Uses the globals max and num
[all...]
/external/zopfli/src/zopflipng/lodepng/
H A Dlodepng.cpp680 static void init_coins(Coin* coins, size_t num) argument
683 for(i = 0; i < num; i++) coin_init(&coins[i]);
686 static void cleanup_coins(Coin* coins, size_t num) argument
689 for(i = 0; i < num; i++) coin_cleanup(&coins[i]);
1798 unsigned num = j / 6, rest = j % 6; local
1800 for(k = 0; k < num; k++)
/external/zopfli/src/zopflipng/
H A Dzopflipng_bin.cc182 int num = atoi(value.c_str()); local
190 if (num < 1) num = 1;
191 png_options.num_iterations = num;
192 png_options.num_iterations_large = num;
194 if (num < 0 || num > 3) num = 1;
195 png_options.block_split_strategy = num;
/external/webrtc/src/common_audio/signal_processing/
H A Ddivision_operations.c26 WebRtc_UWord32 WebRtcSpl_DivU32U16(WebRtc_UWord32 num, WebRtc_UWord16 den) argument
31 return (WebRtc_UWord32)(num / den);
38 WebRtc_Word32 WebRtcSpl_DivW32W16(WebRtc_Word32 num, WebRtc_Word16 den) argument
43 return (WebRtc_Word32)(num / den);
50 WebRtc_Word16 WebRtcSpl_DivW32W16ResW16(WebRtc_Word32 num, WebRtc_Word16 den) argument
55 return (WebRtc_Word16)(num / den);
62 WebRtc_Word32 WebRtcSpl_DivResultInQ31(WebRtc_Word32 num, WebRtc_Word32 den) argument
64 WebRtc_Word32 L_num = num;
70 if (num == 0)
73 if (num <
100 WebRtcSpl_DivW32HiLow(WebRtc_Word32 num, WebRtc_Word16 den_hi, WebRtc_Word16 den_low) argument
[all...]
H A Dsignal_processing_unittest.cc130 WebRtc_Word32 num = 117; local
137 EXPECT_EQ(-91772805, WebRtcSpl_DivResultInQ31(den, num));
138 EXPECT_EQ(-23, WebRtcSpl_DivW32W16ResW16(num, (WebRtc_Word16)den));
139 EXPECT_EQ(-23, WebRtcSpl_DivW32W16(num, (WebRtc_Word16)den));
140 EXPECT_EQ(23u, WebRtcSpl_DivU32U16(num, denU));
/external/webrtc/src/common_audio/signal_processing/include/
H A Dsignal_processing_library.h358 WebRtc_UWord32 WebRtcSpl_DivU32U16(WebRtc_UWord32 num, WebRtc_UWord16 den);
359 WebRtc_Word32 WebRtcSpl_DivW32W16(WebRtc_Word32 num, WebRtc_Word16 den);
360 WebRtc_Word16 WebRtcSpl_DivW32W16ResW16(WebRtc_Word32 num, WebRtc_Word16 den);
361 WebRtc_Word32 WebRtcSpl_DivResultInQ31(WebRtc_Word32 num, WebRtc_Word32 den);
362 WebRtc_Word32 WebRtcSpl_DivW32HiLow(WebRtc_Word32 num, WebRtc_Word16 den_hi,
1307 // Divides a WebRtc_UWord32 |num| by a WebRtc_UWord16 |den|.
1312 // - num : Numerator
1316 // integer part of num/den.
1322 // Divides a WebRtc_Word32 |num| by a WebRtc_Word16 |den|.
1327 // - num
[all...]
/external/webrtc/src/modules/audio_processing/aec/
H A Daec_core.c1208 int i, num; local
1246 num = 0;
1251 // TODO: we shouldn't need num. We know how many elements we're summing.
1253 num++;
1256 noiseAvg /= (float)num;
1260 // TODO: we shouldn't need num. We know how many elements we're summing.
1261 num = 0;
1263 num++;
1266 tmpAvg /= (float)num;
/external/webrtc/src/modules/audio_processing/ns/
H A Dnsx_core.c1294 WebRtc_UWord32 zeros, num, den, tmpU32no1, tmpU32no2, tmpU32no3; local
1311 num = WEBRTC_SPL_LSHIFT_U32(postLocSnr[i], normTmp); // Q(11+normTmp)
1318 besselTmpFX32 -= WEBRTC_SPL_UDIV(num, den); // Q11
1320 besselTmpFX32 -= num; // Q11
/external/wpa_supplicant_8/hostapd/
H A Dconfig_file.c121 struct mac_acl_entry **acl, int *num)
171 while (i < *num) {
174 os_remove_in_array(*acl, *num,
176 (*num)--;
191 newacl = os_realloc_array(*acl, *num + 1, sizeof(**acl));
199 os_memcpy((*acl)[*num].addr, addr, ETH_ALEN);
200 (*acl)[*num].vlan_id = vlan_id;
201 (*num)++;
206 qsort(*acl, *num, sizeof(**acl), hostapd_acl_comp);
872 int num; local
120 hostapd_config_read_maclist(const char *fname, struct mac_acl_entry **acl, int *num) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dhw_features.c347 for (i = 0; i < scan_res->num; i++) {
368 for (i = 0; i < scan_res->num; i++) {
378 for (i = 0; i < scan_res->num; i++) {
444 for (i = 0; i < scan_res->num; i++) {
H A Dieee802_11.c47 int i, num, count; local
53 num = hapd->iface->num_rates;
55 num++;
57 num++;
58 if (num > 8) {
61 num = 8;
64 *pos++ = num;
65 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num;
91 int i, num, count; local
96 num
[all...]
/external/wpa_supplicant_8/hostapd/src/common/
H A Dieee802_11_common.c424 int num, v; local
431 num = 0;
434 num = 1;
437 num = 2;
440 num = 3;
447 ac = &wmm_ac_params[num];
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver.h242 * @num: Number of entries in the scan result array
247 size_t num; member in struct:wpa_scan_results
H A Ddriver_bsd.c1342 tmp = os_realloc_array(res->res, res->num + 1,
1348 tmp[res->num++] = result;
1378 len, (unsigned long)res->num);
H A Ddriver_common.c20 for (i = 0; i < res->num; i++)
H A Ddriver_ndis.c901 results->res[results->num++] = r;
H A Ddriver_nl80211.c2501 for (i = 0; i < scan_results->num; ++i) {
2958 unsigned int idx = event.freq_range.num;
2967 event.freq_range.num++;
3704 int i, num; local
3710 num = nla_len(tb) / sizeof(u32);
3712 for (i = 0; i < num; i++) {
5597 for (i = 0; i < res->num; i++) {
5623 tmp = os_realloc_array(res->res, res->num + 1,
5629 tmp[res->num++] = r;
5654 for (i = 0; i < res->num;
[all...]
H A Ddriver_privsep.c115 int res, num; local
142 os_memcpy(&num, pos, sizeof(int));
143 if (num < 0 || num > 1000) {
155 results->res = os_calloc(num, sizeof(struct wpa_scan_res *));
162 while (results->num < (size_t) num && pos + sizeof(int) < end) {
179 results->res[results->num++] = r;
H A Ddriver_test.c1432 res->res[res->num++] = r;
H A Ddriver_wext.c1397 tmp = os_realloc_array(res->res, res->num + 1,
1403 tmp[res->num++] = r;
1504 (unsigned long) len, (unsigned long) res->num);
/external/wpa_supplicant_8/hostapd/src/eap_common/
H A Deap_pwd_common.c88 int compute_password_element(EAP_PWD_group *grp, u16 num, argument
99 switch (num) { /* from IANA registry for IKE D-H groups */
118 wpa_printf(MSG_INFO, "EAP-pwd: unsupported group %d", num);
169 "fishy", num);
263 grp->group_num = num;
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_methods.c118 * @num: Buffer for returning the number of items in array, not including %NULL
126 char ** eap_get_names_as_string_array(size_t *num) argument
151 if (num)
152 *num = array_len;
H A Deap_methods.h28 char ** eap_get_names_as_string_array(size_t *num);
58 static inline char ** eap_get_names_as_string_array(size_t *num) argument
/external/wpa_supplicant_8/hostapd/src/p2p/
H A Dp2p.c4208 if (list == NULL || list->num == 0) {
4211 p2p->no_go_freq.num = 0;
4215 tmp = os_calloc(list->num, sizeof(struct wpa_freq_range));
4218 os_memcpy(tmp, list->range, list->num * sizeof(struct wpa_freq_range));
4221 p2p->no_go_freq.num = list->num;
/external/wpa_supplicant_8/hostapd/src/radius/
H A Dradius_client.c274 size_t *num; local
278 num = &radius->num_acct_handlers;
281 num = &radius->num_auth_handlers;
284 newh = os_realloc_array(*handlers, *num + 1,
289 newh[*num].handler = handler;
290 newh[*num].data = data;
291 (*num)++;

Completed in 4988 milliseconds

1234567891011>>