Home
last modified time | relevance | path

Searched refs:PyString_CHECK_INTERNED (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Include/
Dbytesobject.h6 #define PyBytes_CHECK_INTERNED PyString_CHECK_INTERNED
Dstringobject.h88 #define PyString_CHECK_INTERNED(op) (((PyStringObject *)(op))->ob_sstate) macro
/external/python/cpython2/Objects/
Dstringobject.c579 switch (PyString_CHECK_INTERNED(op)) { in string_dealloc()
3900 PyString_CHECK_INTERNED(v)) { in _PyString_Resize()
4092 !PyString_CHECK_INTERNED(result)) in _PyString_FormatLong()
4757 if (PyString_CHECK_INTERNED(s)) in PyString_InternInPlace()
4780 PyString_CHECK_INTERNED(s) = SSTATE_INTERNED_MORTAL; in PyString_InternInPlace()
4787 if (PyString_CHECK_INTERNED(*p) != SSTATE_INTERNED_IMMORTAL) { in PyString_InternImmortal()
4788 PyString_CHECK_INTERNED(*p) = SSTATE_INTERNED_IMMORTAL; in PyString_InternImmortal()
/external/python/cpython2/Python/
Dmarshal.c328 if (p->strings && PyString_CHECK_INTERNED(v)) { in w_object()
Dceval.c5168 if (v->ob_refcnt == 1 && !PyString_CHECK_INTERNED(v)) { in string_concatenate()