/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
|
/external/python/cpython3/Modules/ |
D | _asynciomodule.c | 899 .tp_dealloc = FutureObj_dealloc, 1104 .tp_dealloc = (destructor)FutureIter_dealloc, 1202 .tp_dealloc = (destructor)TaskSendMethWrapper_dealloc, 1272 .tp_dealloc = (destructor)TaskWakeupMethWrapper_dealloc, 1790 .tp_dealloc = TaskObj_dealloc,
|
D | _collectionsmodule.c | 2090 PyDict_Type.tp_dealloc((PyObject *)dd); in defdict_dealloc()
|
/external/python/cpython3/Objects/ |
D | object.c | 1784 destructor dealloc = Py_TYPE(op)->tp_dealloc; in _Py_Dealloc() 1985 destructor dealloc = Py_TYPE(op)->tp_dealloc; in _PyTrash_destroy_chain() 2010 destructor dealloc = Py_TYPE(op)->tp_dealloc; in _PyTrash_thread_destroy_chain() 2037 (*Py_TYPE(op)->tp_dealloc)(op); in _Py_Dealloc()
|
D | typeslots.inc | 53 offsetof(PyHeapTypeObject, ht_type.tp_dealloc),
|
D | typeobject.c | 1109 while ((basedealloc = base->tp_dealloc) == subtype_dealloc) { in subtype_dealloc() 1142 while ((/*basedealloc =*/ base->tp_dealloc) == subtype_dealloc) { in subtype_dealloc() 1194 while ((basedealloc = base->tp_dealloc) == subtype_dealloc) { in subtype_dealloc() 2672 type->tp_dealloc = subtype_dealloc; in type_new() 2841 if (type->tp_dealloc == NULL) { in PyType_FromSpecWithBases() 2845 type->tp_dealloc = subtype_dealloc; in PyType_FromSpecWithBases() 3635 (child->tp_dealloc == subtype_dealloc || in compatible_with_tp_base() 3636 child->tp_dealloc == parent->tp_dealloc)); in compatible_with_tp_base() 4823 COPYSLOT(tp_dealloc); in inherit_slots()
|
D | odictobject.c | 1464 PyDict_Type.tp_dealloc((PyObject *)self); in odict_dealloc()
|
/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 779 (*Py_TYPE(op)->tp_dealloc)((PyObject *)(op)))
|
/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 | 89 (:c:member:`~PyTypeObject.tp_dealloc` handler) should call this for the object before any of
|
D | typeobj.rst | 167 .. c:member:: destructor PyTypeObject.tp_dealloc 573 :c:member:`~PyTypeObject.tp_dealloc` function to invoke :c:member:`~PyTypeObject.tp_clear`. 1068 Also, note that, in a garbage collected Python, tp_dealloc may be called from 1072 the thread on which tp_dealloc is called will own the Global Interpreter Lock 1075 objects on the thread which called tp_dealloc will not violate any assumptions
|
/external/python/cpython3/Doc/extending/ |
D | newtypes.rst | 83 0, /* tp_dealloc */ 280 which is assigned to the :c:member:`~PyTypeObject.tp_dealloc` member:: 282 (destructor)Noddy_dealloc, /*tp_dealloc*/ 420 * when decrementing a reference count in a :c:member:`~PyTypeObject.tp_dealloc` handler when 937 destructor tp_dealloc; 998 cleared or finalized by the time :c:member:`~PyTypeObject.tp_dealloc` is called. Second, in 999 :c:member:`~PyTypeObject.tp_dealloc`, your object is in an unstable state: its reference 1001 example above) might end up calling :c:member:`~PyTypeObject.tp_dealloc` again, causing a 1005 finalization code in :c:member:`~PyTypeObject.tp_dealloc`, and instead use the new 1510 .. [#] We relied on this in the :c:member:`~PyTypeObject.tp_dealloc` handler in this example, becau…
|
/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
|
D | typeobj.rst | 174 .. c:member:: destructor PyTypeObject.tp_dealloc 668 :c:member:`~PyTypeObject.tp_dealloc` function to invoke :c:member:`~PyTypeObject.tp_clear`. 1141 Also, note that, in a garbage collected Python, tp_dealloc may be called from 1145 the thread on which tp_dealloc is called will own the Global Interpreter Lock 1148 objects on the thread which called tp_dealloc will not violate any assumptions
|
/external/python/cpython2/Objects/ |
D | object.c | 2260 destructor dealloc = Py_TYPE(op)->tp_dealloc; in _Py_Dealloc() 2468 destructor dealloc = Py_TYPE(op)->tp_dealloc; in _PyTrash_destroy_chain() 2493 destructor dealloc = Py_TYPE(op)->tp_dealloc; in _PyTrash_thread_destroy_chain()
|
D | typeobject.c | 949 while ((basedealloc = base->tp_dealloc) == subtype_dealloc) { in subtype_dealloc() 987 while ((basedealloc = base->tp_dealloc) == subtype_dealloc) { in subtype_dealloc() 1022 while (base->tp_dealloc == subtype_dealloc) { in subtype_dealloc() 2494 type->tp_dealloc = subtype_dealloc; in type_new() 3136 if (newto->tp_dealloc != oldto->tp_dealloc || in compatible_for_assignment() 3978 COPYSLOT(tp_dealloc);
|
/external/python/cpython3/Modules/_ctypes/ |
D | stgdict.c | 48 PyDict_Type.tp_dealloc((PyObject *)self); in PyCStgDict_dealloc()
|
/external/python/cpython2/Modules/_ctypes/ |
D | stgdict.c | 48 PyDict_Type.tp_dealloc((PyObject *)self); in PyCStgDict_dealloc()
|
/external/python/cpython2/Doc/extending/ |
D | newtypes.rst | 87 0, /*tp_dealloc*/ 290 which is assigned to the :c:member:`~PyTypeObject.tp_dealloc` member:: 292 (destructor)Noddy_dealloc, /*tp_dealloc*/ 431 * when decrementing a reference count in a :c:member:`~PyTypeObject.tp_dealloc` handler when 964 destructor tp_dealloc; 1573 .. [#] We relied on this in the :c:member:`~PyTypeObject.tp_dealloc` handler in this example, becau…
|
/external/python/cpython2/Modules/ |
D | _collectionsmodule.c | 1560 PyDict_Type.tp_dealloc((PyObject *)dd); in defdict_dealloc()
|
/external/python/cpython3/Misc/ |
D | NEWS | 5808 tp_finalize to avoid reference leaks encountered when combining tp_dealloc
|