Home
last modified time | relevance | path

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

12345678910>>...30

/external/libcxxabi/src/
Dcxa_vector.cpp79 st_cxa_cleanup ( void *ptr, size_t &idx, size_t element_size, destruct_f destructor ) in st_cxa_cleanup() argument
81 destructor_ ( destructor ), enabled_ ( true ) {} in st_cxa_cleanup()
119 void (*constructor)(void *), void (*destructor)(void *)) { in __cxa_vec_new()
121 constructor, destructor, &::operator new [], &::operator delete [] ); in __cxa_vec_new()
144 void (*constructor)(void *), void (*destructor)(void *), in __cxa_vec_new2()
160 __cxa_vec_ctor ( vec_base, element_count, element_size, constructor, destructor ); in __cxa_vec_new2()
172 void (*constructor)(void *), void (*destructor)(void *), in __cxa_vec_new3()
188 __cxa_vec_ctor ( vec_base, element_count, element_size, constructor, destructor ); in __cxa_vec_new3()
210 void (*destructor)(void *)) { in __cxa_vec_cctor()
215 st_cxa_cleanup cleanup ( dest_array, idx, element_size, destructor ); in __cxa_vec_cctor()
[all …]
/external/llvm-project/libcxxabi/src/
Dcxa_vector.cpp86 st_cxa_cleanup ( void *ptr, size_t &idx, size_t element_size, destruct_f destructor ) in st_cxa_cleanup() argument
88 destructor_ ( destructor ), enabled_ ( true ) {} in st_cxa_cleanup()
172 void (*constructor)(void *), void (*destructor)(void *)) { in __cxa_vec_new()
174 constructor, destructor, &::operator new [], &::operator delete [] ); in __cxa_vec_new()
196 void (*constructor)(void *), void (*destructor)(void *), in __cxa_vec_new2()
213 __cxa_vec_ctor ( vec_base, element_count, element_size, constructor, destructor ); in __cxa_vec_new2()
225 void (*constructor)(void *), void (*destructor)(void *), in __cxa_vec_new3()
242 __cxa_vec_ctor ( vec_base, element_count, element_size, constructor, destructor ); in __cxa_vec_new3()
264 void (*destructor)(void *)) { in __cxa_vec_cctor()
269 st_cxa_cleanup cleanup ( dest_array, idx, element_size, destructor ); in __cxa_vec_cctor()
[all …]
/external/libcxxabi/include/
Dcxxabi.h94 void (*constructor)(void *), void (*destructor)(void *));
98 void (*constructor)(void *), void (*destructor)(void *),
103 void (*constructor)(void *), void (*destructor)(void *),
108 void (*constructor)(void *), void (*destructor)(void *));
113 void (*destructor)(void *));
118 void (*destructor)(void *));
123 void (*destructor)(void *));
127 void (*destructor)(void *), void (*dealloc)(void *));
131 size_t padding_size, void (*destructor)(void *),
137 void (*destructor)(void *));
/external/llvm-project/libcxxabi/include/
Dcxxabi.h94 void (*constructor)(void *), void (*destructor)(void *));
98 void (*constructor)(void *), void (*destructor)(void *),
103 void (*constructor)(void *), void (*destructor)(void *),
108 void (*constructor)(void *), void (*destructor)(void *));
113 void (*destructor)(void *));
118 void (*destructor)(void *));
123 void (*destructor)(void *));
127 void (*destructor)(void *), void (*dealloc)(void *));
131 size_t padding_size, void (*destructor)(void *),
137 void (*destructor)(void *));
/external/ImageMagick/MagickCore/
Dthread.c56 (*destructor)(void *); member
85 void (*destructor)(void *)) in CreateMagickThreadKey()
88 return(pthread_key_create(key,destructor) == 0 ? MagickTrue : MagickFalse); in CreateMagickThreadKey()
90 magick_unreferenced(destructor); in CreateMagickThreadKey()
110 (*keys)->destructor=destructor; in CreateMagickThreadKey()
155 if ((keys->destructor != (void *) NULL) && in DeleteMagickThreadKey()
158 keys->destructor(keys->values[i]); in DeleteMagickThreadKey()
/external/clang/test/Sema/
Dconstructor-attribute.c10 int x __attribute__((destructor)); // expected-warning {{'destructor' attribute only applies to fun…
11 int f() __attribute__((destructor));
12 int f() __attribute__((destructor(1)));
13 int f() __attribute__((destructor(1,2))); // expected-error {{'destructor' attribute takes no more …
14 int f() __attribute__((destructor(1.0))); // expected-error {{'destructor' attribute requires an in…
/external/llvm-project/clang/test/Sema/
Dconstructor-attribute.c10 int x __attribute__((destructor)); // expected-warning {{'destructor' attribute only applies to fun…
11 int f() __attribute__((destructor));
12 int f() __attribute__((destructor(1)));
13 int f() __attribute__((destructor(1,2))); // expected-error {{'destructor' attribute takes no more …
14 int f() __attribute__((destructor(1.0))); // expected-error {{'destructor' attribute requires an in…
/external/llvm-project/clang/test/CodeGen/
Dconstructor-attribute.c41 void B() __attribute__((destructor));
53 static void D() __attribute__((destructor));
55 static __attribute__((destructor(123))) void E() { in E()
58 static __attribute__((destructor(789))) void F() { in F()
61 static __attribute__((destructor(123))) void G() { in G()
Daix-destructor-attribute.c15 int bar() __attribute__((destructor(100)));
16 int bar2() __attribute__((destructor(65535)));
17 int bar3(int) __attribute__((destructor(65535)));
/external/python/cpython3/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()
/external/python/cpython2/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()
Dcobject.c32 self->destructor=destr; in PyCObject_FromVoidPtr()
58 self->destructor = (destructor1)destr; in PyCObject_FromVoidPtrAndDesc()
119 cself->destructor != NULL) { in PyCObject_SetVoidPtr()
131 if (self->destructor) { in PyCObject_dealloc()
133 ((destructor2)(self->destructor))(self->cobject, self->desc); in PyCObject_dealloc()
135 (self->destructor)(self->cobject); in PyCObject_dealloc()
155 (destructor)PyCObject_dealloc, /*tp_dealloc*/
/external/llvm-project/clang/include/clang/Basic/
DDiagnosticSerializationKinds.td192 "%select{method %5|constructor|destructor}4|"
193 "%select{method %5|constructor|destructor}4 "
195 "%select{method %5|constructor|destructor}4 "
197 "%select{method %5|constructor|destructor}4 "
199 "%select{method %5|constructor|destructor}4 "
201 "%select{method %5|constructor|destructor}4 "
203 "%select{method %5|constructor|destructor}4 "
205 "%select{method %5|constructor|destructor}4 "
207 "%select{method %5|constructor|destructor}4 "
209 "%select{method %5|constructor|destructor}4 "
[all …]
/external/libchrome/base/threading/
Dthread_local_storage.cc121 base::ThreadLocalStorage::TLSDestructorFunc destructor; member
255 base::ThreadLocalStorage::TLSDestructorFunc destructor = in OnThreadExitInternal() local
256 tls_metadata[slot].destructor; in OnThreadExitInternal()
257 if (!destructor) in OnThreadExitInternal()
260 destructor(tls_value); in OnThreadExitInternal()
326 void ThreadLocalStorage::Slot::Initialize(TLSDestructorFunc destructor) { in Initialize() argument
347 g_tls_metadata[slot_candidate].destructor = destructor; in Initialize()
366 g_tls_metadata[slot_].destructor = nullptr; in Free()
400 ThreadLocalStorage::Slot::Slot(TLSDestructorFunc destructor) { in Slot() argument
401 Initialize(destructor); in Slot()
/external/rust/crates/quiche/deps/boringssl/src/crypto/
Dthread_pthread.c149 static void thread_key_destructor(void) __attribute__((destructor, unused));
177 thread_local_destructor_t destructor) { in CRYPTO_set_thread_local() argument
180 destructor(value); in CRYPTO_set_thread_local()
188 destructor(value); in CRYPTO_set_thread_local()
194 destructor(value); in CRYPTO_set_thread_local()
200 destructor(value); in CRYPTO_set_thread_local()
203 g_destructors[index] = destructor; in CRYPTO_set_thread_local()
Dthread_win.c230 thread_local_destructor_t destructor) { in CRYPTO_set_thread_local() argument
233 destructor(value); in CRYPTO_set_thread_local()
241 destructor(value); in CRYPTO_set_thread_local()
247 destructor(value); in CRYPTO_set_thread_local()
253 g_destructors[index] = destructor; in CRYPTO_set_thread_local()
/external/boringssl/src/crypto/
Dthread_pthread.c149 static void thread_key_destructor(void) __attribute__((destructor, unused));
177 thread_local_destructor_t destructor) { in CRYPTO_set_thread_local() argument
180 destructor(value); in CRYPTO_set_thread_local()
188 destructor(value); in CRYPTO_set_thread_local()
194 destructor(value); in CRYPTO_set_thread_local()
200 destructor(value); in CRYPTO_set_thread_local()
203 g_destructors[index] = destructor; in CRYPTO_set_thread_local()
Dthread_win.c230 thread_local_destructor_t destructor) { in CRYPTO_set_thread_local() argument
233 destructor(value); in CRYPTO_set_thread_local()
241 destructor(value); in CRYPTO_set_thread_local()
247 destructor(value); in CRYPTO_set_thread_local()
253 g_destructors[index] = destructor; in CRYPTO_set_thread_local()
/external/llvm-project/compiler-rt/test/profile/Posix/
Dgcov-destructor.c17 __attribute__((destructor)) // CHECK: -: [[#@LINE]]:__attribute__
18 void destructor() {} // CHECK-NEXT: 1: [[#@LINE]]: in destructor() function
20 __attribute__((destructor(101))) // CHECK: -: [[#@LINE]]:__attribute__
24 __attribute__((destructor(99))) // CHECK: -: [[#@LINE]]:__attribute__
/external/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor_bridge.cc70 std::function<void()>* destructor; member
77 (*self->destructor)(); in TensorReleaser_dealloc()
78 delete self->destructor; in TensorReleaser_dealloc()
190 std::function<void()> destructor, PyObject** result) { in ArrayFromMemory() argument
211 releaser->destructor = new std::function<void()>(std::move(destructor)); in ArrayFromMemory()
/external/llvm-project/clang/test/CodeGenCXX/
Daix-destructor-attribute.cpp20 int bar() __attribute__((destructor(100)));
21 int bar2() __attribute__((destructor(65535)));
22 int bar3(int) __attribute__((destructor(65535)));
/external/libchrome/base/
Dcallback_internal.cc25 void (*destructor)(const BindStateBase*)) in BindStateBase()
26 : BindStateBase(polymorphic_invoke, destructor, &ReturnFalse) { in BindStateBase()
30 void (*destructor)(const BindStateBase*), in BindStateBase()
33 destructor_(destructor), in BindStateBase()
Dlazy_instance_helpers.cc51 void (*destructor)(void*), in CompleteLazyInstance()
59 if (new_instance && destructor) in CompleteLazyInstance()
60 AtExitManager::RegisterCallback(destructor, destructor_arg); in CompleteLazyInstance()
/external/python/cpython2/Doc/includes/
Dcapsulethunk.h27 #define PyCapsule_New(pointer, name, destructor) \ argument
28 (PyCObject_FromVoidPtr(pointer, destructor))
40 __PyCapsule_GetField(capsule, destructor)
43 __PyCapsule_SetField(capsule, destructor, dtor)
/external/llvm-project/compiler-rt/lib/asan/
Dasan_posix.cpp89 void AsanTSDInit(void (*destructor)(void *tsd)) { in AsanTSDInit()
91 tsd_destructor = destructor; in AsanTSDInit()
117 void AsanTSDInit(void (*destructor)(void *tsd)) { in AsanTSDInit()
120 CHECK_EQ(0, pthread_key_create(&tsd_key, destructor)); in AsanTSDInit()

12345678910>>...30