/third_party/node/deps/v8/src/objects/ |
H A D | managed.cc | 16 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 D | managed-inl.h | 47 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 D | managed.h | 30 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 D | capsule.c | 11 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 D | typestruct.h | 8 destructor tp_dealloc; 76 destructor tp_del; 81 destructor tp_finalize;
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Image_unittest.cpp | 78 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 D | Surface_unittest.cpp | 29 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 D | ImageImpl_mock.h | 22 virtual ~MockImageImpl() { destructor(); } in ~MockImageImpl() 25 MOCK_METHOD0(destructor, void());
|
H A D | RenderbufferImpl_mock.h | 25 virtual ~MockRenderbufferImpl() { destructor(); } in ~MockRenderbufferImpl() 43 MOCK_METHOD0(destructor, void());
|
H A D | TransformFeedbackImpl_mock.h | 25 ~MockTransformFeedbackImpl() { destructor(); } in ~MockTransformFeedbackImpl() 37 MOCK_METHOD0(destructor, void());
|
H A D | ProgramImpl_mock.h | 25 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 D | FramebufferImpl_mock.h | 24 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 D | BufferImpl_mock.h | 23 ~MockBufferImpl() { destructor(); } in ~MockBufferImpl() 54 MOCK_METHOD0(destructor, void());
|
/third_party/skia/third_party/externals/microhttpd/src/testspdy/ |
H A D | common.c | 31 #define FUNC_DESTRUCTOR(f) static void __attribute__ ((destructor)) f 42 FUNC_DESTRUCTOR (destructor)() in destructor() function
|
/third_party/python/Include/cpython/ |
H A D | object.h | 155 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 D | 3-1.c | 15 * 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 D | 5-1.c | 100 /* TLD destructor */ 101 static void destructor(void *arg) in destructor() function 152 ret = pthread_key_create(&tld[j], destructor); in main()
|
H A D | 3-2.c | 108 /* 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 D | pycapsule.h | 31 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 D | 2-2.c | 14 * 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 D | 2-3.c | 15 * 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 D | ralloc.c | 66 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 D | Thread.hpp | 68 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 D | googletest-catch-exceptions-test.py | 90 '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 D | tls.cpp | 39 TLSIndex CreateTLSIndex(PthreadKeyDestructor destructor) in CreateTLSIndex() argument 61 if ((pthread_key_create(&index, destructor)) != 0) in CreateTLSIndex()
|