Lines Matching refs:cookieObj
969 PyObject *cookieObj = PyObject_CallMethodNoArgs( in _textiowrapper_fix_encoder_state() local
971 if (cookieObj == NULL) { in _textiowrapper_fix_encoder_state()
975 int cmp = PyObject_RichCompareBool(cookieObj, _PyLong_GetZero(), Py_EQ); in _textiowrapper_fix_encoder_state()
976 Py_DECREF(cookieObj); in _textiowrapper_fix_encoder_state()
2359 textiowrapper_parse_cookie(cookie_type *cookie, PyObject *cookieObj) in textiowrapper_parse_cookie() argument
2362 PyLongObject *cookieLong = (PyLongObject *)PyNumber_Long(cookieObj); in textiowrapper_parse_cookie()
2453 _io_TextIOWrapper_seek_impl(textio *self, PyObject *cookieObj, int whence) in _io_TextIOWrapper_seek_impl() argument
2465 Py_INCREF(cookieObj); in _io_TextIOWrapper_seek_impl()
2477 cmp = PyObject_RichCompareBool(cookieObj, zero, Py_EQ); in _io_TextIOWrapper_seek_impl()
2489 Py_DECREF(cookieObj); in _io_TextIOWrapper_seek_impl()
2490 cookieObj = _PyObject_CallMethodIdNoArgs((PyObject *)self, &PyId_tell); in _io_TextIOWrapper_seek_impl()
2491 if (cookieObj == NULL) in _io_TextIOWrapper_seek_impl()
2497 cmp = PyObject_RichCompareBool(cookieObj, zero, Py_EQ); in _io_TextIOWrapper_seek_impl()
2521 Py_CLEAR(cookieObj); in _io_TextIOWrapper_seek_impl()
2544 cmp = PyObject_RichCompareBool(cookieObj, zero, Py_LT); in _io_TextIOWrapper_seek_impl()
2550 "negative seek position %R", cookieObj); in _io_TextIOWrapper_seek_impl()
2562 if (textiowrapper_parse_cookie(&cookie, cookieObj) < 0) in _io_TextIOWrapper_seek_impl()
2635 return cookieObj; in _io_TextIOWrapper_seek_impl()
2637 Py_XDECREF(cookieObj); in _io_TextIOWrapper_seek_impl()