Searched refs:PyUnicode_IS_COMPACT (Results 1 – 7 of 7) sorted by relevance
288 static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) { in PyUnicode_IS_COMPACT() function292 # define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op)) macro298 return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op)); in PyUnicode_IS_COMPACT_ASCII()330 assert(!PyUnicode_IS_COMPACT(op)); in _PyUnicode_NONCOMPACT_DATA()337 if (PyUnicode_IS_COMPACT(op)) { in PyUnicode_DATA()
1033 assert(PyUnicode_IS_COMPACT(unicode)); in resize_compact()1095 assert(!PyUnicode_IS_COMPACT(unicode)); in resize_inplace()1273 if (!PyUnicode_IS_COMPACT(unicode)) in unicode_kind_name()1322 printf("compact %d\n", PyUnicode_IS_COMPACT(unicode)); in _PyUnicode_data()1952 if (!PyUnicode_IS_COMPACT(unicode) && _PyUnicode_DATA_ANY(unicode)) { in unicode_dealloc()2031 if (PyUnicode_IS_COMPACT(unicode)) { in unicode_resize()4314 if (!PyUnicode_Check(unicode) || !PyUnicode_IS_COMPACT(unicode)) { in PyUnicode_WriteChar()14130 else if (PyUnicode_IS_COMPACT(self)) in unicode_sizeof_impl()
2604 * :c:func:`PyUnicode_IS_COMPACT`