Lines Matching refs:unicode
187 /* Compact is with respect to the allocation scheme. Compact unicode
320 /* Return a void pointer to the raw unicode buffer. */
355 /* Returns the length of the unicode string. The caller has to make sure that
419 static inline Py_UCS4 PyUnicode_READ_CHAR(PyObject *unicode, Py_ssize_t index)
422 assert(PyUnicode_IS_READY(unicode));
423 kind = PyUnicode_KIND(unicode);
425 return PyUnicode_1BYTE_DATA(unicode)[index];
428 return PyUnicode_2BYTE_DATA(unicode)[index];
431 return PyUnicode_4BYTE_DATA(unicode)[index];
434 # define PyUnicode_READ_CHAR(unicode, index) \
435 PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
469 /* With PEP 393, this is the recommended way to allocate a new unicode object.
485 PyObject *unicode /* Unicode object */
505 PyObject *unicode
508 /* Copy character from one unicode object into another, this function performs
546 unicode[start:start+length].
554 PyObject *unicode,
563 PyObject *unicode,
582 /* Compute the maximum character of the substring unicode[start:end].
585 PyObject *unicode,
610 PyObject *unicode /* Unicode object */
616 PyObject *unicode /* Unicode object */
625 PyObject *unicode, /* Unicode object */
845 Unicode object unicode.
857 PyAPI_FUNC(const char *) PyUnicode_AsUTF8(PyObject *unicode);
864 PyObject *unicode, /* Unicode object */
873 PyObject *unicode,
901 PyObject* unicode, /* Unicode object */
940 PyObject* unicode,
946 PyObject* unicode,
962 PyObject *unicode, /* Unicode object */
977 PyObject *unicode /* Unicode object */
988 /* Test whether a unicode is equal to ASCII identifier. Return 1 if true,
996 /* Test whether a unicode is equal to ASCII string. Return 1 if true,
1004 /* Externally visible for str.strip(unicode) */
1143 /* Fast equality check when the inputs are known to be exact unicode types