Home
last modified time | relevance | path

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

/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DFileTsStreamer.java394 int posInBuffer = (int) (pos % CIRCULAR_BUFFER_SIZE); in readAt() local
396 if (posInBuffer + bytesToCopyInFirstPass > mCircularBuffer.length) { in readAt()
397 bytesToCopyInFirstPass = mCircularBuffer.length - posInBuffer; in readAt()
399 System.arraycopy(mCircularBuffer, posInBuffer, buffer, offset, bytesToCopyInFirstPass); in readAt()
479 int posInBuffer = (int) (mBytesFetched % CIRCULAR_BUFFER_SIZE); in run() local
481 if (posInBuffer + bytesToCopyInFirstPass > mCircularBuffer.length) { in run()
482 bytesToCopyInFirstPass = mCircularBuffer.length - posInBuffer; in run()
485 dataBuffer, 0, mCircularBuffer, posInBuffer, bytesToCopyInFirstPass); in run()
DTunerTsStreamer.java387 int posInBuffer = (int) (mBytesFetched % CIRCULAR_BUFFER_SIZE); in run() local
389 if (posInBuffer + bytesToCopyInFirstPass > mCircularBuffer.length) { in run()
390 bytesToCopyInFirstPass = mCircularBuffer.length - posInBuffer; in run()
393 dataBuffer, 0, mCircularBuffer, posInBuffer, bytesToCopyInFirstPass); in run()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dbuffer_with_extendable_buffer.cpp28 const int posInBuffer = readingPosIsInAdditionalBuffer ? pos - mOriginalBuffer.size() : pos; in readUint() local
29 return ByteArrayUtils::readUint(getBuffer(readingPosIsInAdditionalBuffer), size, posInBuffer); in readUint()