Lines Matching refs:Py_UNICODE
1240 if (length > ((PY_SSIZE_T_MAX / (Py_ssize_t)sizeof(Py_UNICODE)) - 1)) { in _PyUnicode_New()
1252 new_size = sizeof(Py_UNICODE) * ((size_t)length + 1); in _PyUnicode_New()
1266 _PyUnicode_WSTR(unicode) = (Py_UNICODE*) PyObject_Malloc(new_size); in _PyUnicode_New()
2197 PyUnicode_FromUnicode(const Py_UNICODE *u, Py_ssize_t size) in PyUnicode_FromUnicode()
2272 _PyUnicode_CONVERT_BYTES(Py_UNICODE, unsigned char, in PyUnicode_FromWideChar()
2279 _PyUnicode_CONVERT_BYTES(Py_UNICODE, Py_UCS2, in PyUnicode_FromWideChar()
3751 PyUnicode_Encode(const Py_UNICODE *s, in PyUnicode_Encode()
4268 Py_UNICODE *
4275 Py_UNICODE *w = _PyUnicode_WSTR(unicode); in PyUnicode_AsUnicodeAndSize()
4307 Py_UNICODE *
4313 const Py_UNICODE *
4317 const Py_UNICODE *wstr; in _PyUnicode_AsUnicode()
5068 PyUnicode_EncodeUTF7(const Py_UNICODE *s, in PyUnicode_EncodeUTF7()
5726 PyUnicode_EncodeUTF8(const Py_UNICODE *s, in PyUnicode_EncodeUTF8()
6050 PyUnicode_EncodeUTF32(const Py_UNICODE *s, in PyUnicode_EncodeUTF32()
6403 PyUnicode_EncodeUTF16(const Py_UNICODE *s, in PyUnicode_EncodeUTF16()
6817 PyUnicode_EncodeUnicodeEscape(const Py_UNICODE *s, in PyUnicode_EncodeUnicodeEscape()
7058 PyUnicode_EncodeRawUnicodeEscape(const Py_UNICODE *s, in PyUnicode_EncodeRawUnicodeEscape()
7356 PyUnicode_EncodeLatin1(const Py_UNICODE *p, in PyUnicode_EncodeLatin1()
7497 PyUnicode_EncodeASCII(const Py_UNICODE *p, in PyUnicode_EncodeASCII()
8238 PyUnicode_EncodeMBCS(const Py_UNICODE *p, in PyUnicode_EncodeMBCS()
9079 PyUnicode_EncodeCharmap(const Py_UNICODE *p, in PyUnicode_EncodeCharmap()
9519 PyUnicode_TranslateCharmap(const Py_UNICODE *p, in PyUnicode_TranslateCharmap()
9593 PyUnicode_TransformDecimalToASCII(Py_UNICODE *s, in PyUnicode_TransformDecimalToASCII()
9634 PyUnicode_EncodeDecimal(Py_UNICODE *s, in PyUnicode_EncodeDecimal()