Home
last modified time | relevance | path

Searched refs:retobj (Results 1 – 1 of 1) sorted by relevance

/third_party/python/Modules/cjkcodecs/
Dmultibytecodec.c230 PyObject *retobj = NULL, *retstr = NULL, *tobj; in multibytecodec_encerror() local
322 retobj = call_error_callback(errors, buf->excobj); in multibytecodec_encerror()
323 if (retobj == NULL) in multibytecodec_encerror()
326 if (!PyTuple_Check(retobj) || PyTuple_GET_SIZE(retobj) != 2 || in multibytecodec_encerror()
327 (!PyUnicode_Check((tobj = PyTuple_GET_ITEM(retobj, 0))) && !PyBytes_Check(tobj)) || in multibytecodec_encerror()
328 !PyLong_Check(PyTuple_GET_ITEM(retobj, 1))) { in multibytecodec_encerror()
357 newpos = PyLong_AsSsize_t(PyTuple_GET_ITEM(retobj, 1)); in multibytecodec_encerror()
369 Py_DECREF(retobj); in multibytecodec_encerror()
374 Py_XDECREF(retobj); in multibytecodec_encerror()
385 PyObject *retobj = NULL, *retuni = NULL; in multibytecodec_decerror() local
[all …]