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.c43 #define FROM_GC(g) ((PyObject *)(((PyGC_Head *)g)+1)) macro
220 PyObject *op = FROM_GC(gc); in append_objects()
243 _PyGCHead_SET_REFS(gc, Py_REFCNT(FROM_GC(gc))); in update_refs()
295 traverse = Py_TYPE(FROM_GC(gc))->tp_traverse; in subtract_refs()
296 (void) traverse(FROM_GC(gc), in subtract_refs()
379 PyObject *op = FROM_GC(gc); in move_unreachable()
413 PyObject *op = FROM_GC(gc); in untrack_dicts()
442 PyObject *op = FROM_GC(gc); in move_legacy_finalizers()
478 traverse = Py_TYPE(FROM_GC(gc))->tp_traverse; in move_legacy_finalizer_reachable()
479 (void) traverse(FROM_GC(gc), in move_legacy_finalizer_reachable()
[all …]