Lines Matching defs:bufferPos
43 UInt32 bufferPos = 0;
50 size_t processedSize = kBufferSize - bufferPos;
53 RINOK(ReadStream(inStream, _buffer + bufferPos, &processedSize));
55 UInt32 endPos = bufferPos + (UInt32)processedSize;
57 bufferPos = Filter->Filter(_buffer, endPos);
58 if (bufferPos > endPos)
60 for (; endPos < bufferPos; endPos++)
62 bufferPos = Filter->Filter(_buffer, endPos);
65 if (bufferPos == 0)
71 RINOK(WriteWithLimit(outStream, bufferPos));
77 while (bufferPos < endPos)
78 _buffer[i++] = _buffer[bufferPos++];
79 bufferPos = i;