Home
last modified time | relevance | path

Searched refs:_gc_next (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Modules/
Dgcmodule.c241 list->_gc_next = (uintptr_t)list; in gc_list_init()
247 return (list->_gc_next == (uintptr_t)list); in gc_list_is_empty()
275 node->_gc_next = 0; /* object is not currently tracked */ in gc_list_remove()
380 assert((head->_gc_next & NEXT_MASK_UNREACHABLE) == 0); in validate_list()
402 PyGC_Head *truenext = (PyGC_Head *)(gc->_gc_next & ~NEXT_MASK_UNREACHABLE); in validate_list()
406 assert((gc->_gc_next & NEXT_MASK_UNREACHABLE) == next_value); in validate_list()
508 assert(gc->_gc_next != 0); in visit_reachable()
510 if (gc->_gc_next & NEXT_MASK_UNREACHABLE) { in visit_reachable()
520 PyGC_Head *next = (PyGC_Head*)(gc->_gc_next & ~NEXT_MASK_UNREACHABLE); in visit_reachable()
522 prev->_gc_next & NEXT_MASK_UNREACHABLE); in visit_reachable()
[all …]
/third_party/python/Include/internal/
Dpycore_gc.h15 uintptr_t _gc_next; member
25 #define _PyObject_GC_IS_TRACKED(o) (_Py_AS_GC(o)->_gc_next != 0)
45 #define _PyGCHead_NEXT(g) ((PyGC_Head*)(g)->_gc_next)
46 #define _PyGCHead_SET_NEXT(g, p) ((g)->_gc_next = (uintptr_t)(p))
Dpycore_object.h125 gc->_gc_next = 0; in _PyObject_GC_UNTRACK()