Lines Matching refs:codec_info
222 PyObject *codec_makeincrementalcodec(PyObject *codec_info, in codec_makeincrementalcodec() argument
228 inccodec = PyObject_GetAttrString(codec_info, attrname); in codec_makeincrementalcodec()
244 PyObject *codec_info, *ret; in codec_getincrementalcodec() local
246 codec_info = _PyCodec_Lookup(encoding); in codec_getincrementalcodec()
247 if (codec_info == NULL) in codec_getincrementalcodec()
249 ret = codec_makeincrementalcodec(codec_info, errors, attrname); in codec_getincrementalcodec()
250 Py_DECREF(codec_info); in codec_getincrementalcodec()
280 PyObject *_PyCodecInfo_GetIncrementalDecoder(PyObject *codec_info, in _PyCodecInfo_GetIncrementalDecoder() argument
283 return codec_makeincrementalcodec(codec_info, errors, in _PyCodecInfo_GetIncrementalDecoder()
287 PyObject *_PyCodecInfo_GetIncrementalEncoder(PyObject *codec_info, in _PyCodecInfo_GetIncrementalEncoder() argument
290 return codec_makeincrementalcodec(codec_info, errors, in _PyCodecInfo_GetIncrementalEncoder()