Home
last modified time | relevance | path

Searched refs:enclen (Results 1 – 11 of 11) sorted by relevance

/third_party/openssl/test/
Dx509aux.c46 long enclen; in test_certs() local
64 enclen = i2d(cert, NULL); in test_certs()
65 if (len != enclen) { in test_certs()
67 enclen, name, len); in test_certs()
76 enclen = i2d(cert, &bufp); in test_certs()
77 if (len != enclen) { in test_certs()
79 enclen, name, len); in test_certs()
83 enclen = (long) (bufp - buf); in test_certs()
84 if (enclen != len) { in test_certs()
95 reuse = d2i(NULL, &p, enclen); in test_certs()
[all …]
/third_party/node/deps/base64/base64/test/
Dtest_base64.c101 size_t enclen, declen; in test_char_table() local
125 base64_encode(src, chrlen, enc, &enclen, flags); in test_char_table()
130 if (!base64_decode(enc, enclen, dec, &declen, flags)) { in test_char_table()
174 size_t enclen = 0; in test_streaming() local
179 …base64_stream_encode(&state, &chr[inpos], (inpos + bs > 256) ? 256 - inpos : bs, &enc[enclen], &pa… in test_streaming()
180 enclen += partlen; in test_streaming()
186 base64_stream_encode_final(&state, &enc[enclen], &partlen); in test_streaming()
187 enclen += partlen; in test_streaming()
189 if (enclen != reflen) { in test_streaming()
192 (unsigned long)enclen, in test_streaming()
[all …]
/third_party/node/deps/cares/src/lib/
Dares_expand_name.c41 size_t alen, char **s, size_t *enclen, in ares__expand_name_validated() argument
48 if (encoded == NULL || abuf == NULL || alen == 0 || enclen == NULL) { in ares__expand_name_validated()
56 *enclen = 0; in ares__expand_name_validated()
80 *enclen = start_len - ares__buf_len(buf); in ares__expand_name_validated()
88 int alen, char **s, long *enclen) in ares_expand_name() argument
100 *enclen = (long)enclen_temp; in ares_expand_name()
109 size_t *enclen, in ares__expand_name_for_response() argument
113 ares__expand_name_validated(encoded, abuf, alen, s, enclen, is_hostname); in ares__expand_name_for_response()
Dares_expand_string.c46 unsigned char **s, size_t *enclen) in ares_expand_string_ex() argument
53 if (encoded == NULL || abuf == NULL || alen == 0 || enclen == NULL) { in ares_expand_string_ex()
61 *enclen = 0; in ares_expand_string_ex()
87 *enclen = start_len - ares__buf_len(buf); in ares_expand_string_ex()
98 int alen, unsigned char **s, long *enclen) in ares_expand_string() argument
109 *enclen = (long)temp_enclen; in ares_expand_string()
Dares_private.h367 size_t alen, char **s, size_t *enclen,
372 size_t *enclen,
376 unsigned char **s, size_t *enclen);
/third_party/node/deps/nghttp2/lib/
Dnghttp2_hd.c976 size_t enclen; in emit_string() local
979 enclen = nghttp2_hd_huff_encode_count(str, len); in emit_string()
981 if (enclen < len) { in emit_string()
984 enclen = len; in emit_string()
987 blocklen = count_encoded_length(enclen, 7); in emit_string()
991 (int)len, (const char *)str, len, huffman, enclen); in emit_string()
999 encode_length(bufp, enclen, 7); in emit_string()
1009 assert(enclen == len); in emit_string()
/third_party/nghttp2/lib/
Dnghttp2_hd.c976 size_t enclen; in emit_string() local
979 enclen = nghttp2_hd_huff_encode_count(str, len); in emit_string()
981 if (enclen < len) { in emit_string()
984 enclen = len; in emit_string()
987 blocklen = count_encoded_length(enclen, 7); in emit_string()
991 (int)len, (const char *)str, len, huffman, enclen); in emit_string()
999 encode_length(bufp, enclen, 7); in emit_string()
1009 assert(enclen == len); in emit_string()
/third_party/cares/include/
Dares.h499 long *enclen);
505 long *enclen);
/third_party/node/deps/cares/include/
Dares.h525 long *enclen);
529 unsigned char **s, long *enclen);
/third_party/node/deps/openssl/openssl/ssl/statem/
Dstatem_clnt.c2838 size_t enclen; in tls_construct_cke_rsa() local
2878 || EVP_PKEY_encrypt(pctx, NULL, &enclen, pms, pmslen) <= 0) { in tls_construct_cke_rsa()
2882 if (!WPACKET_allocate_bytes(pkt, enclen, &encdata) in tls_construct_cke_rsa()
2883 || EVP_PKEY_encrypt(pctx, encdata, &enclen, pms, pmslen) <= 0) { in tls_construct_cke_rsa()
2897 if (!ssl_log_rsa_client_key_exchange(s, encdata, enclen, pms, pmslen)) { in tls_construct_cke_rsa()
/third_party/openssl/ssl/statem/
Dstatem_clnt.c2830 size_t enclen; in tls_construct_cke_rsa() local
2870 || EVP_PKEY_encrypt(pctx, NULL, &enclen, pms, pmslen) <= 0) { in tls_construct_cke_rsa()
2874 if (!WPACKET_allocate_bytes(pkt, enclen, &encdata) in tls_construct_cke_rsa()
2875 || EVP_PKEY_encrypt(pctx, encdata, &enclen, pms, pmslen) <= 0) { in tls_construct_cke_rsa()
2889 if (!ssl_log_rsa_client_key_exchange(s, encdata, enclen, pms, pmslen)) { in tls_construct_cke_rsa()