Home
last modified time | relevance | path

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

/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/
Dunicodeobject.h288 static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) { in PyUnicode_IS_COMPACT() function
292 # define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op)) macro
298 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()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/
Dunicodeobject.h288 static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) { in PyUnicode_IS_COMPACT() function
292 # define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op)) macro
298 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()
/aosp_15_r20/external/python/cpython3/Include/cpython/
Dunicodeobject.h288 static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) { in PyUnicode_IS_COMPACT() function
292 # define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op)) macro
298 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()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/
Dunicodeobject.h288 static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) { in PyUnicode_IS_COMPACT() function
292 # define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op)) macro
298 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()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/
Dunicodeobject.h288 static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) { in PyUnicode_IS_COMPACT() function
292 # define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op)) macro
298 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()
/aosp_15_r20/external/python/cpython3/Objects/
Dunicodeobject.c1033 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()
/aosp_15_r20/external/python/cpython3/Doc/whatsnew/
D3.11.rst2604 * :c:func:`PyUnicode_IS_COMPACT`