Lines Matching refs:Py_UNICODE

21 .. c:type:: Py_UNICODE
25 for :c:type:`Py_UNICODE` and store Unicode values internally as UCS2. It is also
28 :c:type:`Py_UNICODE` and store Unicode data internally as UCS4. On platforms
30 Unicode build variant, :c:type:`Py_UNICODE` is a typedef alias for
32 platforms, :c:type:`Py_UNICODE` is a typedef alias for either :c:type:`unsigned
90 .. c:function:: Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *o)
92 Return a pointer to the internal :c:type:`Py_UNICODE` buffer of the object. *o*
117 .. c:function:: int Py_UNICODE_ISSPACE(Py_UNICODE ch)
122 .. c:function:: int Py_UNICODE_ISLOWER(Py_UNICODE ch)
127 .. c:function:: int Py_UNICODE_ISUPPER(Py_UNICODE ch)
132 .. c:function:: int Py_UNICODE_ISTITLE(Py_UNICODE ch)
137 .. c:function:: int Py_UNICODE_ISLINEBREAK(Py_UNICODE ch)
142 .. c:function:: int Py_UNICODE_ISDECIMAL(Py_UNICODE ch)
147 .. c:function:: int Py_UNICODE_ISDIGIT(Py_UNICODE ch)
152 .. c:function:: int Py_UNICODE_ISNUMERIC(Py_UNICODE ch)
157 .. c:function:: int Py_UNICODE_ISALPHA(Py_UNICODE ch)
162 .. c:function:: int Py_UNICODE_ISALNUM(Py_UNICODE ch)
169 .. c:function:: Py_UNICODE Py_UNICODE_TOLOWER(Py_UNICODE ch)
174 .. c:function:: Py_UNICODE Py_UNICODE_TOUPPER(Py_UNICODE ch)
179 .. c:function:: Py_UNICODE Py_UNICODE_TOTITLE(Py_UNICODE ch)
184 .. c:function:: int Py_UNICODE_TODECIMAL(Py_UNICODE ch)
190 .. c:function:: int Py_UNICODE_TODIGIT(Py_UNICODE ch)
196 .. c:function:: double Py_UNICODE_TONUMERIC(Py_UNICODE ch)
202 Plain Py_UNICODE
209 .. c:function:: PyObject* PyUnicode_FromUnicode(const Py_UNICODE *u, Py_ssize_t size)
211 Create a Unicode object from the Py_UNICODE buffer *u* of the given size. *u*
330 .. c:function:: Py_UNICODE* PyUnicode_AsUnicode(PyObject *unicode)
333 :c:type:`Py_UNICODE` buffer, *NULL* if *unicode* is not a Unicode object.
334 Note that the resulting :c:type:`Py_UNICODE*` string may contain embedded
372 Support is optimized if Python's own :c:type:`Py_UNICODE` type is identical to
454 .. c:function:: PyObject* PyUnicode_Encode(const Py_UNICODE *s, Py_ssize_t size, const char *encodi…
456 Encode the :c:type:`Py_UNICODE` buffer *s* of the given *size* and return a Python
506 .. c:function:: PyObject* PyUnicode_EncodeUTF8(const Py_UNICODE *s, Py_ssize_t size, const char *er…
508 Encode the :c:type:`Py_UNICODE` buffer *s* of the given *size* using UTF-8 and return a
570 .. c:function:: PyObject* PyUnicode_EncodeUTF32(const Py_UNICODE *s, Py_ssize_t size, const char *e…
652 .. c:function:: PyObject* PyUnicode_EncodeUTF16(const Py_UNICODE *s, Py_ssize_t size, const char *e…
664 If *Py_UNICODE_WIDE* is defined, a single :c:type:`Py_UNICODE` value may get
665 represented as a surrogate pair. If it is not defined, each :c:type:`Py_UNICODE`
702 .. c:function:: PyObject* PyUnicode_EncodeUTF7(const Py_UNICODE *s, Py_ssize_t size, int base64SetO…
704 Encode the :c:type:`Py_UNICODE` buffer of the given size using UTF-7 and
730 .. c:function:: PyObject* PyUnicode_EncodeUnicodeEscape(const Py_UNICODE *s, Py_ssize_t size)
732 Encode the :c:type:`Py_UNICODE` buffer of the given *size* using Unicode-Escape and
764 .. c:function:: PyObject* PyUnicode_EncodeRawUnicodeEscape(const Py_UNICODE *s, Py_ssize_t size, co…
766 Encode the :c:type:`Py_UNICODE` buffer of the given *size* using Raw-Unicode-Escape
799 .. c:function:: PyObject* PyUnicode_EncodeLatin1(const Py_UNICODE *s, Py_ssize_t size, const char *…
801 Encode the :c:type:`Py_UNICODE` buffer of the given *size* using Latin-1 and return
833 .. c:function:: PyObject* PyUnicode_EncodeASCII(const Py_UNICODE *s, Py_ssize_t size, const char *e…
835 Encode the :c:type:`Py_UNICODE` buffer of the given *size* using ASCII and return a
893 .. c:function:: PyObject* PyUnicode_EncodeCharmap(const Py_UNICODE *s, Py_ssize_t size, PyObject *m…
895 Encode the :c:type:`Py_UNICODE` buffer of the given *size* using the given
913 .. c:function:: PyObject* PyUnicode_TranslateCharmap(const Py_UNICODE *s, Py_ssize_t size, PyObject…
915 Translate a :c:type:`Py_UNICODE` buffer of the given *size* by applying a
960 .. c:function:: PyObject* PyUnicode_EncodeMBCS(const Py_UNICODE *s, Py_ssize_t size, const char *er…
962 Encode the :c:type:`Py_UNICODE` buffer of the given *size* using MBCS and return a