Home | History | Annotate | Download | only in jni

Lines Matching refs:mPeekOffset

35     , mPeekOffset(0) {
43 size_t peek_remaining = mPeekSize - mPeekOffset;
48 memcpy(mPeekBuffer, old_peek + mPeekOffset, peek_remaining);
51 size_t read = doRead(mPeekBuffer + mPeekOffset, size - peek_remaining);
52 mPeekOffset = 0;
55 size = min(size, mPeekSize - mPeekOffset);
56 memcpy(buffer, mPeekBuffer + mPeekOffset, size);
62 size_t peek_remaining = mPeekSize - mPeekOffset;
65 memcpy(buffer, mPeekBuffer + mPeekOffset, bytes_read);
66 mPeekOffset += bytes_read;
67 if (mPeekOffset == mPeekSize) {
70 mPeekOffset = 0;