Home
last modified time | relevance | path

Searched refs:Py_UNICODE_IS_SURROGATE (Results 1 – 8 of 8) sorted by relevance

/third_party/python/Objects/stringlib/
Dcodecs.h313 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()
/third_party/python/Python/
Dcodecs.c1172 if (!Py_UNICODE_IS_SURROGATE(ch)) { in PyCodec_SurrogatePassErrors()
1269 if (!Py_UNICODE_IS_SURROGATE(ch)) { in PyCodec_SurrogatePassErrors()
Dfileutils.c108 if (Py_UNICODE_IS_SURROGATE(ch)) { in is_valid_wide_char()
529 assert(!Py_UNICODE_IS_SURROGATE(*out)); in decode_current_locale()
/third_party/python/Include/cpython/
Dunicodeobject.h67 #define Py_UNICODE_IS_SURROGATE(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF) macro
/third_party/python/Objects/
Dunicodeobject.c5553 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()
/third_party/python/Doc/c-api/
Dunicode.rst379 .. c:macro:: Py_UNICODE_IS_SURROGATE(ch)
/third_party/python/Modules/
D_datetimemodule.c5216 !Py_UNICODE_IS_SURROGATE(PyUnicode_READ_CHAR(dtstr, 10))) { in _sanitize_isoformat_str()
/third_party/python/Misc/
DHISTORY10547 - Issue #10542: Add 4 macros to work with surrogates: Py_UNICODE_IS_SURROGATE,