Lines Matching refs:byteBuffer
438 jobject byteBuffer = NULL; in getBuffers() local
440 env, !input /* readOnly */, true /* clearBuffer */, buffer, &byteBuffer); in getBuffers()
444 if (byteBuffer != NULL) { in getBuffers()
446 *bufArray, i, byteBuffer); in getBuffers()
448 env->DeleteLocalRef(byteBuffer); in getBuffers()
449 byteBuffer = NULL; in getBuffers()
474 jobject byteBuffer = in createByteBufferFromABuffer() local
476 if (readOnly && byteBuffer != NULL) { in createByteBufferFromABuffer()
478 byteBuffer, mByteBufferAsReadOnlyBufferMethodID); in createByteBufferFromABuffer()
479 env->DeleteLocalRef(byteBuffer); in createByteBufferFromABuffer()
480 byteBuffer = readOnlyBuffer; in createByteBufferFromABuffer()
482 if (byteBuffer == NULL) { in createByteBufferFromABuffer()
486 byteBuffer, mByteBufferOrderMethodID, mNativeByteOrderObj); in createByteBufferFromABuffer()
489 byteBuffer, mByteBufferLimitMethodID, in createByteBufferFromABuffer()
493 byteBuffer, mByteBufferPositionMethodID, in createByteBufferFromABuffer()
498 *buf = byteBuffer; in createByteBufferFromABuffer()
550 jobject byteBuffer = NULL; in getImage() local
552 env, !input /* readOnly */, input /* clearBuffer */, buffer, &byteBuffer); in getImage()
561 env->DeleteLocalRef(byteBuffer); in getImage()
562 byteBuffer = NULL; in getImage()
588 byteBuffer, infoBuffer, in getImage()
605 env->DeleteLocalRef(byteBuffer); in getImage()
606 byteBuffer = NULL; in getImage()