Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dobject.c116 for (tp = type_list; tp; tp = tp->tp_next) in dump_counts()
143 for (tp = type_list; tp; tp = tp->tp_next) { in get_counts()
163 if (tp->tp_next == NULL && tp->tp_prev == NULL) { in inc_count()
165 if (tp->tp_next != NULL) /* sanity check */ in inc_count()
169 tp->tp_next = type_list; in inc_count()
199 tp->tp_prev->tp_next = tp->tp_next; in dec_count()
201 type_list = tp->tp_next; in dec_count()
202 if (tp->tp_next) in dec_count()
203 tp->tp_next->tp_prev = tp->tp_prev; in dec_count()
204 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/cpython2/Include/
Dobject.h409 struct _typeobject *tp_next; member
/external/python/cpython3/Include/
Dobject.h433 struct _typeobject *tp_next; member
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst1064 .. c:member:: PyTypeObject* PyTypeObject.tp_next
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst1137 .. c:member:: PyTypeObject* PyTypeObject.tp_next