• Home
  • Raw
  • Download

Lines Matching refs:PyUnicode_WRITE

1103     PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),  in resize_compact()
1158 PyUnicode_WRITE(PyUnicode_KIND(unicode), data, length, 0); in resize_inplace()
1701 PyUnicode_WRITE(to_kind, to_data, to_start + i, ch); in _copy_characters()
4399 PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode), in PyUnicode_WriteChar()
5293 PyUnicode_WRITE(writer.kind, writer.data, writer.pos, in unicode_decode_utf8()
5834 PyUnicode_WRITE(kind, data, pos++, ch); in PyUnicode_DecodeUTF32Stateful()
5846 PyUnicode_WRITE(kind, data, pos++, ch); in PyUnicode_DecodeUTF32Stateful()
6471 PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \ in _PyUnicode_DecodeUnicodeEscapeInternal()
6478 PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \ in _PyUnicode_DecodeUnicodeEscapeInternal()
6873 PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \ in _PyUnicode_DecodeRawUnicodeEscapeStateful()
6907 PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, '\\'); in _PyUnicode_DecodeRawUnicodeEscapeStateful()
7437 PyUnicode_WRITE(kind, data, writer.pos, c); in PyUnicode_DecodeASCII()
7460 PyUnicode_WRITE(kind, data, writer.pos, 0xfffd); in PyUnicode_DecodeASCII()
7462 PyUnicode_WRITE(kind, data, writer.pos, c + 0xdc00); in PyUnicode_DecodeASCII()
9627 PyUnicode_WRITE(kind, data, i, ch); in PyUnicode_TransformDecimalToASCII()
12067 PyUnicode_WRITE(kind, dest_data, j, ch); in unicode_expandtabs_impl()
13283 PyUnicode_WRITE(okind, odata, 0, quote); in unicode_repr()
13284 PyUnicode_WRITE(okind, odata, osize-1, quote); in unicode_repr()
13296 PyUnicode_WRITE(okind, odata, o++, '\\'); in unicode_repr()
13297 PyUnicode_WRITE(okind, odata, o++, ch); in unicode_repr()
13303 PyUnicode_WRITE(okind, odata, o++, '\\'); in unicode_repr()
13304 PyUnicode_WRITE(okind, odata, o++, 't'); in unicode_repr()
13307 PyUnicode_WRITE(okind, odata, o++, '\\'); in unicode_repr()
13308 PyUnicode_WRITE(okind, odata, o++, 'n'); in unicode_repr()
13311 PyUnicode_WRITE(okind, odata, o++, '\\'); in unicode_repr()
13312 PyUnicode_WRITE(okind, odata, o++, 'r'); in unicode_repr()
13317 PyUnicode_WRITE(okind, odata, o++, '\\'); in unicode_repr()
13318 PyUnicode_WRITE(okind, odata, o++, 'x'); in unicode_repr()
13319 PyUnicode_WRITE(okind, odata, o++, Py_hexdigits[(ch >> 4) & 0x000F]); in unicode_repr()
13320 PyUnicode_WRITE(okind, odata, o++, Py_hexdigits[ch & 0x000F]); in unicode_repr()
13325 PyUnicode_WRITE(okind, odata, o++, ch); in unicode_repr()
13334 PyUnicode_WRITE(okind, odata, o++, '\\'); in unicode_repr()
13337 PyUnicode_WRITE(okind, odata, o++, 'x'); in unicode_repr()
13338 PyUnicode_WRITE(okind, odata, o++, Py_hexdigits[(ch >> 4) & 0x000F]); in unicode_repr()
13339 PyUnicode_WRITE(okind, odata, o++, Py_hexdigits[ch & 0x000F]); in unicode_repr()
13343 PyUnicode_WRITE(okind, odata, o++, 'u'); in unicode_repr()
13344 PyUnicode_WRITE(okind, odata, o++, Py_hexdigits[(ch >> 12) & 0xF]); in unicode_repr()
13345 PyUnicode_WRITE(okind, odata, o++, Py_hexdigits[(ch >> 8) & 0xF]); in unicode_repr()
13346 PyUnicode_WRITE(okind, odata, o++, Py_hexdigits[(ch >> 4) & 0xF]); in unicode_repr()
13347 PyUnicode_WRITE(okind, odata, o++, Py_hexdigits[ch & 0xF]); in unicode_repr()
13351 PyUnicode_WRITE(okind, odata, o++, 'U'); in unicode_repr()
13352 PyUnicode_WRITE(okind, odata, o++, Py_hexdigits[(ch >> 28) & 0xF]); in unicode_repr()
13353 PyUnicode_WRITE(okind, odata, o++, Py_hexdigits[(ch >> 24) & 0xF]); in unicode_repr()
13354 PyUnicode_WRITE(okind, odata, o++, Py_hexdigits[(ch >> 20) & 0xF]); in unicode_repr()
13355 PyUnicode_WRITE(okind, odata, o++, Py_hexdigits[(ch >> 16) & 0xF]); in unicode_repr()
13356 PyUnicode_WRITE(okind, odata, o++, Py_hexdigits[(ch >> 12) & 0xF]); in unicode_repr()
13357 PyUnicode_WRITE(okind, odata, o++, Py_hexdigits[(ch >> 8) & 0xF]); in unicode_repr()
13358 PyUnicode_WRITE(okind, odata, o++, Py_hexdigits[(ch >> 4) & 0xF]); in unicode_repr()
13359 PyUnicode_WRITE(okind, odata, o++, Py_hexdigits[ch & 0xF]); in unicode_repr()
13364 PyUnicode_WRITE(okind, odata, o++, ch); in unicode_repr()
13932 PyUnicode_WRITE(kind, data, 0, chr); in unicode_zfill_impl()
13933 PyUnicode_WRITE(kind, data, fill, '0'); in unicode_zfill_impl()
14205 PyUnicode_WRITE(writer->kind, writer->data, writer->pos, ch); in _PyUnicodeWriter_WriteCharInline()
14630 PyUnicode_WRITE(dest_kind, dest_data, i, ch); in unicode_subscript()
15401 PyUnicode_WRITE(writer->kind, writer->data, writer->pos, signchar); in unicode_format_arg_output()
15415 PyUnicode_WRITE(writer->kind, writer->data, writer->pos, '0'); in unicode_format_arg_output()
15416 PyUnicode_WRITE(writer->kind, writer->data, writer->pos+1, arg->ch); in unicode_format_arg_output()
15438 PyUnicode_WRITE(writer->kind, writer->data, writer->pos, signchar); in unicode_format_arg_output()
15444 PyUnicode_WRITE(writer->kind, writer->data, writer->pos, '0'); in unicode_format_arg_output()
15445 PyUnicode_WRITE(writer->kind, writer->data, writer->pos+1, arg->ch); in unicode_format_arg_output()