Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dobject.c57 static PyObject refchain = {&refchain, &refchain}; variable
82 op->_ob_next = refchain._ob_next; in _Py_AddToAllObjects()
83 op->_ob_prev = &refchain; in _Py_AddToAllObjects()
84 refchain._ob_next->_ob_prev = op; in _Py_AddToAllObjects()
85 refchain._ob_next = op; in _Py_AddToAllObjects()
1757 if (op == &refchain || in _Py_ForgetReference()
1768 for (p = refchain._ob_next; p != &refchain; p = p->_ob_next) { in _Py_ForgetReference()
1772 if (p == &refchain) /* Not found */ in _Py_ForgetReference()
1797 for (op = refchain._ob_next; op != &refchain; op = op->_ob_next) { in _Py_PrintReferences()
1813 for (op = refchain._ob_next; op != &refchain; op = op->_ob_next) in _Py_PrintReferenceAddresses()
[all …]
/external/python/cpython2/Objects/
Dobject.c44 static PyObject refchain = {&refchain, &refchain}; variable
69 op->_ob_next = refchain._ob_next; in _Py_AddToAllObjects()
70 op->_ob_prev = &refchain; in _Py_AddToAllObjects()
71 refchain._ob_next->_ob_prev = op; in _Py_AddToAllObjects()
72 refchain._ob_next = op; in _Py_AddToAllObjects()
2240 if (op == &refchain || in _Py_ForgetReference()
2244 for (p = refchain._ob_next; p != &refchain; p = p->_ob_next) { in _Py_ForgetReference()
2248 if (p == &refchain) /* Not found */ in _Py_ForgetReference()
2273 for (op = refchain._ob_next; op != &refchain; op = op->_ob_next) { in _Py_PrintReferences()
2289 for (op = refchain._ob_next; op != &refchain; op = op->_ob_next) in _Py_PrintReferenceAddresses()
[all …]