Lines Matching refs:byteBuffer
418 jobject byteBuffer = NULL; in getBuffers() local
420 env, !input /* readOnly */, true /* clearBuffer */, buffer, &byteBuffer); in getBuffers()
424 if (byteBuffer != NULL) { in getBuffers()
426 *bufArray, i, byteBuffer); in getBuffers()
428 env->DeleteLocalRef(byteBuffer); in getBuffers()
429 byteBuffer = NULL; in getBuffers()
447 jobject byteBuffer = in createByteBufferFromABuffer() local
449 if (readOnly && byteBuffer != NULL) { in createByteBufferFromABuffer()
451 byteBuffer, mByteBufferAsReadOnlyBufferMethodID); in createByteBufferFromABuffer()
452 env->DeleteLocalRef(byteBuffer); in createByteBufferFromABuffer()
453 byteBuffer = readOnlyBuffer; in createByteBufferFromABuffer()
455 if (byteBuffer == NULL) { in createByteBufferFromABuffer()
459 byteBuffer, mByteBufferOrderMethodID, mNativeByteOrderObj); in createByteBufferFromABuffer()
462 byteBuffer, mByteBufferLimitMethodID, in createByteBufferFromABuffer()
466 byteBuffer, mByteBufferPositionMethodID, in createByteBufferFromABuffer()
471 *buf = byteBuffer; in createByteBufferFromABuffer()
523 jobject byteBuffer = NULL; in getImage() local
525 env, !input /* readOnly */, input /* clearBuffer */, buffer, &byteBuffer); in getImage()
534 env->DeleteLocalRef(byteBuffer); in getImage()
535 byteBuffer = NULL; in getImage()
561 byteBuffer, infoBuffer, in getImage()
578 env->DeleteLocalRef(byteBuffer); in getImage()
579 byteBuffer = NULL; in getImage()