Home
last modified time | relevance | path

Searched refs:throwIfNull (Results 1 – 1 of 1) sorted by relevance

/external/conscrypt/common/src/jni/main/cpp/
DNativeCrypto.cpp62 static SSL_CTX* to_SSL_CTX(JNIEnv* env, jlong ssl_ctx_address, bool throwIfNull) { in to_SSL_CTX() argument
64 if ((ssl_ctx == nullptr) && throwIfNull) { in to_SSL_CTX()
71 static SSL* to_SSL(JNIEnv* env, jlong ssl_address, bool throwIfNull) { in to_SSL() argument
73 if ((ssl == nullptr) && throwIfNull) { in to_SSL()
80 static BIO* to_SSL_BIO(JNIEnv* env, jlong bio_address, bool throwIfNull) { in to_SSL_BIO() argument
82 if ((bio == nullptr) && throwIfNull) { in to_SSL_BIO()
89 static SSL_SESSION* to_SSL_SESSION(JNIEnv* env, jlong ssl_session_address, bool throwIfNull) { in to_SSL_SESSION() argument
92 if ((ssl_session == nullptr) && throwIfNull) { in to_SSL_SESSION()
99 static SSL_CIPHER* to_SSL_CIPHER(JNIEnv* env, jlong ssl_cipher_address, bool throwIfNull) { in to_SSL_CIPHER() argument
102 if ((ssl_cipher == nullptr) && throwIfNull) { in to_SSL_CIPHER()