Searched refs:cookieObj (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Modules/_io/ |
D | textio.c | 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() [all …]
|
/external/python/cpython3/Modules/_io/clinic/ |
D | textio.c.h | 325 _io_TextIOWrapper_seek_impl(textio *self, PyObject *cookieObj, int whence); 331 PyObject *cookieObj; in _io_TextIOWrapper_seek() local 335 &cookieObj, &whence)) { in _io_TextIOWrapper_seek() 338 return_value = _io_TextIOWrapper_seek_impl(self, cookieObj, whence); in _io_TextIOWrapper_seek()
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 957 PyObject *cookieObj = PyObject_CallMethodObjArgs( in _textiowrapper_fix_encoder_state() local 959 if (cookieObj == NULL) { in _textiowrapper_fix_encoder_state() 963 int cmp = PyObject_RichCompareBool(cookieObj, _PyLong_Zero, Py_EQ); in _textiowrapper_fix_encoder_state() 964 Py_DECREF(cookieObj); in _textiowrapper_fix_encoder_state() 2233 textiowrapper_parse_cookie(cookie_type *cookie, PyObject *cookieObj) in textiowrapper_parse_cookie() argument 2236 PyLongObject *cookieLong = (PyLongObject *)PyNumber_Long(cookieObj); in textiowrapper_parse_cookie() 2327 _io_TextIOWrapper_seek_impl(textio *self, PyObject *cookieObj, int whence) in _io_TextIOWrapper_seek_impl() argument 2339 Py_INCREF(cookieObj); in _io_TextIOWrapper_seek_impl() 2348 cmp = PyObject_RichCompareBool(cookieObj, _PyLong_Zero, Py_EQ); in _io_TextIOWrapper_seek_impl() 2360 Py_DECREF(cookieObj); in _io_TextIOWrapper_seek_impl() [all …]
|