Home
last modified time | relevance | path

Searched refs:FROM_GC (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Dgcmodule.c28 #define FROM_GC(g) ((PyObject *)(((PyGC_Head *)g)+1)) macro
309 PyObject *op = FROM_GC(gc); in append_objects()
332 gc->gc.gc_refs = Py_REFCNT(FROM_GC(gc)); in update_refs()
384 traverse = Py_TYPE(FROM_GC(gc))->tp_traverse; in subtract_refs()
385 (void) traverse(FROM_GC(gc), in subtract_refs()
468 PyObject *op = FROM_GC(gc); in move_unreachable()
524 PyObject *op = FROM_GC(gc); in untrack_dicts()
546 PyObject *op = FROM_GC(gc); in move_finalizers()
582 traverse = Py_TYPE(FROM_GC(gc))->tp_traverse; in move_finalizer_reachable()
583 (void) traverse(FROM_GC(gc), in move_finalizer_reachable()
[all …]
/external/python/cpython3/Modules/
Dgcmodule.c75 #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()
[all …]