Lines Matching refs:posobj
79 static PyObject* portable_lseek(fileio *self, PyObject *posobj, int whence, bool suppress_pipe_erro…
877 portable_lseek(fileio *self, PyObject *posobj, int whence, bool suppress_pipe_error) argument
897 if (posobj == NULL) {
901 if(PyFloat_Check(posobj)) {
906 pos = PyLong_AsLongLong(posobj);
908 pos = PyLong_AsLong(posobj);
1001 _io_FileIO_truncate_impl(fileio *self, PyObject *posobj) argument
1014 if (posobj == Py_None) {
1016 posobj = portable_lseek(self, NULL, 1, false);
1017 if (posobj == NULL)
1021 Py_INCREF(posobj);
1025 pos = PyLong_AsLongLong(posobj);
1027 pos = PyLong_AsLong(posobj);
1030 Py_DECREF(posobj);
1046 Py_DECREF(posobj);
1051 return posobj;