Home
last modified time | relevance | path

Searched refs:gc_refs (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Modules/
Dgcmodule.c213 #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 …]
/external/python/cpython2/Include/
Dobjimpl.h256 Py_ssize_t gc_refs; member
273 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)
/external/clang/test/CodeGen/
D2008-08-07-AlignPadding1.c10 long gc_refs; member
Dunion-init.c10 Py_ssize_t gc_refs; member
/external/python/cpython2/Objects/
Dgenobject.c194 _Py_AS_GC(self)->gc.gc_refs != _PyGC_REFS_UNTRACKED); in gen_del()
Dobject.c2442 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()
Dtypeobject.c5899 _Py_AS_GC(self)->gc.gc_refs != _PyGC_REFS_UNTRACKED);