Home
last modified time | relevance | path

Searched refs:br (Results 1 – 8 of 8) sorted by relevance

/curl/lib/
H A Dbufref.c42 br->ptr = NULL; in Curl_bufref_init()
43 br->len = 0; in Curl_bufref_init()
59 DEBUGASSERT(br->ptr || !br->len); in Curl_bufref_free()
61 if(br->ptr && br->dtor) in Curl_bufref_free()
62 br->dtor((void *) br->ptr); in Curl_bufref_free()
65 br->ptr = NULL; in Curl_bufref_free()
66 br->len = 0; in Curl_bufref_free()
81 br->len = len; in Curl_bufref_set()
92 DEBUGASSERT(br->ptr || !br->len); in Curl_bufref_ptr()
104 DEBUGASSERT(br->ptr || !br->len); in Curl_bufref_len()
[all …]
H A Dbufref.h40 void Curl_bufref_init(struct bufref *br);
41 void Curl_bufref_set(struct bufref *br, const void *ptr, size_t len,
43 const unsigned char *Curl_bufref_ptr(const struct bufref *br);
44 size_t Curl_bufref_len(const struct bufref *br);
45 CURLcode Curl_bufref_memdup(struct bufref *br, const void *ptr, size_t len);
46 void Curl_bufref_free(struct bufref *br);
H A Dcontent_encoding.c609 BrotliDecoderState *br; /* State structure for brotli. */ member
656 bp->br = BrotliDecoderCreateInstance(NULL, NULL, NULL); in brotli_do_init()
657 return bp->br ? CURLE_OK : CURLE_OUT_OF_MEMORY; in brotli_do_init()
675 if(!bp->br) in brotli_do_write()
686 r = BrotliDecoderDecompressStream(bp->br, in brotli_do_write()
697 BrotliDecoderDestroyInstance(bp->br); in brotli_do_write()
698 bp->br = NULL; in brotli_do_write()
703 result = brotli_map_error(BrotliDecoderGetErrorCode(bp->br)); in brotli_do_write()
718 if(bp->br) { in brotli_do_close()
719 BrotliDecoderDestroyInstance(bp->br); in brotli_do_close()
[all …]
/curl/tests/data/
H A Dtest31547 Content-Encoding: br
H A Dtest31629 Content-Encoding: br
H A Dtest31445 Content-Encoding: br
/curl/docs/libcurl/opts/
H A DCURLOPT_ACCEPT_ENCODING.md47 (since curl 7.57.0) *br* which is brotli and (since curl 7.72.0) *zstd* which
49 encodings, like: **"br, gzip, deflate"**.
/curl/lib/vtls/
H A Dopenssl.c2320 OCSP_BASICRESP *br = NULL; in verifystatus() local
2356 br = OCSP_response_get1_basic(rsp); in verifystatus()
2357 if(!br) { in verifystatus()
2382 if(sk_X509_num(ch) >= 2 && sk_X509_num(br->certs) >= 1) { in verifystatus()
2383 X509 *responder = sk_X509_value(br->certs, sk_X509_num(br->certs) - 1); in verifystatus()
2389 if(!OCSP_basic_add1_cert(br, issuer)) { in verifystatus()
2399 if(OCSP_basic_verify(br, ch, st, 0) <= 0) { in verifystatus()
2429 ret = OCSP_resp_find_status(br, id, &cert_status, &crl_reason, &rev, in verifystatus()
2465 if(br) in verifystatus()
2466 OCSP_BASICRESP_free(br); in verifystatus()

Completed in 22 milliseconds