Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
Dcodecs.c226 PyObject *ret, *inccodec; in codec_makeincrementalcodec() local
228 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()
/external/python/cpython3/Python/
Dcodecs.c280 PyObject *ret, *inccodec; in codec_makeincrementalcodec() local
282 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()