Lines Matching refs:in_bio
29 BIO *in = NULL, *in_bio = NULL, *readbuf_bio = NULL;
45 || !TEST_ptr(in_bio = BIO_new_file(filename, "r")))
48 in_bio = BIO_push(readbuf_bio, in_bio);
51 if (!TEST_int_eq(BIO_tell(in_bio), 0))
56 while (!BIO_eof(in_bio)) {
57 len = BIO_gets(in_bio, buf, sizeof(buf));
59 if (!TEST_true(BIO_eof(in_bio)))
68 && !BIO_eof(in_bio)
77 if (!TEST_int_eq(BIO_seek(in_bio, 0), 1))
81 while (!BIO_eof(in_bio)) {
82 if (!TEST_int_eq(BIO_read_ex(in_bio, buf, len, &bytes), 1))
94 BIO_free_all(in_bio);