Home
last modified time | relevance | path

Searched refs:PyUnicode_IS_COMPACT (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Include/
Dunicodeobject.h427 #define PyUnicode_IS_COMPACT(op) \ macro
433 (((PyASCIIObject*)op)->state.ascii && PyUnicode_IS_COMPACT(op))
473 PyUnicode_IS_COMPACT(op) ? _PyUnicode_COMPACT_DATA(op) : \
/external/python/cpython3/Objects/
Dunicodeobject.c935 assert(PyUnicode_IS_COMPACT(unicode)); in resize_compact()
993 assert(!PyUnicode_IS_COMPACT(unicode)); in resize_inplace()
1172 if (!PyUnicode_IS_COMPACT(unicode)) in unicode_kind_name()
1218 printf("compact %d\n", PyUnicode_IS_COMPACT(unicode)); in _PyUnicode_data()
1832 if (!PyUnicode_IS_COMPACT(unicode) && _PyUnicode_DATA_ANY(unicode)) in unicode_dealloc()
1910 if (PyUnicode_IS_COMPACT(unicode)) { in unicode_resize()
4046 if (!PyUnicode_Check(unicode) || !PyUnicode_IS_COMPACT(unicode)) { in PyUnicode_WriteChar()
13851 else if (PyUnicode_IS_COMPACT(self)) in unicode_sizeof_impl()