Lines Matching refs:Py_UNICODE
20 :c:type:`Py_UNICODE*` and UTF-8 representations are created on demand and cached
21 in the Unicode object. The :c:type:`Py_UNICODE*` representation is deprecated
33 :c:type:`Py_UNICODE*` representation; you will have to call
59 .. c:type:: Py_UNICODE
212 Return the size of the deprecated :c:type:`Py_UNICODE` representation, in
223 Return the size of the deprecated :c:type:`Py_UNICODE` representation in
231 .. c:function:: Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *o)
234 Return a pointer to a :c:type:`Py_UNICODE` representation of the object. The
243 :c:type:`Py_UNICODE` representation does not exist and needs to be created
675 Deprecated Py_UNICODE APIs
685 .. c:function:: PyObject* PyUnicode_FromUnicode(const Py_UNICODE *u, Py_ssize_t size)
687 Create a Unicode object from the Py_UNICODE buffer *u* of the given size. *u*
706 .. c:function:: Py_UNICODE* PyUnicode_AsUnicode(PyObject *unicode)
709 :c:type:`Py_UNICODE` buffer, or ``NULL`` on error. This will create the
710 :c:type:`Py_UNICODE*` representation of the object if it is not yet
712 Note that the resulting :c:type:`Py_UNICODE` string may also contain
722 .. c:function:: PyObject* PyUnicode_TransformDecimalToASCII(Py_UNICODE *s, Py_ssize_t size)
725 :c:type:`Py_UNICODE` buffer of the given *size* by ASCII digits 0--9
729 Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
733 .. c:function:: Py_UNICODE* PyUnicode_AsUnicodeAndSize(PyObject *unicode, Py_ssize_t *size)
735 Like :c:func:`PyUnicode_AsUnicode`, but also saves the :c:func:`Py_UNICODE`
737 Note that the resulting :c:type:`Py_UNICODE*` string
751 Return the size of the deprecated :c:type:`Py_UNICODE` representation, in
1041 .. c:function:: PyObject* PyUnicode_Encode(const Py_UNICODE *s, Py_ssize_t size, \
1044 Encode the :c:type:`Py_UNICODE` buffer *s* of the given *size* and return a Python
1051 Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
1117 .. c:function:: PyObject* PyUnicode_EncodeUTF8(const Py_UNICODE *s, Py_ssize_t size, const char *er…
1119 Encode the :c:type:`Py_UNICODE` buffer *s* of the given *size* using UTF-8 and
1124 Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
1179 .. c:function:: PyObject* PyUnicode_EncodeUTF32(const Py_UNICODE *s, Py_ssize_t size, \
1198 Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
1253 .. c:function:: PyObject* PyUnicode_EncodeUTF16(const Py_UNICODE *s, Py_ssize_t size, \
1266 If ``Py_UNICODE_WIDE`` is defined, a single :c:type:`Py_UNICODE` value may get
1267 represented as a surrogate pair. If it is not defined, each :c:type:`Py_UNICODE`
1273 Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
1298 .. c:function:: PyObject* PyUnicode_EncodeUTF7(const Py_UNICODE *s, Py_ssize_t size, \
1301 Encode the :c:type:`Py_UNICODE` buffer of the given size using UTF-7 and
1311 Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
1335 .. c:function:: PyObject* PyUnicode_EncodeUnicodeEscape(const Py_UNICODE *s, Py_ssize_t size)
1337 Encode the :c:type:`Py_UNICODE` buffer of the given *size* using Unicode-Escape and
1341 Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
1365 .. c:function:: PyObject* PyUnicode_EncodeRawUnicodeEscape(const Py_UNICODE *s, \
1368 Encode the :c:type:`Py_UNICODE` buffer of the given *size* using Raw-Unicode-Escape
1372 Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
1397 .. c:function:: PyObject* PyUnicode_EncodeLatin1(const Py_UNICODE *s, Py_ssize_t size, const char *…
1399 Encode the :c:type:`Py_UNICODE` buffer of the given *size* using Latin-1 and
1404 Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
1429 .. c:function:: PyObject* PyUnicode_EncodeASCII(const Py_UNICODE *s, Py_ssize_t size, const char *e…
1431 Encode the :c:type:`Py_UNICODE` buffer of the given *size* using ASCII and
1436 Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
1480 .. c:function:: PyObject* PyUnicode_EncodeCharmap(const Py_UNICODE *s, Py_ssize_t size, \
1483 Encode the :c:type:`Py_UNICODE` buffer of the given *size* using the given
1488 Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
1512 .. c:function:: PyObject* PyUnicode_TranslateCharmap(const Py_UNICODE *s, Py_ssize_t size, \
1515 Translate a :c:type:`Py_UNICODE` buffer of the given *size* by applying a
1520 Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
1564 .. c:function:: PyObject* PyUnicode_EncodeMBCS(const Py_UNICODE *s, Py_ssize_t size, const char *er…
1566 Encode the :c:type:`Py_UNICODE` buffer of the given *size* using MBCS and return
1571 Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using