Home
last modified time | relevance | path

Searched refs:destructor (Results 1 – 25 of 380) sorted by relevance

12345678910>>...16

/third_party/node/deps/v8/src/objects/
Dmanaged.cc16 auto destructor = in ManagedObjectFinalizerSecondPass() local
19 isolate->UnregisterManagedPtrDestructor(destructor); in ManagedObjectFinalizerSecondPass()
20 int64_t adjustment = 0 - static_cast<int64_t>(destructor->estimated_size_); in ManagedObjectFinalizerSecondPass()
21 destructor->destructor_(destructor->shared_ptr_ptr_); in ManagedObjectFinalizerSecondPass()
22 delete destructor; in ManagedObjectFinalizerSecondPass()
30 auto destructor = in ManagedObjectFinalizer() local
32 GlobalHandles::Destroy(destructor->global_handle_location_); in ManagedObjectFinalizer()
Dmanaged-inl.h47 auto destructor = new ManagedPtrDestructor( in FromSharedPtr() local
51 isolate->factory()->NewForeign(reinterpret_cast<Address>(destructor))); in FromSharedPtr()
53 destructor->global_handle_location_ = global_handle.location(); in FromSharedPtr()
54 GlobalHandles::MakeWeak(destructor->global_handle_location_, destructor, in FromSharedPtr()
57 isolate->RegisterManagedPtrDestructor(destructor); in FromSharedPtr()
Dmanaged.h30 void (*destructor)(void*)) in ManagedPtrDestructor()
33 destructor_(destructor) {} in ManagedPtrDestructor()
91 auto destructor = in GetSharedPtrPtr() local
94 destructor->shared_ptr_ptr_); in GetSharedPtrPtr()
/third_party/python/Objects/
Dcapsule.c11 PyCapsule_Destructor destructor; member
44 PyCapsule_New(void *pointer, const char *name, PyCapsule_Destructor destructor) in PyCapsule_New() argument
61 capsule->destructor = destructor; in PyCapsule_New()
117 return capsule->destructor; in PyCapsule_GetDestructor()
167 PyCapsule_SetDestructor(PyObject *o, PyCapsule_Destructor destructor) in PyCapsule_SetDestructor() argument
175 capsule->destructor = destructor; in PyCapsule_SetDestructor()
260 if (capsule->destructor) { in capsule_dealloc()
261 capsule->destructor(o); in capsule_dealloc()
/third_party/cef/libcef_dll/base/
Dcef_callback_internal.cc34 void (*destructor)(const BindStateBase*)) in BindStateBase()
36 destructor, in BindStateBase()
41 void (*destructor)(const BindStateBase*), in BindStateBase()
45 destructor_(destructor), in BindStateBase()
/third_party/curl/docs/
DBUFREF.md4 buffer is associated with its destructor function that is implicitly called
35 Destroys the previously referenced buffer using its destructor and
42 void (*destructor)(void *));
46 the structure, associated with its `destructor` function. The latter can be
60 associated with destructor `curl_free()`.
/third_party/python/Doc/c-api/
Dcapsule.rst27 The type of a destructor callback for a capsule. Defined as::
41 …unction:: PyObject* PyCapsule_New(void *pointer, const char *name, PyCapsule_Destructor destructor)
50 free it inside the *destructor*.)
52 If the *destructor* argument is not ``NULL``, it will be called with the
73 Return the current destructor stored in the capsule. On failure, set an
76 It is legal for a capsule to have a ``NULL`` destructor. This makes a ``NULL``
137 .. c:function:: int PyCapsule_SetDestructor(PyObject *capsule, PyCapsule_Destructor destructor)
139 Set the destructor inside *capsule* to *destructor*.
/third_party/python/Doc/includes/
Dtypestruct.h8 destructor tp_dealloc;
76 destructor tp_del;
81 destructor tp_finalize;
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DImage_unittest.cpp78 EXPECT_CALL(*textureImpl, destructor()).Times(1).RetiresOnSaturation(); in TEST()
90 EXPECT_CALL(*imageImpl, destructor()).Times(1).RetiresOnSaturation(); in TEST()
95 EXPECT_CALL(*renderbufferImpl, destructor()).Times(1).RetiresOnSaturation(); in TEST()
152 EXPECT_CALL(*textureImpl, destructor()).Times(1).RetiresOnSaturation(); in TEST()
158 EXPECT_CALL(*imageImpl, destructor()).Times(1).RetiresOnSaturation(); in TEST()
DSurface_unittest.cpp29 virtual ~MockSurfaceImpl() { destructor(); } in ~MockSurfaceImpl()
55 MOCK_METHOD0(destructor, void());
72 EXPECT_CALL(*impl, destructor()).Times(1).RetiresOnSaturation(); in TEST()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DFramebufferImpl_mock.h24 virtual ~MockFramebufferImpl() { destructor(); } in ~MockFramebufferImpl()
63 MOCK_METHOD0(destructor, void());
75 EXPECT_CALL(*framebufferImpl, destructor()).Times(1).RetiresOnSaturation(); in MakeFramebufferMock()
DImageImpl_mock.h22 virtual ~MockImageImpl() { destructor(); } in ~MockImageImpl()
25 MOCK_METHOD0(destructor, void());
DProgramImpl_mock.h25 virtual ~MockProgramImpl() { destructor(); } in ~MockProgramImpl()
72 MOCK_METHOD0(destructor, void());
80 EXPECT_CALL(*programImpl, destructor()).Times(1).RetiresOnSaturation(); in MakeProgramMock()
DTransformFeedbackImpl_mock.h25 ~MockTransformFeedbackImpl() { destructor(); } in ~MockTransformFeedbackImpl()
37 MOCK_METHOD0(destructor, void());
DRenderbufferImpl_mock.h25 virtual ~MockRenderbufferImpl() { destructor(); } in ~MockRenderbufferImpl()
43 MOCK_METHOD0(destructor, void());
DBufferImpl_mock.h23 ~MockBufferImpl() { destructor(); } in ~MockBufferImpl()
54 MOCK_METHOD0(destructor, void());
/third_party/skia/third_party/externals/microhttpd/src/testspdy/
Dcommon.c31 #define FUNC_DESTRUCTOR(f) static void __attribute__ ((destructor)) f
42 FUNC_DESTRUCTOR (destructor)() in FUNC_DESTRUCTOR() argument
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/
D3-1.c34 static void destructor(void *tmp PTS_ATTRIBUTE_UNUSED) in destructor() function
46 rc = pthread_key_create(&key, destructor); in a_thread_func()
D5-1.c101 static void destructor(void *arg) in destructor() function
152 ret = pthread_key_create(&tld[j], destructor); in main()
D3-2.c109 static void destructor(void *arg) in destructor() function
160 ret = pthread_key_create(&tld[j], destructor); in main()
/third_party/python/Include/
Dpycapsule.h31 PyCapsule_Destructor destructor);
45 PyAPI_FUNC(int) PyCapsule_SetDestructor(PyObject *capsule, PyCapsule_Destructor destructor);
/third_party/python/Include/cpython/
Dobject.h198 destructor tp_dealloc;
266 destructor tp_del;
271 destructor tp_finalize;
523 PyAPI_FUNC(int) _PyTrash_cond(PyObject *op, destructor dealloc);
547 _PyTrash_cond(_PyObject_CAST(op), (destructor)dealloc))
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/
D2-2.c33 static void destructor(void *tmp PTS_ATTRIBUTE_UNUSED) in destructor() function
53 rc = pthread_key_create(&key, destructor); in a_thread_func()
D2-3.c40 static void destructor(void *tmp PTS_ATTRIBUTE_UNUSED) in destructor() function
70 rc = pthread_key_create(&key, destructor); in a_thread_func()
/third_party/mesa3d/src/util/
Dralloc.c66 void (*destructor)(void *); member
131 info->destructor = NULL; in ralloc_size()
293 if (info->destructor != NULL) in unsafe_free()
294 info->destructor(PTR_FROM_HEADER(info)); in unsafe_free()
357 ralloc_set_destructor(const void *ptr, void(*destructor)(void *)) in ralloc_set_destructor()
360 info->destructor = destructor; in ralloc_set_destructor()

12345678910>>...16