Searched refs:nlen (Results 1 - 25 of 74) sorted by relevance

123

/external/wpa_supplicant_8/hostapd/src/utils/
H A Dext_password_test.c48 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 Dext_password_test.c48 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 Dext_password_test.c48 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 Dinflate9.h40 unsigned nlen; /* number of length code lengths */ member in struct:inflate_state
H A Dinfback9.c347 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 Deap_ikev2_common.c24 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 Deap_ikev2_common.c24 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 Dautoscan.c50 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 Dbgscan.c38 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 Deap_ikev2_common.c24 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/chromium_org/third_party/boringssl/src/crypto/x509v3/
H A Dv3_info.c114 int nlen;
123 nlen = strlen(objtmp) + strlen(vtmp->name) + 5;
124 ntmp = OPENSSL_malloc(nlen);
129 BUF_strlcpy(ntmp, objtmp, nlen);
130 BUF_strlcat(ntmp, " - ", nlen);
131 BUF_strlcat(ntmp, vtmp->name, nlen);
/external/openssl/crypto/x509v3/
H A Dv3_info.c108 int i,nlen;
117 nlen = strlen(objtmp) + strlen(vtmp->name) + 5;
118 ntmp = OPENSSL_malloc(nlen);
124 BUF_strlcpy(ntmp, objtmp, nlen);
125 BUF_strlcat(ntmp, " - ", nlen);
126 BUF_strlcat(ntmp, vtmp->name, nlen);
/external/iputils/ninfod/
H A Dninfod_name.c210 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/strace/
H A Dsystem.c435 size = sizeof(int) * (unsigned long) info.nlen;
436 name = (size / sizeof(int) != info.nlen) ? NULL : malloc(size);
442 info.name, info.nlen, info.oldval,
452 if (info.nlen == 0)
457 if (info.nlen == 1)
475 if (info.nlen == 2)
493 if (info.nlen == 3)
517 if (info.nlen == 3)
538 max_cnt = info.nlen;
543 if (cnt < info.nlen)
[all...]
/external/chromium_org/third_party/zlib/
H A Dinflate.h112 unsigned nlen; /* number of length code lengths */ member in struct:inflate_state
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
H A Dinflate.h112 unsigned nlen; /* number of length code lengths */ member in struct:inflate_state
/external/qemu/distrib/zlib-1.2.8/
H A Dinflate.h112 unsigned nlen; /* number of length code lengths */ member in struct:inflate_state
/external/zlib/src/
H A Dinflate.h112 unsigned nlen; /* number of length code lengths */ member in struct:inflate_state
/external/zlib/src/contrib/puff/
H A Dpuff.c647 * - 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 Dchap-new.c285 int clen = 1, nlen, len; local
293 nlen = strlen(ss->name);
294 memcpy(p + 1 + clen, ss->name, nlen);
296 len = CHAP_HDRLEN + 1 + clen + nlen;
426 int clen, nlen; local
438 nlen = len - (clen + 1);
441 slprintf(rname, sizeof(rname), "%.*v", nlen, pkt + clen + 1);
462 nlen = strlen(cs->name);
463 memcpy(p + clen + 1, cs->name, nlen);
466 len = CHAP_HDRLEN + clen + 1 + nlen;
576 int clen, nlen; local
[all...]
/external/valgrind/main/exp-sgcheck/
H A Dh_intercepts.c355 UWord nlen = 0; \
356 while (n[nlen]) nlen++; \
359 if (nlen == 0) return (HChar *)h; \
361 /* assert(nlen >= 1); */ \
370 for (i = 0; i < nlen; i++) { \
374 /* assert(i >= 0 && i <= nlen); */ \
375 if (i == nlen) \
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_pack.c439 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/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_pack.c439 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/perf-3.12.0/tools/perf/util/
H A Dstring.c400 int nlen = olen + strlen(a) + 1; local
401 if (*len < nlen) {
403 if (*len < nlen)
404 *len = nlen;
/external/tcpdump/
H A Daddrtoname.c355 * 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...]

Completed in 1071 milliseconds

123