Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dobject.c51 static PyObject refchain = {&refchain, &refchain}; variable
76 op->_ob_next = refchain._ob_next; in _Py_AddToAllObjects()
77 op->_ob_prev = &refchain; in _Py_AddToAllObjects()
78 refchain._ob_next->_ob_prev = op; in _Py_AddToAllObjects()
79 refchain._ob_next = op; in _Py_AddToAllObjects()
1942 if (op == &refchain || in _Py_ForgetReference()
1953 for (p = refchain._ob_next; p != &refchain; p = p->_ob_next) { in _Py_ForgetReference()
1957 if (p == &refchain) /* Not found */ in _Py_ForgetReference()
1982 for (op = refchain._ob_next; op != &refchain; op = op->_ob_next) { in _Py_PrintReferences()
1998 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 …]