Lines Matching refs:four_bytes
3861 const Py_UCS4 *four_bytes; in PyUnicode_AsUnicodeAndSize() local
3879 four_bytes = PyUnicode_4BYTE_DATA(unicode); in PyUnicode_AsUnicodeAndSize()
3880 ucs4_end = four_bytes + _PyUnicode_LENGTH(unicode); in PyUnicode_AsUnicodeAndSize()
3883 for (; four_bytes < ucs4_end; ++four_bytes) { in PyUnicode_AsUnicodeAndSize()
3884 if (*four_bytes > 0xFFFF) in PyUnicode_AsUnicodeAndSize()
3898 four_bytes = PyUnicode_4BYTE_DATA(unicode); in PyUnicode_AsUnicodeAndSize()
3899 for (; four_bytes < ucs4_end; ++four_bytes, ++w) { in PyUnicode_AsUnicodeAndSize()
3900 if (*four_bytes > 0xFFFF) { in PyUnicode_AsUnicodeAndSize()
3901 assert(*four_bytes <= MAX_UNICODE); in PyUnicode_AsUnicodeAndSize()
3903 *w++ = Py_UNICODE_HIGH_SURROGATE(*four_bytes); in PyUnicode_AsUnicodeAndSize()
3904 *w = Py_UNICODE_LOW_SURROGATE(*four_bytes); in PyUnicode_AsUnicodeAndSize()
3907 *w = *four_bytes; in PyUnicode_AsUnicodeAndSize()