Lines Matching refs:posobj
2446 PyObject *posobj; in _io_TextIOWrapper_seek_impl() local
2554 posobj = PyLong_FromOff_t(cookie.start_pos); in _io_TextIOWrapper_seek_impl()
2555 if (posobj == NULL) in _io_TextIOWrapper_seek_impl()
2557 res = PyObject_CallMethodOneArg(self->buffer, _PyIO_str_seek, posobj); in _io_TextIOWrapper_seek_impl()
2558 Py_DECREF(posobj); in _io_TextIOWrapper_seek_impl()
2639 PyObject *posobj = NULL; in _io_TextIOWrapper_tell_impl() local
2669 posobj = _PyObject_CallMethodIdNoArgs(self->buffer, &PyId_tell); in _io_TextIOWrapper_tell_impl()
2670 if (posobj == NULL) in _io_TextIOWrapper_tell_impl()
2675 return posobj; in _io_TextIOWrapper_tell_impl()
2679 cookie.start_pos = PyLong_AsLongLong(posobj); in _io_TextIOWrapper_tell_impl()
2681 cookie.start_pos = PyLong_AsLong(posobj); in _io_TextIOWrapper_tell_impl()
2683 Py_DECREF(posobj); in _io_TextIOWrapper_tell_impl()