Lines Matching refs:buf_size
46 int buf_size; /* Buffer size */ member
94 OSSL_HTTP_REQ_CTX *OSSL_HTTP_REQ_CTX_new(BIO *wbio, BIO *rbio, int buf_size) in OSSL_HTTP_REQ_CTX_new() argument
106 rctx->buf_size = buf_size > 0 ? buf_size : OSSL_HTTP_DEFAULT_MAX_LINE_LEN; in OSSL_HTTP_REQ_CTX_new()
107 rctx->buf = OPENSSL_malloc(rctx->buf_size); in OSSL_HTTP_REQ_CTX_new()
396 int buf_size, int overall_timeout) in http_req_ctx_new() argument
398 OSSL_HTTP_REQ_CTX *rctx = OSSL_HTTP_REQ_CTX_new(wbio, rbio, buf_size); in http_req_ctx_new()
568 n = BIO_read(rctx->rbio, rctx->buf, rctx->buf_size); in OSSL_HTTP_REQ_CTX_nbio()
571 n = BIO_gets(rctx->rbio, buf, rctx->buf_size); in OSSL_HTTP_REQ_CTX_nbio()
574 n = BIO_get_line(rctx->rbio, buf, rctx->buf_size); in OSSL_HTTP_REQ_CTX_nbio()
636 n = BIO_read(rctx->req, rctx->buf, rctx->buf_size); in OSSL_HTTP_REQ_CTX_nbio()
683 if (n >= rctx->buf_size) { in OSSL_HTTP_REQ_CTX_nbio()
689 n = BIO_gets(rctx->mem, buf, rctx->buf_size); in OSSL_HTTP_REQ_CTX_nbio()
707 if (n == rctx->buf_size) { in OSSL_HTTP_REQ_CTX_nbio()
827 while ((n = BIO_read(rctx->rbio, rctx->buf, rctx->buf_size)) > 0 in OSSL_HTTP_REQ_CTX_nbio()
1021 int buf_size, int overall_timeout) in OSSL_HTTP_open() argument
1091 buf_size, overall_timeout); in OSSL_HTTP_open()
1214 int buf_size, const STACK_OF(CONF_VALUE) *headers, in OSSL_HTTP_get() argument
1244 buf_size, timeout); in OSSL_HTTP_get()
1306 int buf_size, const STACK_OF(CONF_VALUE) *headers, in OSSL_HTTP_transfer() argument
1317 buf_size, timeout); in OSSL_HTTP_transfer()