Home
last modified time | relevance | path

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

/third_party/python/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.h80 _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op), in _PyObject_GC_TRACK()
116 _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op), in _PyObject_GC_UNTRACK()
/third_party/python/Objects/
Denumobject.c137 if (!_PyObject_GC_IS_TRACKED(result)) { in enum_next_long()
187 if (!_PyObject_GC_IS_TRACKED(result)) { in enum_next()
Dtupleobject.c219 if (!PyTuple_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op)) in _PyTuple_MaybeUntrack()
984 if (_PyObject_GC_IS_TRACKED(v)) { in _PyTuple_Resize()
1047 assert(!_PyObject_GC_IS_TRACKED(state->free_list[0])); in _PyTuple_Fini()
Ddictobject.c993 if (!_PyObject_GC_IS_TRACKED(mp)) { \
1009 if (!PyDict_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op)) in _PyDict_MaybeUntrack()
2601 if (_PyObject_GC_IS_TRACKED(other) && !_PyObject_GC_IS_TRACKED(mp)) { in dict_merge()
2788 if (_PyObject_GC_IS_TRACKED(mp)) in PyDict_Copy()
2824 if (_PyObject_GC_IS_TRACKED(mp)) { in PyDict_Copy()
3971 if (!_PyObject_GC_IS_TRACKED(result)) { in dictiter_iternextitem()
4091 if (!_PyObject_GC_IS_TRACKED(result)) { in dictreviter_iternext()
Dobject.c254 || _PyObject_GC_IS_TRACKED(self))); in PyObject_CallFinalizerFromDealloc()
2106 _PyObject_ASSERT(op, !_PyObject_GC_IS_TRACKED(op)); in _PyTrash_deposit_object()
2118 _PyObject_ASSERT(op, !_PyObject_GC_IS_TRACKED(op)); in _PyTrash_thread_deposit_object()
Dframeobject.c580 if (_PyObject_GC_IS_TRACKED(f)) { in frame_dealloc()
Dodictobject.c1820 if (!_PyObject_GC_IS_TRACKED(result)) { in odictiter_iternext()
/third_party/python/Modules/
Dgcmodule.c1879 if (_PyObject_IS_GC(obj) && _PyObject_GC_IS_TRACKED(obj)) in gc_is_tracked()
2202 if (_PyObject_GC_IS_TRACKED(op)) { in PyObject_GC_Track()
2224 if (_PyObject_GC_IS_TRACKED(op)) { in PyObject_GC_UnTrack()
2320 _PyObject_ASSERT((PyObject *)op, !_PyObject_GC_IS_TRACKED(op)); in _PyObject_GC_Resize()
2338 if (_PyObject_GC_IS_TRACKED(op)) { in PyObject_GC_Del()
2351 if (_PyObject_IS_GC(obj) && _PyObject_GC_IS_TRACKED(obj)) { in PyObject_GC_IsTracked()
Ditertoolsmodule.c2385 else if (!_PyObject_GC_IS_TRACKED(result)) { in product_next()
2713 else if (!_PyObject_GC_IS_TRACKED(result)) { in combinations_next()
3052 else if (!_PyObject_GC_IS_TRACKED(result)) { in cwr_next()
3401 else if (!_PyObject_GC_IS_TRACKED(result)) { in permutations_next()
4676 if (!_PyObject_GC_IS_TRACKED(result)) { in zip_longest_next()
D_functoolsmodule.c704 if (!_PyObject_GC_IS_TRACKED(args)) { in functools_reduce()
/third_party/python/Python/
Dbltinmodule.c2759 if (!_PyObject_GC_IS_TRACKED(result)) { in zip_next()