Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/stringlib/
Dcodecs.h312 else if (Py_UNICODE_IS_SURROGATE(ch)) { in STRINGLIB()
322 while ((endpos < size) && Py_UNICODE_IS_SURROGATE(data[endpos])) in STRINGLIB()
565 if (!Py_UNICODE_IS_SURROGATE(ch)) { in STRINGLIB()
776 if (Py_UNICODE_IS_SURROGATE(ch)) { in STRINGLIB()
804 if (Py_UNICODE_IS_SURROGATE(ch)) { in STRINGLIB()
/external/python/cpython3/Python/
Dfileutils.c410 !Py_UNICODE_IS_SURROGATE(*tmp); tmp++) in decode_current_locale()
469 if (Py_UNICODE_IS_SURROGATE(*out)) { in decode_current_locale()
Dcodecs.c1180 if (!Py_UNICODE_IS_SURROGATE(ch)) { in PyCodec_SurrogatePassErrors()
1277 if (!Py_UNICODE_IS_SURROGATE(ch)) { in PyCodec_SurrogatePassErrors()
/external/python/cpython3/Include/cpython/
Dunicodeobject.h62 #define Py_UNICODE_IS_SURROGATE(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF) macro
/external/python/cpython3/Objects/
Dunicodeobject.c5247 else if (Py_UNICODE_IS_SURROGATE(ch) && !surrogatepass) { in _Py_EncodeUTF8Ex()
5466 Py_UNICODE_IS_SURROGATE(ch)) in PyUnicode_DecodeUTF32Stateful()
5478 Py_UNICODE_IS_SURROGATE(ch)) in PyUnicode_DecodeUTF32Stateful()
5487 if (Py_UNICODE_IS_SURROGATE(ch)) { in PyUnicode_DecodeUTF32Stateful()
/external/python/cpython3/Modules/
D_datetimemodule.c5088 !Py_UNICODE_IS_SURROGATE(PyUnicode_READ_CHAR(dtstr, 10))) { in _sanitize_isoformat_str()
/external/python/cpython3/Doc/c-api/
Dunicode.rst364 .. c:macro:: Py_UNICODE_IS_SURROGATE(ch)
/external/python/cpython3/Misc/
DHISTORY10547 - Issue #10542: Add 4 macros to work with surrogates: Py_UNICODE_IS_SURROGATE,