Searched refs:_gc_prev (Results 1 – 3 of 3) sorted by relevance
53 uintptr_t _gc_prev; member83 #define _PyGCHead_PREV(g) ((PyGC_Head*)((g)->_gc_prev & _PyGC_PREV_MASK))86 (g)->_gc_prev = ((g)->_gc_prev & ~_PyGC_PREV_MASK) \91 (((g)->_gc_prev & _PyGC_PREV_MASK_FINALIZED) != 0)93 ((g)->_gc_prev |= _PyGC_PREV_MASK_FINALIZED)
36 (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0, in _PyObject_GC_TRACK_impl()40 PyGC_Head *last = (PyGC_Head*)(_PyRuntime.gc.generation0->_gc_prev); in _PyObject_GC_TRACK_impl()44 _PyRuntime.gc.generation0->_gc_prev = (uintptr_t)gc; in _PyObject_GC_TRACK_impl()72 gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED; in _PyObject_GC_UNTRACK_impl()
75 return (g->_gc_prev & PREV_MASK_COLLECTING) != 0; in gc_is_collecting()81 g->_gc_prev &= ~PREV_MASK_COLLECTING; in gc_clear_collecting()87 return (Py_ssize_t)(g->_gc_prev >> _PyGC_PREV_SHIFT); in gc_get_refs()93 g->_gc_prev = (g->_gc_prev & ~_PyGC_PREV_MASK) in gc_set_refs()100 g->_gc_prev = (g->_gc_prev & _PyGC_PREV_MASK_FINALIZED) in gc_reset_refs()111 g->_gc_prev -= 1 << _PyGC_PREV_SHIFT; in gc_decref()209 list->_gc_prev = (uintptr_t)list; in gc_list_init()223 PyGC_Head *last = (PyGC_Head *)list->_gc_prev; in gc_list_append()231 list->_gc_prev = (uintptr_t)node; in gc_list_append()262 PyGC_Head *to_prev = (PyGC_Head*)list->_gc_prev; in gc_list_move()[all …]