/external/python/pybind11/include/pybind11/detail/ |
D | class.h | 231 PyType_Type.tp_dealloc(obj); in pybind11_meta_dealloc() 266 type->tp_dealloc = pybind11_meta_dealloc; in make_default_metaclass() 431 if (type->tp_dealloc == pybind11_object_type->tp_dealloc) in pybind11_object_dealloc() 468 type->tp_dealloc = pybind11_object_dealloc; in make_object_base_type()
|
/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 | 107 .tp_dealloc = (destructor) Custom_dealloc,
|
D | custom3.c | 157 .tp_dealloc = (destructor) Custom_dealloc,
|
D | custom4.c | 169 .tp_dealloc = (destructor) Custom_dealloc,
|
/external/python/cpython3/Include/cpython/ |
D | object.h | 200 destructor tp_dealloc; member 545 Py_TYPE(op)->tp_dealloc == (destructor)(dealloc))
|
/external/python/cpython3/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
|
/external/python/cpython3/Objects/ |
D | typeslots.inc | 53 offsetof(PyHeapTypeObject, ht_type.tp_dealloc),
|
D | picklebufobject.c | 213 .tp_dealloc = (destructor) picklebuf_dealloc,
|
D | object.c | 2065 destructor dealloc = Py_TYPE(op)->tp_dealloc; in _PyTrash_destroy_chain() 2103 destructor dealloc = Py_TYPE(op)->tp_dealloc; in _PyTrash_thread_destroy_chain() 2205 destructor dealloc = Py_TYPE(op)->tp_dealloc; in _Py_Dealloc()
|
D | structseq.c | 408 type->tp_dealloc = (destructor)structseq_dealloc; in PyStructSequence_InitType2()
|
/external/python/cpython3/Python/ |
D | context.c | 696 .tp_dealloc = (destructor)context_tp_dealloc, 1047 .tp_dealloc = (destructor)contextvar_tp_dealloc, 1188 .tp_dealloc = (destructor)token_tp_dealloc,
|
D | hamt.c | 2621 .tp_dealloc = (destructor)hamt_baseiter_tp_dealloc, \ 2919 .tp_dealloc = (destructor)hamt_tp_dealloc, 2939 .tp_dealloc = (destructor)hamt_node_array_dealloc, 2952 .tp_dealloc = (destructor)hamt_node_bitmap_dealloc, 2965 .tp_dealloc = (destructor)hamt_node_collision_dealloc,
|
/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
|
/external/python/cpython3/Doc/extending/ |
D | newtypes.rst | 64 destructor tp_dealloc; 125 cleared or finalized by the time :c:member:`~PyTypeObject.tp_dealloc` is called. Second, in 126 :c:member:`~PyTypeObject.tp_dealloc`, your object is in an unstable state: its reference 128 example above) might end up calling :c:member:`~PyTypeObject.tp_dealloc` again, causing a 132 finalization code in :c:member:`~PyTypeObject.tp_dealloc`, and instead use the new 583 The only further addition is that ``tp_dealloc`` needs to clear any weak
|
D | newtypes_tutorial.rst | 272 which is assigned to the :c:member:`~PyTypeObject.tp_dealloc` member:: 274 .tp_dealloc = (destructor) Custom_dealloc, 286 ``Custom_dealloc`` to take a ``CustomObject *`` argument, but the ``tp_dealloc`` 431 * when decrementing a reference count in a :c:member:`~PyTypeObject.tp_dealloc` 649 the ``tp_dealloc`` implementation, where there is the possibility that the 848 :c:member:`~PyTypeObject.tp_new` and :c:member:`~PyTypeObject.tp_dealloc` 896 .. [#] We relied on this in the :c:member:`~PyTypeObject.tp_dealloc` handler
|
/external/python/cpython2/Include/ |
D | object.h | 331 destructor tp_dealloc; member 764 (*Py_TYPE(op)->tp_dealloc)((PyObject *)(op)))
|
/external/tensorflow/tensorflow/python/util/ |
D | fast_module_type.cc | 233 obj.tp_dealloc = FastModuleObjectDealloc; in __anona71ec8820102()
|
/external/python/cpython3/Modules/ |
D | _asynciomodule.c | 1533 .tp_dealloc = FutureObj_dealloc, 1729 .tp_dealloc = (destructor)FutureIter_dealloc, 1846 .tp_dealloc = (destructor)TaskStepMethWrapper_dealloc, 1935 .tp_dealloc = (destructor)TaskWakeupMethWrapper_dealloc, 2535 .tp_dealloc = TaskObj_dealloc, 3272 .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
|
/external/python/cpython2/Modules/_ctypes/ |
D | stgdict.c | 48 PyDict_Type.tp_dealloc((PyObject *)self); in PyCStgDict_dealloc()
|
/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()
|