Home
last modified time | relevance | path

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

/external/conscrypt/common/src/jni/main/cpp/
DNativeCrypto.cpp9225 static int NativeCrypto_BIO_read(JNIEnv* env, jclass, jlong bioRef, jbyteArray outputJavaBytes) { in NativeCrypto_BIO_read() argument
9227 JNI_TRACE("BIO_read(%p, %p)", bio, outputJavaBytes); in NativeCrypto_BIO_read()
9229 if (outputJavaBytes == nullptr) { in NativeCrypto_BIO_read()
9231 JNI_TRACE("BIO_read(%p, %p) => output == null", bio, outputJavaBytes); in NativeCrypto_BIO_read()
9235 jsize outputSize = env->GetArrayLength(outputJavaBytes); in NativeCrypto_BIO_read()
9247 JNI_TRACE("BIO_read(%p, %p) => threw IO exception", bio, outputJavaBytes); in NativeCrypto_BIO_read()
9251 env->SetByteArrayRegion(outputJavaBytes, 0, read, reinterpret_cast<jbyte*>(buffer.get())); in NativeCrypto_BIO_read()
9252 JNI_TRACE("BIO_read(%p, %p) => %d", bio, outputJavaBytes, read); in NativeCrypto_BIO_read()