Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dunicodeobject.c1022 PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode), in resize_compact()
1077 PyUnicode_WRITE(PyUnicode_KIND(unicode), data, length, 0); in resize_inplace()
1603 PyUnicode_WRITE(to_kind, to_data, to_start + i, ch); in _copy_characters()
4099 PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode), in PyUnicode_WriteChar()
4987 PyUnicode_WRITE(writer.kind, writer.data, writer.pos, in unicode_decode_utf8()
5468 PyUnicode_WRITE(kind, data, pos++, ch); in PyUnicode_DecodeUTF32Stateful()
5480 PyUnicode_WRITE(kind, data, pos++, ch); in PyUnicode_DecodeUTF32Stateful()
6103 PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \ in _PyUnicode_DecodeUnicodeEscape()
6110 PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \ in _PyUnicode_DecodeUnicodeEscape()
6482 PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \ in PyUnicode_DecodeRawUnicodeEscape()
[all …]
/external/python/cpython3/Python/
Dformatter_unicode.c615 PyUnicode_WRITE(kind, data, writer->pos, spec->sign); in fill_number()
628 PyUnicode_WRITE(kind, data, writer->pos + t, c); in fill_number()
661 PyUnicode_WRITE(kind, data, writer->pos + t, c); in fill_number()
1363 PyUnicode_WRITE(rkind, rdata, writer->pos, '('); in format_complex_internal()
1383 PyUnicode_WRITE(rkind, rdata, writer->pos, 'j'); in format_complex_internal()
1387 PyUnicode_WRITE(rkind, rdata, writer->pos, ')'); in format_complex_internal()
Dcodecs.c725 PyUnicode_WRITE(kind, data, i, '?'); in PyCodec_ReplaceErrors()
751 PyUnicode_WRITE(kind, data, i, Py_UNICODE_REPLACEMENT_CHARACTER); in PyCodec_ReplaceErrors()
Dcompile.c279 PyUnicode_WRITE(PyUnicode_KIND(result), PyUnicode_DATA(result), 0, '_'); in _Py_Mangle()
/external/python/cpython3/Modules/cjkcodecs/
Dcjkcodecs.h147 PyUnicode_WRITE(writer->kind, writer->data, writer->pos, _c1); \
148 PyUnicode_WRITE(writer->kind, writer->data, writer->pos + 1, _c2); \
/external/python/cpython3/Modules/_io/
Dtextio.c343 PyUnicode_WRITE(kind, PyUnicode_DATA(modified), 0, '\r'); in _PyIncrementalNewlineDecoder_decode()
468 PyUnicode_WRITE(kind, translated, out++, c); in _PyIncrementalNewlineDecoder_decode()
470 PyUnicode_WRITE(kind, translated, out++, c); in _PyIncrementalNewlineDecoder_decode()
481 PyUnicode_WRITE(kind, translated, out++, '\n'); in _PyIncrementalNewlineDecoder_decode()
486 PyUnicode_WRITE(kind, translated, out++, c); in _PyIncrementalNewlineDecoder_decode()
/external/python/cpython3/Modules/
Dunicodedata.c610 PyUnicode_WRITE(kind, data, o+1, in nfd_nfkd()
612 PyUnicode_WRITE(kind, data, o, tmp); in nfd_nfkd()
/external/python/cpython3/Doc/data/
Drefcounts.dat2807 PyUnicode_WRITE:void:::
2808 PyUnicode_WRITE:int:kind::
2809 PyUnicode_WRITE:void*:data::
2810 PyUnicode_WRITE:Py_ssize_t:index::
2811 PyUnicode_WRITE:Py_UCS4:value::
/external/python/cpython3/Include/cpython/
Dunicodeobject.h370 #define PyUnicode_WRITE(kind, data, index, value) \ macro
/external/python/cpython3/Doc/c-api/
Dunicode.rst161 .. c:function:: void PyUnicode_WRITE(int kind, void *data, Py_ssize_t index, \
241 :c:func:`PyUnicode_WRITE` or :c:func:`PyUnicode_READ`.
/external/python/cpython3/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`