• Home
  • Raw
  • Download

Lines Matching refs:PyUnicode_KIND

614         int kind = PyUnicode_KIND(unicode);  in unicode_result_ready()
674 kind = PyUnicode_KIND(unicode); in backslashreplace()
741 kind = PyUnicode_KIND(unicode); in xmlcharrefreplace()
952 int kind = PyUnicode_KIND(unicode); in unicode_fill_invalid()
977 char_size = PyUnicode_KIND(unicode); in resize_compact()
1022 PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode), in resize_compact()
1045 char_size = PyUnicode_KIND(unicode); in resize_inplace()
1077 PyUnicode_WRITE(PyUnicode_KIND(unicode), data, length, 0); in resize_inplace()
1216 switch (PyUnicode_KIND(unicode)) in unicode_kind_name()
1232 switch (PyUnicode_KIND(unicode)) { in unicode_kind_name()
1491 from_kind = PyUnicode_KIND(from); in _copy_characters()
1493 to_kind = PyUnicode_KIND(to); in _copy_characters()
1989 enum PyUnicode_Kind kind = PyUnicode_KIND(unicode); in unicode_write_cstr()
2062 assert(PyUnicode_KIND(unicode) != PyUnicode_1BYTE_KIND); in unicode_char()
2063 if (PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND) { in unicode_char()
2066 assert(PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND); in unicode_char()
2125 switch (PyUnicode_KIND(unicode)) { in PyUnicode_FromWideChar()
2361 kind = PyUnicode_KIND(unicode); in _PyUnicode_FindMaxChar()
2395 kind = PyUnicode_KIND(unicode); in unicode_adjust_maxchar()
2439 assert(PyUnicode_KIND(copy) == PyUnicode_KIND(unicode)); in _PyUnicode_Copy()
2442 length * PyUnicode_KIND(unicode)); in _PyUnicode_Copy()
2462 skind = PyUnicode_KIND(s); in _PyUnicode_AsKind()
2515 kind = PyUnicode_KIND(string); in as_ucs4()
3029 if (PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND) { in unicode_get_widechar_size()
3057 if (PyUnicode_KIND(unicode) == PyUnicode_1BYTE_KIND) { in unicode_copy_as_widechar()
3065 assert(PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND); in unicode_copy_as_widechar()
3071 assert(PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND); in unicode_copy_as_widechar()
3923 if (findchar(PyUnicode_DATA(output), PyUnicode_KIND(output), in PyUnicode_FSDecoder()
4077 kind = PyUnicode_KIND(unicode); in PyUnicode_ReadChar()
4099 PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode), in PyUnicode_WriteChar()
4676 kind = PyUnicode_KIND(str); in _PyUnicode_EncodeUTF7()
5334 kind = PyUnicode_KIND(unicode); in unicode_encode_utf8()
5563 kind = PyUnicode_KIND(str); in _PyUnicode_EncodeUTF32()
5657 assert(PyUnicode_KIND(rep) == PyUnicode_1BYTE_KIND); in _PyUnicode_EncodeUTF32()
5898 kind = PyUnicode_KIND(str); in _PyUnicode_EncodeUTF16()
6009 assert(PyUnicode_KIND(rep) == PyUnicode_1BYTE_KIND); in _PyUnicode_EncodeUTF16()
6340 kind = PyUnicode_KIND(unicode); in PyUnicode_AsUnicodeEscapeString()
6580 kind = PyUnicode_KIND(unicode); in PyUnicode_AsRawUnicodeEscapeString()
6792 kind = PyUnicode_KIND(unicode); in unicode_encode_ucs1()
6902 PyUnicode_KIND(rep) != PyUnicode_1BYTE_KIND : in unicode_encode_ucs1()
6910 assert(PyUnicode_KIND(rep) == PyUnicode_1BYTE_KIND); in unicode_encode_ucs1()
6966 if (PyUnicode_KIND(unicode) == PyUnicode_1BYTE_KIND) in _PyUnicode_AsLatin1String()
7710 kind = PyUnicode_KIND(rep); in encode_code_page_errors()
7860 mapkind = PyUnicode_KIND(mapping); in charmap_decode_string()
8180 kind = PyUnicode_KIND(string); in PyUnicode_BuildEncodingMap()
8551 kind = PyUnicode_KIND(repunicode); in charmap_encoding_error()
8593 kind = PyUnicode_KIND(unicode); in _PyUnicode_EncodeCharmap()
8988 kind = PyUnicode_KIND(input); in _PyUnicode_TranslateCharmap()
9130 int kind = PyUnicode_KIND(unicode); in _PyUnicode_TransformDecimalAndSpaceToASCII()
9182 kind = PyUnicode_KIND(decimal); in PyUnicode_TransformDecimalToASCII()
9218 kind = PyUnicode_KIND(unicode); in PyUnicode_EncodeDecimal()
9288 kind1 = PyUnicode_KIND(s1); in any_find_slice()
9289 kind2 = PyUnicode_KIND(s2); in any_find_slice()
9520 kind1 = PyUnicode_KIND(str); in PyUnicode_Count()
9521 kind2 = PyUnicode_KIND(substr); in PyUnicode_Count()
9604 kind = PyUnicode_KIND(str); in PyUnicode_FindChar()
9640 kind_self = PyUnicode_KIND(self); in tailmatch()
9642 kind_sub = PyUnicode_KIND(substring); in tailmatch()
9658 (offset * PyUnicode_KIND(substring)), in tailmatch()
9661 PyUnicode_KIND(substring)); in tailmatch()
9890 kind = PyUnicode_KIND(self); in case_operation()
9906 outkind = PyUnicode_KIND(res); in case_operation()
10046 if (PyUnicode_KIND(last_obj) != PyUnicode_KIND(item)) in _PyUnicode_JoinArray()
10062 kind = PyUnicode_KIND(res); in _PyUnicode_JoinArray()
10125 const enum PyUnicode_Kind kind = PyUnicode_KIND(unicode); in _PyUnicode_FastFill()
10200 kind = PyUnicode_KIND(u); in pad()
10219 switch (PyUnicode_KIND(string)) { in PyUnicode_Splitlines()
10263 switch (PyUnicode_KIND(self)) { in split()
10292 kind1 = PyUnicode_KIND(self); in split()
10293 kind2 = PyUnicode_KIND(substring); in split()
10354 switch (PyUnicode_KIND(self)) { in rsplit()
10383 kind1 = PyUnicode_KIND(self); in rsplit()
10384 kind2 = PyUnicode_KIND(substring); in rsplit()
10468 int kind = PyUnicode_KIND(u); in replace_1char_inplace()
10498 int skind = PyUnicode_KIND(self); in replace()
10499 int kind1 = PyUnicode_KIND(str1); in replace()
10500 int kind2 = PyUnicode_KIND(str2); in replace()
10582 assert(PyUnicode_KIND(u) == rkind); in replace()
10661 assert(PyUnicode_KIND(u) == rkind); in replace()
10887 kind1 = PyUnicode_KIND(str1); in unicode_compare()
10888 kind2 = PyUnicode_KIND(str2); in unicode_compare()
10992 kind = PyUnicode_KIND(str1); in unicode_compare_eq()
10993 if (PyUnicode_KIND(str2) != kind) in unicode_compare_eq()
11048 kind = PyUnicode_KIND(uni); in PyUnicode_CompareWithASCIIString()
11234 kind1 = PyUnicode_KIND(str); in PyUnicode_Contains()
11235 kind2 = PyUnicode_KIND(substr); in PyUnicode_Contains()
11371 && PyUnicode_KIND(right) <= PyUnicode_KIND(left) in PyUnicode_Append()
11453 kind1 = PyUnicode_KIND(self); in unicode_count()
11454 kind2 = PyUnicode_KIND(substring); in unicode_count()
11551 kind = PyUnicode_KIND(self); in unicode_expandtabs_impl()
11662 kind = PyUnicode_KIND(self); in unicode_getitem()
11684 PyUnicode_GET_LENGTH(self) * PyUnicode_KIND(self)); in unicode_hash()
11766 kind = PyUnicode_KIND(self); in unicode_islower_impl()
11811 kind = PyUnicode_KIND(self); in unicode_isupper_impl()
11856 kind = PyUnicode_KIND(self); in unicode_istitle_impl()
11913 kind = PyUnicode_KIND(self); in unicode_isspace_impl()
11953 kind = PyUnicode_KIND(self); in unicode_isalpha_impl()
11992 kind = PyUnicode_KIND(self); in unicode_isalnum_impl()
12034 kind = PyUnicode_KIND(self); in unicode_isdecimal_impl()
12073 kind = PyUnicode_KIND(self); in unicode_isdigit_impl()
12113 kind = PyUnicode_KIND(self); in unicode_isnumeric_impl()
12148 kind = PyUnicode_KIND(self); in PyUnicode_IsIdentifier()
12205 kind = PyUnicode_KIND(self); in unicode_isprintable_impl()
12314 kind = PyUnicode_KIND(self); in _PyUnicode_XStrip()
12318 sepmask = make_bloom_mask(PyUnicode_KIND(sepobj), in _PyUnicode_XStrip()
12381 kind = PyUnicode_KIND(self); in PyUnicode_Substring()
12425 int kind = PyUnicode_KIND(self); in do_strip()
12556 assert(PyUnicode_KIND(u) == PyUnicode_KIND(str)); in unicode_repeat()
12559 const int kind = PyUnicode_KIND(str); in unicode_repeat()
12579 const Py_ssize_t char_size = PyUnicode_KIND(str); in unicode_repeat()
12653 ikind = PyUnicode_KIND(unicode); in unicode_repr()
12702 okind = PyUnicode_KIND(repr); in unicode_repr()
12939 kind1 = PyUnicode_KIND(str_obj); in PyUnicode_Partition()
12940 kind2 = PyUnicode_KIND(sep_obj); in PyUnicode_Partition()
12996 kind1 = PyUnicode_KIND(str_obj); in PyUnicode_RPartition()
12997 kind2 = PyUnicode_KIND(sep_obj); in PyUnicode_RPartition()
13206 x_kind = PyUnicode_KIND(x); in unicode_maketrans_impl()
13207 y_kind = PyUnicode_KIND(y); in unicode_maketrans_impl()
13227 z_kind = PyUnicode_KIND(z); in unicode_maketrans_impl()
13259 kind = PyUnicode_KIND(key); in unicode_maketrans_impl()
13358 kind = PyUnicode_KIND(u); in unicode_zfill_impl()
13493 writer->kind = PyUnicode_KIND(writer->buffer); in _PyUnicodeWriter_Update()
13877 (PyUnicode_GET_LENGTH(self) + 1) * PyUnicode_KIND(self); in unicode_sizeof_impl()
13884 PyUnicode_KIND(self); in unicode_sizeof_impl()
14025 src_kind = PyUnicode_KIND(self); in unicode_subscript()
14044 dest_kind = PyUnicode_KIND(result); in unicode_subscript()
14785 kind = PyUnicode_KIND(str); in unicode_format_arg_output()
14959 ctx.fmtkind = PyUnicode_KIND(ctx.fmtstr); in PyUnicode_Format()
15076 kind = PyUnicode_KIND(unicode); in unicode_subtype_new()
15423 int kind = PyUnicode_KIND(seq); in unicodeiter_next()