Searched refs:mPeekOffset (Results 1 – 2 of 2) sorted by relevance
35 , mPeekOffset(0) { in Stream()43 size_t peek_remaining = mPeekSize - mPeekOffset; in peek()48 memcpy(mPeekBuffer, old_peek + mPeekOffset, peek_remaining); in peek()51 size_t read = doRead(mPeekBuffer + mPeekOffset, size - peek_remaining); in peek()52 mPeekOffset = 0; in peek()55 size = min(size, mPeekSize - mPeekOffset); in peek()56 memcpy(buffer, mPeekBuffer + mPeekOffset, size); in peek()62 size_t peek_remaining = mPeekSize - mPeekOffset; in read()65 memcpy(buffer, mPeekBuffer + mPeekOffset, bytes_read); in read()66 mPeekOffset += bytes_read; in read()[all …]
41 size_t mPeekOffset; variable