Home
last modified time | relevance | path

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

/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp4676 static int NativeCrypto_BIO_read(JNIEnv* env, jclass, jlong bioRef, jbyteArray outputJavaBytes) { in NativeCrypto_BIO_read() argument
4678 JNI_TRACE("BIO_read(%p, %p)", bio, outputJavaBytes); in NativeCrypto_BIO_read()
4680 if (outputJavaBytes == NULL) { in NativeCrypto_BIO_read()
4682 JNI_TRACE("BIO_read(%p, %p) => output == null", bio, outputJavaBytes); in NativeCrypto_BIO_read()
4686 int outputSize = env->GetArrayLength(outputJavaBytes); in NativeCrypto_BIO_read()
4697 JNI_TRACE("BIO_read(%p, %p) => threw IO exception", bio, outputJavaBytes); in NativeCrypto_BIO_read()
4701 env->SetByteArrayRegion(outputJavaBytes, 0, read, reinterpret_cast<jbyte*>(buffer.get())); in NativeCrypto_BIO_read()
4702 JNI_TRACE("BIO_read(%p, %p) => %d", bio, outputJavaBytes, read); in NativeCrypto_BIO_read()