Lines Matching defs:bio
1384 BIO *bio = NULL;
1386 bio = BIO_new(BIO_s_socket());
1388 if (bio == NULL) {
1392 BIO_set_fd(bio, fd, BIO_NOCLOSE);
1393 SSL_set_bio(s, bio, bio);
1414 BIO *bio = BIO_new(BIO_s_socket());
1416 if (bio == NULL) {
1420 BIO_set_fd(bio, fd, BIO_NOCLOSE);
1421 SSL_set0_wbio(s, bio);
1444 BIO *bio = BIO_new(BIO_s_socket());
1446 if (bio == NULL) {
1450 BIO_set_fd(bio, fd, BIO_NOCLOSE);
1451 SSL_set0_rbio(s, bio);
3846 BIO *bio;
3863 bio = SSL_get_rbio(s);
3864 if (BIO_should_read(bio))
3866 else if (BIO_should_write(bio))
3877 else if (BIO_should_io_special(bio)) {
3878 reason = BIO_get_retry_reason(bio);
3889 /* Access wbio directly - in order to use the buffered bio if present */
3890 bio = s->wbio;
3891 if (BIO_should_write(bio))
3893 else if (BIO_should_read(bio))
3895 * See above (SSL_want_read(s) with BIO_should_write(bio))
3898 else if (BIO_should_io_special(bio)) {
3899 reason = BIO_get_retry_reason(bio);