Home
last modified time | relevance | path

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

/external/python/cpython3/Include/
Dobjimpl.h263 #define _Py_AS_GC(o) ((PyGC_Head *)(o)-1) macro
284 #define _PyGC_FINALIZED(o) _PyGCHead_FINALIZED(_Py_AS_GC(o))
285 #define _PyGC_SET_FINALIZED(o, v) _PyGCHead_SET_FINALIZED(_Py_AS_GC(o), v)
287 #define _PyGC_REFS(o) _PyGCHead_REFS(_Py_AS_GC(o))
296 PyGC_Head *g = _Py_AS_GC(o); \
311 PyGC_Head *g = _Py_AS_GC(o); \
/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.c2138 _Py_AS_GC(op)->gc.gc_prev = (PyGC_Head *)_PyRuntime.gc.trash_delete_later; in _PyTrash_deposit_object()
2150 _Py_AS_GC(op)->gc.gc_prev = (PyGC_Head *) tstate->trash_delete_later; in _PyTrash_thread_deposit_object()
2165 (PyObject*) _Py_AS_GC(op)->gc.gc_prev; in _PyTrash_destroy_chain()
2203 (PyObject*) _Py_AS_GC(op)->gc.gc_prev; in _PyTrash_thread_destroy_chain()
/external/python/cpython3/Modules/
D_testcapimodule.c3220 _Py_AS_GC(self)->gc.gc_refs != _PyGC_REFS_UNTRACKED); in slot_tp_del()