Lines Matching refs:cookieObj
1044 PyObject *cookieObj; in textiowrapper_init() local
1049 cookieObj = PyObject_CallMethodObjArgs(buffer, _PyIO_str_tell, NULL); in textiowrapper_init()
1050 if (cookieObj == NULL) in textiowrapper_init()
1053 cmp = PyObject_RichCompareBool(cookieObj, _PyIO_zero, Py_EQ); in textiowrapper_init()
1054 Py_DECREF(cookieObj); in textiowrapper_init()
1929 textiowrapper_parse_cookie(cookie_type *cookie, PyObject *cookieObj) in textiowrapper_parse_cookie() argument
1932 PyLongObject *cookieLong = (PyLongObject *)PyNumber_Long(cookieObj); in textiowrapper_parse_cookie()
2011 PyObject *cookieObj, *posobj; in textiowrapper_seek() local
2019 if (!PyArg_ParseTuple(args, "O|i:seek", &cookieObj, &whence)) in textiowrapper_seek()
2023 Py_INCREF(cookieObj); in textiowrapper_seek()
2033 cmp = PyObject_RichCompareBool(cookieObj, _PyIO_zero, Py_EQ); in textiowrapper_seek()
2046 Py_DECREF(cookieObj); in textiowrapper_seek()
2047 cookieObj = PyObject_CallMethod((PyObject *)self, "tell", NULL); in textiowrapper_seek()
2048 if (cookieObj == NULL) in textiowrapper_seek()
2054 cmp = PyObject_RichCompareBool(cookieObj, _PyIO_zero, Py_EQ); in textiowrapper_seek()
2079 Py_XDECREF(cookieObj); in textiowrapper_seek()
2088 cmp = PyObject_RichCompareBool(cookieObj, _PyIO_zero, Py_LT); in textiowrapper_seek()
2093 PyObject *repr = PyObject_Repr(cookieObj); in textiowrapper_seek()
2111 if (textiowrapper_parse_cookie(&cookie, cookieObj) < 0) in textiowrapper_seek()
2184 return cookieObj; in textiowrapper_seek()
2186 Py_XDECREF(cookieObj); in textiowrapper_seek()