Lines Matching defs:wbio
1014 ScopedSslBio(SSL *ssl, BIO* rbio, BIO* wbio) : ssl_(ssl) {
1015 SSL_set_bio(ssl_, rbio, wbio);
1017 CRYPTO_add(&wbio->references,1,CRYPTO_LOCK_BIO);
8215 BIO* wbio = reinterpret_cast<BIO*>(wbioRef);
8216 JNI_TRACE("ssl=%p NativeCrypto_SSL_do_handshake_bio rbio=%p wbio=%p shc=%p client_mode=%d npn=%p",
8217 ssl, rbio, wbio, shc, client_mode, npnProtocols);
8227 if (rbio == NULL || wbio == NULL) {
8228 jniThrowNullPointerException(env, "rbio == null || wbio == null");
8229 JNI_TRACE("ssl=%p NativeCrypto_SSL_do_handshake_bio => rbio == null || wbio == NULL", ssl);
8233 ScopedSslBio sslBio(ssl, rbio, wbio);
8606 BIO* wbio = SSL_get_wbio(ssl);
8629 unsigned int bytesMoved = BIO_number_read(rbio) + BIO_number_written(wbio);
8658 if (BIO_number_read(rbio) + BIO_number_written(wbio) != bytesMoved
8731 BIO* wbio = reinterpret_cast<BIO*>(static_cast<uintptr_t>(sinkBioRef));
8733 ssl, destJava, rbio, wbio, shc);
8737 if (rbio == NULL || wbio == NULL) {
8738 jniThrowNullPointerException(env, "rbio == null || wbio == null");
8739 JNI_TRACE("ssl=%p NativeCrypto_SSL_read_BIO => rbio == null || wbio == null", ssl);
8783 ScopedSslBio sslBio(ssl, rbio, wbio);
8923 BIO* wbio = SSL_get_wbio(ssl);
8948 unsigned int bytesMoved = BIO_number_read(rbio) + BIO_number_written(wbio);
8979 if (BIO_number_read(rbio) + BIO_number_written(wbio) != bytesMoved
9060 BIO* wbio = reinterpret_cast<BIO*>(static_cast<uintptr_t>(sinkBioRef));
9061 JNI_TRACE("ssl=%p NativeCrypto_SSL_write_BIO source=%p len=%d wbio=%p shc=%p",
9062 ssl, sourceJava, len, wbio, shc);
9066 if (wbio == NULL) {
9067 jniThrowNullPointerException(env, "wbio == null");
9068 JNI_TRACE("ssl=%p NativeCrypto_SSL_write_BIO => wbio == null", ssl);
9108 ScopedSslBio sslBio(ssl, nullBio.get(), wbio);
9331 BIO* wbio = reinterpret_cast<BIO*>(static_cast<uintptr_t>(wbioRef));
9332 JNI_TRACE("ssl=%p NativeCrypto_SSL_shutdown rbio=%p wbio=%p shc=%p", ssl, rbio, wbio, shc);
9336 if (rbio == NULL || wbio == NULL) {
9337 jniThrowNullPointerException(env, "rbio == null || wbio == null");
9338 JNI_TRACE("ssl=%p NativeCrypto_SSL_shutdown => rbio == null || wbio == null", ssl);
9356 ScopedSslBio scopedBio(ssl, rbio, wbio);