Searched refs:peek_remaining (Results 1 – 1 of 1) sorted by relevance
43 size_t peek_remaining = mPeekSize - mPeekOffset; in peek() local44 if (size > peek_remaining) { in peek()48 memcpy(mPeekBuffer, old_peek + mPeekOffset, peek_remaining); in peek()51 size_t read = doRead(mPeekBuffer + mPeekOffset, size - peek_remaining); in peek()53 mPeekSize = peek_remaining + read; in peek()62 size_t peek_remaining = mPeekSize - mPeekOffset; in read() local63 if (peek_remaining) { in read()64 bytes_read = min(size, peek_remaining); in read()