Lines Matching defs:bufferPos
775 private int bufferPos;
794 if (bufferPos == buffer.length) {
797 buffer[bufferPos++] = (byte)b;
802 if (length <= buffer.length - bufferPos) {
804 System.arraycopy(b, offset, buffer, bufferPos, length);
805 bufferPos += length;
808 int copySize = buffer.length - bufferPos;
809 System.arraycopy(b, offset, buffer, bufferPos, copySize);
816 bufferPos = length;
857 cachedBufferPos = bufferPos;
872 return flushedBuffersTotalBytes + bufferPos;
883 bufferPos = 0;
906 bufferPos = 0;
914 if (bufferPos < buffer.length) {
915 if (bufferPos > 0) {
916 byte[] bufferCopy = copyArray(buffer, bufferPos);
930 flushedBuffersTotalBytes += bufferPos;
931 bufferPos = 0;