Lines Matching defs:mem
81 BIO *mem; /* Memory BIO response is built into */
114 if (rctx->mem)
115 BIO_free(rctx->mem);
126 if (BIO_printf(rctx->mem, req_hdr, i2d_OCSP_REQUEST(req, NULL)) <= 0)
128 if (i2d_OCSP_REQUEST_bio(rctx->mem, req) <= 0)
131 rctx->asn1_len = BIO_get_mem_data(rctx->mem, NULL);
140 if (BIO_puts(rctx->mem, name) <= 0)
144 if (BIO_write(rctx->mem, ": ", 2) != 2)
146 if (BIO_puts(rctx->mem, value) <= 0)
149 if (BIO_write(rctx->mem, "\r\n", 2) != 2)
164 rctx->mem = BIO_new(BIO_s_mem());
172 if (!rctx->mem || !rctx->iobuf)
177 if (BIO_printf(rctx->mem, post_hdr, path) <= 0)
286 if (BIO_write(rctx->mem, rctx->iobuf, n) != n)
294 n = BIO_get_mem_data(rctx->mem, &p);
314 (void)BIO_reset(rctx->mem);
345 n = BIO_get_mem_data(rctx->mem, &p);
355 n = BIO_gets(rctx->mem, (char *)rctx->iobuf, rctx->iobuflen);
359 if (BIO_should_retry(rctx->mem))
409 n = BIO_get_mem_data(rctx->mem, &p);
459 n = BIO_get_mem_data(rctx->mem, &p);