Searched refs:PyUnicode_WRITE (Results 1 – 11 of 11) sorted by relevance
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 982 PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode), in resize_compact() 1037 PyUnicode_WRITE(PyUnicode_KIND(unicode), data, length, 0); in resize_inplace() 1560 PyUnicode_WRITE(to_kind, to_data, to_start + i, ch); in _copy_characters() 4061 PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode), in PyUnicode_WriteChar() 4925 PyUnicode_WRITE(writer.kind, writer.data, writer.pos, in PyUnicode_DecodeUTF8Stateful() 5320 PyUnicode_WRITE(kind, data, pos++, ch); in PyUnicode_DecodeUTF32Stateful() 5332 PyUnicode_WRITE(kind, data, pos++, ch); in PyUnicode_DecodeUTF32Stateful() 5955 PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \ in _PyUnicode_DecodeUnicodeEscape() 5962 PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \ in _PyUnicode_DecodeUnicodeEscape() 6334 PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \ in PyUnicode_DecodeRawUnicodeEscape() [all …]
|
/external/python/cpython3/Python/ |
D | formatter_unicode.c | 614 PyUnicode_WRITE(kind, data, writer->pos, spec->sign); in fill_number() 627 PyUnicode_WRITE(kind, data, writer->pos + t, c); in fill_number() 660 PyUnicode_WRITE(kind, data, writer->pos + t, c); in fill_number() 1362 PyUnicode_WRITE(rkind, rdata, writer->pos, '('); in format_complex_internal() 1382 PyUnicode_WRITE(rkind, rdata, writer->pos, 'j'); in format_complex_internal() 1386 PyUnicode_WRITE(rkind, rdata, writer->pos, ')'); in format_complex_internal()
|
D | codecs.c | 721 PyUnicode_WRITE(kind, data, i, '?'); in PyCodec_ReplaceErrors() 747 PyUnicode_WRITE(kind, data, i, Py_UNICODE_REPLACEMENT_CHARACTER); in PyCodec_ReplaceErrors()
|
D | compile.c | 275 PyUnicode_WRITE(PyUnicode_KIND(result), PyUnicode_DATA(result), 0, '_'); in _Py_Mangle()
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | cjkcodecs.h | 147 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/ |
D | textio.c | 343 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/ |
D | unicodedata.c | 603 PyUnicode_WRITE(kind, data, o+1, in nfd_nfkd() 605 PyUnicode_WRITE(kind, data, o, tmp); in nfd_nfkd()
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2772 PyUnicode_WRITE:void::: 2773 PyUnicode_WRITE:int:kind:: 2774 PyUnicode_WRITE:void*:data:: 2775 PyUnicode_WRITE:Py_ssize_t:index:: 2776 PyUnicode_WRITE:Py_UCS4:value::
|
/external/python/cpython3/Include/ |
D | unicodeobject.h | 485 #define PyUnicode_WRITE(kind, data, index, value) \ macro
|
/external/python/cpython3/Doc/c-api/ |
D | unicode.rst | 161 .. 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/ |
D | 3.3.rst | 2200 * :c:macro:`PyUnicode_READ`, :c:macro:`PyUnicode_READ_CHAR`, :c:macro:`PyUnicode_WRITE` 2277 :c:macro:`PyUnicode_READ` and :c:macro:`PyUnicode_WRITE`
|