Searched refs:gc_refs (Results 1 – 7 of 7) sorted by relevance
213 #define IS_TRACKED(o) ((AS_GC(o))->gc.gc_refs != GC_UNTRACKED)214 #define IS_REACHABLE(o) ((AS_GC(o))->gc.gc_refs == GC_REACHABLE)216 (AS_GC(o))->gc.gc_refs == GC_TENTATIVELY_UNREACHABLE)331 assert(gc->gc.gc_refs == GC_REACHABLE); in update_refs()332 gc->gc.gc_refs = Py_REFCNT(FROM_GC(gc)); in update_refs()351 assert(gc->gc.gc_refs != 0); in update_refs()366 assert(gc->gc.gc_refs != 0); /* else refcount was too small */ in visit_decref()367 if (gc->gc.gc_refs > 0) in visit_decref()368 gc->gc.gc_refs--; in visit_decref()397 const Py_ssize_t gc_refs = gc->gc.gc_refs; in visit_reachable() local[all …]
256 Py_ssize_t gc_refs; member273 if (g->gc.gc_refs != _PyGC_REFS_UNTRACKED) \275 g->gc.gc_refs = _PyGC_REFS_REACHABLE; \288 assert(g->gc.gc_refs != _PyGC_REFS_UNTRACKED); \289 g->gc.gc_refs = _PyGC_REFS_UNTRACKED; \297 ((_Py_AS_GC(o))->gc.gc_refs != _PyGC_REFS_UNTRACKED)
10 long gc_refs; member
10 Py_ssize_t gc_refs; member
194 _Py_AS_GC(self)->gc.gc_refs != _PyGC_REFS_UNTRACKED); in gen_del()
2442 assert(_Py_AS_GC(op)->gc.gc_refs == _PyGC_REFS_UNTRACKED); in _PyTrash_deposit_object()2454 assert(_Py_AS_GC(op)->gc.gc_refs == _PyGC_REFS_UNTRACKED); in _PyTrash_thread_deposit_object()
5899 _Py_AS_GC(self)->gc.gc_refs != _PyGC_REFS_UNTRACKED);