Home
last modified time | relevance | path

Searched refs:PyUnicode_WRITE (Results 1 – 10 of 10) sorted by relevance

/third_party/python/Python/
Dformatter_unicode.c617 PyUnicode_WRITE(kind, data, writer->pos, spec->sign); in fill_number()
630 PyUnicode_WRITE(kind, data, writer->pos + t, c); in fill_number()
663 PyUnicode_WRITE(kind, data, writer->pos + t, c); in fill_number()
1371 PyUnicode_WRITE(rkind, rdata, writer->pos, '('); in format_complex_internal()
1391 PyUnicode_WRITE(rkind, rdata, writer->pos, 'j'); in format_complex_internal()
1395 PyUnicode_WRITE(rkind, rdata, writer->pos, ')'); in format_complex_internal()
Dcompile.c370 PyUnicode_WRITE(PyUnicode_KIND(result), PyUnicode_DATA(result), 0, '_'); in _Py_Mangle()
/third_party/python/Objects/
Dunicodeobject.c1103 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()
[all …]
/third_party/python/Modules/cjkcodecs/
Dcjkcodecs.h147 PyUnicode_WRITE(writer->kind, writer->data, writer->pos, _c1); \
148 PyUnicode_WRITE(writer->kind, writer->data, writer->pos + 1, _c2); \
/third_party/python/Modules/_io/
Dtextio.c346 PyUnicode_WRITE(kind, out, 0, '\r'); in _PyIncrementalNewlineDecoder_decode()
471 PyUnicode_WRITE(kind, translated, out++, c); in _PyIncrementalNewlineDecoder_decode()
473 PyUnicode_WRITE(kind, translated, out++, c); in _PyIncrementalNewlineDecoder_decode()
484 PyUnicode_WRITE(kind, translated, out++, '\n'); in _PyIncrementalNewlineDecoder_decode()
489 PyUnicode_WRITE(kind, translated, out++, c); in _PyIncrementalNewlineDecoder_decode()
/third_party/python/Modules/
Dunicodedata.c616 PyUnicode_WRITE(kind, data, o+1, in nfd_nfkd()
618 PyUnicode_WRITE(kind, data, o, tmp); in nfd_nfkd()
/third_party/python/Doc/data/
Drefcounts.dat2790 PyUnicode_WRITE:void:::
2791 PyUnicode_WRITE:int:kind::
2792 PyUnicode_WRITE:void*:data::
2793 PyUnicode_WRITE:Py_ssize_t:index::
2794 PyUnicode_WRITE:Py_UCS4:value::
/third_party/python/Include/cpython/
Dunicodeobject.h363 #define PyUnicode_WRITE(kind, data, index, value) \ macro
/third_party/python/Doc/c-api/
Dunicode.rst171 .. c:function:: void PyUnicode_WRITE(int kind, void *data, Py_ssize_t index, \
246 :c:func:`PyUnicode_WRITE` or :c:func:`PyUnicode_READ`.
/third_party/python/Doc/whatsnew/
D3.3.rst2200 * :c:macro:`PyUnicode_READ`, :c:macro:`PyUnicode_READ_CHAR`, :c:macro:`PyUnicode_WRITE`
2277 :c:macro:`PyUnicode_READ` and :c:macro:`PyUnicode_WRITE`