Searched refs:inccodec (Results 1 – 2 of 2) sorted by relevance
226 PyObject *ret, *inccodec; in codec_makeincrementalcodec() local228 inccodec = PyObject_GetAttrString(codec_info, attrname); in codec_makeincrementalcodec()229 if (inccodec == NULL) in codec_makeincrementalcodec()232 ret = PyObject_CallFunction(inccodec, "s", errors); in codec_makeincrementalcodec()234 ret = PyObject_CallFunction(inccodec, NULL); in codec_makeincrementalcodec()235 Py_DECREF(inccodec); in codec_makeincrementalcodec()
280 PyObject *ret, *inccodec; in codec_makeincrementalcodec() local282 inccodec = PyObject_GetAttrString(codec_info, attrname); in codec_makeincrementalcodec()283 if (inccodec == NULL) in codec_makeincrementalcodec()286 ret = PyObject_CallFunction(inccodec, "s", errors); in codec_makeincrementalcodec()288 ret = _PyObject_CallNoArg(inccodec); in codec_makeincrementalcodec()289 Py_DECREF(inccodec); in codec_makeincrementalcodec()