Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dunicodeobject.c4476 Py_ssize_t repwlen; in unicode_decode_call_errorhandler_wchar() local
4524 repwlen = PyUnicode_GetSize(repunicode); in unicode_decode_call_errorhandler_wchar() local
4525 if (repwlen < 0) in unicode_decode_call_errorhandler_wchar()
4529 repwlen = PyUnicode_AsWideChar(repunicode, NULL, 0); in unicode_decode_call_errorhandler_wchar()
4530 if (repwlen < 0) in unicode_decode_call_errorhandler_wchar()
4532 repwlen--; in unicode_decode_call_errorhandler_wchar()
4539 if (requiredsize > PY_SSIZE_T_MAX - repwlen) in unicode_decode_call_errorhandler_wchar()
4541 requiredsize += repwlen; in unicode_decode_call_errorhandler_wchar()
4553 PyUnicode_AsWideChar(repunicode, *buf + *outpos, repwlen); in unicode_decode_call_errorhandler_wchar()
4554 *outpos += repwlen; in unicode_decode_call_errorhandler_wchar()