• Home
  • Raw
  • Download

Lines Matching refs:PyUnicode_2BYTE_KIND

244     case PyUnicode_2BYTE_KIND: {  in unicode_fill()
468 || kind == PyUnicode_2BYTE_KIND in _PyUnicode_CheckConsistency()
491 || kind == PyUnicode_2BYTE_KIND in _PyUnicode_CheckConsistency()
507 kind == PyUnicode_2BYTE_KIND in _PyUnicode_CheckConsistency()
547 else if (kind == PyUnicode_2BYTE_KIND) { in _PyUnicode_CheckConsistency()
837 case PyUnicode_2BYTE_KIND: in make_bloom_mask()
925 case PyUnicode_2BYTE_KIND: in findchar()
1223 case PyUnicode_2BYTE_KIND: in unicode_kind_name()
1238 case PyUnicode_2BYTE_KIND: in unicode_kind_name()
1335 kind = PyUnicode_2BYTE_KIND; in PyUnicode_New()
1398 if (kind == PyUnicode_2BYTE_KIND) in PyUnicode_New()
1527 && to_kind == PyUnicode_2BYTE_KIND) in _copy_characters()
1546 else if (from_kind == PyUnicode_2BYTE_KIND in _copy_characters()
1560 if (from_kind == PyUnicode_2BYTE_KIND in _copy_characters()
1581 && to_kind == PyUnicode_2BYTE_KIND) in _copy_characters()
1783 _PyUnicode_STATE(unicode).kind = PyUnicode_2BYTE_KIND; in _PyUnicode_Ready()
1799 _PyUnicode_STATE(unicode).kind = PyUnicode_2BYTE_KIND; in _PyUnicode_Ready()
2007 case PyUnicode_2BYTE_KIND: { in unicode_write_cstr()
2063 if (PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND) { in unicode_char()
2130 case PyUnicode_2BYTE_KIND: in PyUnicode_FromWideChar()
2237 case PyUnicode_2BYTE_KIND: in kind_maxchar_limit()
2331 case PyUnicode_2BYTE_KIND: in PyUnicode_FromKindAndData()
2368 case PyUnicode_2BYTE_KIND: in _PyUnicode_FindMaxChar()
2402 else if (kind == PyUnicode_2BYTE_KIND) { in unicode_adjust_maxchar()
2468 case PyUnicode_2BYTE_KIND: in _PyUnicode_AsKind()
2483 if (skind == PyUnicode_2BYTE_KIND) { in _PyUnicode_AsKind()
2541 else if (kind == PyUnicode_2BYTE_KIND) { in as_ucs4()
3065 assert(PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND); in unicode_copy_as_widechar()
4925 } else if (kind == PyUnicode_2BYTE_KIND) { in unicode_decode_utf8()
4983 if (_PyUnicodeWriter_PrepareKind(&writer, PyUnicode_2BYTE_KIND) < 0) in unicode_decode_utf8()
5345 case PyUnicode_2BYTE_KIND: in unicode_encode_utf8()
5598 if (kind == PyUnicode_2BYTE_KIND) { in _PyUnicode_EncodeUTF32()
5793 } else if (kind == PyUnicode_2BYTE_KIND) { in PyUnicode_DecodeUTF16Stateful()
5950 if (kind == PyUnicode_2BYTE_KIND) { in _PyUnicode_EncodeUTF16()
7040 if (_PyUnicodeWriter_PrepareKind(&writer, PyUnicode_2BYTE_KIND) < 0) in PyUnicode_DecodeASCII()
7890 if (mapkind == PyUnicode_2BYTE_KIND && maplen >= 256) { in charmap_decode_string()
7907 else if (outkind == PyUnicode_2BYTE_KIND) { in charmap_decode_string()
9325 case PyUnicode_2BYTE_KIND: in any_find_slice()
9343 case PyUnicode_2BYTE_KIND: in any_find_slice()
9552 case PyUnicode_2BYTE_KIND: in PyUnicode_Count()
9911 case PyUnicode_2BYTE_KIND: in case_operation()
10230 case PyUnicode_2BYTE_KIND: in PyUnicode_Splitlines()
10275 case PyUnicode_2BYTE_KIND: in split()
10321 case PyUnicode_2BYTE_KIND: in split()
10366 case PyUnicode_2BYTE_KIND: in rsplit()
10412 case PyUnicode_2BYTE_KIND: in rsplit()
10438 case PyUnicode_2BYTE_KIND: in anylib_find()
10456 case PyUnicode_2BYTE_KIND: in anylib_count()
10476 else if (kind == PyUnicode_2BYTE_KIND) { in replace_1char_inplace()
10909 case PyUnicode_2BYTE_KIND: in unicode_compare()
10920 case PyUnicode_2BYTE_KIND: in unicode_compare()
10926 case PyUnicode_2BYTE_KIND: in unicode_compare()
10945 case PyUnicode_2BYTE_KIND: in unicode_compare()
11259 case PyUnicode_2BYTE_KIND: in PyUnicode_Contains()
11478 case PyUnicode_2BYTE_KIND: in unicode_count()
12565 else if (kind == PyUnicode_2BYTE_KIND) { in unicode_repeat()
12968 case PyUnicode_2BYTE_KIND: in PyUnicode_Partition()
13025 case PyUnicode_2BYTE_KIND: in PyUnicode_RPartition()
13612 case PyUnicode_2BYTE_KIND: maxchar = 0xffff; break; in _PyUnicodeWriter_PrepareKindInternal()
13740 case PyUnicode_2BYTE_KIND: in _PyUnicodeWriter_WriteASCIIString()
15103 else if (kind == PyUnicode_2BYTE_KIND) { in unicode_subtype_new()
15239 PyUnicode_2BYTE_KIND, linebreak, in _PyUnicode_Init()