Lines Matching refs:BIO
66 BIO *peer; // NULL if buf == NULL.
84 static int bio_new(BIO *bio) { in bio_new()
98 static void bio_destroy_pair(BIO *bio) { in bio_destroy_pair()
100 BIO *peer_bio; in bio_destroy_pair()
130 static int bio_free(BIO *bio) { in bio_free()
150 static int bio_read(BIO *bio, char *buf, int size_) { in bio_read()
233 static int bio_write(BIO *bio, const char *buf, int num_) { in bio_write()
252 OPENSSL_PUT_ERROR(BIO, BIO_R_BROKEN_PIPE); in bio_write()
305 static int bio_make_pair(BIO *bio1, BIO *bio2, size_t writebuf1_len, in bio_make_pair()
316 OPENSSL_PUT_ERROR(BIO, BIO_R_IN_USE); in bio_make_pair()
326 OPENSSL_PUT_ERROR(BIO, ERR_R_MALLOC_FAILURE); in bio_make_pair()
339 OPENSSL_PUT_ERROR(BIO, ERR_R_MALLOC_FAILURE); in bio_make_pair()
359 static long bio_ctrl(BIO *bio, int cmd, long num, void *ptr) { in bio_ctrl()
436 BIO *other_bio = ptr; in bio_ctrl()
461 int BIO_new_bio_pair(BIO** bio1_p, size_t writebuf1_len, in BIO_new_bio_pair()
462 BIO** bio2_p, size_t writebuf2_len) { in BIO_new_bio_pair()
463 BIO *bio1 = BIO_new(bio_s_bio()); in BIO_new_bio_pair()
464 BIO *bio2 = BIO_new(bio_s_bio()); in BIO_new_bio_pair()
479 size_t BIO_ctrl_get_read_request(BIO *bio) { in BIO_ctrl_get_read_request()
483 size_t BIO_ctrl_get_write_guarantee(BIO *bio) { in BIO_ctrl_get_write_guarantee()
487 int BIO_shutdown_wr(BIO *bio) { in BIO_shutdown_wr()