Searched refs:PyUnicode_IS_COMPACT (Results 1 – 3 of 3) sorted by relevance
218 static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) { in PyUnicode_IS_COMPACT() function221 #define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op)) macro226 return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op)); in PyUnicode_IS_COMPACT_ASCII()255 assert(!PyUnicode_IS_COMPACT(op)); in _PyUnicode_NONCOMPACT_DATA()262 if (PyUnicode_IS_COMPACT(op)) { in PyUnicode_DATA()
1102 assert(PyUnicode_IS_COMPACT(unicode)); in resize_compact()1147 assert(!PyUnicode_IS_COMPACT(unicode)); in resize_inplace()1220 if (!PyUnicode_IS_COMPACT(unicode)) in unicode_kind_name()1266 printf("compact %d\n", PyUnicode_IS_COMPACT(unicode)); in _PyUnicode_data()1771 if (!PyUnicode_IS_COMPACT(unicode) && _PyUnicode_DATA_ANY(unicode)) { in unicode_dealloc()1847 if (PyUnicode_IS_COMPACT(unicode)) { in unicode_resize()4146 if (!PyUnicode_Check(unicode) || !PyUnicode_IS_COMPACT(unicode)) { in PyUnicode_WriteChar()13643 else if (PyUnicode_IS_COMPACT(self)) { in unicode_sizeof_impl()
2621 * :c:func:`!PyUnicode_IS_COMPACT`