Lines Matching refs:kind2
9251 int kind1, kind2; in any_find_slice() local
9256 kind2 = PyUnicode_KIND(s2); in any_find_slice()
9257 if (kind1 < kind2) in any_find_slice()
9269 Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0); in any_find_slice()
9278 if (kind2 != kind1) { in any_find_slice()
9321 if (kind2 != kind1) in any_find_slice()
9480 int kind1, kind2; in PyUnicode_Count() local
9488 kind2 = PyUnicode_KIND(substr); in PyUnicode_Count()
9489 if (kind1 < kind2) in PyUnicode_Count()
9500 if (kind2 != kind1) { in PyUnicode_Count()
9535 if (kind2 != kind1) in PyUnicode_Count()
9540 if (kind2 != kind1 && buf2) in PyUnicode_Count()
10218 int kind1, kind2; in split() local
10260 kind2 = PyUnicode_KIND(substring); in split()
10263 if (kind1 < kind2 || len1 < len2) { in split()
10273 if (kind2 != kind1) { in split()
10299 if (kind2 != kind1) in split()
10309 int kind1, kind2; in rsplit() local
10351 kind2 = PyUnicode_KIND(substring); in rsplit()
10354 if (kind1 < kind2 || len1 < len2) { in rsplit()
10364 if (kind2 != kind1) { in rsplit()
10390 if (kind2 != kind1) in rsplit()
10467 int kind2 = PyUnicode_KIND(str2); in replace() local
10506 u2 = PyUnicode_READ(kind2, buf2, 0); in replace()
10528 if (rkind > kind2) { in replace()
10534 else if (rkind < kind2) { in replace()
10536 rkind = kind2; in replace()
10587 if (kind2 < rkind) { in replace()
10593 else if (kind2 > rkind) { in replace()
10595 rkind = kind2; in replace()
10850 int kind1, kind2; in unicode_compare() local
10855 kind2 = PyUnicode_KIND(str2); in unicode_compare()
10865 switch(kind2) { in unicode_compare()
10889 switch(kind2) { in unicode_compare()
10908 switch(kind2) { in unicode_compare()
11185 int kind1, kind2; in PyUnicode_Contains() local
11202 kind2 = PyUnicode_KIND(substr); in PyUnicode_Contains()
11203 if (kind1 < kind2) in PyUnicode_Contains()
11212 Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0); in PyUnicode_Contains()
11216 if (kind2 != kind1) { in PyUnicode_Contains()
11236 if (kind2 != kind1) in PyUnicode_Contains()
11413 int kind1, kind2; in unicode_count() local
11421 kind2 = PyUnicode_KIND(substring); in unicode_count()
11422 if (kind1 < kind2) in unicode_count()
11433 if (kind2 != kind1) { in unicode_count()
11463 if (kind2 != kind1) in unicode_count()
12908 int kind1, kind2; in PyUnicode_Partition() local
12916 kind2 = PyUnicode_KIND(sep_obj); in PyUnicode_Partition()
12919 if (kind1 < kind2 || len1 < len2) { in PyUnicode_Partition()
12931 if (kind2 != kind1) { in PyUnicode_Partition()
12954 if (kind2 != kind1) in PyUnicode_Partition()
12965 int kind1, kind2; in PyUnicode_RPartition() local
12973 kind2 = PyUnicode_KIND(sep_obj); in PyUnicode_RPartition()
12976 if (kind1 < kind2 || len1 < len2) { in PyUnicode_RPartition()
12988 if (kind2 != kind1) { in PyUnicode_RPartition()
13011 if (kind2 != kind1) in PyUnicode_RPartition()