Lines Matching refs:whence
324 def seek(self, pos, whence=0): argument
743 def seek(self, pos, whence=0): argument
744 new_position = self.raw.seek(pos, whence)
913 def seek(self, pos, whence=0): argument
922 if whence == 0:
926 elif whence == 1:
928 elif whence == 2:
1156 def seek(self, pos, whence=0): argument
1157 if whence not in valid_seek_flags:
1160 if whence == 1:
1162 pos = _BufferedIOMixin.seek(self, pos, whence)
1248 def seek(self, pos, whence=0): argument
1249 if whence not in valid_seek_flags:
1253 return _BufferedIOMixin.seek(self, pos, whence)
1358 def seek(self, pos, whence=0): argument
1359 if whence not in valid_seek_flags:
1368 pos = self.raw.seek(pos, whence)
1649 def seek(self, pos, whence=SEEK_SET): argument
1663 return os.lseek(self._fd, pos, whence)
2367 def seek(self, cookie, whence=0): argument
2385 if whence == 1: # seek relative to current position
2390 whence = 0
2392 if whence == 2: # seek relative to end of file
2403 if whence != 0:
2404 raise ValueError("unsupported whence (%r)" % (whence,))