Searched defs:destructor (Results 1 - 25 of 33) sorted by relevance

12

/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
H A Dp20.cpp10 void destructor() { function
/external/python/cpython2/Include/
H A Dcobject.h48 destructor function. If the second argument is non-null, then it
58 and an optional destructor function. If the third argument is non-null,
74 /* Modify a C object. Fails (==0) if object has a destructor. */
82 void (*destructor)(void *); member in struct:__anon19225
/external/libmicrohttpd/src/testspdy/
H A Dcommon.c31 #define FUNC_DESTRUCTOR(f) static void __attribute__ ((destructor)) f
42 FUNC_DESTRUCTOR (destructor)() function
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_posix_test.cc29 void destructor(void *arg) { function in namespace:__sanitizer
54 ASSERT_EQ(0, pthread_key_create(&key, &destructor));
/external/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 void destructor(void *tmp) function
53 rc = pthread_key_create(&key, destructor);
98 /* Delay enough so that the destructor must have been called */
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 void destructor(void *tmp) function
70 rc = pthread_key_create(&key, destructor);
120 /* Delay enough so that the destructor must have been called */
/external/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 void destructor(void *tmp) function
46 rc = pthread_key_create(&key, destructor);
H A D3-2.c116 /* TLD destructor */
117 void destructor(void *arg) function
167 ret = pthread_key_create(&tld[j], destructor);
H A D5-1.c113 /* TLD destructor */
114 void destructor(void *arg) function
164 ret = pthread_key_create(&tld[j], destructor);
/external/mesa3d/scons/
H A Dllvm.py188 '/wd4624', # 'derived class' : destructor could not be generated because a base class destructor is inaccessible class in function:generate
/external/boringssl/src/crypto/
H A Dthread_none.c54 thread_local_destructor_t destructor) {
53 CRYPTO_set_thread_local(thread_local_data_t index, void *value, thread_local_destructor_t destructor) argument
H A Dthread_pthread.c143 thread_local_destructor_t destructor) {
146 destructor(value);
154 destructor(value);
160 destructor(value);
166 destructor(value);
169 g_destructors[index] = destructor;
142 CRYPTO_set_thread_local(thread_local_data_t index, void *value, thread_local_destructor_t destructor) argument
H A Dthread_win.c140 // Windows doesn't support a per-thread destructor with its TLS primitives.
207 thread_local_destructor_t destructor) {
210 destructor(value);
218 destructor(value);
224 destructor(value);
230 g_destructors[index] = destructor;
206 CRYPTO_set_thread_local(thread_local_data_t index, void *value, thread_local_destructor_t destructor) argument
/external/ltp/utils/ffsb-6.0-rc2/
H A Drbt.h75 typedef void(destructor)(datatype); typedef
84 /* Recursive destructor for the entire sub-tree */
87 extern void rbnode_destruct(rb_node *node, destructor d);
169 extern void rbtree_clean(rb_tree *tree, destructor d);
175 extern void rbtree_destruct(rb_tree *tree, destructor d);
229 extern void rbtree_remove(rb_tree *tree, datatype object, destructor d);
276 extern void rbtree_remove_at(rb_tree *tree, rb_node *node, destructor d);
/external/libchrome/base/threading/
H A Dthread_local_storage.cc39 // * Destructor: An optional destructor to call on thread destruction for that
62 // pointer to the destructor for each slot. We keep this array of pointers in a
83 base::ThreadLocalStorage::TLSDestructorFunc destructor; member in struct:__anon11032::TlsMetadata
168 // terminates, one of the destructor calls we make may be to shut down an
171 // allocator and cause it to resurrect itself (with no possibly destructor
196 // destructor call. That user was able to function, and define a slot with
207 base::ThreadLocalStorage::TLSDestructorFunc destructor = local
208 tls_metadata[slot].destructor;
209 if (!destructor)
212 destructor(tls_valu
254 Initialize(TLSDestructorFunc destructor) argument
331 Slot(TLSDestructorFunc destructor) argument
[all...]
/external/python/cpython2/Objects/
H A Dcapsule.c11 PyCapsule_Destructor destructor; member in struct:__anon19566
44 PyCapsule_New(void *pointer, const char *name, PyCapsule_Destructor destructor) argument
61 capsule->destructor = destructor;
117 return capsule->destructor;
167 PyCapsule_SetDestructor(PyObject *o, PyCapsule_Destructor destructor) argument
175 capsule->destructor = destructor;
260 if (capsule->destructor) {
261 capsule->destructor(
[all...]
/external/python/cpython3/Objects/
H A Dcapsule.c11 PyCapsule_Destructor destructor; member in struct:__anon20195
44 PyCapsule_New(void *pointer, const char *name, PyCapsule_Destructor destructor) argument
61 capsule->destructor = destructor;
117 return capsule->destructor;
167 PyCapsule_SetDestructor(PyObject *o, PyCapsule_Destructor destructor) argument
175 capsule->destructor = destructor;
260 if (capsule->destructor) {
261 capsule->destructor(
[all...]
/external/tensorflow/tensorflow/python/lib/core/
H A Dndarray_tensor_bridge.cc70 std::function<void()>* destructor; member in struct:tensorflow::TensorReleaser
76 (*self->destructor)();
77 delete self->destructor;
87 (destructor)TensorReleaser_dealloc, /* tp_dealloc */
189 std::function<void()> destructor, PyObject** result) {
213 releaser->destructor = new std::function<void()>(std::move(destructor));
188 ArrayFromMemory(int dim_size, npy_intp* dims, void* data, DataType dtype, std::function<void()> destructor, PyObject** result) argument
/external/python/cpython2/Python/
H A Dthread_pthread.h7 #define destructor xxdestructor macro
11 #undef destructor macro
/external/python/cpython3/Python/
H A Dthread_pthread.h7 #define destructor xxdestructor macro
11 #undef destructor macro
/external/deqp/framework/delibs/decpp/
H A DdeCommandLine.hpp192 DestroyFunc destructor; member in struct:de::cmdline::detail::TypedFieldMap::Entry
194 Entry (void) : value(DE_NULL), destructor(0) {}
195 Entry (void* value_, DestroyFunc destructor_) : value(value_), destructor(destructor_) {}
/external/deqp/framework/platform/android/
H A DtcuAndroidInternals.hpp106 genericFunc destructor; member in struct:tcu::Android::internal::GraphicBufferFunctions
/external/clang/test/CodeGenCXX/
H A Dpredefined-expr.cpp499 NS::Destructor destructor; local
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_libdispatch_mac.cc484 size_t size, dispatch_queue_t q, dispatch_block_t destructor) {
485 SCOPED_TSAN_INTERCEPTOR(dispatch_data_create, buffer, size, q, destructor);
486 if ((q == nullptr) || (destructor == DISPATCH_DATA_DESTRUCTOR_DEFAULT))
487 return REAL(dispatch_data_create)(buffer, size, q, destructor);
489 if (destructor == DISPATCH_DATA_DESTRUCTOR_FREE)
490 destructor = ^(void) { WRAP(free)((void *)buffer); };
491 else if (destructor == DISPATCH_DATA_DESTRUCTOR_MUNMAP)
492 destructor = ^(void) { WRAP(munmap)((void *)buffer, size); };
495 dispatch_block_t heap_block = Block_copy(destructor);
483 TSAN_INTERCEPTOR(dispatch_data_t, dispatch_data_create, const void *buffer, size_t size, dispatch_queue_t q, dispatch_block_t destructor) argument
/external/mesa3d/src/util/
H A Dralloc.c83 void (*destructor)(void *); variable
142 info->destructor = NULL;
277 /* Free the block itself. Call the destructor first, if any. */
278 if (info->destructor != NULL)
279 info->destructor(PTR_FROM_HEADER(info));
358 ralloc_set_destructor(const void *ptr, void(*destructor)(void *))
361 info->destructor = destructor;

Completed in 1000 milliseconds

12