Searched refs:PyUnicode_GET_SIZE (Results 1 – 9 of 9) sorted by relevance
60 const Py_UNICODE *inp_end = PyUnicode_AS_UNICODE(in) + PyUnicode_GET_SIZE(in); in escape_unicode()80 out = (PyUnicodeObject*)PyUnicode_FromUnicode(NULL, PyUnicode_GET_SIZE(in) + delta); in escape_unicode()111 Py_UNICODE_COPY(outp, inp, PyUnicode_GET_SIZE(in) - (inp - PyUnicode_AS_UNICODE(in))); in escape_unicode()
21 #define STRINGLIB_LEN PyUnicode_GET_SIZE
258 #define PyUnicode_GET_SIZE(op) \ macro268 (PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE)
2346 PyUnicode_GET_SIZE:Py_ssize_t:::2347 PyUnicode_GET_SIZE:PyObject*:o:0:
1843 len != PyUnicode_GET_SIZE(obj)) in test_u_code()1895 len1 != PyUnicode_GET_SIZE(obj)) in test_Z_code()
210 .. c:function:: Py_ssize_t PyUnicode_GET_SIZE(PyObject *o)
2278 * :c:macro:`PyUnicode_GET_SIZE`, :c:func:`PyUnicode_GetSize`: use
12650 Py_ssize_t i = 0, len = PyUnicode_GET_SIZE(self); in PyUnicode_IsIdentifier()