Lines Matching refs:_offset
536 self._offset = 0
563 i = self._readbuffer.find('\n', self._offset) + 1
565 line = self._readbuffer[self._offset: i]
566 self._offset = i
593 self._offset += len(newline)
600 self._offset += len(chunk)
607 if n > len(self._readbuffer) - self._offset:
609 self._offset -= len(chunk)
612 return self._readbuffer[self._offset: self._offset + 512]
653 len_readbuffer = len(self._readbuffer) - self._offset
669 self._readbuffer = self._readbuffer[self._offset:] + data
670 self._offset = 0
689 self._readbuffer = self._readbuffer[self._offset:] + data
690 self._offset = 0
693 data = self._readbuffer[self._offset: self._offset + n]
694 self._offset += len(data)