Lines Matching refs:bio
143 static int fd_new(BIO *bio) { in fd_new() argument
145 bio->num = -1; in fd_new()
149 static int fd_free(BIO *bio) { in fd_free() argument
150 if (bio == NULL) { in fd_free()
154 if (bio->shutdown) { in fd_free()
155 if (bio->init) { in fd_free()
156 BORINGSSL_CLOSE(bio->num); in fd_free()
158 bio->init = 0; in fd_free()
272 int BIO_set_fd(BIO *bio, int fd, int close_flag) { in BIO_set_fd() argument
273 return BIO_int_ctrl(bio, BIO_C_SET_FD, close_flag, fd); in BIO_set_fd()
276 int BIO_get_fd(BIO *bio, int *out_fd) { in BIO_get_fd() argument
277 return BIO_ctrl(bio, BIO_C_GET_FD, 0, (char *) out_fd); in BIO_get_fd()