Lines Matching refs:whence
307 def seek(self, pos, whence=0): argument
700 def seek(self, pos, whence=0): argument
701 new_position = self.raw.seek(pos, whence)
855 def seek(self, pos, whence=0): argument
862 if whence == 0:
866 elif whence == 1:
868 elif whence == 2:
1051 def seek(self, pos, whence=0): argument
1052 if not (0 <= whence <= 2):
1055 if whence == 1:
1057 pos = _BufferedIOMixin.seek(self, pos, whence)
1150 def seek(self, pos, whence=0): argument
1151 if not (0 <= whence <= 2):
1155 return _BufferedIOMixin.seek(self, pos, whence)
1249 def seek(self, pos, whence=0): argument
1250 if not (0 <= whence <= 2):
1259 pos = self.raw.seek(pos, whence)
1792 def seek(self, cookie, whence=0): argument
1797 if whence == 1: # seek relative to current position
1802 whence = 0
1804 if whence == 2: # seek relative to end of file
1814 if whence != 0:
1816 (whence,))