Home
last modified time | relevance | path

Searched refs:_PyObject_GC_IS_TRACKED (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Include/internal/
Dpycore_gc.h25 #define _PyObject_GC_IS_TRACKED(o) (_Py_AS_GC(o)->_gc_next != 0) macro
31 (!PyTuple_CheckExact(obj) || _PyObject_GC_IS_TRACKED(obj)))
Dpycore_object.h32 _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op), in _PyObject_GC_TRACK_impl()
66 _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op), in _PyObject_GC_UNTRACK_impl()
/external/python/cpython2/Include/
Dobjimpl.h311 #define _PyObject_GC_IS_TRACKED(o) \ macro
318 (!PyTuple_CheckExact(obj) || _PyObject_GC_IS_TRACKED(obj)))
/external/python/cpython3/Modules/
Dgcmodule.c1856 if (_PyObject_IS_GC(obj) && _PyObject_GC_IS_TRACKED(obj)) in gc_is_tracked()
2177 if (_PyObject_GC_IS_TRACKED(op)) { in PyObject_GC_Track()
2199 if (_PyObject_GC_IS_TRACKED(op)) { in PyObject_GC_UnTrack()
2291 _PyObject_ASSERT((PyObject *)op, !_PyObject_GC_IS_TRACKED(op)); in _PyObject_GC_Resize()
2309 if (_PyObject_GC_IS_TRACKED(op)) { in PyObject_GC_Del()
2323 if (_PyObject_IS_GC(obj) && _PyObject_GC_IS_TRACKED(obj)) { in PyObject_GC_IsTracked()
/external/python/cpython3/Objects/
Dtupleobject.c179 if (!PyTuple_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op)) in _PyTuple_MaybeUntrack()
934 if (_PyObject_GC_IS_TRACKED(v)) { in _PyTuple_Resize()
Dobject.c234 || _PyObject_GC_IS_TRACKED(self))); in PyObject_CallFinalizerFromDealloc()
2036 _PyObject_ASSERT(op, !_PyObject_GC_IS_TRACKED(op)); in _PyTrash_deposit_object()
2048 _PyObject_ASSERT(op, !_PyObject_GC_IS_TRACKED(op)); in _PyTrash_thread_deposit_object()
Ddictobject.c703 if (_PyObject_GC_IS_TRACKED(orig)) { in clone_combined_dict()
973 if (!_PyObject_GC_IS_TRACKED(mp)) { \
989 if (!PyDict_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op)) in _PyDict_MaybeUntrack()
2704 if (_PyObject_GC_IS_TRACKED(mp)) in PyDict_Copy()
Dframeobject.c573 if (_PyObject_GC_IS_TRACKED(f)) in frame_dealloc()
/external/python/cpython2/Objects/
Dtupleobject.c164 if (!PyTuple_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op)) in _PyTuple_MaybeUntrack()
864 if (_PyObject_GC_IS_TRACKED(v)) in _PyTuple_Resize()
Ddictobject.c471 if (!_PyObject_GC_IS_TRACKED(mp)) { \
488 if (!PyDict_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op)) in _PyDict_MaybeUntrack()
2425 if (_PyObject_GC_IS_TRACKED(d)) in dict_new()