Home
last modified time | relevance | path

Searched refs:destlen (Results 1 – 22 of 22) sorted by relevance

/third_party/zlib/contrib/puff/
Dpufftest.c95 unsigned long sourcelen, destlen; in main() local
137 ret = puff(NIL, &destlen, source + skip, &sourcelen); in main()
141 fprintf(stderr, "puff() succeeded uncompressing %lu bytes\n", destlen); in main()
149 destlen >>= 1; in main()
150 dest = malloc(destlen); in main()
156 puff(dest, &destlen, source + skip, &sourcelen); in main()
158 fwrite(dest, 1, destlen, stdout); in main()
DREADME33 unsigned long *destlen, /* amount of output space */
44 If destlen is not enough space for the uncompressed data, then inflate will
45 return an error without writing more than destlen bytes. Note that this means
51 the initial value of *destlen is ignored and *destlen is set to the length of
62 *destlen is updated to the size of the uncompressed data. See the comments
Dpuff.h33 unsigned long *destlen, /* amount of output space */
Dpuff.c794 unsigned long *destlen, /* amount of output space */ in puff() argument
804 s.outlen = *destlen; /* ignored if dest is NIL */ in puff()
836 *destlen = s.outcnt; in puff()
/third_party/node/deps/ngtcp2/ngtcp2/crypto/includes/ngtcp2/
Dngtcp2_crypto.h158 NGTCP2_EXTERN int ngtcp2_crypto_hkdf_expand(uint8_t *dest, size_t destlen,
173 NGTCP2_EXTERN int ngtcp2_crypto_hkdf(uint8_t *dest, size_t destlen,
188 NGTCP2_EXTERN int ngtcp2_crypto_hkdf_expand_label(uint8_t *dest, size_t destlen,
745 uint8_t *dest, size_t destlen, uint32_t version, const ngtcp2_cid *dcid,
762 uint8_t *dest, size_t destlen, uint32_t version, const ngtcp2_cid *dcid,
/third_party/node/deps/ngtcp2/ngtcp2/crypto/openssl/
Dopenssl.c358 size_t destlen = (size_t)EVP_MD_size(prf); in ngtcp2_crypto_hkdf_extract()
369 EVP_PKEY_derive(pctx, dest, &destlen) != 1) { in ngtcp2_crypto_hkdf_extract()
379 int ngtcp2_crypto_hkdf_expand(uint8_t *dest, size_t destlen, in ngtcp2_crypto_hkdf_expand() argument
402 if (EVP_KDF_derive(kctx, dest, destlen, params) <= 0) { in ngtcp2_crypto_hkdf_expand()
423 EVP_PKEY_derive(pctx, dest, &destlen) != 1) { in ngtcp2_crypto_hkdf_expand()
433 int ngtcp2_crypto_hkdf(uint8_t *dest, size_t destlen, in ngtcp2_crypto_hkdf() argument
456 if (EVP_KDF_derive(kctx, dest, destlen, params) <= 0) { in ngtcp2_crypto_hkdf()
478 EVP_PKEY_derive(pctx, dest, &destlen) != 1) { in ngtcp2_crypto_hkdf()
/third_party/node/deps/ngtcp2/ngtcp2/crypto/boringssl/
Dboringssl.c287 size_t destlen = (size_t)EVP_MD_size(prf); in ngtcp2_crypto_hkdf_extract() local
289 if (HKDF_extract(dest, &destlen, prf, secret, secretlen, salt, saltlen) != in ngtcp2_crypto_hkdf_extract()
297 int ngtcp2_crypto_hkdf_expand(uint8_t *dest, size_t destlen, in ngtcp2_crypto_hkdf_expand() argument
303 if (HKDF_expand(dest, destlen, prf, secret, secretlen, info, infolen) != 1) { in ngtcp2_crypto_hkdf_expand()
310 int ngtcp2_crypto_hkdf(uint8_t *dest, size_t destlen, in ngtcp2_crypto_hkdf() argument
316 if (HKDF(dest, destlen, prf, secret, secretlen, salt, saltlen, info, in ngtcp2_crypto_hkdf()
/third_party/node/deps/ngtcp2/ngtcp2/lib/includes/ngtcp2/
Dngtcp2.h2210 uint8_t *dest, size_t destlen, ngtcp2_transport_params_type exttype,
2456 uint8_t *dest, size_t destlen, const uint8_t *stateless_reset_token,
2479 uint8_t *dest, size_t destlen, uint8_t unused_random, const uint8_t *dcid,
2960 typedef void (*ngtcp2_rand)(uint8_t *dest, size_t destlen,
3605 uint8_t *dest, size_t destlen, uint32_t version, const ngtcp2_cid *dcid,
3637 uint8_t *dest, size_t destlen, uint32_t version, const ngtcp2_cid *dcid,
3775 ngtcp2_pkt_info *pi, uint8_t *dest, size_t destlen, ngtcp2_tstamp ts);
4222 ngtcp2_conn *conn, uint8_t *dest, size_t destlen);
4379 ngtcp2_pkt_info *pi, uint8_t *dest, size_t destlen, ngtcp2_ssize *pdatalen,
4513 ngtcp2_pkt_info *pi, uint8_t *dest, size_t destlen, ngtcp2_ssize *pdatalen,
[all …]
/third_party/node/deps/ngtcp2/ngtcp2/lib/
Dngtcp2_conn.c2542 size_t destlen, uint8_t type, uint8_t flags, in conn_write_handshake_pkt() argument
2612 ngtcp2_ppe_init(&ppe, dest, destlen, &cc); in conn_write_handshake_pkt()
2646 destlen >= NGTCP2_MAX_UDP_PAYLOAD_SIZE) { in conn_write_handshake_pkt()
2846 uint8_t *dest, size_t destlen, in conn_write_ack_pkt() argument
2895 conn, pi, dest, destlen, type, NGTCP2_WRITE_PKT_FLAG_NONE, in conn_write_ack_pkt()
2990 uint8_t *dest, size_t destlen, in conn_write_handshake_ack_pkts() argument
3002 conn_write_ack_pkt(conn, pi, dest, destlen, NGTCP2_PKT_INITIAL, ts); in conn_write_handshake_ack_pkts()
3010 destlen -= (size_t)nwrite; in conn_write_handshake_ack_pkts()
3015 conn_write_ack_pkt(conn, pi, dest, destlen, NGTCP2_PKT_HANDSHAKE, ts); in conn_write_handshake_ack_pkts()
3045 uint8_t *dest, size_t destlen, in conn_write_client_initial() argument
[all …]
Dngtcp2_conn.h865 uint8_t *dest, size_t destlen,
885 ngtcp2_conn *conn, ngtcp2_pkt_info *pi, uint8_t *dest, size_t destlen,
1041 size_t destlen, uint64_t error_code, const uint8_t *reason,
1087 size_t destlen, uint64_t app_error_code, const uint8_t *reason,
Dngtcp2_pkt.c2096 uint8_t *dest, size_t destlen, uint8_t unused_random, const uint8_t *dcid, in ngtcp2_pkt_write_version_negotiation() argument
2106 if (destlen < len) { in ngtcp2_pkt_write_version_negotiation()
2225 ngtcp2_pkt_write_stateless_reset(uint8_t *dest, size_t destlen, in ngtcp2_pkt_write_stateless_reset() argument
2230 if (destlen < in ngtcp2_pkt_write_stateless_reset()
2241 randlen = ngtcp2_min(destlen - NGTCP2_STATELESS_RESET_TOKENLEN, randlen); in ngtcp2_pkt_write_stateless_reset()
2251 uint8_t *dest, size_t destlen, uint32_t version, const ngtcp2_cid *dcid, in ngtcp2_pkt_write_retry() argument
2308 if (destlen < (size_t)pseudo_retrylen + sizeof(tag) - offset) { in ngtcp2_pkt_write_retry()
2320 uint8_t *dest, size_t destlen, const ngtcp2_pkt_hd *hd, uint8_t unused, in ngtcp2_pkt_encode_pseudo_retry() argument
2325 if (destlen < 1 + odcid->datalen) { in ngtcp2_pkt_encode_pseudo_retry()
2331 destlen -= (size_t)(p - dest); in ngtcp2_pkt_encode_pseudo_retry()
[all …]
Dngtcp2_crypto.c155 uint8_t *dest, size_t destlen, ngtcp2_transport_params_type exttype, in ngtcp2_encode_transport_params_versioned() argument
270 if (dest == NULL && destlen == 0) { in ngtcp2_encode_transport_params_versioned()
274 if (destlen < len) { in ngtcp2_encode_transport_params_versioned()
Dngtcp2_pkt.h1202 uint8_t *dest, size_t destlen, const ngtcp2_pkt_hd *hd, uint8_t unused,
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dmemutil.h75 inline char* memcat(char* dest, size_t destlen, const char* src, in memcat() argument
77 return reinterpret_cast<char*>(memcpy(dest + destlen, src, srclen)); in memcat()
/third_party/node/deps/ngtcp2/ngtcp2/crypto/wolfssl/
Dwolfssl.c219 int ngtcp2_crypto_hkdf_expand(uint8_t *dest, size_t destlen, in ngtcp2_crypto_hkdf_expand() argument
223 if (wolfSSL_quic_hkdf_expand(dest, destlen, md->native_handle, secret, in ngtcp2_crypto_hkdf_expand()
230 int ngtcp2_crypto_hkdf(uint8_t *dest, size_t destlen, in ngtcp2_crypto_hkdf() argument
234 if (wolfSSL_quic_hkdf(dest, destlen, md->native_handle, secret, secretlen, in ngtcp2_crypto_hkdf()
/third_party/node/deps/ngtcp2/ngtcp2/crypto/picotls/
Dpicotls.c257 int ngtcp2_crypto_hkdf_expand(uint8_t *dest, size_t destlen, in ngtcp2_crypto_hkdf_expand() argument
266 if (ptls_hkdf_expand(md->native_handle, dest, destlen, prk, infov) != 0) { in ngtcp2_crypto_hkdf_expand()
273 int ngtcp2_crypto_hkdf(uint8_t *dest, size_t destlen, in ngtcp2_crypto_hkdf() argument
291 if (ptls_hkdf_expand(algo, dest, destlen, prk, infov) != 0) { in ngtcp2_crypto_hkdf()
/third_party/node/deps/ngtcp2/ngtcp2/crypto/
Dshared.c46 int ngtcp2_crypto_hkdf_expand_label(uint8_t *dest, size_t destlen, in ngtcp2_crypto_hkdf_expand_label() argument
54 *p++ = (uint8_t)(destlen / 256); in ngtcp2_crypto_hkdf_expand_label()
55 *p++ = (uint8_t)(destlen % 256); in ngtcp2_crypto_hkdf_expand_label()
63 return ngtcp2_crypto_hkdf_expand(dest, destlen, md, secret, secretlen, info, in ngtcp2_crypto_hkdf_expand_label()
1221 uint8_t *dest, size_t destlen, uint32_t version, const ngtcp2_cid *dcid, in ngtcp2_crypto_write_connection_close() argument
1261 dest, destlen, version, dcid, scid, error_code, reason, reasonlen, in ngtcp2_crypto_write_connection_close()
1275 ngtcp2_ssize ngtcp2_crypto_write_retry(uint8_t *dest, size_t destlen, in ngtcp2_crypto_write_retry() argument
1307 spktlen = ngtcp2_pkt_write_retry(dest, destlen, version, dcid, scid, odcid, in ngtcp2_crypto_write_retry()
/third_party/cups-filters/filter/foomatic-rip/
Dutil.h48 void strlower(char *dest, size_t destlen, const char *src);
Dutil.c100 void strlower(char *dest, size_t destlen, const char *src) in strlower() argument
104 while (*psrc && --destlen > 0) in strlower()
/third_party/nghttp2/src/
Dh2load_quic.cc285 void rand(uint8_t *dest, size_t destlen, const ngtcp2_rand_ctx *rand_ctx) { in rand() argument
286 util::random_bytes(dest, dest + destlen, in rand()
Dshrpx_http3_upstream.cc198 void rand(uint8_t *dest, size_t destlen, const ngtcp2_rand_ctx *rand_ctx) { in rand() argument
199 util::random_bytes(dest, dest + destlen, in rand()
/third_party/curl/lib/vquic/
Dcurl_ngtcp2.c927 static void cb_rand(uint8_t *dest, size_t destlen, in cb_rand() argument
933 result = Curl_rand(NULL, dest, destlen); in cb_rand()
937 memset(dest, 0, destlen); in cb_rand()