Lines Matching refs:cres
1266 PyObject *cres, *res; in mbstreamreader_iread() local
1274 cres = NULL; in mbstreamreader_iread()
1280 cres = PyObject_CallMethod(self->stream, in mbstreamreader_iread()
1283 cres = PyObject_CallMethod(self->stream, in mbstreamreader_iread()
1285 if (cres == NULL) in mbstreamreader_iread()
1288 if (!PyBytes_Check(cres)) { in mbstreamreader_iread()
1292 cres->ob_type->tp_name); in mbstreamreader_iread()
1296 endoffile = (PyBytes_GET_SIZE(cres) == 0); in mbstreamreader_iread()
1302 if (PyBytes_GET_SIZE(cres) > PY_SSIZE_T_MAX - self->pendingsize) { in mbstreamreader_iread()
1306 rsize = PyBytes_GET_SIZE(cres) + self->pendingsize; in mbstreamreader_iread()
1313 PyBytes_AS_STRING(cres), in mbstreamreader_iread()
1314 PyBytes_GET_SIZE(cres)); in mbstreamreader_iread()
1315 Py_DECREF(cres); in mbstreamreader_iread()
1316 cres = ctr; in mbstreamreader_iread()
1320 rsize = PyBytes_GET_SIZE(cres); in mbstreamreader_iread()
1321 if (decoder_prepare_buffer(&buf, PyBytes_AS_STRING(cres), in mbstreamreader_iread()
1342 Py_DECREF(cres); in mbstreamreader_iread()
1343 cres = NULL; in mbstreamreader_iread()
1355 Py_XDECREF(cres); in mbstreamreader_iread()
1360 Py_XDECREF(cres); in mbstreamreader_iread()