/external/python/cpython3/Doc/c-api/ |
D | gcsupport.rst | 17 :c:member:`~PyTypeObject.tp_traverse` handler. If instances of the type are mutable, a 60 followed by the :c:member:`~PyTypeObject.tp_traverse` handler become valid, usually near the 93 the fields used by the :c:member:`~PyTypeObject.tp_traverse` handler become invalid. 104 The :c:member:`~PyTypeObject.tp_traverse` handler accepts a function parameter of this type: 109 Type of the visitor function passed to the :c:member:`~PyTypeObject.tp_traverse` handler. 111 the third parameter to the :c:member:`~PyTypeObject.tp_traverse` handler as *arg*. The 116 The :c:member:`~PyTypeObject.tp_traverse` handler must have the following type: 128 To simplify writing :c:member:`~PyTypeObject.tp_traverse` handlers, a :c:func:`Py_VISIT` macro is 129 provided. In order to use this macro, the :c:member:`~PyTypeObject.tp_traverse` implementation 137 Using this macro, :c:member:`~PyTypeObject.tp_traverse` handlers
|
D | typeobj.rst | 396 …the :c:member:`~PyTypeObject.tp_traverse` and :c:member:`~PyTypeObject.tp_clear` fields, i.e. if t… 398 …:c:member:`~PyTypeObject.tp_traverse` and :c:member:`~PyTypeObject.tp_clear` fields in the subtype… 442 …GC-related fields :c:member:`~PyTypeObject.tp_traverse` and :c:member:`~PyTypeObject.tp_clear` are… 489 .. c:member:: traverseproc PyTypeObject.tp_traverse 496 The :c:member:`~PyTypeObject.tp_traverse` pointer is used by the garbage collector to detect 497 reference cycles. A typical implementation of a :c:member:`~PyTypeObject.tp_traverse` function 524 :const:`Py_TPFLAGS_HAVE_GC` flag bit: the flag bit, :c:member:`~PyTypeObject.tp_traverse`, and 578 This field is inherited by subtypes together with :c:member:`~PyTypeObject.tp_traverse` and the 579 :const:`Py_TPFLAGS_HAVE_GC` flag bit: the flag bit, :c:member:`~PyTypeObject.tp_traverse`, and
|
/external/python/cpython2/Doc/c-api/ |
D | gcsupport.rst | 20 :c:member:`~PyTypeObject.tp_traverse` handler. If instances of the type are mutable, a 71 followed by the :c:member:`~PyTypeObject.tp_traverse` handler become valid, usually near the 101 the fields used by the :c:member:`~PyTypeObject.tp_traverse` handler become invalid. 109 The :c:member:`~PyTypeObject.tp_traverse` handler accepts a function parameter of this type: 114 Type of the visitor function passed to the :c:member:`~PyTypeObject.tp_traverse` handler. 116 the third parameter to the :c:member:`~PyTypeObject.tp_traverse` handler as *arg*. The 121 The :c:member:`~PyTypeObject.tp_traverse` handler must have the following type: 133 To simplify writing :c:member:`~PyTypeObject.tp_traverse` handlers, a :c:func:`Py_VISIT` macro is 134 provided. In order to use this macro, the :c:member:`~PyTypeObject.tp_traverse` implementation 142 Using this macro, :c:member:`~PyTypeObject.tp_traverse` handlers
|
D | typeobj.rst | 433 …the :c:member:`~PyTypeObject.tp_traverse` and :c:member:`~PyTypeObject.tp_clear` fields, i.e. if t… 435 …:c:member:`~PyTypeObject.tp_traverse` and :c:member:`~PyTypeObject.tp_clear` fields in the subtype… 494 …well as the :c:member:`~PyTypeObject.tp_traverse` and the :c:member:`~PyTypeObject.tp_clear` field… 555 …GC-related fields :c:member:`~PyTypeObject.tp_traverse` and :c:member:`~PyTypeObject.tp_clear` are… 583 .. c:member:: traverseproc PyTypeObject.tp_traverse 590 The :c:member:`~PyTypeObject.tp_traverse` pointer is used by the garbage collector to detect 591 reference cycles. A typical implementation of a :c:member:`~PyTypeObject.tp_traverse` function 618 :const:`Py_TPFLAGS_HAVE_GC` flag bit: the flag bit, :c:member:`~PyTypeObject.tp_traverse`, and 673 This field is inherited by subtypes together with :c:member:`~PyTypeObject.tp_traverse` and the 674 :const:`Py_TPFLAGS_HAVE_GC` flag bit: the flag bit, :c:member:`~PyTypeObject.tp_traverse`, and
|
/external/python/cpython2/Doc/includes/ |
D | typestruct.h | 39 traverseproc tp_traverse; member
|
/external/python/cpython3/Doc/includes/ |
D | typestruct.h | 39 traverseproc tp_traverse; member
|
D | custom4.c | 169 .tp_traverse = (traverseproc) Custom_traverse,
|
/external/python/cpython2/Modules/ |
D | gcmodule.c | 384 traverse = Py_TYPE(FROM_GC(gc))->tp_traverse; in subtract_refs() 469 traverseproc traverse = Py_TYPE(op)->tp_traverse; in move_unreachable() 582 traverse = Py_TYPE(FROM_GC(gc))->tp_traverse; in move_finalizer_reachable() 1232 traverse = Py_TYPE(obj)->tp_traverse; in gc_referrers_for() 1289 traverse = Py_TYPE(obj)->tp_traverse; in gc_get_referents()
|
D | _collectionsmodule.c | 1642 return PyDict_Type.tp_traverse(self, visit, arg); in defdict_traverse()
|
/external/python/cpython3/Modules/ |
D | gcmodule.c | 295 traverse = Py_TYPE(FROM_GC(gc))->tp_traverse; in subtract_refs() 380 traverseproc traverse = Py_TYPE(op)->tp_traverse; in move_unreachable() 478 traverse = Py_TYPE(FROM_GC(gc))->tp_traverse; in move_legacy_finalizer_reachable() 1250 traverse = Py_TYPE(obj)->tp_traverse; in gc_referrers_for() 1307 traverse = Py_TYPE(obj)->tp_traverse; in gc_get_referents()
|
D | _asynciomodule.c | 1446 .tp_traverse = (traverseproc)FutureObj_traverse, 1640 .tp_traverse = (traverseproc)FutureIter_traverse, 1758 .tp_traverse = (traverseproc)TaskStepMethWrapper_traverse, 1832 .tp_traverse = (traverseproc)TaskWakeupMethWrapper_traverse, 2420 .tp_traverse = (traverseproc)TaskObj_traverse,
|
D | _collectionsmodule.c | 2152 return PyDict_Type.tp_traverse(self, visit, arg); in defdict_traverse()
|
/external/python/cpython3/Python/ |
D | context.c | 669 .tp_traverse = (traverseproc)context_tp_traverse, 1005 .tp_traverse = (traverseproc)contextvar_tp_traverse, 1139 .tp_traverse = (traverseproc)token_tp_traverse,
|
D | hamt.c | 2623 .tp_traverse = (traverseproc)hamt_baseiter_tp_traverse, \ 2922 .tp_traverse = (traverseproc)hamt_tp_traverse, 2941 .tp_traverse = (traverseproc)hamt_node_array_traverse, 2954 .tp_traverse = (traverseproc)hamt_node_bitmap_traverse, 2967 .tp_traverse = (traverseproc)hamt_node_collision_traverse,
|
/external/python/cpython3/Objects/ |
D | typeslots.inc | 72 offsetof(PyHeapTypeObject, ht_type.tp_traverse),
|
D | typeobject.c | 1032 while ((basetraverse = base->tp_traverse) == subtype_traverse) { in subtype_traverse() 2786 type->tp_traverse = subtype_traverse; in type_new() 4868 (!type->tp_traverse && !type->tp_clear)) { in inherit_special() 4870 if (type->tp_traverse == NULL) in inherit_special() 4871 type->tp_traverse = base->tp_traverse; in inherit_special()
|
D | odictobject.c | 1470 return PyDict_Type.tp_traverse((PyObject *)od, visit, arg); in odict_traverse()
|
/external/python/cpython2/Doc/library/ |
D | gc.rst | 135 :c:member:`~PyTypeObject.tp_traverse` methods (if any), and may not be all objects actually 136 directly reachable. :c:member:`~PyTypeObject.tp_traverse` methods are supported only by objects
|
/external/python/cpython3/Doc/library/ |
D | gc.rst | 145 :c:member:`~PyTypeObject.tp_traverse` methods (if any), and may not be all objects actually 146 directly reachable. :c:member:`~PyTypeObject.tp_traverse` methods are supported only by objects
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0b3.rst | 242 _testmultiphase and xxlimited now use tp_traverse and tp_finalize to avoid
|
/external/python/cpython2/Include/ |
D | object.h | 362 traverseproc tp_traverse; member
|
/external/python/cpython3/Include/ |
D | object.h | 385 traverseproc tp_traverse; member
|
/external/python/cpython2/Objects/ |
D | typeobject.c | 843 while ((basetraverse = base->tp_traverse) == subtype_traverse) { in subtype_traverse() 2508 type->tp_traverse = subtype_traverse; in type_new() 3848 (!type->tp_traverse && !type->tp_clear)) { 3850 if (type->tp_traverse == NULL) 3851 type->tp_traverse = base->tp_traverse;
|
/external/python/cpython2/Doc/extending/ |
D | newtypes.rst | 746 … Note that the :c:member:`~PyTypeObject.tp_traverse` implementation must name its arguments exactly 777 collection is run, our :c:member:`~PyTypeObject.tp_traverse` handler could get called. We can't 1513 0, /* tp_traverse */
|
/external/python/cpython3/Doc/extending/ |
D | newtypes.rst | 121 First, if your type supports garbage collection (using :c:member:`~PyTypeObject.tp_traverse`
|