Searched refs:Py_UNICODE_IS_SURROGATE (Results 1 – 8 of 8) sorted by relevance
313 else if (Py_UNICODE_IS_SURROGATE(ch)) { in STRINGLIB()323 while ((endpos < size) && Py_UNICODE_IS_SURROGATE(data[endpos])) in STRINGLIB()563 if (!Py_UNICODE_IS_SURROGATE(ch)) { in STRINGLIB()778 if (Py_UNICODE_IS_SURROGATE(ch)) { in STRINGLIB()805 if (Py_UNICODE_IS_SURROGATE(ch)) { in STRINGLIB()
1172 if (!Py_UNICODE_IS_SURROGATE(ch)) { in PyCodec_SurrogatePassErrors()1269 if (!Py_UNICODE_IS_SURROGATE(ch)) { in PyCodec_SurrogatePassErrors()
108 if (Py_UNICODE_IS_SURROGATE(ch)) { in is_valid_wide_char()529 assert(!Py_UNICODE_IS_SURROGATE(*out)); in decode_current_locale()
67 #define Py_UNICODE_IS_SURROGATE(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF) macro
5553 else if (Py_UNICODE_IS_SURROGATE(ch) && !surrogatepass) { in _Py_EncodeUTF8Ex()5832 Py_UNICODE_IS_SURROGATE(ch)) in PyUnicode_DecodeUTF32Stateful()5844 Py_UNICODE_IS_SURROGATE(ch)) in PyUnicode_DecodeUTF32Stateful()5853 if (Py_UNICODE_IS_SURROGATE(ch)) { in PyUnicode_DecodeUTF32Stateful()
379 .. c:macro:: Py_UNICODE_IS_SURROGATE(ch)
5216 !Py_UNICODE_IS_SURROGATE(PyUnicode_READ_CHAR(dtstr, 10))) { in _sanitize_isoformat_str()
10547 - Issue #10542: Add 4 macros to work with surrogates: Py_UNICODE_IS_SURROGATE,