Lines Matching refs:Py_UNICODE
5 /* Py_UNICODE was the native Unicode storage format (code unit) used by
7 With PEP 393, Py_UNICODE is deprecated and replaced with a
10 /* Py_DEPRECATED(3.3) */ typedef wchar_t Py_UNICODE;
467 /* --- Plain Py_UNICODE --------------------------------------------------- */
478 wstr/Py_UNICODE representation. This function is used to convert Unicode
591 /* Create a Unicode Object from the Py_UNICODE buffer u of the given
601 const Py_UNICODE *u, /* Unicode buffer */
606 Py_UNICODE buffer.
607 If the wchar_t/Py_UNICODE representation is not yet available, this
609 Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
615 PyAPI_FUNC(const Py_UNICODE *) _PyUnicode_AsUnicode(
620 Py_UNICODE buffer and save the length at size.
621 If the wchar_t/Py_UNICODE representation is not yet available, this
624 Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicodeAndSize(
646 /* Returns the deprecated Py_UNICODE representation's size in code units
648 If the Py_UNICODE representation is not available, it will be computed
679 /* Alias for PyUnicode_AsUnicode(). This will create a wchar_t/Py_UNICODE
685 static inline Py_UNICODE* PyUnicode_AS_UNICODE(PyObject *op)
706 Py_UNICODE *data = PyUnicode_AS_UNICODE(op);