Lines Matching refs:PyUnicode_DATA
138 (_PyUnicode_UTF8(op) == PyUnicode_DATA(op)))
141 (_PyUnicode_WSTR(unicode) == PyUnicode_DATA(op)))
148 && _PyUnicode_UTF8(op) != PyUnicode_DATA(op)))
155 _PyUnicode_WSTR(op) != PyUnicode_DATA(op))))
494 data = PyUnicode_DATA(ascii); in _PyUnicode_CheckConsistency()
573 void *data = PyUnicode_DATA(unicode); in unicode_result_ready()
635 data = PyUnicode_DATA(unicode); in backslashreplace()
702 data = PyUnicode_DATA(unicode); in xmlcharrefreplace()
969 _PyUnicode_WSTR(unicode) = PyUnicode_DATA(unicode); in resize_compact()
982 PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode), in resize_compact()
1223 return PyUnicode_DATA(unicode); in _PyUnicode_data()
1449 from_data = PyUnicode_DATA(from); in _copy_characters()
1451 to_data = PyUnicode_DATA(to); in _copy_characters()
1947 void *data = PyUnicode_DATA(unicode); in unicode_write_cstr()
2319 startptr = PyUnicode_DATA(unicode); in _PyUnicode_FindMaxChar()
2398 memcpy(PyUnicode_DATA(copy), PyUnicode_DATA(unicode), in _PyUnicode_Copy()
2473 data = PyUnicode_DATA(string); in as_ucs4()
3802 if (findchar(PyUnicode_DATA(output), PyUnicode_KIND(output), in PyUnicode_FSDecoder()
4038 data = PyUnicode_DATA(unicode); in PyUnicode_ReadChar()
4061 PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode), in PyUnicode_WriteChar()
4620 data = PyUnicode_DATA(str); in _PyUnicode_EncodeUTF7()
5194 data = PyUnicode_DATA(unicode); in _PyUnicode_AsUTF8String()
5416 data = PyUnicode_DATA(str); in _PyUnicode_EncodeUTF32()
5751 data = PyUnicode_DATA(str); in _PyUnicode_EncodeUTF16()
6193 data = PyUnicode_DATA(unicode); in PyUnicode_AsUnicodeEscapeString()
6433 data = PyUnicode_DATA(unicode); in PyUnicode_AsRawUnicodeEscapeString()
6747 data = PyUnicode_DATA(unicode); in unicode_encode_ucs1()
6866 PyUnicode_DATA(rep), in unicode_encode_ucs1()
6921 return PyBytes_FromStringAndSize(PyUnicode_DATA(unicode), in _PyUnicode_AsLatin1String()
7062 return PyBytes_FromStringAndSize(PyUnicode_DATA(unicode), in _PyUnicode_AsASCIIString()
7670 data = PyUnicode_DATA(rep); in encode_code_page_errors()
7820 mapdata = PyUnicode_DATA(mapping); in charmap_decode_string()
8148 data = PyUnicode_DATA(string); in PyUnicode_BuildEncodingMap()
8517 data = PyUnicode_DATA(repunicode); in charmap_encoding_error()
8559 data = PyUnicode_DATA(unicode); in _PyUnicode_EncodeCharmap()
8954 data = (char*)PyUnicode_DATA(input); in _PyUnicode_TranslateCharmap()
9098 const void *data = PyUnicode_DATA(unicode); in _PyUnicode_TransformDecimalAndSpaceToASCII()
9150 data = PyUnicode_DATA(decimal); in PyUnicode_TransformDecimalToASCII()
9186 data = PyUnicode_DATA(unicode); in PyUnicode_EncodeDecimal()
9266 buf1 = PyUnicode_DATA(s1); in any_find_slice()
9267 buf2 = PyUnicode_DATA(s2); in any_find_slice()
9498 buf1 = PyUnicode_DATA(str); in PyUnicode_Count()
9499 buf2 = PyUnicode_DATA(substr); in PyUnicode_Count()
9608 data_self = PyUnicode_DATA(self); in tailmatch()
9610 data_sub = PyUnicode_DATA(substring); in tailmatch()
9664 char *resdata, *data = PyUnicode_DATA(self); in ascii_upper_or_lower()
9670 resdata = PyUnicode_DATA(res); in ascii_upper_or_lower()
9858 data = PyUnicode_DATA(self); in case_operation()
9872 outdata = PyUnicode_DATA(res); in case_operation()
10050 PyUnicode_DATA(item), in _PyUnicode_JoinArray()
10093 void *data = PyUnicode_DATA(unicode); in _PyUnicode_FastFill()
10168 data = PyUnicode_DATA(u); in pad()
10271 buf1 = PyUnicode_DATA(self); in split()
10272 buf2 = PyUnicode_DATA(substring); in split()
10362 buf1 = PyUnicode_DATA(self); in rsplit()
10363 buf2 = PyUnicode_DATA(substring); in rsplit()
10436 void *data = PyUnicode_DATA(u); in replace_1char_inplace()
10461 char *sbuf = PyUnicode_DATA(self); in replace()
10462 char *buf1 = PyUnicode_DATA(str1); in replace()
10463 char *buf2 = PyUnicode_DATA(str2); in replace()
10550 res = PyUnicode_DATA(u); in replace()
10629 res = PyUnicode_DATA(u); in replace()
10856 data1 = PyUnicode_DATA(str1); in unicode_compare()
10857 data2 = PyUnicode_DATA(str2); in unicode_compare()
10962 data1 = PyUnicode_DATA(str1); in unicode_compare_eq()
10963 data2 = PyUnicode_DATA(str2); in unicode_compare_eq()
11037 void *data = PyUnicode_DATA(uni); in PyUnicode_CompareWithASCIIString()
11209 buf1 = PyUnicode_DATA(str); in PyUnicode_Contains()
11210 buf2 = PyUnicode_DATA(substr); in PyUnicode_Contains()
11431 buf1 = PyUnicode_DATA(self); in unicode_count()
11432 buf2 = PyUnicode_DATA(substring); in unicode_count()
11519 src_data = PyUnicode_DATA(self); in unicode_expandtabs_impl()
11549 dest_data = PyUnicode_DATA(u); in unicode_expandtabs_impl()
11630 data = PyUnicode_DATA(self); in unicode_getitem()
11659 x = _Py_HashBytes(PyUnicode_DATA(self), in unicode_hash()
11743 data = PyUnicode_DATA(self); in unicode_islower_impl()
11788 data = PyUnicode_DATA(self); in unicode_isupper_impl()
11833 data = PyUnicode_DATA(self); in unicode_istitle_impl()
11890 data = PyUnicode_DATA(self); in unicode_isspace_impl()
11930 data = PyUnicode_DATA(self); in unicode_isalpha_impl()
11969 data = PyUnicode_DATA(self); in unicode_isalnum_impl()
12011 data = PyUnicode_DATA(self); in unicode_isdecimal_impl()
12050 data = PyUnicode_DATA(self); in unicode_isdigit_impl()
12090 data = PyUnicode_DATA(self); in unicode_isnumeric_impl()
12125 data = PyUnicode_DATA(self); in PyUnicode_IsIdentifier()
12182 data = PyUnicode_DATA(self); in unicode_isprintable_impl()
12291 data = PyUnicode_DATA(self); in _PyUnicode_XStrip()
12295 PyUnicode_DATA(sepobj), in _PyUnicode_XStrip()
12402 void *data = PyUnicode_DATA(self); in do_strip()
12536 const Py_UCS4 fill_char = PyUnicode_READ(kind, PyUnicode_DATA(str), 0); in unicode_repeat()
12538 void *to = PyUnicode_DATA(u); in unicode_repeat()
12556 char *to = (char *) PyUnicode_DATA(u); in unicode_repeat()
12557 memcpy(to, PyUnicode_DATA(str), in unicode_repeat()
12622 idata = PyUnicode_DATA(unicode); in unicode_repr()
12679 odata = PyUnicode_DATA(repr); in unicode_repr()
12929 buf1 = PyUnicode_DATA(str_obj); in PyUnicode_Partition()
12930 buf2 = PyUnicode_DATA(sep_obj); in PyUnicode_Partition()
12986 buf1 = PyUnicode_DATA(str_obj); in PyUnicode_RPartition()
12987 buf2 = PyUnicode_DATA(sep_obj); in PyUnicode_RPartition()
13184 x_data = PyUnicode_DATA(x); in unicode_maketrans_impl()
13185 y_data = PyUnicode_DATA(y); in unicode_maketrans_impl()
13204 z_data = PyUnicode_DATA(z); in unicode_maketrans_impl()
13236 data = PyUnicode_DATA(key); in unicode_maketrans_impl()
13335 data = PyUnicode_DATA(u); in unicode_zfill_impl()
13466 writer->data = PyUnicode_DATA(writer->buffer); in _PyUnicodeWriter_Update()
14001 src_data = PyUnicode_DATA(self); in unicode_subscript()
14020 dest_data = PyUnicode_DATA(result); in unicode_subscript()
14199 buf = PyUnicode_DATA(result); in _PyUnicode_FormatLong()
14260 || buf != PyUnicode_DATA(result)) { in _PyUnicode_FormatLong()
14761 pbuf = PyUnicode_DATA(str); in unicode_format_arg_output()
14933 ctx.fmtdata = PyUnicode_DATA(ctx.fmtstr); in PyUnicode_Format()
15111 memcpy(data, PyUnicode_DATA(unicode), in unicode_subtype_new()
15401 void *data = PyUnicode_DATA(seq); in unicodeiter_next()