Lines Matching refs:cres
1398 PyObject *cres, *res; in mbstreamreader_iread() local
1406 cres = NULL; in mbstreamreader_iread()
1412 cres = PyObject_CallMethod(self->stream, in mbstreamreader_iread()
1415 cres = PyObject_CallMethod(self->stream, in mbstreamreader_iread()
1417 if (cres == NULL) in mbstreamreader_iread()
1420 if (!PyBytes_Check(cres)) { in mbstreamreader_iread()
1424 Py_TYPE(cres)->tp_name); in mbstreamreader_iread()
1428 endoffile = (PyBytes_GET_SIZE(cres) == 0); in mbstreamreader_iread()
1434 if (PyBytes_GET_SIZE(cres) > PY_SSIZE_T_MAX - self->pendingsize) { in mbstreamreader_iread()
1438 rsize = PyBytes_GET_SIZE(cres) + self->pendingsize; in mbstreamreader_iread()
1445 PyBytes_AS_STRING(cres), in mbstreamreader_iread()
1446 PyBytes_GET_SIZE(cres)); in mbstreamreader_iread()
1447 Py_DECREF(cres); in mbstreamreader_iread()
1448 cres = ctr; in mbstreamreader_iread()
1452 rsize = PyBytes_GET_SIZE(cres); in mbstreamreader_iread()
1453 if (decoder_prepare_buffer(&buf, PyBytes_AS_STRING(cres), in mbstreamreader_iread()
1474 Py_DECREF(cres); in mbstreamreader_iread()
1475 cres = NULL; in mbstreamreader_iread()
1487 Py_XDECREF(cres); in mbstreamreader_iread()
1492 Py_XDECREF(cres); in mbstreamreader_iread()