Lines Matching refs:FROM_GC
75 #define FROM_GC(g) ((PyObject *)(((PyGC_Head *)g)+1)) macro
113 _PyObject_ASSERT_WITH_MSG(FROM_GC(g), in gc_decref()
350 PyObject *op = FROM_GC(gc); in append_objects()
427 gc_reset_refs(gc, Py_REFCNT(FROM_GC(gc))); in update_refs()
446 _PyObject_ASSERT(FROM_GC(gc), gc_get_refs(gc) != 0); in update_refs()
480 PyObject *op = FROM_GC(gc); in subtract_refs()
482 (void) traverse(FROM_GC(gc), in subtract_refs()
521 _PyObject_ASSERT(FROM_GC(prev), in visit_reachable()
523 _PyObject_ASSERT(FROM_GC(next), in visit_reachable()
587 PyObject *op = FROM_GC(gc); in move_unreachable()
640 PyObject *op = FROM_GC(gc); in untrack_tuples()
655 PyObject *op = FROM_GC(gc); in untrack_dicts()
686 PyObject *op = FROM_GC(gc); in move_legacy_finalizers()
708 _PyObject_ASSERT((PyObject*)FROM_GC(gc), gc->_gc_next & NEXT_MASK_UNREACHABLE); in clear_unreachable_mask()
739 traverse = Py_TYPE(FROM_GC(gc))->tp_traverse; in move_legacy_finalizer_reachable()
740 (void) traverse(FROM_GC(gc), in move_legacy_finalizer_reachable()
780 op = FROM_GC(gc); in handle_weakrefs()
880 op = FROM_GC(gc); in handle_weakrefs()
941 PyObject *op = FROM_GC(gc); in handle_legacy_finalizers()
976 PyObject *op = FROM_GC(gc); in finalize_garbage()
1002 PyObject *op = FROM_GC(gc); in delete_garbage()
1276 debug_cycle("collectable", FROM_GC(gc)); in gc_collect_main()
1307 debug_cycle("uncollectable", FROM_GC(gc)); in gc_collect_main()
1671 obj = FROM_GC(gc); in gc_referrers_for()
2177 _PyObject_Dump(FROM_GC(g)); in _PyGC_Dump()
2270 PyObject *op = FROM_GC(g); in _PyObject_GC_Alloc()
2329 op = (PyVarObject *) FROM_GC(g); in _PyObject_GC_Resize()