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()
171 #define Py_UNICODE_HIGH_SURROGATE(ch) (0xD800 - (0x10000 >> 10) + ((ch) >> 10)) macro
145 Py_UCS4 v = Py_UNICODE_HIGH_SURROGATE(c); in ascii_escape_unichar()
3903 *w++ = Py_UNICODE_HIGH_SURROGATE(*four_bytes); in PyUnicode_AsUnicodeAndSize()4678 base64buffer = (base64buffer << 16) | Py_UNICODE_HIGH_SURROGATE(ch); in _PyUnicode_EncodeUTF7()5007 unicode[outpos++] = (wchar_t)Py_UNICODE_HIGH_SURROGATE(ch); in _Py_DecodeUTF8Ex()7604 chars[0] = Py_UNICODE_HIGH_SURROGATE(ch); in encode_code_page_errors()