Lines Matching refs:decoded
240 PyObject *decoded = NULL; in utf_7_decode() local
247 decoded = PyUnicode_DecodeUTF7Stateful(pbuf.buf, pbuf.len, errors, in utf_7_decode()
250 if (decoded == NULL) in utf_7_decode()
252 return codec_tuple(decoded, consumed); in utf_7_decode()
263 PyObject *decoded = NULL; in utf_8_decode() local
270 decoded = PyUnicode_DecodeUTF8Stateful(pbuf.buf, pbuf.len, errors, in utf_8_decode()
273 if (decoded == NULL) in utf_8_decode()
275 return codec_tuple(decoded, consumed); in utf_8_decode()
287 PyObject *decoded; in utf_16_decode() local
293 decoded = PyUnicode_DecodeUTF16Stateful(pbuf.buf, pbuf.len, errors, in utf_16_decode()
296 if (decoded == NULL) in utf_16_decode()
298 return codec_tuple(decoded, consumed); in utf_16_decode()
310 PyObject *decoded = NULL; in utf_16_le_decode() local
317 decoded = PyUnicode_DecodeUTF16Stateful(pbuf.buf, pbuf.len, errors, in utf_16_le_decode()
320 if (decoded == NULL) in utf_16_le_decode()
322 return codec_tuple(decoded, consumed); in utf_16_le_decode()
334 PyObject *decoded = NULL; in utf_16_be_decode() local
341 decoded = PyUnicode_DecodeUTF16Stateful(pbuf.buf, pbuf.len, errors, in utf_16_be_decode()
344 if (decoded == NULL) in utf_16_be_decode()
346 return codec_tuple(decoded, consumed); in utf_16_be_decode()
391 PyObject *decoded; in utf_32_decode() local
397 decoded = PyUnicode_DecodeUTF32Stateful(pbuf.buf, pbuf.len, errors, in utf_32_decode()
400 if (decoded == NULL) in utf_32_decode()
402 return codec_tuple(decoded, consumed); in utf_32_decode()
414 PyObject *decoded; in utf_32_le_decode() local
420 decoded = PyUnicode_DecodeUTF32Stateful(pbuf.buf, pbuf.len, errors, in utf_32_le_decode()
423 if (decoded == NULL) in utf_32_le_decode()
425 return codec_tuple(decoded, consumed); in utf_32_le_decode()
437 PyObject *decoded; in utf_32_be_decode() local
443 decoded = PyUnicode_DecodeUTF32Stateful(pbuf.buf, pbuf.len, errors, in utf_32_be_decode()
446 if (decoded == NULL) in utf_32_be_decode()
448 return codec_tuple(decoded, consumed); in utf_32_be_decode()
582 PyObject *decoded = NULL; in mbcs_decode() local
589 decoded = PyUnicode_DecodeMBCSStateful(pbuf.buf, pbuf.len, errors, in mbcs_decode()
592 if (decoded == NULL) in mbcs_decode()
594 return codec_tuple(decoded, consumed); in mbcs_decode()