Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dobject.c105 for (tp = type_list; tp; tp = tp->tp_next) in dump_counts()
132 for (tp = type_list; tp; tp = tp->tp_next) { in get_counts()
152 if (tp->tp_next == NULL && tp->tp_prev == NULL) { in inc_count()
154 if (tp->tp_next != NULL) /* sanity check */ in inc_count()
158 tp->tp_next = type_list; in inc_count()
188 tp->tp_prev->tp_next = tp->tp_next; in dec_count()
190 type_list = tp->tp_next; in dec_count()
191 if (tp->tp_next) in dec_count()
192 tp->tp_next->tp_prev = tp->tp_prev; in dec_count()
193 tp->tp_next = tp->tp_prev = NULL; in 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/
Dobject.h433 struct _typeobject *tp_next; member
/external/python/cpython2/Include/
Dobject.h409 struct _typeobject *tp_next; member
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst1065 .. c:member:: PyTypeObject* PyTypeObject.tp_next
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst1122 .. c:member:: PyTypeObject* PyTypeObject.tp_next