Lines Matching refs:bio
110 bssl::UniquePtr<BIO> bio(BIO_new_connect(hostname)); in TEST() local
111 ASSERT_TRUE(bio); in TEST()
115 BIO_write(bio.get(), kTestMessage, sizeof(kTestMessage))); in TEST()
135 bssl::UniquePtr<BIO> bio(BIO_new(BIO_s_mem())); in TEST() local
136 ASSERT_TRUE(bio); in TEST()
143 int ret = BIO_printf(bio.get(), "test %s", in.c_str()); in TEST()
149 ASSERT_TRUE(BIO_mem_contents(bio.get(), &contents, &len)); in TEST()
153 ASSERT_TRUE(BIO_reset(bio.get())); in TEST()
206 bssl::UniquePtr<BIO> bio(BIO_new_mem_buf(input.data(), input.size())); in TEST_P() local
207 ASSERT_TRUE(bio); in TEST_P()
211 int ok = BIO_read_asn1(bio.get(), &out, &out_len, param.max_len); in TEST_P()