/external/c-ares/ |
ares_expand_string.c | 51 } elen; local 56 elen.uns = *encoded; 57 if (encoded+elen.sig+1 > abuf+alen) 62 *s = malloc(elen.uns+1); 66 strncpy((char *)q, (char *)encoded, elen.uns); 67 q[elen.uns] = '\0'; 71 *enclen = (long)(elen.sig+1);
|
/external/wpa_supplicant_8/src/wps/ |
wps_attr_parse.c | 84 u8 id, elen; local 88 elen = *pos++; 89 if (elen > end - pos) 91 if (wps_set_vendor_ext_wfa_subelem(attr, id, elen, pos) < 0) 93 pos += elen;
|
/external/ppp/pppd/plugins/rp-pppoe/ |
common.c | 136 size_t elen = strlen(msg); local 138 err.length = htons(elen); 140 memcpy(cursor, &err, elen + TAG_HDR_SIZE); 141 cursor += elen + TAG_HDR_SIZE; 142 plen += elen + TAG_HDR_SIZE;
|
/external/wpa_supplicant_8/wpa_supplicant/ |
wifi_display.c | 377 u16 elen; local 389 elen = WPA_GET_BE16(buf + i + 1); 390 if (i + WIFI_DISPLAY_SUBELEM_HEADER_LEN + elen > buflen) 402 if (elen > 1000) 404 subelem = os_zalloc(2 * elen + 1); 407 wpa_snprintf_hex(subelem, 2 * elen + 1, 410 elen); 414 i += elen + WIFI_DISPLAY_SUBELEM_HEADER_LEN;
|
mbo.c | 645 u8 id, elen; local 657 elen = *pos++; 660 if (elen > len) 665 if (elen != 1) 676 if (elen != 1) 682 if (elen != 2) 714 pos += elen; 715 len -= elen; 733 id, elen, len);
|
wnm_sta.c | 342 u8 id, u8 elen, const u8 *pos) 346 if (elen < 2 + 2) { 355 if (elen < 2) { 364 if (elen < 1) { 378 if (elen < 8) { 389 if (elen < 1) { 399 rep->meas_pilot->subelem_len = elen - 1; 400 os_memcpy(rep->meas_pilot->subelems, pos + 1, elen - 1); 403 if (elen < 5) { 412 if (elen < 1) 480 u8 id, elen; local [all...] |
/external/wpa_supplicant_8/src/ap/ |
ieee802_11_shared.c | 442 const int elen = 2 + 1 + 10 + 5 + 1; local 454 hapd->time_adv = wpabuf_alloc(elen); 457 pos = wpabuf_put(hapd->time_adv, elen);
|
gas_serv.c | 1308 u16 info_id, elen; local [all...] |
/external/dhcpcd-6.8.2/ |
script.c | 226 size_t e, elen, l; local 285 elen = 2; 287 elen = 13; 291 env = calloc(1, sizeof(char *) * (elen + 3 + 1)); 382 EMALLOC(elen, e); 383 snprintf(env[elen++], e, "syslog_debug=true"); 387 EMALLOC(elen, e); 388 snprintf(env[elen++], e, "profile=%s", ifp->profile); 399 EMALLOC(elen, pfx_len + (size_t)psl + 1); 400 memcpy(env[elen], pfx, pfx_len) 550 size_t elen; local 623 size_t e, elen = 0; local [all...] |
/external/eigen/Eigen/src/OrderingMethods/ |
Amd.h | 114 Index* elen = W + 4*(n+1); local 136 elen[i] = 0; // Ek of node i is empty 140 elen[n] = -2; /* n is a dead element */ 158 elen[i] = -2; /* element i is dead */ 166 elen[i] = -1; /* node i is dead */ 179 elen[n] = -2; /* n is a dead element */ 189 elenk = elen[k]; /* elenk = |Ek| */ 220 pk1 = (elenk == 0) ? p : cnz; /* do in place if elen[k] == 0 */ 263 elen[k] = -2; /* k is now an element */ 270 if((eln = elen[i]) <= 0) continue;/* skip if elen[i] empty * [all...] |
/external/wpa_supplicant_8/src/common/ |
ieee802_11_common.c | 19 static int ieee802_11_parse_vendor_specific(const u8 *pos, size_t elen, 28 if (elen < 4) { 32 (unsigned long) elen); 47 elems->wpa_ie_len = elen; 51 if (elen < 5) { 55 (unsigned long) elen); 68 elems->wmm_len = elen; 72 elems->wmm_tspec_len = elen; 78 pos[4], (unsigned long) elen); 85 elems->wps_ie_len = elen; 201 u8 id, elen; local [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_leap.c | 335 size_t elen[5], password_len; local 373 elen[0] = 16; 375 elen[1] = LEAP_CHALLENGE_LEN; 377 elen[2] = LEAP_RESPONSE_LEN; 379 elen[3] = LEAP_CHALLENGE_LEN; 381 elen[4] = LEAP_RESPONSE_LEN; 382 md5_vector(5, addr, elen, key);
|
/external/wpa_supplicant_8/src/tls/ |
tlsv1_client_read.c | 49 u16 ext, elen; local 58 elen = WPA_GET_BE16(pos); 61 if (elen > end - pos) { 69 pos, elen); 71 pos += elen; [all...] |
/toolchain/binutils/binutils-2.25/binutils/ |
winduni.c | 204 rc_uint_type tlen, elen, idx = 0; local 243 elen = 0; 244 elen = wind_MultiByteToWideChar (wind_current_codepage, p, NULL, 0); 245 if (elen) 247 utmp = ((unichar *) res_alloc (elen + sizeof (unichar) * 2)); 248 wind_MultiByteToWideChar (wind_current_codepage, p, utmp, elen); 249 elen /= sizeof (unichar); 250 elen --; 269 up = (unichar *) res_alloc (sizeof (unichar) * (idx + elen)); 274 if (elen) [all...] |
/external/curl/lib/vtls/ |
vtls.c | 194 size_t elen = strlen(force_entropy); local 196 size_t min = elen < clen ? elen : clen;
|
/external/dhcpcd-6.8.2/dbus/ |
rpc-dbus.c | 245 const char *prefix, char **env, ssize_t elen) 254 for (eenv = env + elen; env < eenv; env++) { 303 ssize_t e, elen; local 343 elen = dhcp_env(env, config_prefix, message, ifp); 346 retval = append_config(&dict, prefix, env, elen); 379 ssize_t e, elen; local 419 elen = dhcp6_env(env, "new", ifp, message, length); 422 retval = append_config(&dict, prefix, env, elen);
|
/libcore/ojluni/src/main/java/java/util/zip/ |
ZipOutputStream.java | 376 int elen = (e.extra != null) ? e.extra.length : 0; local 406 elen += 20; //headid(2) + size(2) + size(8) + csize(8) 414 writeShort(elen);
|
/external/jemalloc/src/ |
ctl.c | 813 size_t elen, i, j; local 819 elen = (size_t)((uintptr_t)dot - (uintptr_t)elm); 820 if (elen == 0) { 835 if (strlen(child->name) == elen && 836 strncmp(elm, child->name, elen) == 0) { 896 elen = (size_t)((uintptr_t)dot - (uintptr_t)elm); [all...] |
/external/libevent/ |
evutil.c | 508 ev_socklen_t elen = sizeof(e); local 510 if (getsockopt(fd, SOL_SOCKET, SO_ERROR, (void*)&e, &elen) < 0) [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_fast.c | 184 u8 id, elen; local 187 elen = *pos++; 188 if (elen > end - pos) 195 if (elen != EAP_FAST_PAC_KEY_LEN) { 198 elen); 208 if (elen != 4) { 211 elen); 219 identity_len = elen; 223 pos += elen; [all...] |
/external/wpa_supplicant_8/src/radius/ |
radius.c | 981 size_t elen[3]; local 1010 elen[0] = secret_len; 1013 elen[1] = MD5_MAC_LEN; 1015 elen[2] = 2; /* Salt */ 1018 elen[1] = MD5_MAC_LEN; 1020 md5_vector(first ? 3 : 2, addr, elen, hash); 1050 u8 *ebuf, size_t *elen) 1067 *elen = len; 1185 size_t elen; local 1208 secret_len, pos, &elen); [all...] |
/libcore/ojluni/src/main/native/ |
zip_util.c | 1031 jint nlen, elen, clen; local 1054 elen = CENEXT(cen); 1067 if (elen > 0) { 1071 if ((ze->extra = malloc(elen + 2)) == NULL) goto Catch; 1072 ze->extra[0] = (unsigned char) elen; 1073 ze->extra[1] = (unsigned char) (elen >> 8); 1074 memcpy(ze->extra+2, extra, elen); 1078 while ((off + 4) < elen) { // spec: HeaderID+DataSize+Data 1084 if (sz < 8 || (off + 8) > elen) 1091 if (sz < 8 || (off + 8) > elen) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/math/ |
BigDecimal.java | 512 int elen = 0; local 588 elen = length - ((k - offset)); // possible number of digits 589 if ((elen == 0) | (elen > 9)) 592 int $2 = elen; [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/ |
BigDecimal.java | 526 int elen = 0; local 602 elen = length - ((k - offset)); // possible number of digits 603 if ((elen == 0) | (elen > 9)) 606 int $2 = elen; [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/ |
BigDecimal.java | 528 int elen = 0; local 604 elen = length - ((k - offset)); // possible number of digits 605 if ((elen == 0) | (elen > 9)) 608 int $2 = elen; [all...] |