Home
last modified time | relevance | path

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

/packages/apps/Gallery2/jni_jpegstream/src/
Djpegstream.cpp227 jbyte* in_buf = (jbyte*) env->GetByteArrayElements(inBuffer, 0); in OutputStream_writeInputBytes() local
228 if (env->ExceptionCheck() || in_buf == NULL) { in OutputStream_writeInputBytes()
232 int8_t* in_bytes = static_cast<int8_t*>(in_buf); in OutputStream_writeInputBytes()
242 env->ReleaseByteArrayElements(inBuffer, in_buf, JNI_ABORT); in OutputStream_writeInputBytes()
253 jbyte* in_buf = (jbyte*) env->GetByteArrayElements(inBuffer, 0); in InputStream_readDecodedBytes() local
254 if (env->ExceptionCheck() || in_buf == NULL) { in InputStream_readDecodedBytes()
257 int8_t* in_bytes = static_cast<int8_t*>(in_buf); in InputStream_readDecodedBytes()
269 env->ReleaseByteArrayElements(inBuffer, in_buf, JNI_ABORT); in InputStream_readDecodedBytes()
271 env->ReleaseByteArrayElements(inBuffer, in_buf, JNI_COMMIT); in InputStream_readDecodedBytes()