Home
last modified time | relevance | path

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

/external/python/cpython3/Include/internal/
Dpycore_gc.h22 #define _Py_AS_GC(o) ((PyGC_Head *)(o)-1) macro
25 #define _PyObject_GC_IS_TRACKED(o) (_Py_AS_GC(o)->_gc_next != 0)
62 _PyGCHead_FINALIZED(_Py_AS_GC(o))
64 _PyGCHead_SET_FINALIZED(_Py_AS_GC(o))
Dpycore_object.h36 PyGC_Head *gc = _Py_AS_GC(op); in _PyObject_GC_TRACK_impl()
70 PyGC_Head *gc = _Py_AS_GC(op); in _PyObject_GC_UNTRACK_impl()
/external/python/cpython2/Include/
Dobjimpl.h278 #define _Py_AS_GC(o) ((PyGC_Head *)(o)-1) macro
287 PyGC_Head *g = _Py_AS_GC(o); \
302 PyGC_Head *g = _Py_AS_GC(o); \
312 ((_Py_AS_GC(o))->gc.gc_refs != _PyGC_REFS_UNTRACKED)
/external/python/cpython2/Objects/
Dobject.c2447 assert(_Py_AS_GC(op)->gc.gc_refs == _PyGC_REFS_UNTRACKED); in _PyTrash_deposit_object()
2449 _Py_AS_GC(op)->gc.gc_prev = (PyGC_Head *)_PyTrash_delete_later; in _PyTrash_deposit_object()
2459 assert(_Py_AS_GC(op)->gc.gc_refs == _PyGC_REFS_UNTRACKED); in _PyTrash_thread_deposit_object()
2461 _Py_AS_GC(op)->gc.gc_prev = (PyGC_Head *) tstate->trash_delete_later; in _PyTrash_thread_deposit_object()
2476 (PyObject*) _Py_AS_GC(op)->gc.gc_prev; in _PyTrash_destroy_chain()
2501 (PyObject*) _Py_AS_GC(op)->gc.gc_prev; in _PyTrash_thread_destroy_chain()
Dgenobject.c194 _Py_AS_GC(self)->gc.gc_refs != _PyGC_REFS_UNTRACKED); in gen_del()
Dtypeobject.c5962 _Py_AS_GC(self)->gc.gc_refs != _PyGC_REFS_UNTRACKED);
/external/python/cpython3/Objects/
Dobject.c2038 _PyGCHead_SET_PREV(_Py_AS_GC(op), gcstate->trash_delete_later); in _PyTrash_deposit_object()
2050 _PyGCHead_SET_PREV(_Py_AS_GC(op), tstate->trash_delete_later); in _PyTrash_thread_deposit_object()
2068 (PyObject*) _PyGCHead_PREV(_Py_AS_GC(op)); in _PyTrash_destroy_chain()
2106 (PyObject*) _PyGCHead_PREV(_Py_AS_GC(op)); in _PyTrash_thread_destroy_chain()