Home
last modified time | relevance | path

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

/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc10192 static int NativeCrypto_BIO_read(JNIEnv* env, jclass, jlong bioRef, jbyteArray outputJavaBytes) { in NativeCrypto_BIO_read() argument
10195 JNI_TRACE("BIO_read(%p, %p)", bio, outputJavaBytes); in NativeCrypto_BIO_read()
10198 JNI_TRACE("BIO_read(%p, %p) => bio == null", bio, outputJavaBytes); in NativeCrypto_BIO_read()
10202 if (outputJavaBytes == nullptr) { in NativeCrypto_BIO_read()
10204 JNI_TRACE("BIO_read(%p, %p) => output == null", bio, outputJavaBytes); in NativeCrypto_BIO_read()
10208 jsize outputSize = env->GetArrayLength(outputJavaBytes); in NativeCrypto_BIO_read()
10220 JNI_TRACE("BIO_read(%p, %p) => threw IO exception", bio, outputJavaBytes); in NativeCrypto_BIO_read()
10224 env->SetByteArrayRegion(outputJavaBytes, 0, read, reinterpret_cast<jbyte*>(buffer.get())); in NativeCrypto_BIO_read()
10225 JNI_TRACE("BIO_read(%p, %p) => %d", bio, outputJavaBytes, read); in NativeCrypto_BIO_read()