HomeSort by relevance Sort by last modified time
    Searched refs:posInBuffer (Results 1 - 3 of 3) sorted by null

  /packages/apps/TV/usbtuner/src/com/android/usbtuner/
UsbTunerDataSource.java 188 int posInBuffer = (int) (mBytesFetched % CIRCULAR_BUFFER_SIZE);
190 if (posInBuffer + bytesToCopyInFirstPass > mCircularBuffer.length) {
191 bytesToCopyInFirstPass = mCircularBuffer.length - posInBuffer;
193 System.arraycopy(dataBuffer, 0, mCircularBuffer, posInBuffer,
245 int posInBuffer = (int) (pos % CIRCULAR_BUFFER_SIZE);
247 if (posInBuffer + bytesToCopyInFirstPass > mCircularBuffer.length) {
248 bytesToCopyInFirstPass = mCircularBuffer.length - posInBuffer;
250 System.arraycopy(mCircularBuffer, posInBuffer, buffer, offset, bytesToCopyInFirstPass);
FileDataSource.java 285 int posInBuffer = (int) (pos % CIRCULAR_BUFFER_SIZE);
287 if (posInBuffer + bytesToCopyInFirstPass > mCircularBuffer.length) {
288 bytesToCopyInFirstPass = mCircularBuffer.length - posInBuffer;
290 System.arraycopy(mCircularBuffer, posInBuffer, buffer, offset, bytesToCopyInFirstPass);
379 int posInBuffer = (int) (mBytesFetched % CIRCULAR_BUFFER_SIZE);
381 if (posInBuffer + bytesToCopyInFirstPass > mCircularBuffer.length) {
382 bytesToCopyInFirstPass = mCircularBuffer.length - posInBuffer;
384 System.arraycopy(dataBuffer, 0, mCircularBuffer, posInBuffer,
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
buffer_with_extendable_buffer.cpp 28 const int posInBuffer = readingPosIsInAdditionalBuffer ? pos - mOriginalBuffer.size() : pos;
29 return ByteArrayUtils::readUint(getBuffer(readingPosIsInAdditionalBuffer), size, posInBuffer);

Completed in 180 milliseconds