/external/strace/ |
D | sysctl.c | 55 size = sizeof(int) * (unsigned long) info.nlen; in SYS_FUNC() 56 name = (size / sizeof(int) != (unsigned long) info.nlen) ? NULL : malloc(size); in SYS_FUNC() 62 info.name, info.nlen, info.oldval, in SYS_FUNC() 72 if (info.nlen == 0) in SYS_FUNC() 77 if (info.nlen == 1) in SYS_FUNC() 95 if (info.nlen == 2) in SYS_FUNC() 113 if (info.nlen == 3) in SYS_FUNC() 137 if (info.nlen == 3) in SYS_FUNC() 158 max_cnt = info.nlen; in SYS_FUNC() 163 if (cnt < (unsigned) info.nlen) in SYS_FUNC() [all …]
|
/external/icu/icu4c/as_is/os400/ |
D | iculd.c | 123 int nlen = n-2; in main() local 125 if(nlen >= 10) { in main() 126 nlen = 10; in main() 140 nlen=strlen(b); in main() 150 strncat(objs,b,nlen); in main() 157 int nlen = n-2; in main() local 159 if(nlen >= 10) { in main() 160 nlen = 10; in main() 174 nlen=strlen(b); in main() 184 strncat(bnddirs,b,nlen); in main()
|
/external/wpa_supplicant_8/src/utils/ |
D | ext_password_test.c | 48 size_t nlen; in ext_password_test_get() local 55 nlen = os_strlen(name); in ext_password_test_get() 58 if (os_strncmp(pos, name, nlen) == 0 && pos[nlen] == '=') { in ext_password_test_get() 60 pos += nlen + 1; in ext_password_test_get()
|
/external/toybox/toys/posix/ |
D | cpio.c | 225 unsigned nlen, error = 0, zero = 0; in cpio_main() local 232 nlen = len+1; in cpio_main() 247 minor(st.st_dev), major(st.st_rdev), minor(st.st_rdev), nlen, 0); in cpio_main() 249 xwrite(afd, name, nlen); in cpio_main() 252 llen = (llen + nlen) & 3; in cpio_main() 262 nlen = llen > sizeof(toybuf) ? sizeof(toybuf) : llen; in cpio_main() 263 llen -= nlen; in cpio_main() 265 if (nlen != readall(fd, toybuf, nlen)) in cpio_main() 267 xwrite(afd, toybuf, nlen); in cpio_main()
|
/external/c-ares/ |
D | ares_expand_name.c | 74 } nlen; in ares_expand_name() local 76 nlen.sig = name_length(encoded, abuf, alen); in ares_expand_name() 77 if (nlen.sig < 0) in ares_expand_name() 80 *s = malloc(nlen.uns + 1); in ares_expand_name() 85 if (nlen.uns == 0) { in ares_expand_name()
|
D | ares_search.c | 216 size_t nlen = strlen(name); in cat_domain() local 219 *s = malloc(nlen + 1 + dlen + 1); in cat_domain() 222 memcpy(*s, name, nlen); in cat_domain() 223 (*s)[nlen] = '.'; in cat_domain() 224 memcpy(*s + nlen + 1, domain, dlen); in cat_domain() 225 (*s)[nlen + 1 + dlen] = 0; in cat_domain()
|
/external/iputils/ninfod/ |
D | ninfod_name.c | 210 const char *n, size_t nlen) in compare_dnsname() argument 214 if (slen < 1 || nlen < 1) in compare_dnsname() 217 if (slen == nlen && memcmp(s, n, slen) == 0) in compare_dnsname() 219 if (*(s0 + slen - 1) || *(n0 + nlen - 1)) in compare_dnsname() 221 while (s < s0 + slen && n < n0 + nlen) { in compare_dnsname() 224 if (s + *s + 1 > s0 + slen || n + *n + 1 > n0 + nlen) in compare_dnsname() 236 if (n == n0 + nlen - 1) { in compare_dnsname() 238 } else if (n + 1 == n0 + nlen - 1) { in compare_dnsname()
|
/external/boringssl/src/crypto/x509v3/ |
D | v3_info.c | 115 int nlen; variable 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/ppp/pppd/ |
D | chap-new.c | 284 int clen = 1, nlen, len; in chap_generate_challenge() local 292 nlen = strlen(ss->name); in chap_generate_challenge() 293 memcpy(p + 1 + clen, ss->name, nlen); in chap_generate_challenge() 295 len = CHAP_HDRLEN + 1 + clen + nlen; in chap_generate_challenge() 441 int clen, nlen; in chap_respond() local 453 nlen = len - (clen + 1); in chap_respond() 456 slprintf(rname, sizeof(rname), "%.*v", nlen, pkt + clen + 1); in chap_respond() 477 nlen = strlen(cs->name); in chap_respond() 478 memcpy(p + clen + 1, cs->name, nlen); in chap_respond() 481 len = CHAP_HDRLEN + clen + 1 + nlen; in chap_respond() [all …]
|
/external/openssh/ |
D | bitmap.c | 83 size_t nlen; in reserve() local 87 nlen = (n / BITMAP_BITS) + 1; in reserve() 88 if (b->len < nlen) { in reserve() 89 if ((tmp = reallocarray(b->d, nlen, BITMAP_BYTES)) == NULL) in reserve() 92 memset(b->d + b->len, 0, (nlen - b->len) * BITMAP_BYTES); in reserve() 93 b->len = nlen; in reserve()
|
D | mac.c | 95 size_t nlen, rlen = 0; in mac_alg_list() local 101 nlen = strlen(m->name); in mac_alg_list() 102 if ((tmp = realloc(ret, rlen + nlen + 2)) == NULL) { in mac_alg_list() 107 memcpy(ret + rlen, m->name, nlen + 1); in mac_alg_list() 108 rlen += nlen; in mac_alg_list()
|
D | sshbuf-misc.c | 117 int nlen, r; in sshbuf_b64tod() local 124 if ((nlen = b64_pton(b64, p, plen)) < 0) { in sshbuf_b64tod() 129 if ((r = sshbuf_put(buf, p, nlen)) < 0) { in sshbuf_b64tod()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | bgscan.c | 38 size_t nlen; in bgscan_init() local 49 nlen = os_strlen(name); in bgscan_init() 51 nlen = params - name; in bgscan_init() 56 if (os_strncmp(name, bgscan_modules[i]->name, nlen) == 0) { in bgscan_init()
|
D | autoscan.c | 51 size_t nlen; in autoscan_init() local 69 nlen = os_strlen(name); in autoscan_init() 71 nlen = params - name; in autoscan_init() 76 if (os_strncmp(name, autoscan_modules[i]->name, nlen) == 0) { in autoscan_init()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_ikev2_common.c | 24 size_t nlen; in eap_ikev2_derive_keymat() local 30 nlen = i_nonce_len + r_nonce_len; in eap_ikev2_derive_keymat() 31 nonces = os_malloc(nlen); in eap_ikev2_derive_keymat() 37 if (ikev2_prf_plus(prf, keys->SK_d, keys->SK_d_len, nonces, nlen, in eap_ikev2_derive_keymat()
|
/external/zlib/src/contrib/puff/ |
D | puff.c | 667 int nlen, ndist, ncode; /* number of lengths in descriptor */ in dynamic() local 684 nlen = bits(s, 5) + 257; in dynamic() 687 if (nlen > MAXLCODES || ndist > MAXDCODES) in dynamic() 703 while (index < nlen + ndist) { in dynamic() 724 if (index + symbol > nlen + ndist) in dynamic() 736 err = construct(&lencode, lengths, nlen); in dynamic() 737 if (err && (err < 0 || nlen != lencode.count[0] + lencode.count[1])) in dynamic() 741 err = construct(&distcode, lengths + nlen, ndist); in dynamic()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_pack.c | 439 int nlen = 128 / src_type.width; in lp_build_pack2() local 451 lo, i*nlen*2, nlen); in lp_build_pack2() 453 lo, i*nlen*2 + nlen, nlen); in lp_build_pack2() 462 hi, i*nlen*2, nlen); in lp_build_pack2() 464 hi, i*nlen*2 + nlen, nlen); in lp_build_pack2()
|
/external/tcpdump/ |
D | addrtoname.c | 356 lookup_bytestring(register const u_char *bs, const unsigned int nlen) in lookup_bytestring() argument 361 if (nlen >= 6) { in lookup_bytestring() 365 } else if (nlen >= 4) { in lookup_bytestring() 377 memcmp((const char *)bs, (const char *)(tp->e_bs), nlen) == 0) in lookup_bytestring() 386 tp->e_bs = (u_char *) calloc(1, nlen + 1); in lookup_bytestring() 390 memcpy(tp->e_bs, bs, nlen); in lookup_bytestring() 404 unsigned int nlen = *nsap; in lookup_nsap() local 406 const u_char *ensap = nsap + nlen - 6; in lookup_nsap() 408 if (nlen > 6) { in lookup_nsap() 421 tp->e_nsap[0] == nlen && in lookup_nsap() [all …]
|
/external/valgrind/exp-sgcheck/ |
D | h_intercepts.c | 367 UWord nlen = 0; \ 368 while (n[nlen]) nlen++; \ 371 if (nlen == 0) return CONST_CAST(HChar *,h); \ 382 for (i = 0; i < nlen; i++) { \ 387 if (i == nlen) \
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/ANY/ |
D | NSEC3.py | 151 (nlen, ) = struct.unpack('!B', wire[current]) 154 next = wire[current : current + nlen] 155 current += nlen 156 rdlen -= nlen
|
/external/selinux/libselinux/src/ |
D | get_context_list.c | 275 size_t plen, nlen; in get_failsafe_context() local 291 nlen = strlen(user) + 1 + plen + 1; in get_failsafe_context() 292 *newcon = malloc(nlen); in get_failsafe_context() 295 rc = snprintf(*newcon, nlen, "%s:%s", user, ptr); in get_failsafe_context() 296 if (rc < 0 || (size_t) rc >= nlen) { in get_failsafe_context()
|
/external/zlib/src/contrib/infback9/ |
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/pdfium/third_party/zlib_v128/ |
D | infback.c | 361 state->nlen = BITS(5) + 257; in inflateBack() 368 if (state->nlen > 286 || state->ndist > 30) { in inflateBack() 399 while (state->have < state->nlen + state->ndist) { in inflateBack() 436 if (state->have + copy > state->nlen + state->ndist) { in inflateBack() 462 ret = inflate_table(LENS, state->lens, state->nlen, &(state->next), in inflateBack() 471 ret = inflate_table(DISTS, state->lens + state->nlen, state->ndist, in inflateBack()
|
/external/zlib/src/ |
D | infback.c | 361 state->nlen = BITS(5) + 257; 368 if (state->nlen > 286 || state->ndist > 30) { 399 while (state->have < state->nlen + state->ndist) { 436 if (state->have + copy > state->nlen + state->ndist) { 462 ret = inflate_table(LENS, state->lens, state->nlen, &(state->next), 471 ret = inflate_table(DISTS, state->lens + state->nlen, state->ndist,
|
/external/libnfc-nci/src/nfc/tags/ |
D | ce_t4t.c | 133 p_t4t->nlen, in ce_t4t_select_file() 204 UINT16_TO_BE_STREAM (p_dst, p_t4t->nlen); in ce_t4t_read_binary() 216 UINT8_TO_BE_STREAM (p_dst, (UINT8) (p_t4t->nlen)); in ce_t4t_read_binary() 280 UINT16_TO_BE_STREAM (p, p_t4t->nlen); in ce_t4t_update_binary() 289 BE_STREAM_TO_UINT16 (p_t4t->nlen, p); in ce_t4t_update_binary() 296 if ((starting_offset == 0) && (p_t4t->nlen > 0)) in ce_t4t_update_binary() 303 ce_data.update_info.length = p_t4t->nlen; in ce_t4t_update_binary() 918 p_t4t->nlen = ndef_msg_len; in CE_T4tSetLocalNDEFMsg()
|