Lines Matching refs:PyUnicode_WCHAR_KIND
249 assert(kind != PyUnicode_WCHAR_KIND); in unicode_fill()
546 if (kind == PyUnicode_WCHAR_KIND) { in _PyUnicode_CheckConsistency()
572 if (kind != PyUnicode_WCHAR_KIND) { in _PyUnicode_CheckConsistency()
594 if (check_content && kind != PyUnicode_WCHAR_KIND) { in _PyUnicode_CheckConsistency()
1192 if (_PyUnicode_KIND(unicode) != PyUnicode_WCHAR_KIND) { in resize_copy()
1816 assert(_PyUnicode_KIND(unicode) == PyUnicode_WCHAR_KIND); in _PyUnicode_Ready()
1978 if (ascii->state.kind != PyUnicode_WCHAR_KIND && ascii->length == 1) in unicode_is_singleton()
2021 if (_PyUnicode_KIND(unicode) == PyUnicode_WCHAR_KIND) in unicode_resize()
4080 assert(_PyUnicode_KIND(unicode) != PyUnicode_WCHAR_KIND); in PyUnicode_AsUnicodeAndSize()
13807 writer->kind = PyUnicode_WCHAR_KIND; in _PyUnicodeWriter_Update()
13827 writer->kind = PyUnicode_WCHAR_KIND; in _PyUnicodeWriter_Init()