• Home
  • Raw
  • Download

Lines Matching refs:PyUnicode_DATA

157      (_PyUnicode_UTF8(op) == PyUnicode_DATA(op)))
160 (_PyUnicode_WSTR(unicode) == PyUnicode_DATA(op)))
167 && _PyUnicode_UTF8(op) != PyUnicode_DATA(op)))
174 _PyUnicode_WSTR(op) != PyUnicode_DATA(op))))
600 data = PyUnicode_DATA(ascii); in _PyUnicode_CheckConsistency()
682 const void *data = PyUnicode_DATA(unicode); in unicode_result_ready()
745 data = PyUnicode_DATA(unicode); in backslashreplace()
812 data = PyUnicode_DATA(unicode); in xmlcharrefreplace()
1090 _PyUnicode_WSTR(unicode) = PyUnicode_DATA(unicode); in resize_compact()
1103 PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode), in resize_compact()
1347 return PyUnicode_DATA(unicode); in _PyUnicode_data()
1574 from_data = PyUnicode_DATA(from); in _copy_characters()
1576 to_data = PyUnicode_DATA(to); in _copy_characters()
2081 const void *data = PyUnicode_DATA(unicode); in unicode_write_cstr()
2465 startptr = PyUnicode_DATA(unicode); in _PyUnicode_FindMaxChar()
2546 memcpy(PyUnicode_DATA(copy), PyUnicode_DATA(unicode), in _PyUnicode_Copy()
2610 data = PyUnicode_DATA(string); in as_ucs4()
4030 if (findchar(PyUnicode_DATA(output), PyUnicode_KIND(output), in PyUnicode_FSDecoder()
4178 data = PyUnicode_DATA(unicode); in PyUnicode_ReadChar()
4201 PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode), in PyUnicode_WriteChar()
4779 data = PyUnicode_DATA(str); in _PyUnicode_EncodeUTF7()
5439 const void *data = PyUnicode_DATA(unicode); in unicode_encode_utf8()
5475 const void *data = PyUnicode_DATA(unicode); in unicode_fill_utf8()
5732 data = PyUnicode_DATA(str); in _PyUnicode_EncodeUTF32()
6067 data = PyUnicode_DATA(str); in _PyUnicode_EncodeUTF16()
6509 data = PyUnicode_DATA(unicode); in PyUnicode_AsUnicodeEscapeString()
6749 data = PyUnicode_DATA(unicode); in PyUnicode_AsRawUnicodeEscapeString()
6960 data = PyUnicode_DATA(unicode); in unicode_encode_ucs1()
7079 PyUnicode_DATA(rep), in unicode_encode_ucs1()
7134 return PyBytes_FromStringAndSize(PyUnicode_DATA(unicode), in _PyUnicode_AsLatin1String()
7274 return PyBytes_FromStringAndSize(PyUnicode_DATA(unicode), in _PyUnicode_AsASCIIString()
7877 data = PyUnicode_DATA(rep); in encode_code_page_errors()
8025 mapdata = PyUnicode_DATA(mapping); in charmap_decode_string()
8347 data = PyUnicode_DATA(string); in PyUnicode_BuildEncodingMap()
8716 data = PyUnicode_DATA(repunicode); in charmap_encoding_error()
8758 data = PyUnicode_DATA(unicode); in _PyUnicode_EncodeCharmap()
9153 data = PyUnicode_DATA(input); in _PyUnicode_TranslateCharmap()
9297 const void *data = PyUnicode_DATA(unicode); in _PyUnicode_TransformDecimalAndSpaceToASCII()
9349 data = PyUnicode_DATA(decimal); in PyUnicode_TransformDecimalToASCII()
9385 data = PyUnicode_DATA(unicode); in PyUnicode_EncodeDecimal()
9465 buf1 = PyUnicode_DATA(s1); in any_find_slice()
9466 buf2 = PyUnicode_DATA(s2); in any_find_slice()
9520 assert((kind2 != kind1) == (buf2 != PyUnicode_DATA(s2))); in any_find_slice()
9698 buf1 = PyUnicode_DATA(str); in PyUnicode_Count()
9699 buf2 = PyUnicode_DATA(substr); in PyUnicode_Count()
9735 assert((kind2 != kind1) == (buf2 != PyUnicode_DATA(substr))); in PyUnicode_Count()
9741 assert((kind2 != kind1) == (buf2 != PyUnicode_DATA(substr))); in PyUnicode_Count()
9810 data_self = PyUnicode_DATA(self); in tailmatch()
9812 data_sub = PyUnicode_DATA(substring); in tailmatch()
9866 const char *data = PyUnicode_DATA(self); in ascii_upper_or_lower()
9873 resdata = PyUnicode_DATA(res); in ascii_upper_or_lower()
10062 data = PyUnicode_DATA(self); in case_operation()
10076 outdata = PyUnicode_DATA(res); in case_operation()
10254 PyUnicode_DATA(item), in _PyUnicode_JoinArray()
10297 void *data = PyUnicode_DATA(unicode); in _PyUnicode_FastFill()
10372 data = PyUnicode_DATA(u); in pad()
10475 buf1 = PyUnicode_DATA(self); in split()
10476 buf2 = PyUnicode_DATA(substring); in split()
10503 assert((kind2 != kind1) == (buf2 != PyUnicode_DATA(substring))); in split()
10567 buf1 = PyUnicode_DATA(self); in rsplit()
10568 buf2 = PyUnicode_DATA(substring); in rsplit()
10595 assert((kind2 != kind1) == (buf2 != PyUnicode_DATA(substring))); in rsplit()
10642 void *data = PyUnicode_DATA(u); in replace_1char_inplace()
10667 const char *sbuf = PyUnicode_DATA(self); in replace()
10668 const void *buf1 = PyUnicode_DATA(str1); in replace()
10669 const void *buf2 = PyUnicode_DATA(str2); in replace()
10747 assert(buf1 != PyUnicode_DATA(str1)); in replace()
10749 buf1 = PyUnicode_DATA(str1); in replace()
10763 res = PyUnicode_DATA(u); in replace()
10813 assert(buf1 != PyUnicode_DATA(str1)); in replace()
10815 buf1 = PyUnicode_DATA(str1); in replace()
10846 res = PyUnicode_DATA(u); in replace()
10906 assert(srelease == (sbuf != PyUnicode_DATA(self))); in replace()
10907 assert(release1 == (buf1 != PyUnicode_DATA(str1))); in replace()
10908 assert(release2 == (buf2 != PyUnicode_DATA(str2))); in replace()
10920 assert(srelease == (sbuf != PyUnicode_DATA(self))); in replace()
10921 assert(release1 == (buf1 != PyUnicode_DATA(str1))); in replace()
10922 assert(release2 == (buf2 != PyUnicode_DATA(str2))); in replace()
10932 assert(srelease == (sbuf != PyUnicode_DATA(self))); in replace()
10933 assert(release1 == (buf1 != PyUnicode_DATA(str1))); in replace()
10934 assert(release2 == (buf2 != PyUnicode_DATA(str2))); in replace()
11082 data1 = PyUnicode_DATA(str1); in unicode_compare()
11083 data2 = PyUnicode_DATA(str2); in unicode_compare()
11188 data1 = PyUnicode_DATA(str1); in unicode_compare_eq()
11189 data2 = PyUnicode_DATA(str2); in unicode_compare_eq()
11263 const void *data = PyUnicode_DATA(uni); in PyUnicode_CompareWithASCIIString()
11436 buf1 = PyUnicode_DATA(str); in PyUnicode_Contains()
11437 buf2 = PyUnicode_DATA(substr); in PyUnicode_Contains()
11463 assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(substr))); in PyUnicode_Contains()
11659 buf1 = PyUnicode_DATA(self); in unicode_count()
11660 buf2 = PyUnicode_DATA(substring); in unicode_count()
11691 assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(substring))); in unicode_count()
11749 src_data = PyUnicode_DATA(self); in unicode_expandtabs_impl()
11779 dest_data = PyUnicode_DATA(u); in unicode_expandtabs_impl()
11860 data = PyUnicode_DATA(self); in unicode_getitem()
11880 x = _Py_HashBytes(PyUnicode_DATA(self), in unicode_hash()
11964 data = PyUnicode_DATA(self); in unicode_islower_impl()
12009 data = PyUnicode_DATA(self); in unicode_isupper_impl()
12054 data = PyUnicode_DATA(self); in unicode_istitle_impl()
12111 data = PyUnicode_DATA(self); in unicode_isspace_impl()
12151 data = PyUnicode_DATA(self); in unicode_isalpha_impl()
12190 data = PyUnicode_DATA(self); in unicode_isalnum_impl()
12232 data = PyUnicode_DATA(self); in unicode_isdecimal_impl()
12271 data = PyUnicode_DATA(self); in unicode_isdigit_impl()
12311 data = PyUnicode_DATA(self); in unicode_isnumeric_impl()
12343 const void *data = PyUnicode_DATA(self); in _PyUnicode_ScanIdentifier()
12456 data = PyUnicode_DATA(self); in unicode_isprintable_impl()
12565 data = PyUnicode_DATA(self); in _PyUnicode_XStrip()
12569 PyUnicode_DATA(sepobj), in _PyUnicode_XStrip()
12676 const void *data = PyUnicode_DATA(self); in do_strip()
12810 Py_UCS4 fill_char = PyUnicode_READ(kind, PyUnicode_DATA(str), 0); in unicode_repeat()
12812 void *to = PyUnicode_DATA(u); in unicode_repeat()
12830 char *to = (char *) PyUnicode_DATA(u); in unicode_repeat()
12831 memcpy(to, PyUnicode_DATA(str), in unicode_repeat()
12952 idata = PyUnicode_DATA(unicode); in unicode_repr()
13009 odata = PyUnicode_DATA(repr); in unicode_repr()
13259 buf1 = PyUnicode_DATA(str_obj); in PyUnicode_Partition()
13260 buf2 = PyUnicode_DATA(sep_obj); in PyUnicode_Partition()
13284 assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(sep_obj))); in PyUnicode_Partition()
13317 buf1 = PyUnicode_DATA(str_obj); in PyUnicode_RPartition()
13318 buf2 = PyUnicode_DATA(sep_obj); in PyUnicode_RPartition()
13342 assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(sep_obj))); in PyUnicode_RPartition()
13516 x_data = PyUnicode_DATA(x); in unicode_maketrans_impl()
13517 y_data = PyUnicode_DATA(y); in unicode_maketrans_impl()
13536 z_data = PyUnicode_DATA(z); in unicode_maketrans_impl()
13568 data = PyUnicode_DATA(key); in unicode_maketrans_impl()
13667 data = PyUnicode_DATA(u); in unicode_zfill_impl()
13798 writer->data = PyUnicode_DATA(writer->buffer); in _PyUnicodeWriter_Update()
14347 src_data = PyUnicode_DATA(self); in unicode_subscript()
14366 dest_data = PyUnicode_DATA(result); in unicode_subscript()
14545 buf = PyUnicode_DATA(result); in _PyUnicode_FormatLong()
14606 || buf != PyUnicode_DATA(result)) { in _PyUnicode_FormatLong()
15107 pbuf = PyUnicode_DATA(str); in unicode_format_arg_output()
15279 ctx.fmtdata = PyUnicode_DATA(ctx.fmtstr); in PyUnicode_Format()
15457 memcpy(data, PyUnicode_DATA(unicode), in unicode_subtype_new()
15748 const void *data = PyUnicode_DATA(seq); in unicodeiter_next()