Home | History | Annotate | Download | only in python2.7

Lines Matching defs:seek

289             self.fileobj.seek(0, 2)     # Seek to end of file
293 self.fileobj.seek( pos ) # Return to original position
317 # so seek back to the start of the unused data, finish up
319 # (The number of bytes to seek back is the length of the unused
321 self.fileobj.seek( -len(self.decompress.unused_data)+8, 1)
342 self.fileobj.seek(-8, 1)
358 self.fileobj.seek(-1, 1)
399 self.fileobj.seek(0)
415 def seek(self, offset, whence=0):
420 raise ValueError('Seek from end not supported')
423 raise IOError('Negative seek in write mode')
430 # for negative seek, rewind and do positive seek