Lines Matching refs:PyUnicode_2BYTE_KIND

233         case PyUnicode_2BYTE_KIND: { \
430 || kind == PyUnicode_2BYTE_KIND in _PyUnicode_CheckConsistency()
453 || kind == PyUnicode_2BYTE_KIND in _PyUnicode_CheckConsistency()
469 kind == PyUnicode_2BYTE_KIND in _PyUnicode_CheckConsistency()
509 else if (kind == PyUnicode_2BYTE_KIND) { in _PyUnicode_CheckConsistency()
797 case PyUnicode_2BYTE_KIND: in make_bloom_mask()
885 case PyUnicode_2BYTE_KIND: in findchar()
1183 case PyUnicode_2BYTE_KIND: in unicode_kind_name()
1198 case PyUnicode_2BYTE_KIND: in unicode_kind_name()
1292 kind = PyUnicode_2BYTE_KIND; in PyUnicode_New()
1355 if (kind == PyUnicode_2BYTE_KIND) in PyUnicode_New()
1484 && to_kind == PyUnicode_2BYTE_KIND) in _copy_characters()
1503 else if (from_kind == PyUnicode_2BYTE_KIND in _copy_characters()
1517 if (from_kind == PyUnicode_2BYTE_KIND in _copy_characters()
1538 && to_kind == PyUnicode_2BYTE_KIND) in _copy_characters()
1740 _PyUnicode_STATE(unicode).kind = PyUnicode_2BYTE_KIND; in _PyUnicode_Ready()
1756 _PyUnicode_STATE(unicode).kind = PyUnicode_2BYTE_KIND; in _PyUnicode_Ready()
1964 case PyUnicode_2BYTE_KIND: { in unicode_write_cstr()
2020 if (PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND) { in unicode_char()
2087 case PyUnicode_2BYTE_KIND: in PyUnicode_FromWideChar()
2194 case PyUnicode_2BYTE_KIND: in kind_maxchar_limit()
2288 case PyUnicode_2BYTE_KIND: in PyUnicode_FromKindAndData()
2325 case PyUnicode_2BYTE_KIND: in _PyUnicode_FindMaxChar()
2359 else if (kind == PyUnicode_2BYTE_KIND) { in unicode_adjust_maxchar()
2425 case PyUnicode_2BYTE_KIND: in _PyUnicode_AsKind()
2440 if (skind == PyUnicode_2BYTE_KIND) { in _PyUnicode_AsKind()
2498 else if (kind == PyUnicode_2BYTE_KIND) { in as_ucs4()
3945 else if (PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND) { in PyUnicode_AsUnicodeAndSize()
4870 } else if (kind == PyUnicode_2BYTE_KIND) { in PyUnicode_DecodeUTF8Stateful()
4921 if (_PyUnicodeWriter_PrepareKind(&writer, PyUnicode_2BYTE_KIND) < 0) in PyUnicode_DecodeUTF8Stateful()
5204 case PyUnicode_2BYTE_KIND: in _PyUnicode_AsUTF8String()
5450 if (kind == PyUnicode_2BYTE_KIND) { in _PyUnicode_EncodeUTF32()
5645 } else if (kind == PyUnicode_2BYTE_KIND) { in PyUnicode_DecodeUTF16Stateful()
5802 if (kind == PyUnicode_2BYTE_KIND) { in _PyUnicode_EncodeUTF16()
6994 if (_PyUnicodeWriter_PrepareKind(&writer, PyUnicode_2BYTE_KIND) < 0) in PyUnicode_DecodeASCII()
7851 if (mapkind == PyUnicode_2BYTE_KIND && maplen >= 256) { in charmap_decode_string()
7868 else if (outkind == PyUnicode_2BYTE_KIND) { in charmap_decode_string()
9292 case PyUnicode_2BYTE_KIND: in any_find_slice()
9310 case PyUnicode_2BYTE_KIND: in any_find_slice()
9519 case PyUnicode_2BYTE_KIND: in PyUnicode_Count()
9878 case PyUnicode_2BYTE_KIND: in case_operation()
10197 case PyUnicode_2BYTE_KIND: in PyUnicode_Splitlines()
10242 case PyUnicode_2BYTE_KIND: in split()
10288 case PyUnicode_2BYTE_KIND: in split()
10333 case PyUnicode_2BYTE_KIND: in rsplit()
10379 case PyUnicode_2BYTE_KIND: in rsplit()
10405 case PyUnicode_2BYTE_KIND: in anylib_find()
10423 case PyUnicode_2BYTE_KIND: in anylib_count()
10443 else if (kind == PyUnicode_2BYTE_KIND) { in replace_1char_inplace()
10876 case PyUnicode_2BYTE_KIND: in unicode_compare()
10887 case PyUnicode_2BYTE_KIND: in unicode_compare()
10893 case PyUnicode_2BYTE_KIND: in unicode_compare()
10912 case PyUnicode_2BYTE_KIND: in unicode_compare()
11226 case PyUnicode_2BYTE_KIND: in PyUnicode_Contains()
11445 case PyUnicode_2BYTE_KIND: in unicode_count()
12541 else if (kind == PyUnicode_2BYTE_KIND) { in unicode_repeat()
12944 case PyUnicode_2BYTE_KIND: in PyUnicode_Partition()
13001 case PyUnicode_2BYTE_KIND: in PyUnicode_RPartition()
13588 case PyUnicode_2BYTE_KIND: maxchar = 0xffff; break; in _PyUnicodeWriter_PrepareKindInternal()
13716 case PyUnicode_2BYTE_KIND: in _PyUnicodeWriter_WriteASCIIString()
15078 else if (kind == PyUnicode_2BYTE_KIND) { in unicode_subtype_new()
15211 PyUnicode_2BYTE_KIND, linebreak, in _PyUnicode_Init()