/third_party/openssl/test/ |
D | rsa_test.c | 217 int clen = 0; in rsa_setkey() local 223 clen = key1(*key, ctext); in rsa_setkey() 226 clen = key2(*key, ctext); in rsa_setkey() 229 clen = key3(*key, ctext); in rsa_setkey() 232 return clen; in rsa_setkey() 236 int success, unsigned char *ctext_ex, int *clen, in test_rsa_simple() argument 250 if (clen != NULL) in test_rsa_simple() 251 *clen = clentmp; in test_rsa_simple() 312 int clen = 0; in test_rsa_oaep() local 317 ctext_ex, &clen, &key)) in test_rsa_oaep() [all …]
|
/third_party/curl/lib/ |
D | dotdot.c | 57 size_t clen = inlen; /* the length of the cloned input */ in Curl_dedotdotify() local 98 clen -= 2; in Curl_dedotdotify() 102 clen -= 3; in Curl_dedotdotify() 110 clen -= 2; in Curl_dedotdotify() 115 clen -= 1; in Curl_dedotdotify() 125 clen -= 3; in Curl_dedotdotify() 137 clen -= 2; in Curl_dedotdotify() 163 clen--; in Curl_dedotdotify()
|
/third_party/curl/lib/vauth/ |
D | cleartext.c | 68 size_t clen; in Curl_auth_create_plain_message() local 72 clen = strlen(authcid); in Curl_auth_create_plain_message() 76 if((zlen > SIZE_T_MAX/4) || (clen > SIZE_T_MAX/4) || in Curl_auth_create_plain_message() 79 plainlen = zlen + clen + plen + 2; in Curl_auth_create_plain_message() 89 memcpy(plainauth + zlen + 1, authcid, clen); in Curl_auth_create_plain_message() 90 plainauth[zlen + clen + 1] = '\0'; in Curl_auth_create_plain_message() 91 memcpy(plainauth + zlen + clen + 2, passwd, plen); in Curl_auth_create_plain_message()
|
/third_party/ffmpeg/libavutil/tests/ |
D | lzo.c | 42 lzo_uint clen = 0; in main() local 48 lzo1x_1_compress(orig, s, comp, &clen, tmp); in main() 50 lzo1x_1_11_compress(orig, s, comp, &clen, tmp); in main() 52 lzo1x_1_12_compress(orig, s, comp, &clen, tmp); in main() 54 lzo1x_1_15_compress(orig, s, comp, &clen, tmp); in main() 56 lzo1x_999_compress(orig, s, comp, &clen, tmp); in main() 59 inlen = clen; outlen = MAXSZ; in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | sha256-tlsprf.c | 32 size_t clen; in tls_prf_sha256() local 63 clen = outlen - pos; in tls_prf_sha256() 64 if (clen > SHA256_MAC_LEN) in tls_prf_sha256() 65 clen = SHA256_MAC_LEN; in tls_prf_sha256() 66 os_memcpy(out + pos, P, clen); in tls_prf_sha256() 67 pos += clen; in tls_prf_sha256()
|
D | sha384-tlsprf.c | 32 size_t clen; in tls_prf_sha384() local 63 clen = outlen - pos; in tls_prf_sha384() 64 if (clen > SHA384_MAC_LEN) in tls_prf_sha384() 65 clen = SHA384_MAC_LEN; in tls_prf_sha384() 66 os_memcpy(out + pos, P, clen); in tls_prf_sha384() 67 pos += clen; in tls_prf_sha384()
|
D | sha512-kdf.c | 40 size_t pos, clen; in hmac_sha512_kdf() local 61 clen = outlen - pos; in hmac_sha512_kdf() 62 if (clen > SHA512_MAC_LEN) in hmac_sha512_kdf() 63 clen = SHA512_MAC_LEN; in hmac_sha512_kdf() 64 os_memcpy(out + pos, T, clen); in hmac_sha512_kdf() 65 pos += clen; in hmac_sha512_kdf()
|
D | sha256-kdf.c | 40 size_t pos, clen; in hmac_sha256_kdf() local 61 clen = outlen - pos; in hmac_sha256_kdf() 62 if (clen > SHA256_MAC_LEN) in hmac_sha256_kdf() 63 clen = SHA256_MAC_LEN; in hmac_sha256_kdf() 64 os_memcpy(out + pos, T, clen); in hmac_sha256_kdf() 65 pos += clen; in hmac_sha256_kdf()
|
D | sha384-kdf.c | 40 size_t pos, clen; in hmac_sha384_kdf() local 61 clen = outlen - pos; in hmac_sha384_kdf() 62 if (clen > SHA384_MAC_LEN) in hmac_sha384_kdf() 63 clen = SHA384_MAC_LEN; in hmac_sha384_kdf() 64 os_memcpy(out + pos, T, clen); in hmac_sha384_kdf() 65 pos += clen; in hmac_sha384_kdf()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | sha256-tlsprf.c | 32 size_t clen; in tls_prf_sha256() local 63 clen = outlen - pos; in tls_prf_sha256() 64 if (clen > SHA256_MAC_LEN) in tls_prf_sha256() 65 clen = SHA256_MAC_LEN; in tls_prf_sha256() 66 os_memcpy(out + pos, P, clen); in tls_prf_sha256() 67 pos += clen; in tls_prf_sha256()
|
D | sha256-kdf.c | 40 size_t pos, clen; in hmac_sha256_kdf() local 61 clen = outlen - pos; in hmac_sha256_kdf() 62 if (clen > SHA256_MAC_LEN) in hmac_sha256_kdf() 63 clen = SHA256_MAC_LEN; in hmac_sha256_kdf() 64 os_memcpy(out + pos, T, clen); in hmac_sha256_kdf() 65 pos += clen; in hmac_sha256_kdf()
|
D | sha512-kdf.c | 40 size_t pos, clen; in hmac_sha512_kdf() local 61 clen = outlen - pos; in hmac_sha512_kdf() 62 if (clen > SHA512_MAC_LEN) in hmac_sha512_kdf() 63 clen = SHA512_MAC_LEN; in hmac_sha512_kdf() 64 os_memcpy(out + pos, T, clen); in hmac_sha512_kdf() 65 pos += clen; in hmac_sha512_kdf()
|
D | sha384-kdf.c | 40 size_t pos, clen; in hmac_sha384_kdf() local 61 clen = outlen - pos; in hmac_sha384_kdf() 62 if (clen > SHA384_MAC_LEN) in hmac_sha384_kdf() 63 clen = SHA384_MAC_LEN; in hmac_sha384_kdf() 64 os_memcpy(out + pos, T, clen); in hmac_sha384_kdf() 65 pos += clen; in hmac_sha384_kdf()
|
/third_party/lwip/src/core/ipv4/ |
D | ip4_frag.c | 167 u16_t clen; in ip_reass_free_complete_datagram() local 187 clen = pbuf_clen(p); in ip_reass_free_complete_datagram() 188 LWIP_ASSERT("pbufs_freed + clen <= 0xffff", pbufs_freed + clen <= 0xffff); in ip_reass_free_complete_datagram() 189 pbufs_freed = (u16_t)(pbufs_freed + clen); in ip_reass_free_complete_datagram() 203 clen = pbuf_clen(pcur); in ip_reass_free_complete_datagram() 204 LWIP_ASSERT("pbufs_freed + clen <= 0xffff", pbufs_freed + clen <= 0xffff); in ip_reass_free_complete_datagram() 205 pbufs_freed = (u16_t)(pbufs_freed + clen); in ip_reass_free_complete_datagram() 278 ip_reass_enqueue_new_datagram(struct ip_hdr *fraghdr, int clen) in ip_reass_enqueue_new_datagram() argument 282 LWIP_UNUSED_ARG(clen); in ip_reass_enqueue_new_datagram() 289 if (ip_reass_remove_oldest_datagram(fraghdr, clen) >= clen) { in ip_reass_enqueue_new_datagram() [all …]
|
/third_party/lwip/src/netif/ppp/ |
D | chap-new.c | 258 int clen = 1, nlen, len; in chap_generate_challenge() local 265 clen = *p; in chap_generate_challenge() 267 memcpy(p + 1 + clen, pcb->chap_server.name, nlen); in chap_generate_challenge() 269 len = CHAP_HDRLEN + 1 + clen + nlen; in chap_generate_challenge() 437 int clen, nlen; local 456 clen = pkt[0]; 457 nlen = len - (clen + 1); 460 ppp_slprintf(rname, sizeof(rname), "%.*v", nlen, pkt + clen + 1); 482 clen = *outp; 484 memcpy(outp + clen + 1, pcb->chap_client.name, nlen); [all …]
|
/third_party/glib/glib/pcre/ |
D | pcre_dfa_exec.c | 571 int clen, dlen; in internal_dfa_exec() local 612 clen = 1; /* Number of data items in the character */ in internal_dfa_exec() 614 if (utf) { GETCHARLEN(c, ptr, clen); } else in internal_dfa_exec() 620 clen = 0; /* This indicates the end of the subject */ in internal_dfa_exec() 639 if (clen == 0) printf("EOL\n"); in internal_dfa_exec() 687 if (clen == 0 && poptable[codevalue] != 0) in internal_dfa_exec() 894 if (clen > 0 && !IS_NEWLINE(ptr)) in internal_dfa_exec() 913 if (clen > 0) in internal_dfa_exec() 919 if (clen == 0 && (md->moptions & PCRE_PARTIAL_HARD) != 0) in internal_dfa_exec() 921 else if (clen == 0 || (IS_NEWLINE(ptr) && ptr == end_subject - md->nllen)) in internal_dfa_exec() [all …]
|
/third_party/openssl/crypto/asn1/ |
D | x_long.c | 94 int clen, pad, i; 111 clen = num_bits_ulong(utmp); 113 if (!(clen & 0x7)) 119 clen = (clen + 7) >> 3; 124 for (i = clen - 1; i >= 0; i--) { 129 return clen + pad;
|
/third_party/lwip/src/core/ipv6/ |
D | ip6_frag.c | 152 u16_t clen; in ip6_reass_free_complete_datagram() local 182 clen = pbuf_clen(p); in ip6_reass_free_complete_datagram() 183 LWIP_ASSERT("pbufs_freed + clen <= 0xffff", pbufs_freed + clen <= 0xffff); in ip6_reass_free_complete_datagram() 184 pbufs_freed = (u16_t)(pbufs_freed + clen); in ip6_reass_free_complete_datagram() 198 clen = pbuf_clen(pcur); in ip6_reass_free_complete_datagram() 199 LWIP_ASSERT("pbufs_freed + clen <= 0xffff", pbufs_freed + clen <= 0xffff); in ip6_reass_free_complete_datagram() 200 pbufs_freed = (u16_t)(pbufs_freed + clen); in ip6_reass_free_complete_datagram() 279 u16_t clen; in ip6_reass() local 291 clen = pbuf_clen(p); in ip6_reass() 337 ip6_reass_remove_oldest_datagram(ipr, clen); in ip6_reass() [all …]
|
/third_party/toybox/toys/posix/ |
D | wc.c | 61 int len = 0, clen = 1, space = 0; in do_wc() local 88 if (--clen<1) { in do_wc() 90 clen = utf8towc(&wchar, toybuf+pos, len-pos); in do_wc() 91 if (clen == -1) continue; in do_wc() 92 if (clen == -2 && !done) break; in do_wc()
|
/third_party/pcre2/pcre2/src/ |
D | pcre2_dfa_match.c | 694 int clen, dlen; in internal_dfa_match() local 726 clen = 1; /* Number of data items in the character */ in internal_dfa_match() 728 GETCHARLENTEST(c, ptr, clen); in internal_dfa_match() 735 clen = 0; /* This indicates the end of the subject */ in internal_dfa_match() 793 if (clen == 0 && poptable[codevalue] != 0) in internal_dfa_match() 994 if (clen > 0 && !IS_NEWLINE(ptr)) in internal_dfa_match() 1013 if (clen > 0) in internal_dfa_match() 1019 if (clen == 0 || (IS_NEWLINE(ptr) && ptr == end_subject - mb->nllen)) in internal_dfa_match() 1031 if (clen == 0 && (mb->moptions & PCRE2_PARTIAL_HARD) != 0) in internal_dfa_match() 1033 else if (clen == 0 || in internal_dfa_match() [all …]
|
/third_party/toybox/scripts/ |
D | config2help.c | 355 int clen, tlen; in main() local 378 cdashlines = grab_dashlines(&catch->help, &cfrom, &clen); in main() 383 char **new = xmalloc(sizeof(char *)*(clen+tlen)); in main() 385 memcpy(new, cdashlines, sizeof(char *)*clen); in main() 386 memcpy(new+clen, tdashlines, sizeof(char *)*tlen); in main() 389 qsort(new, clen+tlen, sizeof(char *), (void *)dashlinesort); in main() 415 tlen += clen; in main() 417 for (clen = 0; clen < tlen; clen++) in main() 418 dlist_add(&cfrom, cdashlines[clen]); in main()
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | uni2name.cpp | 100 int32_t clen = U16_LENGTH(c); in handleTransliterate() local 105 text.handleReplaceBetween(cursor, cursor+clen, str); in handleTransliterate() 108 limit += len-clen; // change in length in handleTransliterate() 110 cursor += clen; in handleTransliterate()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | uni2name.cpp | 100 int32_t clen = U16_LENGTH(c); in handleTransliterate() local 105 text.handleReplaceBetween(cursor, cursor+clen, str); in handleTransliterate() 108 limit += len-clen; // change in length in handleTransliterate() 110 cursor += clen; in handleTransliterate()
|
/third_party/icu/icu4c/source/i18n/ |
D | uni2name.cpp | 100 int32_t clen = U16_LENGTH(c); in handleTransliterate() local 105 text.handleReplaceBetween(cursor, cursor+clen, str); in handleTransliterate() 108 limit += len-clen; // change in length in handleTransliterate() 110 cursor += clen; in handleTransliterate()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | uni2name.cpp | 100 int32_t clen = U16_LENGTH(c); in handleTransliterate() local 105 text.handleReplaceBetween(cursor, cursor+clen, str); in handleTransliterate() 108 limit += len-clen; // change in length in handleTransliterate() 110 cursor += clen; in handleTransliterate()
|