Lines Matching full:mem
41 BIO *b, *mem; in do_bio_cipher() local
58 mem = BIO_new_mem_buf(inp, DATA_SIZE); in do_bio_cipher()
59 if (!TEST_ptr(mem)) in do_bio_cipher()
61 BIO_push(b, mem); in do_bio_cipher()
74 mem = BIO_new_mem_buf(inp, DATA_SIZE); in do_bio_cipher()
75 if (!TEST_ptr(mem)) in do_bio_cipher()
77 BIO_push(b, mem); in do_bio_cipher()
113 mem = BIO_new_mem_buf(inp, DATA_SIZE); in do_bio_cipher()
114 if (!TEST_ptr(mem)) in do_bio_cipher()
116 BIO_push(b, mem); in do_bio_cipher()
138 mem = BIO_new_mem_buf(ref, lref); in do_bio_cipher()
139 if (!TEST_ptr(mem)) in do_bio_cipher()
141 BIO_push(b, mem); in do_bio_cipher()
169 mem = BIO_new_mem_buf(ref, lref); in do_bio_cipher()
170 if (!TEST_ptr(mem)) in do_bio_cipher()
172 BIO_push(b, mem); in do_bio_cipher()
201 mem = BIO_new_mem_buf(ref, lref); in do_bio_cipher()
202 if (!TEST_ptr(mem)) in do_bio_cipher()
204 BIO_push(b, mem); in do_bio_cipher()
276 BIO *mem = NULL, *b64 = NULL, *cbio = NULL; in test_bio_enc_eof_read_flush() local
285 || !TEST_ptr(mem = BIO_new(BIO_s_mem())) in test_bio_enc_eof_read_flush()
288 || !TEST_ptr(BIO_push(b64, mem)) in test_bio_enc_eof_read_flush()
301 BIO_set_mem_eof_return(mem, 0); in test_bio_enc_eof_read_flush()
302 BIO_set_flags(mem, BIO_FLAGS_NONCLEAR_RST); in test_bio_enc_eof_read_flush()
303 if (!TEST_int_gt(BIO_reset(mem), 0) in test_bio_enc_eof_read_flush()
306 || !TEST_ptr(BIO_push(b64, mem)) in test_bio_enc_eof_read_flush()
325 BIO_free(mem); in test_bio_enc_eof_read_flush()