Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dobject.c84 static PyObject refchain = {&refchain, &refchain}; variable
109 op->_ob_next = refchain._ob_next; in _Py_AddToAllObjects()
110 op->_ob_prev = &refchain; in _Py_AddToAllObjects()
111 refchain._ob_next->_ob_prev = op; in _Py_AddToAllObjects()
112 refchain._ob_next = op; in _Py_AddToAllObjects()
1845 if (op == &refchain || in _Py_ForgetReference()
1853 for (p = refchain._ob_next; p != &refchain; p = p->_ob_next) { in _Py_ForgetReference()
1858 if (p == &refchain) { in _Py_ForgetReference()
1878 for (op = refchain._ob_next; op != &refchain; op = op->_ob_next) { in _Py_PrintReferences()
1894 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()
2245 if (op == &refchain || in _Py_ForgetReference()
2249 for (p = refchain._ob_next; p != &refchain; p = p->_ob_next) { in _Py_ForgetReference()
2253 if (p == &refchain) /* Not found */ in _Py_ForgetReference()
2278 for (op = refchain._ob_next; op != &refchain; op = op->_ob_next) { in _Py_PrintReferences()
2294 for (op = refchain._ob_next; op != &refchain; op = op->_ob_next) in _Py_PrintReferenceAddresses()
[all …]