Home
last modified time | relevance | path

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

/third_party/python/Include/internal/
H A Dpycore_gc.h15 uintptr_t _gc_next; member
26 #define _PyObject_GC_IS_TRACKED(o) (_Py_AS_GC(o)->_gc_next != 0)
44 // Lowest bit of _gc_next is used for flags only in GC.
46 #define _PyGCHead_NEXT(g) ((PyGC_Head*)(g)->_gc_next)
47 #define _PyGCHead_SET_NEXT(g, p) _Py_RVALUE((g)->_gc_next = (uintptr_t)(p))
H A Dpycore_object.h173 gc->_gc_next = 0; in _PyObject_GC_UNTRACK()
/third_party/python/Modules/
H A Dgcmodule.c60 // Lowest bit of _gc_next is used for UNREACHABLE flag.
144 GEN.head._gc_next = (uintptr_t)&GEN.head; \ in _PyGC_InitState()
203 _gc_next values
206 _gc_next takes these values:
237 list->_gc_next = (uintptr_t)list; in gc_list_init()
243 return (list->_gc_next == (uintptr_t)list); in gc_list_is_empty()
271 node->_gc_next = 0; /* object is not currently tracked */ in gc_list_remove()
376 assert((head->_gc_next & NEXT_MASK_UNREACHABLE) == 0); in validate_list()
398 PyGC_Head *truenext = (PyGC_Head *)(gc->_gc_next & ~NEXT_MASK_UNREACHABLE); in validate_list()
402 assert((gc->_gc_next in validate_list()
[all...]

Completed in 3 milliseconds