Lines Matching refs:PyUnicode_KIND

574         int kind = PyUnicode_KIND(unicode);  in unicode_result_ready()
634 kind = PyUnicode_KIND(unicode); in backslashreplace()
701 kind = PyUnicode_KIND(unicode); in xmlcharrefreplace()
912 int kind = PyUnicode_KIND(unicode); in unicode_fill_invalid()
937 char_size = PyUnicode_KIND(unicode); in resize_compact()
982 PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode), in resize_compact()
1005 char_size = PyUnicode_KIND(unicode); in resize_inplace()
1037 PyUnicode_WRITE(PyUnicode_KIND(unicode), data, length, 0); in resize_inplace()
1176 switch (PyUnicode_KIND(unicode)) in unicode_kind_name()
1192 switch (PyUnicode_KIND(unicode)) { in unicode_kind_name()
1448 from_kind = PyUnicode_KIND(from); in _copy_characters()
1450 to_kind = PyUnicode_KIND(to); in _copy_characters()
1946 enum PyUnicode_Kind kind = PyUnicode_KIND(unicode); in unicode_write_cstr()
2019 assert(PyUnicode_KIND(unicode) != PyUnicode_1BYTE_KIND); in unicode_char()
2020 if (PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND) { in unicode_char()
2023 assert(PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND); in unicode_char()
2082 switch (PyUnicode_KIND(unicode)) { in PyUnicode_FromWideChar()
2318 kind = PyUnicode_KIND(unicode); in _PyUnicode_FindMaxChar()
2352 kind = PyUnicode_KIND(unicode); in unicode_adjust_maxchar()
2396 assert(PyUnicode_KIND(copy) == PyUnicode_KIND(unicode)); in _PyUnicode_Copy()
2399 length * PyUnicode_KIND(unicode)); in _PyUnicode_Copy()
2419 skind = PyUnicode_KIND(s); in _PyUnicode_AsKind()
2472 kind = PyUnicode_KIND(string); in as_ucs4()
3802 if (findchar(PyUnicode_DATA(output), PyUnicode_KIND(output), in PyUnicode_FSDecoder()
3877 if (PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND) { in PyUnicode_AsUnicodeAndSize()
3938 if (PyUnicode_KIND(unicode) == PyUnicode_1BYTE_KIND) { in PyUnicode_AsUnicodeAndSize()
3945 else if (PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND) { in PyUnicode_AsUnicodeAndSize()
4039 kind = PyUnicode_KIND(unicode); in PyUnicode_ReadChar()
4061 PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode), in PyUnicode_WriteChar()
4619 kind = PyUnicode_KIND(str); in _PyUnicode_EncodeUTF7()
5193 kind = PyUnicode_KIND(unicode); in _PyUnicode_AsUTF8String()
5415 kind = PyUnicode_KIND(str); in _PyUnicode_EncodeUTF32()
5509 assert(PyUnicode_KIND(rep) == PyUnicode_1BYTE_KIND); in _PyUnicode_EncodeUTF32()
5750 kind = PyUnicode_KIND(str); in _PyUnicode_EncodeUTF16()
5861 assert(PyUnicode_KIND(rep) == PyUnicode_1BYTE_KIND); in _PyUnicode_EncodeUTF16()
6192 kind = PyUnicode_KIND(unicode); in PyUnicode_AsUnicodeEscapeString()
6432 kind = PyUnicode_KIND(unicode); in PyUnicode_AsRawUnicodeEscapeString()
6746 kind = PyUnicode_KIND(unicode); in unicode_encode_ucs1()
6856 PyUnicode_KIND(rep) != PyUnicode_1BYTE_KIND : in unicode_encode_ucs1()
6864 assert(PyUnicode_KIND(rep) == PyUnicode_1BYTE_KIND); in unicode_encode_ucs1()
6920 if (PyUnicode_KIND(unicode) == PyUnicode_1BYTE_KIND) in _PyUnicode_AsLatin1String()
7669 kind = PyUnicode_KIND(rep); in encode_code_page_errors()
7821 mapkind = PyUnicode_KIND(mapping); in charmap_decode_string()
8147 kind = PyUnicode_KIND(string); in PyUnicode_BuildEncodingMap()
8518 kind = PyUnicode_KIND(repunicode); in charmap_encoding_error()
8560 kind = PyUnicode_KIND(unicode); in _PyUnicode_EncodeCharmap()
8955 kind = PyUnicode_KIND(input); in _PyUnicode_TranslateCharmap()
9097 int kind = PyUnicode_KIND(unicode); in _PyUnicode_TransformDecimalAndSpaceToASCII()
9149 kind = PyUnicode_KIND(decimal); in PyUnicode_TransformDecimalToASCII()
9185 kind = PyUnicode_KIND(unicode); in PyUnicode_EncodeDecimal()
9255 kind1 = PyUnicode_KIND(s1); in any_find_slice()
9256 kind2 = PyUnicode_KIND(s2); in any_find_slice()
9487 kind1 = PyUnicode_KIND(str); in PyUnicode_Count()
9488 kind2 = PyUnicode_KIND(substr); in PyUnicode_Count()
9571 kind = PyUnicode_KIND(str); in PyUnicode_FindChar()
9607 kind_self = PyUnicode_KIND(self); in tailmatch()
9609 kind_sub = PyUnicode_KIND(substring); in tailmatch()
9625 (offset * PyUnicode_KIND(substring)), in tailmatch()
9628 PyUnicode_KIND(substring)); in tailmatch()
9857 kind = PyUnicode_KIND(self); in case_operation()
9873 outkind = PyUnicode_KIND(res); in case_operation()
10013 if (PyUnicode_KIND(last_obj) != PyUnicode_KIND(item)) in _PyUnicode_JoinArray()
10029 kind = PyUnicode_KIND(res); in _PyUnicode_JoinArray()
10092 const enum PyUnicode_Kind kind = PyUnicode_KIND(unicode); in _PyUnicode_FastFill()
10167 kind = PyUnicode_KIND(u); in pad()
10186 switch (PyUnicode_KIND(string)) { in PyUnicode_Splitlines()
10230 switch (PyUnicode_KIND(self)) { in split()
10259 kind1 = PyUnicode_KIND(self); in split()
10260 kind2 = PyUnicode_KIND(substring); in split()
10321 switch (PyUnicode_KIND(self)) { in rsplit()
10350 kind1 = PyUnicode_KIND(self); in rsplit()
10351 kind2 = PyUnicode_KIND(substring); in rsplit()
10435 int kind = PyUnicode_KIND(u); in replace_1char_inplace()
10465 int skind = PyUnicode_KIND(self); in replace()
10466 int kind1 = PyUnicode_KIND(str1); in replace()
10467 int kind2 = PyUnicode_KIND(str2); in replace()
10549 assert(PyUnicode_KIND(u) == rkind); in replace()
10628 assert(PyUnicode_KIND(u) == rkind); in replace()
10854 kind1 = PyUnicode_KIND(str1); in unicode_compare()
10855 kind2 = PyUnicode_KIND(str2); in unicode_compare()
10959 kind = PyUnicode_KIND(str1); in unicode_compare_eq()
10960 if (PyUnicode_KIND(str2) != kind) in unicode_compare_eq()
11015 kind = PyUnicode_KIND(uni); in PyUnicode_CompareWithASCIIString()
11201 kind1 = PyUnicode_KIND(str); in PyUnicode_Contains()
11202 kind2 = PyUnicode_KIND(substr); in PyUnicode_Contains()
11338 && PyUnicode_KIND(right) <= PyUnicode_KIND(left) in PyUnicode_Append()
11420 kind1 = PyUnicode_KIND(self); in unicode_count()
11421 kind2 = PyUnicode_KIND(substring); in unicode_count()
11518 kind = PyUnicode_KIND(self); in unicode_expandtabs_impl()
11629 kind = PyUnicode_KIND(self); in unicode_getitem()
11660 PyUnicode_GET_LENGTH(self) * PyUnicode_KIND(self)); in unicode_hash()
11742 kind = PyUnicode_KIND(self); in unicode_islower_impl()
11787 kind = PyUnicode_KIND(self); in unicode_isupper_impl()
11832 kind = PyUnicode_KIND(self); in unicode_istitle_impl()
11889 kind = PyUnicode_KIND(self); in unicode_isspace_impl()
11929 kind = PyUnicode_KIND(self); in unicode_isalpha_impl()
11968 kind = PyUnicode_KIND(self); in unicode_isalnum_impl()
12010 kind = PyUnicode_KIND(self); in unicode_isdecimal_impl()
12049 kind = PyUnicode_KIND(self); in unicode_isdigit_impl()
12089 kind = PyUnicode_KIND(self); in unicode_isnumeric_impl()
12124 kind = PyUnicode_KIND(self); in PyUnicode_IsIdentifier()
12181 kind = PyUnicode_KIND(self); in unicode_isprintable_impl()
12290 kind = PyUnicode_KIND(self); in _PyUnicode_XStrip()
12294 sepmask = make_bloom_mask(PyUnicode_KIND(sepobj), in _PyUnicode_XStrip()
12357 kind = PyUnicode_KIND(self); in PyUnicode_Substring()
12401 int kind = PyUnicode_KIND(self); in do_strip()
12532 assert(PyUnicode_KIND(u) == PyUnicode_KIND(str)); in unicode_repeat()
12535 const int kind = PyUnicode_KIND(str); in unicode_repeat()
12555 const Py_ssize_t char_size = PyUnicode_KIND(str); in unicode_repeat()
12629 ikind = PyUnicode_KIND(unicode); in unicode_repr()
12678 okind = PyUnicode_KIND(repr); in unicode_repr()
12915 kind1 = PyUnicode_KIND(str_obj); in PyUnicode_Partition()
12916 kind2 = PyUnicode_KIND(sep_obj); in PyUnicode_Partition()
12972 kind1 = PyUnicode_KIND(str_obj); in PyUnicode_RPartition()
12973 kind2 = PyUnicode_KIND(sep_obj); in PyUnicode_RPartition()
13182 x_kind = PyUnicode_KIND(x); in unicode_maketrans_impl()
13183 y_kind = PyUnicode_KIND(y); in unicode_maketrans_impl()
13203 z_kind = PyUnicode_KIND(z); in unicode_maketrans_impl()
13235 kind = PyUnicode_KIND(key); in unicode_maketrans_impl()
13334 kind = PyUnicode_KIND(u); in unicode_zfill_impl()
13469 writer->kind = PyUnicode_KIND(writer->buffer); in _PyUnicodeWriter_Update()
13853 (PyUnicode_GET_LENGTH(self) + 1) * PyUnicode_KIND(self); in unicode_sizeof_impl()
13860 PyUnicode_KIND(self); in unicode_sizeof_impl()
14000 src_kind = PyUnicode_KIND(self); in unicode_subscript()
14019 dest_kind = PyUnicode_KIND(result); in unicode_subscript()
14760 kind = PyUnicode_KIND(str); in unicode_format_arg_output()
14934 ctx.fmtkind = PyUnicode_KIND(ctx.fmtstr); in PyUnicode_Format()
15051 kind = PyUnicode_KIND(unicode); in unicode_subtype_new()
15400 int kind = PyUnicode_KIND(seq); in unicodeiter_next()