Lines Matching refs:PyUnicode_WCHAR_KIND
268 assert(kind != PyUnicode_WCHAR_KIND); in unicode_fill()
540 if (kind == PyUnicode_WCHAR_KIND) { in _PyUnicode_CheckConsistency()
566 if (kind != PyUnicode_WCHAR_KIND) { in _PyUnicode_CheckConsistency()
588 if (check_content && kind != PyUnicode_WCHAR_KIND) { in _PyUnicode_CheckConsistency()
1192 if (_PyUnicode_KIND(unicode) != PyUnicode_WCHAR_KIND) { in resize_copy()
1832 assert(_PyUnicode_KIND(unicode) == PyUnicode_WCHAR_KIND); in _PyUnicode_Ready()
2003 if (ascii->state.kind != PyUnicode_WCHAR_KIND && ascii->length == 1) in unicode_is_singleton()
2046 if (_PyUnicode_KIND(unicode) == PyUnicode_WCHAR_KIND) in unicode_resize()
4278 assert(_PyUnicode_KIND(unicode) != PyUnicode_WCHAR_KIND); in PyUnicode_AsUnicodeAndSize()
14067 writer->kind = PyUnicode_WCHAR_KIND; in _PyUnicodeWriter_Update()
14087 writer->kind = PyUnicode_WCHAR_KIND; in _PyUnicodeWriter_Init()