Lines Matching refs:_offset
801 self._offset = 0
852 i = self._readbuffer.find(b'\n', self._offset) + 1
854 line = self._readbuffer[self._offset: i]
855 self._offset = i
862 if n > len(self._readbuffer) - self._offset:
864 if len(chunk) > self._offset:
865 self._readbuffer = chunk + self._readbuffer[self._offset:]
866 self._offset = 0
868 self._offset -= len(chunk)
871 return self._readbuffer[self._offset: self._offset + 512]
881 buf = self._readbuffer[self._offset:]
883 self._offset = 0
888 end = n + self._offset
890 buf = self._readbuffer[self._offset:end]
891 self._offset = end
895 buf = self._readbuffer[self._offset:]
897 self._offset = 0
902 self._offset = n
923 buf = self._readbuffer[self._offset:]
925 self._offset = 0
933 end = n + self._offset
935 buf = self._readbuffer[self._offset:end]
936 self._offset = end
940 buf = self._readbuffer[self._offset:]
942 self._offset = 0
948 self._offset = n
1039 buff_offset = read_offset + self._offset
1043 self._offset = buff_offset
1052 self._offset = 0
1067 filepos = self._orig_file_size - self._left - len(self._readbuffer) + self._offset