Home
last modified time | relevance | path

Searched refs:tp_dealloc (Results 1 – 25 of 49) sorted by relevance

12

/external/python/pybind11/include/pybind11/detail/
Dclass.h231 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/
Dtypestruct.h8 destructor tp_dealloc; member
/external/python/cpython3/Doc/includes/
Dtypestruct.h8 destructor tp_dealloc; member
Dcustom2.c107 .tp_dealloc = (destructor) Custom_dealloc,
Dcustom3.c157 .tp_dealloc = (destructor) Custom_dealloc,
Dcustom4.c169 .tp_dealloc = (destructor) Custom_dealloc,
/external/python/cpython3/Include/cpython/
Dobject.h200 destructor tp_dealloc; member
545 Py_TYPE(op)->tp_dealloc == (destructor)(dealloc))
/external/python/cpython3/Misc/NEWS.d/
D3.5.5rc1.rst47 Fix potential crash during GC caused by ``tp_dealloc`` which doesn't call
D3.5.0b3.rst243 reference leaks encountered when combining tp_dealloc with PyType_FromSpec
/external/python/cpython3/Objects/
Dtypeslots.inc53 offsetof(PyHeapTypeObject, ht_type.tp_dealloc),
Dpicklebufobject.c213 .tp_dealloc = (destructor) picklebuf_dealloc,
Dobject.c2065 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()
Dstructseq.c408 type->tp_dealloc = (destructor)structseq_dealloc; in PyStructSequence_InitType2()
/external/python/cpython3/Python/
Dcontext.c696 .tp_dealloc = (destructor)context_tp_dealloc,
1047 .tp_dealloc = (destructor)contextvar_tp_dealloc,
1188 .tp_dealloc = (destructor)token_tp_dealloc,
Dhamt.c2621 .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/
Dallocation.rst55 :c:member:`~PyTypeObject.tp_dealloc` handler specified in the object's type. The fields of
/external/python/cpython3/Doc/extending/
Dnewtypes.rst64 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
Dnewtypes_tutorial.rst272 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/
Dobject.h331 destructor tp_dealloc; member
764 (*Py_TYPE(op)->tp_dealloc)((PyObject *)(op)))
/external/tensorflow/tensorflow/python/util/
Dfast_module_type.cc233 obj.tp_dealloc = FastModuleObjectDealloc; in __anona71ec8820102()
/external/python/cpython3/Modules/
D_asynciomodule.c1533 .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.c526 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/
Dallocation.rst70 :c:member:`~PyTypeObject.tp_dealloc` handler specified in the object's type. The fields of
/external/python/cpython2/Modules/_ctypes/
Dstgdict.c48 PyDict_Type.tp_dealloc((PyObject *)self); in PyCStgDict_dealloc()
/external/python/cpython2/Objects/
Dobject.c2265 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()

12