Lines Matching refs:MAX_UNICODE

97 #define MAX_UNICODE 0x10ffff  macro
267 assert(value <= MAX_UNICODE); in unicode_fill()
621 CHECK(maxchar <= MAX_UNICODE); in _PyUnicode_CheckConsistency()
758 assert(ch <= MAX_UNICODE); in backslashreplace()
833 assert(ch <= MAX_UNICODE); in xmlcharrefreplace()
1422 if (maxchar > MAX_UNICODE) { in PyUnicode_New()
1790 if (*maxchar > MAX_UNICODE) { in find_maxchar_surrogates()
2156 assert(ch <= MAX_UNICODE); in unicode_char()
2830 if (ordinal < 0 || ordinal > MAX_UNICODE) { in unicode_fromformat_arg()
3172 assert(ch <= MAX_UNICODE); in unicode_copy_as_widechar()
3268 if (ordinal < 0 || ordinal > MAX_UNICODE) { in PyUnicode_FromOrdinal()
4833 assert(ch <= MAX_UNICODE); in _PyUnicode_EncodeUTF7()
5201 assert(ch > 0xFFFF && ch <= MAX_UNICODE); in _Py_DecodeUTF8Ex()
5380 assert(ch <= MAX_UNICODE); in _Py_EncodeUTF8Ex()
6370 if (ch > MAX_UNICODE) { in _PyUnicode_DecodeUnicodeEscape()
6408 assert(ch <= MAX_UNICODE); in _PyUnicode_DecodeUnicodeEscape()
6574 assert(ch <= MAX_UNICODE && MAX_UNICODE <= 0x10ffff); in PyUnicode_AsUnicodeEscapeString()
6698 if (ch <= MAX_UNICODE) { in PyUnicode_DecodeRawUnicodeEscape()
6789 assert(ch <= MAX_UNICODE && MAX_UNICODE <= 0x10ffff); in PyUnicode_AsRawUnicodeEscapeString()
8165 if (value < 0 || value > MAX_UNICODE) { in charmap_decode_mapping()
8168 (unsigned long)MAX_UNICODE + 1); in charmap_decode_mapping()
8943 if (value < 0 || value > MAX_UNICODE) { in charmaptranslate_lookup()
8946 MAX_UNICODE+1); in charmaptranslate_lookup()
13848 assert(maxchar <= MAX_UNICODE); in _PyUnicodeWriter_PrepareInternal()
13942 assert(ch <= MAX_UNICODE); in _PyUnicodeWriter_WriteCharInline()
14751 if (x < 0 || x > MAX_UNICODE) { in formatchar()