Home
last modified time | relevance | path

Searched refs:destructor (Results 1 - 25 of 219) sorted by relevance

123456789

/third_party/node/deps/v8/src/objects/
H A 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()
H A 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()
H A 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/
H A 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()
256 if (capsule->destructor) { in capsule_dealloc()
257 capsule->destructor( in capsule_dealloc()
[all...]
/third_party/python/Doc/includes/
H A Dtypestruct.h8 destructor tp_dealloc;
76 destructor tp_del;
81 destructor tp_finalize;
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A 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()
H A 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/
H A DImageImpl_mock.h22 virtual ~MockImageImpl() { destructor(); } in ~MockImageImpl()
25 MOCK_METHOD0(destructor, void());
H A DRenderbufferImpl_mock.h25 virtual ~MockRenderbufferImpl() { destructor(); } in ~MockRenderbufferImpl()
43 MOCK_METHOD0(destructor, void());
H A DTransformFeedbackImpl_mock.h25 ~MockTransformFeedbackImpl() { destructor(); } in ~MockTransformFeedbackImpl()
37 MOCK_METHOD0(destructor, void());
H A DProgramImpl_mock.h25 virtual ~MockProgramImpl() { destructor(); } in ~MockProgramImpl()
72 MOCK_METHOD0(destructor, void());
79 // We must mock the destructor since NiceMock doesn't work for destructors. in MakeProgramMock()
80 EXPECT_CALL(*programImpl, destructor()).Times(1).RetiresOnSaturation(); in MakeProgramMock()
H A DFramebufferImpl_mock.h24 virtual ~MockFramebufferImpl() { destructor(); } in ~MockFramebufferImpl()
63 MOCK_METHOD0(destructor, void());
74 // We must mock the destructor since NiceMock doesn't work for destructors. in MakeFramebufferMock()
75 EXPECT_CALL(*framebufferImpl, destructor()).Times(1).RetiresOnSaturation(); in MakeFramebufferMock()
H A DBufferImpl_mock.h23 ~MockBufferImpl() { destructor(); } in ~MockBufferImpl()
54 MOCK_METHOD0(destructor, void());
/third_party/skia/third_party/externals/microhttpd/src/testspdy/
H A Dcommon.c31 #define FUNC_DESTRUCTOR(f) static void __attribute__ ((destructor)) f
42 FUNC_DESTRUCTOR (destructor)() in destructor() function
/third_party/python/Include/cpython/
H A Dobject.h155 destructor tp_dealloc;
223 destructor tp_del;
228 destructor tp_finalize;
475 PyAPI_FUNC(int) _PyTrash_cond(PyObject *op, destructor dealloc);
497 _PyTrash_cond(_PyObject_CAST(op), (destructor)dealloc))
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/
H A D3-1.c15 * 2. Create thread specific data, with a destructor in the thread
17 * 4. Make sure that the destructor was called
31 /* Flag to indicate that the destructor was called */
34 static void destructor(void *tmp PTS_ATTRIBUTE_UNUSED) in destructor() function
46 rc = pthread_key_create(&key, destructor); in a_thread_func()
H A D5-1.c100 /* TLD destructor */
101 static void destructor(void *arg) in destructor() function
152 ret = pthread_key_create(&tld[j], destructor); in main()
H A D3-2.c108 /* TLD destructor */
109 static void destructor(void *arg) in destructor() function
160 ret = pthread_key_create(&tld[j], destructor); in main()
/third_party/python/Include/
H A Dpycapsule.h31 PyCapsule_Destructor destructor);
45 PyAPI_FUNC(int) PyCapsule_SetDestructor(PyObject *capsule, PyCapsule_Destructor destructor);
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/
H A D2-2.c14 * 2. Create a thread specific object in the thread with a destructor
16 * 4. Make sure that the destructor was called
33 static void destructor(void *tmp PTS_ATTRIBUTE_UNUSED) in destructor() function
53 rc = pthread_key_create(&key, destructor); in a_thread_func()
98 /* Delay enough so that the destructor must have been called */ in main()
H A D2-3.c15 * 2. Create a thread specific object in the thread with a destructor
18 * 5. Make sure that the destructor was called after the cleanup handler
40 static void destructor(void *tmp PTS_ATTRIBUTE_UNUSED) in destructor() function
70 rc = pthread_key_create(&key, destructor); in a_thread_func()
120 /* Delay enough so that the destructor must have been called */ in main()
/third_party/mesa3d/src/util/
H A Dralloc.c66 void (*destructor)(void *); member
131 info->destructor = NULL; in ralloc_size()
292 /* Free the block itself. Call the destructor first, if any. */ in unsafe_free()
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()
/third_party/skia/third_party/externals/swiftshader/src/Common/
H A DThread.hpp68 static LocalStorageKey allocateLocalStorageKey(void (*destructor)(void *storage) = free);
148 inline Thread::LocalStorageKey Thread::allocateLocalStorageKey(void (*destructor)(void *storage)) in allocateLocalStorageKey()
154 pthread_key_create(&key, destructor); in allocateLocalStorageKey()
/third_party/googletest/googletest/test/
H A Dgoogletest-catch-exceptions-test.py90 'in the test fixture\'s destructor'
137 'in the test fixture\'s destructor' in EX_BINARY_OUTPUT,
154 'CxxExceptionInSetUpTestSuiteTest destructor '
179 'CxxExceptionInSetUpTest destructor '
197 'CxxExceptionInTearDownTest destructor '
208 'CxxExceptionInTestBodyTest destructor '
/third_party/skia/third_party/externals/angle2/src/common/
H A Dtls.cpp39 TLSIndex CreateTLSIndex(PthreadKeyDestructor destructor) in CreateTLSIndex() argument
61 if ((pthread_key_create(&index, destructor)) != 0) in CreateTLSIndex()

Completed in 12 milliseconds

123456789