Home
last modified time | relevance | path

Searched refs:tp_next (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Objects/
Dobject.c135 for (tp = type_list; tp; tp = tp->tp_next) in _Py_dump_counts()
162 for (tp = type_list; tp; tp = tp->tp_next) { in _Py_get_counts()
182 if (tp->tp_next == NULL && tp->tp_prev == NULL) { in _Py_inc_count()
184 if (tp->tp_next != NULL) /* sanity check */ in _Py_inc_count()
188 tp->tp_next = type_list; in _Py_inc_count()
218 tp->tp_prev->tp_next = tp->tp_next; in _Py_dec_count()
220 type_list = tp->tp_next; in _Py_dec_count()
221 if (tp->tp_next) in _Py_dec_count()
222 tp->tp_next->tp_prev = tp->tp_prev; in _Py_dec_count()
223 tp->tp_next = tp->tp_prev = NULL; in _Py_dec_count()
/external/python/cpython2/Objects/
Dobject.c94 for (tp = type_list; tp; tp = tp->tp_next) in dump_counts()
121 for (tp = type_list; tp; tp = tp->tp_next) { in get_counts()
141 if (tp->tp_next == NULL && tp->tp_prev == NULL) { in inc_count()
143 if (tp->tp_next != NULL) /* sanity check */ in inc_count()
147 tp->tp_next = type_list; in inc_count()
177 tp->tp_prev->tp_next = tp->tp_next; in dec_count()
179 type_list = tp->tp_next; in dec_count()
180 if (tp->tp_next) in dec_count()
181 tp->tp_next->tp_prev = tp->tp_prev; in dec_count()
182 tp->tp_next = tp->tp_prev = NULL; in dec_count()
/external/python/cpython3/Include/cpython/
Dobject.h268 struct _typeobject *tp_next; member
/external/python/cpython2/Include/
Dobject.h409 struct _typeobject *tp_next; member
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst156 * :c:member:`~PyTypeObject.tp_next`
1924 .. c:member:: PyTypeObject* PyTypeObject.tp_next
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst1122 .. c:member:: PyTypeObject* PyTypeObject.tp_next