/external/strace/ |
H A D | sysctl.c | 26 size = sizeof(int) * (unsigned long) info.nlen; 27 name = (size / sizeof(int) != (unsigned long) info.nlen) ? NULL : malloc(size); 33 info.name, info.nlen, info.oldval, 43 if (info.nlen == 0) 48 if (info.nlen == 1) 66 if (info.nlen == 2) 84 if (info.nlen == 3) 108 if (info.nlen == 3) 129 max_cnt = info.nlen; 134 if (cnt < (unsigned) info.nlen) [all...] |
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | ext_password_test.c | 48 size_t nlen; local 55 nlen = os_strlen(name); 58 if (os_strncmp(pos, name, nlen) == 0 && pos[nlen] == '=') { 60 pos += nlen + 1;
|
/external/wpa_supplicant_8/src/utils/ |
H A D | ext_password_test.c | 48 size_t nlen; local 55 nlen = os_strlen(name); 58 if (os_strncmp(pos, name, nlen) == 0 && pos[nlen] == '=') { 60 pos += nlen + 1;
|
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | ext_password_test.c | 48 size_t nlen; local 55 nlen = os_strlen(name); 58 if (os_strncmp(pos, name, nlen) == 0 && pos[nlen] == '=') { 60 pos += nlen + 1;
|
/external/zlib/src/contrib/infback9/ |
H A D | inflate9.h | 40 unsigned nlen; /* number of length code lengths */ member in struct:inflate_state
|
H A D | infback9.c | 347 state->nlen = BITS(5) + 257; 353 if (state->nlen > 286) { 383 while (state->have < state->nlen + state->ndist) { 421 if (state->have + copy > state->nlen + state->ndist) { 447 ret = inflate_table9(LENS, state->lens, state->nlen, 456 ret = inflate_table9(DISTS, state->lens + state->nlen,
|
/external/wpa_supplicant_8/hostapd/src/eap_common/ |
H A D | eap_ikev2_common.c | 24 size_t nlen; local 30 nlen = i_nonce_len + r_nonce_len; 31 nonces = os_malloc(nlen); 37 if (ikev2_prf_plus(prf, keys->SK_d, keys->SK_d_len, nonces, nlen,
|
/external/wpa_supplicant_8/src/eap_common/ |
H A D | eap_ikev2_common.c | 24 size_t nlen; local 30 nlen = i_nonce_len + r_nonce_len; 31 nonces = os_malloc(nlen); 37 if (ikev2_prf_plus(prf, keys->SK_d, keys->SK_d_len, nonces, nlen,
|
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | autoscan.c | 50 size_t nlen; local 63 nlen = os_strlen(name); 65 nlen = params - name; 70 if (os_strncmp(name, autoscan_modules[i]->name, nlen) == 0) {
|
H A D | bgscan.c | 38 size_t nlen; local 49 nlen = os_strlen(name); 51 nlen = params - name; 56 if (os_strncmp(name, bgscan_modules[i]->name, nlen) == 0) {
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/ |
H A D | eap_ikev2_common.c | 24 size_t nlen; local 30 nlen = i_nonce_len + r_nonce_len; 31 nonces = os_malloc(nlen); 37 if (ikev2_prf_plus(prf, keys->SK_d, keys->SK_d_len, nonces, nlen,
|
/external/toybox/toys/posix/ |
H A D | cpio.c | 214 unsigned nlen, error = 0, zero = 0; local 221 nlen = len+1; 236 minor(st.st_dev), major(st.st_rdev), minor(st.st_rdev), nlen, 0); 238 xwrite(afd, name, nlen); 241 llen = (llen + nlen) & 3; 251 nlen = llen > sizeof(toybuf) ? sizeof(toybuf) : llen; 252 llen -= nlen; 254 if (nlen != readall(fd, toybuf, nlen)) 256 xwrite(afd, toybuf, nlen); [all...] |
/external/boringssl/src/crypto/x509v3/ |
H A D | v3_info.c | 115 int nlen; 124 nlen = strlen(objtmp) + strlen(vtmp->name) + 5; 125 ntmp = OPENSSL_malloc(nlen); 130 BUF_strlcpy(ntmp, objtmp, nlen); 131 BUF_strlcat(ntmp, " - ", nlen); 132 BUF_strlcat(ntmp, vtmp->name, nlen);
|
/external/iputils/ninfod/ |
H A D | ninfod_name.c | 210 const char *n, size_t nlen) 214 if (slen < 1 || nlen < 1) 217 if (slen == nlen && memcmp(s, n, slen) == 0) 219 if (*(s0 + slen - 1) || *(n0 + nlen - 1)) 221 while (s < s0 + slen && n < n0 + nlen) { 224 if (s + *s + 1 > s0 + slen || n + *n + 1 > n0 + nlen) 236 if (n == n0 + nlen - 1) { 238 } else if (n + 1 == n0 + nlen - 1) { 209 compare_dnsname(const char *s, size_t slen, const char *n, size_t nlen) argument
|
/external/openssh/ |
H A D | sshbuf-misc.c | 117 int nlen, r; local 124 if ((nlen = b64_pton(b64, p, plen)) < 0) { 129 if ((r = sshbuf_put(buf, p, nlen)) < 0) {
|
H A D | bitmap.c | 83 size_t nlen; local 87 nlen = (n / BITMAP_BITS) + 1; 88 if (b->len < nlen) { 89 if ((tmp = reallocarray(b->d, nlen, BITMAP_BYTES)) == NULL) 92 memset(b->d + b->len, 0, (nlen - b->len) * BITMAP_BYTES); 93 b->len = nlen;
|
H A D | mac.c | 95 size_t nlen, rlen = 0; local 101 nlen = strlen(m->name); 102 if ((tmp = realloc(ret, rlen + nlen + 2)) == NULL) { 107 memcpy(ret + rlen, m->name, nlen + 1); 108 rlen += nlen;
|
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/ |
H A D | inflate.h | 112 unsigned nlen; /* number of length code lengths */ member in struct:inflate_state
|
/external/zlib/src/ |
H A D | inflate.h | 112 unsigned nlen; /* number of length code lengths */ member in struct:inflate_state
|
/external/zlib/src/contrib/puff/ |
H A D | puff.c | 647 * - Given the number of literal/length code lengths (nlen) and distance code 648 * lengths (ndist), then they are treated as one long list of nlen + ndist 667 int nlen, ndist, ncode; /* number of lengths in descriptor */ local 684 nlen = bits(s, 5) + 257; 687 if (nlen > MAXLCODES || ndist > MAXDCODES) 703 while (index < nlen + ndist) { 724 if (index + symbol > nlen + ndist) 736 err = construct(&lencode, lengths, nlen); 737 if (err && (err < 0 || nlen != lencode.count[0] + lencode.count[1])) 741 err = construct(&distcode, lengths + nlen, ndis [all...] |
/external/ppp/pppd/ |
H A D | chap-new.c | 284 int clen = 1, nlen, len; local 292 nlen = strlen(ss->name); 293 memcpy(p + 1 + clen, ss->name, nlen); 295 len = CHAP_HDRLEN + 1 + clen + nlen; 441 int clen, nlen; local 453 nlen = len - (clen + 1); 456 slprintf(rname, sizeof(rname), "%.*v", nlen, pkt + clen + 1); 477 nlen = strlen(cs->name); 478 memcpy(p + clen + 1, cs->name, nlen); 481 len = CHAP_HDRLEN + clen + 1 + nlen; 593 int clen, nlen; local [all...] |
/external/valgrind/exp-sgcheck/ |
H A D | h_intercepts.c | 355 UWord nlen = 0; \ 356 while (n[nlen]) nlen++; \ 359 if (nlen == 0) return CONST_CAST(HChar *,h); \ 361 /* assert(nlen >= 1); */ \ 370 for (i = 0; i < nlen; i++) { \ 374 /* assert(i >= 0 && i <= nlen); */ \ 375 if (i == nlen) \
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_pack.c | 439 int nlen = 128 / src_type.width; local 451 lo, i*nlen*2, nlen); 453 lo, i*nlen*2 + nlen, nlen); 462 hi, i*nlen*2, nlen); 464 hi, i*nlen*2 + nlen, nle [all...] |
/external/linux-tools-perf/src/tools/perf/util/ |
H A D | string.c | 400 int nlen = olen + strlen(a) + 1; local 401 if (*len < nlen) { 403 if (*len < nlen) 404 *len = nlen;
|
/external/tcpdump/ |
H A D | addrtoname.c | 355 * with length 'nlen' 359 lookup_bytestring(register const u_char *bs, const unsigned int nlen) argument 364 if (nlen >= 6) { 368 } else if (nlen >= 4) { 380 memcmp((const char *)bs, (const char *)(tp->e_bs), nlen) == 0) 389 tp->e_bs = (u_char *) calloc(1, nlen + 1); 393 memcpy(tp->e_bs, bs, nlen); 407 unsigned int nlen = *nsap; local 409 const u_char *ensap = nsap + nlen - 6; 411 if (nlen > [all...] |