Searched refs:tp_dealloc (Results 1 – 25 of 38) sorted by relevance
12
/third_party/python/Doc/includes/ |
D | typestruct.h | 8 destructor tp_dealloc; member
|
D | custom2.c | 107 .tp_dealloc = (destructor) Custom_dealloc,
|
D | custom3.c | 157 .tp_dealloc = (destructor) Custom_dealloc,
|
D | custom4.c | 169 .tp_dealloc = (destructor) Custom_dealloc,
|
/third_party/python/Misc/NEWS.d/ |
D | 3.5.5rc1.rst | 47 Fix potential crash during GC caused by ``tp_dealloc`` which doesn't call
|
D | 3.5.0b3.rst | 243 reference leaks encountered when combining tp_dealloc with PyType_FromSpec
|
/third_party/python/Objects/ |
D | picklebufobject.c | 213 .tp_dealloc = (destructor) picklebuf_dealloc,
|
D | typeslots.inc | 53 {-1, offsetof(PyTypeObject, tp_dealloc)},
|
D | object.c | 2135 destructor dealloc = Py_TYPE(op)->tp_dealloc; in _PyTrash_destroy_chain() 2173 destructor dealloc = Py_TYPE(op)->tp_dealloc; in _PyTrash_thread_destroy_chain() 2221 return Py_TYPE(op)->tp_dealloc == dealloc; in _PyTrash_cond() 2284 destructor dealloc = Py_TYPE(op)->tp_dealloc; in _Py_Dealloc()
|
D | unionobject.c | 454 .tp_dealloc = unionobject_dealloc,
|
D | structseq.c | 488 type->tp_dealloc = (destructor)structseq_dealloc; in _PyStructSequence_InitType()
|
D | genericaliasobject.c | 640 .tp_dealloc = ga_dealloc,
|
D | typeobject.c | 1333 while ((basedealloc = base->tp_dealloc) == subtype_dealloc) { in subtype_dealloc() 1371 while ((/*basedealloc =*/ base->tp_dealloc) == subtype_dealloc) { in subtype_dealloc() 1423 while ((basedealloc = base->tp_dealloc) == subtype_dealloc) { in subtype_dealloc() 2763 type->tp_dealloc = subtype_dealloc; in type_new_alloc() 3548 if (type->tp_dealloc == NULL) { in PyType_FromModuleAndSpec() 3552 type->tp_dealloc = subtype_dealloc; in PyType_FromModuleAndSpec() 4619 (child->tp_dealloc == subtype_dealloc || in compatible_with_tp_base() 4620 child->tp_dealloc == parent->tp_dealloc)); in compatible_with_tp_base() 5864 COPYSLOT(tp_dealloc); in inherit_slots()
|
/third_party/python/Doc/c-api/ |
D | allocation.rst | 55 :c:member:`~PyTypeObject.tp_dealloc` handler specified in the object's type. The fields of
|
D | typeobj.rst | 50 …| :c:member:`~PyTypeObject.tp_dealloc` | :c:type:`destructor` | … 648 .. c:member:: destructor PyTypeObject.tp_dealloc 654 void tp_dealloc(PyObject *self); 1398 collector is not involved and :c:member:`~PyTypeObject.tp_dealloc` is 1405 :c:member:`~PyTypeObject.tp_dealloc` function to invoke :c:member:`~PyTypeObject.tp_clear`. 2026 Also, note that, in a garbage collected Python, :c:member:`~PyTypeObject.tp_dealloc` may be called … 2030 the thread on which tp_dealloc is called will own the Global Interpreter Lock 2033 objects on the thread which called tp_dealloc will not violate any assumptions 2600 .tp_dealloc = (destructor)myobj_dealloc, 2612 (destructor)myobj_dealloc, /* tp_dealloc */ [all …]
|
D | gcsupport.rst | 123 (:c:member:`~PyTypeObject.tp_dealloc` handler) should call this for the object before any of
|
D | type.rst | 242 * ``Py_tp_dealloc`` to set :c:member:`PyTypeObject.tp_dealloc`
|
/third_party/python/Doc/extending/ |
D | newtypes.rst | 64 destructor tp_dealloc; 137 cleared or finalized by the time :c:member:`~PyTypeObject.tp_dealloc` is called. Second, in 138 :c:member:`~PyTypeObject.tp_dealloc`, your object is in an unstable state: its reference 140 example above) might end up calling :c:member:`~PyTypeObject.tp_dealloc` again, causing a 144 finalization code in :c:member:`~PyTypeObject.tp_dealloc`, and instead use the new 600 The only further addition is that ``tp_dealloc`` needs to clear any weak
|
D | newtypes_tutorial.rst | 273 which is assigned to the :c:member:`~PyTypeObject.tp_dealloc` member:: 275 .tp_dealloc = (destructor) Custom_dealloc, 287 ``Custom_dealloc`` to take a ``CustomObject *`` argument, but the ``tp_dealloc`` 432 * when decrementing a reference count in a :c:member:`~PyTypeObject.tp_dealloc` 650 the ``tp_dealloc`` implementation, where there is the possibility that the 849 :c:member:`~PyTypeObject.tp_new` and :c:member:`~PyTypeObject.tp_dealloc` 897 .. [#] We relied on this in the :c:member:`~PyTypeObject.tp_dealloc` handler
|
/third_party/python/Python/ |
D | context.c | 712 .tp_dealloc = (destructor)context_tp_dealloc, 1063 .tp_dealloc = (destructor)contextvar_tp_dealloc, 1204 .tp_dealloc = (destructor)token_tp_dealloc,
|
D | hamt.c | 2602 .tp_dealloc = (destructor)hamt_baseiter_tp_dealloc, \ 2900 .tp_dealloc = (destructor)hamt_tp_dealloc, 2920 .tp_dealloc = (destructor)hamt_node_array_dealloc, 2933 .tp_dealloc = (destructor)hamt_node_bitmap_dealloc, 2946 .tp_dealloc = (destructor)hamt_node_collision_dealloc,
|
/third_party/python/Modules/ |
D | _asynciomodule.c | 1536 .tp_dealloc = FutureObj_dealloc, 1764 .tp_dealloc = (destructor)FutureIter_dealloc, 1882 .tp_dealloc = (destructor)TaskStepMethWrapper_dealloc, 2493 .tp_dealloc = TaskObj_dealloc, 3256 .tp_dealloc = (destructor)PyRunningLoopHolder_tp_dealloc,
|
/third_party/python/Include/cpython/ |
D | object.h | 198 destructor tp_dealloc; member
|
/third_party/alsa-lib/modules/mixer/simple/ |
D | python.c | 709 tp_dealloc: (destructor)pymelem_dealloc, 890 tp_dealloc: (destructor)pymixer_dealloc,
|
/third_party/python/Modules/_ctypes/ |
D | stgdict.c | 48 PyDict_Type.tp_dealloc((PyObject *)self); in PyCStgDict_dealloc()
|
12