Lines Matching defs:whence
714 _buffered_raw_seek(buffered *self, Py_off_t target, int whence)
722 whenceobj = PyLong_FromLong(whence);
1240 whence: int = 0
1245 _io__Buffered_seek_impl(buffered *self, PyObject *targetobj, int whence)
1256 if ((whence < 0 || whence >2)
1258 && (whence != SEEK_HOLE)
1261 && (whence != SEEK_DATA)
1265 "whence value %d unsupported", whence);
1279 buffer. Other whence values must be managed without this optimization.
1282 if (((whence == 0) || (whence == 1)) && self->readable) {
1287 Don't know how to do that when whence == 2, though. */
1294 if (whence == 0)
1318 if (whence == 1)
1320 n = _buffered_raw_seek(self, target, whence);