/external/python/cpython2/Doc/includes/ |
D | typestruct.h | 8 destructor tp_dealloc; member
|
/external/python/cpython3/Doc/includes/ |
D | typestruct.h | 8 destructor tp_dealloc; member
|
D | custom2.c | 106 .tp_dealloc = (destructor) Custom_dealloc,
|
D | custom3.c | 156 .tp_dealloc = (destructor) Custom_dealloc,
|
D | custom4.c | 168 .tp_dealloc = (destructor) Custom_dealloc,
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.5rc1.rst | 48 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
|
/external/python/cpython3/Python/ |
D | context.c | 665 .tp_dealloc = (destructor)context_tp_dealloc, 1002 .tp_dealloc = (destructor)contextvar_tp_dealloc, 1136 .tp_dealloc = (destructor)token_tp_dealloc,
|
D | hamt.c | 2620 .tp_dealloc = (destructor)hamt_baseiter_tp_dealloc, \ 2918 .tp_dealloc = (destructor)hamt_tp_dealloc, 2938 .tp_dealloc = (destructor)hamt_node_array_dealloc, 2951 .tp_dealloc = (destructor)hamt_node_bitmap_dealloc, 2964 .tp_dealloc = (destructor)hamt_node_collision_dealloc,
|
/external/python/cpython3/Objects/ |
D | typeslots.inc | 53 offsetof(PyHeapTypeObject, ht_type.tp_dealloc),
|
D | object.c | 1969 destructor dealloc = Py_TYPE(op)->tp_dealloc; in _Py_Dealloc() 2162 destructor dealloc = Py_TYPE(op)->tp_dealloc; in _PyTrash_destroy_chain() 2200 destructor dealloc = Py_TYPE(op)->tp_dealloc; in _PyTrash_thread_destroy_chain() 2227 (*Py_TYPE(op)->tp_dealloc)(op); in _Py_Dealloc()
|
D | typeobject.c | 1143 while ((basedealloc = base->tp_dealloc) == subtype_dealloc) { in subtype_dealloc() 1176 while ((/*basedealloc =*/ base->tp_dealloc) == subtype_dealloc) { in subtype_dealloc() 1228 while ((basedealloc = base->tp_dealloc) == subtype_dealloc) { in subtype_dealloc() 2774 type->tp_dealloc = subtype_dealloc; in type_new() 2948 if (type->tp_dealloc == NULL) { in PyType_FromSpecWithBases() 2952 type->tp_dealloc = subtype_dealloc; in PyType_FromSpecWithBases() 3846 (child->tp_dealloc == subtype_dealloc || in compatible_with_tp_base() 3847 child->tp_dealloc == parent->tp_dealloc)); in compatible_with_tp_base() 5049 COPYSLOT(tp_dealloc); in inherit_slots()
|
/external/python/cpython3/Doc/extending/ |
D | newtypes.rst | 62 destructor tp_dealloc; 123 cleared or finalized by the time :c:member:`~PyTypeObject.tp_dealloc` is called. Second, in 124 :c:member:`~PyTypeObject.tp_dealloc`, your object is in an unstable state: its reference 126 example above) might end up calling :c:member:`~PyTypeObject.tp_dealloc` again, causing a 130 finalization code in :c:member:`~PyTypeObject.tp_dealloc`, and instead use the new 581 The only further addition is that ``tp_dealloc`` needs to clear any weak
|
D | newtypes_tutorial.rst | 266 which is assigned to the :c:member:`~PyTypeObject.tp_dealloc` member:: 268 .tp_dealloc = (destructor) Custom_dealloc, 280 ``Custom_dealloc`` to take a ``CustomObject *`` argument, but the ``tp_dealloc`` 425 * when decrementing a reference count in a :c:member:`~PyTypeObject.tp_dealloc` 643 the ``tp_dealloc`` implementation, where there is the possibility that the 842 :c:member:`~PyTypeObject.tp_new` and :c:member:`~PyTypeObject.tp_dealloc` 885 .. [#] We relied on this in the :c:member:`~PyTypeObject.tp_dealloc` handler
|
/external/python/cpython3/Doc/c-api/ |
D | allocation.rst | 55 :c:member:`~PyTypeObject.tp_dealloc` handler specified in the object's type. The fields of
|
D | gcsupport.rst | 92 (:c:member:`~PyTypeObject.tp_dealloc` handler) should call this for the object before any of
|
/external/python/cpython2/Include/ |
D | object.h | 331 destructor tp_dealloc; member 764 (*Py_TYPE(op)->tp_dealloc)((PyObject *)(op)))
|
/external/python/cpython3/Include/ |
D | object.h | 353 destructor tp_dealloc; member 790 (*Py_TYPE(op)->tp_dealloc)((PyObject *)(op)))
|
/external/python/cpython3/Modules/ |
D | _asynciomodule.c | 1440 .tp_dealloc = FutureObj_dealloc, 1637 .tp_dealloc = (destructor)FutureIter_dealloc, 1754 .tp_dealloc = (destructor)TaskStepMethWrapper_dealloc, 1828 .tp_dealloc = (destructor)TaskWakeupMethWrapper_dealloc, 2414 .tp_dealloc = TaskObj_dealloc, 3165 .tp_dealloc = (destructor)PyRunningLoopHolder_tp_dealloc,
|
/external/python/cpython2/Mac/Modules/cf/ |
D | _CFmodule.c | 526 CFTypeRef_Type.tp_dealloc((PyObject *)self); in CFArrayRefObj_dealloc() 737 CFArrayRef_Type.tp_dealloc((PyObject *)self); in CFMutableArrayRefObj_dealloc() 977 CFTypeRef_Type.tp_dealloc((PyObject *)self); in CFDictionaryRefObj_dealloc() 1170 CFDictionaryRef_Type.tp_dealloc((PyObject *)self); in CFMutableDictionaryRefObj_dealloc() 1353 CFTypeRef_Type.tp_dealloc((PyObject *)self); in CFDataRefObj_dealloc() 1578 CFDataRef_Type.tp_dealloc((PyObject *)self); in CFMutableDataRefObj_dealloc() 1859 CFTypeRef_Type.tp_dealloc((PyObject *)self); in CFStringRefObj_dealloc() 2586 CFStringRef_Type.tp_dealloc((PyObject *)self); in CFMutableStringRefObj_dealloc() 2974 CFTypeRef_Type.tp_dealloc((PyObject *)self); in CFURLRefObj_dealloc()
|
/external/python/cpython2/Doc/c-api/ |
D | allocation.rst | 70 :c:member:`~PyTypeObject.tp_dealloc` handler specified in the object's type. The fields of
|
D | gcsupport.rst | 100 (:c:member:`~PyTypeObject.tp_dealloc` handler) should call this for the object before any of
|
/external/python/cpython2/Objects/ |
D | object.c | 2265 destructor dealloc = Py_TYPE(op)->tp_dealloc; in _Py_Dealloc() 2473 destructor dealloc = Py_TYPE(op)->tp_dealloc; in _PyTrash_destroy_chain() 2498 destructor dealloc = Py_TYPE(op)->tp_dealloc; in _PyTrash_thread_destroy_chain()
|
/external/python/cpython2/Modules/_ctypes/ |
D | stgdict.c | 48 PyDict_Type.tp_dealloc((PyObject *)self); in PyCStgDict_dealloc()
|
/external/python/cpython3/Modules/_ctypes/ |
D | stgdict.c | 48 PyDict_Type.tp_dealloc((PyObject *)self); in PyCStgDict_dealloc()
|