/external/curl/lib/ |
D | dotdot.c | 54 size_t clen = inlen; /* the length of the cloned input */ in Curl_dedotdotify() local 87 clen-=2; in Curl_dedotdotify() 91 clen-=3; in Curl_dedotdotify() 99 clen-=2; in Curl_dedotdotify() 104 clen-=1; in Curl_dedotdotify() 114 clen-=3; in Curl_dedotdotify() 126 clen-=2; in Curl_dedotdotify() 151 clen--; in Curl_dedotdotify()
|
/external/toybox/toys/posix/ |
D | wc.c | 50 int i, len, clen=1, space; in do_wc() local 71 for (i=0; i<len; i+=clen) { in do_wc() 75 clen = mbrtowc(&wchar, toybuf+i, len-i, 0); in do_wc() 76 if (clen == -1) { in do_wc() 77 clen = 1; in do_wc() 80 if (clen == -2) break; in do_wc() 81 if (clen == 0) clen=1; in do_wc()
|
/external/wpa_supplicant_8/src/crypto/ |
D | sha256-tlsprf.c | 32 size_t clen; in tls_prf_sha256() local 60 clen = outlen - pos; in tls_prf_sha256() 61 if (clen > SHA256_MAC_LEN) in tls_prf_sha256() 62 clen = SHA256_MAC_LEN; in tls_prf_sha256() 63 os_memcpy(out + pos, P, clen); in tls_prf_sha256() 64 pos += clen; in tls_prf_sha256()
|
D | sha256-kdf.c | 37 size_t pos, clen; in hmac_sha256_kdf() local 53 clen = outlen - pos; in hmac_sha256_kdf() 54 if (clen > SHA256_MAC_LEN) in hmac_sha256_kdf() 55 clen = SHA256_MAC_LEN; in hmac_sha256_kdf() 56 os_memcpy(out + pos, T, clen); in hmac_sha256_kdf() 57 pos += clen; in hmac_sha256_kdf()
|
/external/ppp/pppd/ |
D | chap-new.c | 284 int clen = 1, nlen, len; in chap_generate_challenge() local 291 clen = *p; 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 452 clen = pkt[0]; in chap_respond() 453 nlen = len - (clen + 1); in chap_respond() 456 slprintf(rname, sizeof(rname), "%.*v", nlen, pkt + clen + 1); in chap_respond() 476 clen = *p; in chap_respond() 478 memcpy(p + clen + 1, cs->name, nlen); in chap_respond() [all …]
|
D | chap-md5.c | 48 int clen; in chap_md5_generate_challenge() local 50 clen = (int)(drand48() * (MD5_MAX_CHALLENGE - MD5_MIN_CHALLENGE)) in chap_md5_generate_challenge() 52 *cp++ = clen; in chap_md5_generate_challenge() 53 random_bytes(cp, clen); in chap_md5_generate_challenge()
|
D | ccp.c | 1077 int len, clen, type, nb; local 1096 clen = len; 1101 clen = p[1]; 1106 if (!ao->mppe || clen != CILEN_MPPE) { 1208 if (!ao->deflate || clen != CILEN_DEFLATE 1253 if (!ao->bsd_compress || clen != CILEN_BSD_COMPRESS) { 1295 if (!ao->predictor_1 || clen != CILEN_PREDICTOR_1) { 1308 if (!ao->predictor_2 || clen != CILEN_PREDICTOR_2) { 1333 BCOPY(p, retp, clen); 1334 retp += clen; [all …]
|
/external/boringssl/src/crypto/asn1/ |
D | x_long.c | 112 int clen, pad, i; in long_i2c() local 126 clen = BN_num_bits_word(utmp); in long_i2c() 128 if(!(clen & 0x7)) pad = 1; in long_i2c() 132 clen = (clen + 7) >> 3; in long_i2c() 136 for(i = clen - 1; i >= 0; i--) { in long_i2c() 142 return clen + pad; in long_i2c()
|
/external/avahi/avahi-daemon/ |
D | glob.c | 179 size_t clen; in glob() local 203 clen = mbrtowc(&wc, patnext, MB_LEN_MAX, &mbs); in glob() 204 if (clen == (size_t)-1 || clen == (size_t)-2) in glob() 206 else if (clen == 0) in glob() 209 patnext += clen; in glob() 223 clen = mbrtowc(&wc, patnext, MB_LEN_MAX, &mbs); in glob() 224 if (clen == (size_t)-1 || clen == (size_t)-2) in glob() 226 else if (clen == 0) in glob() 229 patnext += clen; in glob() 654 size_t clen; in glob3() local [all …]
|
/external/pcre/dist/ |
D | pcre_dfa_exec.c | 579 int clen, dlen; in internal_dfa_exec() local 620 clen = 1; /* Number of data items in the character */ in internal_dfa_exec() 622 GETCHARLENTEST(c, ptr, clen); in internal_dfa_exec() 629 clen = 0; /* This indicates the end of the subject */ in internal_dfa_exec() 649 if (clen == 0) printf("EOL\n"); in internal_dfa_exec() 697 if (clen == 0 && poptable[codevalue] != 0) in internal_dfa_exec() 904 if (clen > 0 && !IS_NEWLINE(ptr)) in internal_dfa_exec() 923 if (clen > 0) in internal_dfa_exec() 929 if (clen == 0 && (md->moptions & PCRE_PARTIAL_HARD) != 0) in internal_dfa_exec() 931 else if (clen == 0 || (IS_NEWLINE(ptr) && ptr == end_subject - md->nllen)) in internal_dfa_exec() [all …]
|
/external/libedit/src/ |
D | vis.c | 358 int clen = 0, cerr = 0, error = -1, i, shft; in istrsenvisx() local 409 clen = mbtowc(src, mbsrc, MB_LEN_MAX); in istrsenvisx() 410 if (cerr || clen < 0) { in istrsenvisx() 413 clen = 1; in istrsenvisx() 416 if (clen == 0) in istrsenvisx() 421 clen = 1; in istrsenvisx() 425 mbsrc += clen; in istrsenvisx() 427 mbslength -= clen; in istrsenvisx() 482 clen = wctomb(mbdst, *dst); in istrsenvisx() 483 if (cerr || clen < 0) { in istrsenvisx() [all …]
|
/external/toybox/scripts/ |
D | config2help.c | 258 int clen, tlen; in main() local 279 cdashlines = grab_dashlines(&catch->help, &cfrom, &clen); in main() 284 char **new = xmalloc(sizeof(char *)*(clen+tlen)); in main() 286 memcpy(new, cdashlines, sizeof(char *)*clen); in main() 287 memcpy(new+clen, tdashlines, sizeof(char *)*tlen); in main() 290 qsort(new, clen+tlen, sizeof(char *), (void *)dashlinesort); in main() 316 tlen += clen; in main() 318 for (clen = 0; clen < tlen; clen++) in main() 319 dlist_add(&cfrom, cdashlines[clen]); in main()
|
/external/clang/test/OpenMP/ |
D | for_simd_ast_print.cpp | 45 const T clen = 3; in result() local 47 #pragma omp for simd safelen(clen-1) simdlen(clen-1) in result() 49 for(T i = clen+2; i < 20; ++i) { in result() 51 v[i] = v[v-clen] + 1; in result()
|
D | simd_ast_print.cpp | 48 const T clen = 3; in result() local 50 #pragma omp simd safelen(clen-1) simdlen(clen-1) in result() 52 for(T i = clen+2; i < 20; ++i) { in result() 54 v[i] = v[v-clen] + 1; in result()
|
D | parallel_for_simd_ast_print.cpp | 45 const T clen = 3; in result() local 47 #pragma omp parallel for simd safelen(clen-1) simdlen(clen-1) in result() 49 for(T i = clen+2; i < 20; ++i) { in result() 51 v[i] = v[v-clen] + 1; in result()
|
/external/icu/icu4c/source/i18n/ |
D | uni2name.cpp | 98 int32_t clen = U16_LENGTH(c); in handleTransliterate() local 103 text.handleReplaceBetween(cursor, cursor+clen, str); in handleTransliterate() 106 limit += len-clen; // change in length in handleTransliterate() 108 cursor += clen; in handleTransliterate()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_gpsk_common.c | 43 size_t i, n, hashlen, left, clen; in eap_gpsk_gkdf_cmac() local 62 clen = left > hashlen ? hashlen : left; in eap_gpsk_gkdf_cmac() 63 os_memcpy(opos, hash, clen); in eap_gpsk_gkdf_cmac() 64 opos += clen; in eap_gpsk_gkdf_cmac() 65 left -= clen; in eap_gpsk_gkdf_cmac() 78 size_t i, n, hashlen, left, clen; in eap_gpsk_gkdf_sha256() local 97 clen = left > hashlen ? hashlen : left; in eap_gpsk_gkdf_sha256() 98 os_memcpy(opos, hash, clen); in eap_gpsk_gkdf_sha256() 99 opos += clen; in eap_gpsk_gkdf_sha256() 100 left -= clen; in eap_gpsk_gkdf_sha256()
|
D | eap_pax_common.c | 59 size_t clen = left > EAP_PAX_MAC_LEN ? EAP_PAX_MAC_LEN : left; in eap_pax_kdf() local 62 os_memcpy(pos, mac, clen); in eap_pax_kdf() 63 pos += clen; in eap_pax_kdf() 64 left -= clen; in eap_pax_kdf()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | UnicodeNameTransliterator.java | 60 int clen = UTF16.getCharCount(c); in handleTransliterate() local 61 text.replace(cursor, cursor+clen, str.toString()); in handleTransliterate() 64 limit += len-clen; // change in length in handleTransliterate()
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
D | UnicodeNameTransliterator.java | 59 int clen = UTF16.getCharCount(c); in handleTransliterate() local 60 text.replace(cursor, cursor+clen, str.toString()); in handleTransliterate() 63 limit += len-clen; // change in length in handleTransliterate()
|
/external/e2fsprogs/lib/ext2fs/ |
D | inode.c | 529 int clen, i, inodes_per_block, length; in ext2fs_read_inode_full() local 588 clen = length; in ext2fs_read_inode_full() 590 clen = fs->blocksize - offset; in ext2fs_read_inode_full() 601 clen); in ext2fs_read_inode_full() 604 length -= clen; in ext2fs_read_inode_full() 605 ptr += clen; in ext2fs_read_inode_full() 639 int clen, i, length; in ext2fs_write_inode_full() local 711 clen = length; in ext2fs_write_inode_full() 713 clen = fs->blocksize - offset; in ext2fs_write_inode_full() 725 ptr, clen); in ext2fs_write_inode_full() [all …]
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_record.c | 156 size_t clen; in tlsv1_record_send() local 218 clen = buf + buf_size - pos; in tlsv1_record_send() 219 if (clen < rl->hash_size) { in tlsv1_record_send() 226 if (crypto_hash_finish(hmac, pos, &clen) < 0) { in tlsv1_record_send() 232 pos, clen); in tlsv1_record_send() 233 pos += clen; in tlsv1_record_send()
|
D | tlsv1_client_write.c | 471 size_t clen; in tlsv1_key_x_rsa() local 494 clen = end - *pos; in tlsv1_key_x_rsa() 498 *pos, &clen); in tlsv1_key_x_rsa() 506 WPA_PUT_BE16(*pos - 2, clen); in tlsv1_key_x_rsa() 508 *pos, clen); in tlsv1_key_x_rsa() 509 *pos += clen; in tlsv1_key_x_rsa() 577 size_t rlen, hlen, clen; in tls_write_client_certificate_verify() local 712 clen = end - pos; in tls_write_client_certificate_verify() 715 pos, &clen) < 0) { in tls_write_client_certificate_verify() 721 WPA_PUT_BE16(signed_start, clen); in tls_write_client_certificate_verify() [all …]
|
/external/libpcap/ |
D | pcap-usb-linux.c | 788 int clen = handle->snapshot - sizeof(pcap_usb_header); in usb_read_linux_bin() local 793 info.data_len = clen; in usb_read_linux_bin() 816 if (info.hdr->data_len < clen) in usb_read_linux_bin() 817 clen = info.hdr->data_len; in usb_read_linux_bin() 818 info.hdr->data_len = clen; in usb_read_linux_bin() 819 pkth.caplen = clen + sizeof(pcap_usb_header); in usb_read_linux_bin() 850 int clen, max_clen; in usb_read_linux_mmap() local 895 clen = max_clen; in usb_read_linux_mmap() 896 if (hdr->data_len < clen) in usb_read_linux_mmap() 897 clen = hdr->data_len; in usb_read_linux_mmap() [all …]
|
/external/elfutils/libcpu/ |
D | i386_disasm.c | 389 uint_fast8_t clen = len >> 4; in i386_disasm() local 391 const uint8_t *next_curr = curr + clen + (len - clen) * 2; in i386_disasm() 394 assert (curr + clen + 2 * (len - clen) <= match_end); in i386_disasm() 400 if (data > begin && codep[-1] == *curr && clen > 0) in i386_disasm() 405 --clen; in i386_disasm() 415 while (clen > 0) in i386_disasm() 420 --clen; in i386_disasm()
|