• Home
  • Raw
  • Download

Lines Matching refs:PyUnicode_2BYTE_KIND

277     case PyUnicode_2BYTE_KIND: {  in unicode_fill()
530 || kind == PyUnicode_2BYTE_KIND in _PyUnicode_CheckConsistency()
553 || kind == PyUnicode_2BYTE_KIND in _PyUnicode_CheckConsistency()
569 kind == PyUnicode_2BYTE_KIND in _PyUnicode_CheckConsistency()
609 else if (kind == PyUnicode_2BYTE_KIND) { in _PyUnicode_CheckConsistency()
907 case PyUnicode_2BYTE_KIND: in make_bloom_mask()
1002 case PyUnicode_2BYTE_KIND: in findchar()
1303 case PyUnicode_2BYTE_KIND: in unicode_kind_name()
1318 case PyUnicode_2BYTE_KIND: in unicode_kind_name()
1433 kind = PyUnicode_2BYTE_KIND; in PyUnicode_New()
1495 if (kind == PyUnicode_2BYTE_KIND) in PyUnicode_New()
1625 && to_kind == PyUnicode_2BYTE_KIND) in _copy_characters()
1644 else if (from_kind == PyUnicode_2BYTE_KIND in _copy_characters()
1658 if (from_kind == PyUnicode_2BYTE_KIND in _copy_characters()
1679 && to_kind == PyUnicode_2BYTE_KIND) in _copy_characters()
1881 _PyUnicode_STATE(unicode).kind = PyUnicode_2BYTE_KIND; in _PyUnicode_Ready()
1897 _PyUnicode_STATE(unicode).kind = PyUnicode_2BYTE_KIND; in _PyUnicode_Ready()
2121 case PyUnicode_2BYTE_KIND: { in unicode_write_cstr()
2186 if (PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND) { in unicode_char()
2275 case PyUnicode_2BYTE_KIND: in PyUnicode_FromWideChar()
2439 case PyUnicode_2BYTE_KIND: in kind_maxchar_limit()
2535 case PyUnicode_2BYTE_KIND: in PyUnicode_FromKindAndData()
2572 case PyUnicode_2BYTE_KIND: in _PyUnicode_FindMaxChar()
2606 else if (kind == PyUnicode_2BYTE_KIND) { in unicode_adjust_maxchar()
2664 case PyUnicode_2BYTE_KIND: in unicode_askind()
2679 if (skind == PyUnicode_2BYTE_KIND) { in unicode_askind()
2736 else if (kind == PyUnicode_2BYTE_KIND) { in as_ucs4()
3269 assert(PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND); in unicode_copy_as_widechar()
5231 } else if (kind == PyUnicode_2BYTE_KIND) { in unicode_decode_utf8()
5289 if (_PyUnicodeWriter_PrepareKind(&writer, PyUnicode_2BYTE_KIND) < 0) in unicode_decode_utf8()
5651 case PyUnicode_2BYTE_KIND: in unicode_encode_utf8()
5686 case PyUnicode_2BYTE_KIND: in unicode_fill_utf8()
5964 if (kind == PyUnicode_2BYTE_KIND) { in _PyUnicode_EncodeUTF32()
6159 } else if (kind == PyUnicode_2BYTE_KIND) { in PyUnicode_DecodeUTF16Stateful()
6316 if (kind == PyUnicode_2BYTE_KIND) { in _PyUnicode_EncodeUTF16()
7454 if (_PyUnicodeWriter_PrepareKind(&writer, PyUnicode_2BYTE_KIND) < 0) in PyUnicode_DecodeASCII()
8323 if (mapkind == PyUnicode_2BYTE_KIND && maplen >= 256) { in charmap_decode_string()
8340 else if (outkind == PyUnicode_2BYTE_KIND) { in charmap_decode_string()
9760 case PyUnicode_2BYTE_KIND: in any_find_slice()
9778 case PyUnicode_2BYTE_KIND: in any_find_slice()
9988 case PyUnicode_2BYTE_KIND: in PyUnicode_Count()
10351 case PyUnicode_2BYTE_KIND: in case_operation()
10670 case PyUnicode_2BYTE_KIND: in PyUnicode_Splitlines()
10715 case PyUnicode_2BYTE_KIND: in split()
10761 case PyUnicode_2BYTE_KIND: in split()
10807 case PyUnicode_2BYTE_KIND: in rsplit()
10853 case PyUnicode_2BYTE_KIND: in rsplit()
10880 case PyUnicode_2BYTE_KIND: in anylib_find()
10898 case PyUnicode_2BYTE_KIND: in anylib_count()
10918 else if (kind == PyUnicode_2BYTE_KIND) { in replace_1char_inplace()
11368 case PyUnicode_2BYTE_KIND: in unicode_compare()
11379 case PyUnicode_2BYTE_KIND: in unicode_compare()
11385 case PyUnicode_2BYTE_KIND: in unicode_compare()
11404 case PyUnicode_2BYTE_KIND: in unicode_compare()
11720 case PyUnicode_2BYTE_KIND: in PyUnicode_Contains()
11945 case PyUnicode_2BYTE_KIND: in unicode_count()
13087 else if (kind == PyUnicode_2BYTE_KIND) { in unicode_repeat()
13540 case PyUnicode_2BYTE_KIND: in PyUnicode_Partition()
13592 case PyUnicode_2BYTE_KIND: in PyUnicode_RPartition()
14190 case PyUnicode_2BYTE_KIND: maxchar = 0xffff; break; in _PyUnicodeWriter_PrepareKindInternal()
14318 case PyUnicode_2BYTE_KIND: in _PyUnicodeWriter_WriteASCIIString()
15677 else if (kind == PyUnicode_2BYTE_KIND) { in unicode_subtype_new()
15805 PyUnicode_2BYTE_KIND, linebreak, in _PyUnicode_Init()