Searched refs:codec_tuple (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Modules/ |
D | _codecsmodule.c | 163 PyObject *codec_tuple(PyObject *decoded, in codec_tuple() function 186 return codec_tuple(decoded, data->len); in _codecs_escape_decode_impl() 249 return codec_tuple(v, size); in _codecs_escape_encode_impl() 269 return codec_tuple(obj, PyUnicode_GET_LENGTH(obj)); in _codecs_unicode_internal_decode_impl() 277 result = codec_tuple( in _codecs_unicode_internal_decode_impl() 302 return codec_tuple(decoded, consumed); in _codecs_utf_7_decode_impl() 322 return codec_tuple(decoded, consumed); in _codecs_utf_8_decode_impl() 344 return codec_tuple(decoded, consumed); in _codecs_utf_16_decode_impl() 366 return codec_tuple(decoded, consumed); in _codecs_utf_16_le_decode_impl() 388 return codec_tuple(decoded, consumed); in _codecs_utf_16_be_decode_impl() [all …]
|
/external/python/cpython2/Modules/ |
D | _codecsmodule.c | 148 PyObject *codec_tuple(PyObject *unicode, in codec_tuple() function 171 return codec_tuple(PyString_DecodeEscape(data, size, errors, 0, NULL), in escape_decode() 200 return codec_tuple(str, consumed); in escape_encode() 221 return codec_tuple(obj, PyUnicode_GET_SIZE(obj)); in unicode_internal_decode() 227 return codec_tuple(_PyUnicode_DecodeUnicodeInternal(data, size, errors), in unicode_internal_decode() 252 return codec_tuple(decoded, consumed); in utf_7_decode() 275 return codec_tuple(decoded, consumed); in utf_8_decode() 298 return codec_tuple(decoded, consumed); in utf_16_decode() 322 return codec_tuple(decoded, consumed); in utf_16_le_decode() 346 return codec_tuple(decoded, consumed); in utf_16_be_decode() [all …]
|