Searched refs:Py_UNICODE_HIGH_SURROGATE (Results 1 – 4 of 4) sorted by relevance
681 out[0] = Py_UNICODE_HIGH_SURROGATE(ch); in STRINGLIB()716 Py_UCS2 ch1 = Py_UNICODE_HIGH_SURROGATE(ch); in STRINGLIB()
175 #define Py_UNICODE_HIGH_SURROGATE(ch) (0xD800 - (0x10000 >> 10) + ((ch) >> 10)) macro
142 Py_UCS4 v = Py_UNICODE_HIGH_SURROGATE(c); in ascii_escape_unichar()
4061 *w++ = Py_UNICODE_HIGH_SURROGATE(*four_bytes); in PyUnicode_AsUnicodeAndSize()4806 base64buffer = (base64buffer << 16) | Py_UNICODE_HIGH_SURROGATE(ch); in _PyUnicode_EncodeUTF7()5125 unicode[outpos++] = (wchar_t)Py_UNICODE_HIGH_SURROGATE(ch); in _Py_DecodeUTF8_surrogateescape()7590 chars[0] = Py_UNICODE_HIGH_SURROGATE(ch); in encode_code_page_errors()