/third_party/curl/src/ |
D | var.c | 99 size_t clen, /* content length */ in varfunc() argument 118 size_t len = clen; in varfunc() 120 if(clen) { in varfunc() 139 if(clen) { in varfunc() 140 if(jsonquoted(c, clen, out, FALSE)) { in varfunc() 149 if(clen) { in varfunc() 150 char *enc = curl_easy_escape(NULL, c, (int)clen); in varfunc() 167 if(clen) { in varfunc() 170 CURLcode result = curlx_base64_encode(c, clen, &enc, &elen); in varfunc() 194 clen = curlx_dyn_len(out); in varfunc() [all …]
|
/third_party/openssl/test/ |
D | rsa_test.c | 216 int clen = 0; in rsa_setkey() local 222 clen = key1(*key, ctext); in rsa_setkey() 225 clen = key2(*key, ctext); in rsa_setkey() 228 clen = key3(*key, ctext); in rsa_setkey() 231 return clen; in rsa_setkey() 235 int success, unsigned char *ctext_ex, int *clen, in test_rsa_simple() argument 249 if (clen != NULL) in test_rsa_simple() 250 *clen = clentmp; in test_rsa_simple() 289 int clen = 0; in test_rsa_oaep() local 294 ctext_ex, &clen, &key)) in test_rsa_oaep() [all …]
|
/third_party/curl/lib/vauth/ |
D | cleartext.c | 70 size_t clen; in Curl_auth_create_plain_message() local 74 clen = strlen(authcid); in Curl_auth_create_plain_message() 78 if((zlen > SIZE_T_MAX/4) || (clen > SIZE_T_MAX/4) || in Curl_auth_create_plain_message() 81 plainlen = zlen + clen + plen + 2; in Curl_auth_create_plain_message() 91 memcpy(plainauth + zlen + 1, authcid, clen); in Curl_auth_create_plain_message() 92 plainauth[zlen + clen + 1] = '\0'; in Curl_auth_create_plain_message() 93 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 | 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 | 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/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 | 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/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() 298 ip_reass_enqueue_new_datagram(struct ip_hdr *fraghdr, int clen) in ip_reass_enqueue_new_datagram() argument 302 LWIP_UNUSED_ARG(clen); in ip_reass_enqueue_new_datagram() 309 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/openssl/crypto/asn1/ |
D | x_long.c | 90 int clen, pad, i; in long_i2c() local 107 clen = num_bits_ulong(utmp); in long_i2c() 109 if (!(clen & 0x7)) in long_i2c() 115 clen = (clen + 7) >> 3; in long_i2c() 120 for (i = clen - 1; i >= 0; i--) { in long_i2c() 125 return clen + pad; in long_i2c()
|
/third_party/node/deps/openssl/openssl/crypto/asn1/ |
D | x_long.c | 90 int clen, pad, i; in long_i2c() local 107 clen = num_bits_ulong(utmp); in long_i2c() 109 if (!(clen & 0x7)) in long_i2c() 115 clen = (clen + 7) >> 3; in long_i2c() 120 for (i = clen - 1; i >= 0; i--) { in long_i2c() 125 return clen + pad; in long_i2c()
|
/third_party/f2fs-tools/fsck/ |
D | compress.c | 67 (lzo_uintp)(&cc->clen), cc->private); in lzo_compress() 68 cc->cbuf->clen = cpu_to_le32(cc->clen); in lzo_compress() 87 cc->clen = LZ4_compress_fast_extState(cc->private, cc->rbuf, in lz4_compress() 93 if (!cc->clen) in lz4_compress() 96 cc->cbuf->clen = cpu_to_le32(cc->clen); in lz4_compress()
|
/third_party/lwip/src/core/ipv6/ |
D | ip6_frag.c | 172 u16_t clen; in ip6_reass_free_complete_datagram() local 202 clen = pbuf_clen(p); in ip6_reass_free_complete_datagram() 203 LWIP_ASSERT("pbufs_freed + clen <= 0xffff", pbufs_freed + clen <= 0xffff); in ip6_reass_free_complete_datagram() 204 pbufs_freed = (u16_t)(pbufs_freed + clen); in ip6_reass_free_complete_datagram() 218 clen = pbuf_clen(pcur); in ip6_reass_free_complete_datagram() 219 LWIP_ASSERT("pbufs_freed + clen <= 0xffff", pbufs_freed + clen <= 0xffff); in ip6_reass_free_complete_datagram() 220 pbufs_freed = (u16_t)(pbufs_freed + clen); in ip6_reass_free_complete_datagram() 299 u16_t clen; in ip6_reass() local 311 clen = pbuf_clen(p); in ip6_reass() 357 ip6_reass_remove_oldest_datagram(ipr, clen); in ip6_reass() [all …]
|
/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/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/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/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()
|