Lines Matching refs:posobj
78 static PyObject* portable_lseek(fileio *self, PyObject *posobj, int whence, bool suppress_pipe_error);
882 portable_lseek(fileio *self, PyObject *posobj, int whence, bool suppress_pipe_error)
902 if (posobj == NULL) {
907 pos = PyLong_AsLongLong(posobj);
909 pos = PyLong_AsLong(posobj);
992 size as posobj: object = None
1002 _io_FileIO_truncate_impl(fileio *self, PyObject *posobj)
1015 if (posobj == Py_None) {
1017 posobj = portable_lseek(self, NULL, 1, false);
1018 if (posobj == NULL)
1022 Py_INCREF(posobj);
1026 pos = PyLong_AsLongLong(posobj);
1028 pos = PyLong_AsLong(posobj);
1031 Py_DECREF(posobj);
1047 Py_DECREF(posobj);
1052 return posobj;