Home | History | Annotate | Download | only in _io

Lines Matching defs:whence

615 _buffered_raw_seek(buffered *self, Py_off_t target, int whence)

623 whenceobj = PyLong_FromLong(whence);
1044 int whence = 0;
1048 if (!PyArg_ParseTuple(args, "O|i:seek", &targetobj, &whence)) {
1051 if (whence < 0 || whence > 2) {
1053 "whence must be between 0 and 2, not %d", whence);
1063 if (whence != 2 && self->readable) {
1068 Don't know how to do that when whence == 2, though. */
1075 if (whence == 0)
1099 if (whence == 1)
1101 n = _buffered_raw_seek(self, target, whence);