Home
last modified time | relevance | path

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

/third_party/python/Include/cpython/
Dunicodeobject.h305 #define PyUnicode_IS_COMPACT(op) \ macro
311 (((PyASCIIObject*)op)->state.ascii && PyUnicode_IS_COMPACT(op))
351 PyUnicode_IS_COMPACT(op) ? _PyUnicode_COMPACT_DATA(op) : \
/third_party/python/Objects/
Dunicodeobject.c1052 assert(PyUnicode_IS_COMPACT(unicode)); in resize_compact()
1114 assert(!PyUnicode_IS_COMPACT(unicode)); in resize_inplace()
1292 if (!PyUnicode_IS_COMPACT(unicode)) in unicode_kind_name()
1341 printf("compact %d\n", PyUnicode_IS_COMPACT(unicode)); in _PyUnicode_data()
1987 if (!PyUnicode_IS_COMPACT(unicode) && _PyUnicode_DATA_ANY(unicode)) { in unicode_dealloc()
2067 if (PyUnicode_IS_COMPACT(unicode)) { in unicode_resize()
4384 if (!PyUnicode_Check(unicode) || !PyUnicode_IS_COMPACT(unicode)) { in PyUnicode_WriteChar()
14453 else if (PyUnicode_IS_COMPACT(self)) in unicode_sizeof_impl()