Lines Matching defs:bio
1466 BIO *bio = NULL;
1468 bio = BIO_new(BIO_s_socket());
1470 if (bio == NULL) {
1474 BIO_set_fd(bio, fd, BIO_NOCLOSE);
1475 SSL_set_bio(s, bio, bio);
1496 BIO *bio = BIO_new(BIO_s_socket());
1498 if (bio == NULL) {
1502 BIO_set_fd(bio, fd, BIO_NOCLOSE);
1503 SSL_set0_wbio(s, bio);
1526 BIO *bio = BIO_new(BIO_s_socket());
1528 if (bio == NULL) {
1532 BIO_set_fd(bio, fd, BIO_NOCLOSE);
1533 SSL_set0_rbio(s, bio);
3945 BIO *bio;
3967 bio = SSL_get_rbio(s);
3968 if (BIO_should_read(bio))
3970 else if (BIO_should_write(bio))
3981 else if (BIO_should_io_special(bio)) {
3982 reason = BIO_get_retry_reason(bio);
3993 /* Access wbio directly - in order to use the buffered bio if present */
3994 bio = s->wbio;
3995 if (BIO_should_write(bio))
3997 else if (BIO_should_read(bio))
3999 * See above (SSL_want_read(s) with BIO_should_write(bio))
4002 else if (BIO_should_io_special(bio)) {
4003 reason = BIO_get_retry_reason(bio);