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

1234

/external/clang/test/Sema/
H A Dconstructor-attribute.c10 int x __attribute__((destructor)); // expected-warning {{'destructor' attribute only applies to functions}}
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 than 1 argument}}
14 int f() __attribute__((destructor(1.0))); // expected-error {{'destructor' attribute requires an integer constant}}
H A Dwarn-unused-function.c34 __attribute__((destructor)) static void bar3(void);
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
H A Dp20.cpp10 void destructor() { function
/external/clang/test/CodeGen/
H A Dconstructor-attribute.c10 void B() __attribute__((destructor));
22 static void D() __attribute__((destructor));
/external/libcxxabi/src/
H A Dcxa_vector.cpp36 // 'release' method is called, they deallocate the memory in the destructor.
79 st_cxa_cleanup ( void *ptr, size_t &idx, size_t element_size, destruct_f destructor )
81 destructor_ ( destructor ), enabled_ ( true ) {}
116 // destructor, &::operator new[], &::operator delete[])
119 void (*constructor)(void*), void (*destructor)(void*) ) {
122 constructor, destructor, &::operator new [], &::operator delete [] );
135 // destructor for any already constructed elements, and rethrow the
136 // exception. If the destructor throws an exception, call std::terminate.
139 // padding_size is zero, the destructor may be NULL; in that case it must
145 void (*constructor)(void*), void (*destructor)(voi
143 __cxa_vec_new2( size_t element_count, size_t element_size, size_t padding_size, void (*constructor)(void*), void (*destructor)(void*), void* (*alloc)(size_t), void (*dealloc)(void*) ) argument
172 __cxa_vec_new3( size_t element_count, size_t element_size, size_t padding_size, void (*constructor)(void*), void (*destructor)(void*), void* (*alloc)(size_t), void (*dealloc)(void*, size_t) ) argument
331 __cxa_vec_delete2( void* array_address, size_t element_size, size_t padding_size, void (*destructor)(void*), void (*dealloc)(void*) ) argument
352 __cxa_vec_delete3( void* array_address, size_t element_size, size_t padding_size, void (*destructor)(void*), void (*dealloc) (void*, size_t)) argument
[all...]
/external/libcxxabi/include/
H A Dcxxabi.h89 void (*destructor)(void*));
95 void (*destructor)(void*),
103 void (*destructor)(void*),
111 void (*destructor)(void*));
116 void (*destructor)(void*));
121 void (*destructor)(void*));
126 void (*destructor)(void*));
131 void (*destructor)(void*),
137 void (*destructor)(void*),
145 void (*destructor)(voi
[all...]
/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/test/lsan/TestCases/
H A Dstale_stack_leak.cc33 __attribute__((destructor))
/external/elfutils/src/
H A Ddebugpred.h28 __attribute__ ((destructor))
/external/bison/src/
H A Dsymtab.h74 /** Any \c \%destructor declared specifically for this symbol.
77 functions. For example, if <tt>symbol::destructor = NULL</tt>, a
78 default \c \%destructor or a per-type \c \%destructor might be
81 code_props destructor; member in struct:symbol
86 \sa symbol::destructor */
143 /** Set the \c destructor associated with \c sym. */
144 void symbol_destructor_set (symbol *sym, code_props const *destructor);
146 /** Get the computed \c \%destructor for \c sym, which was initialized with
147 \c code_props_none_init if there's no \c \%destructor
201 code_props destructor; member in struct:__anon491
[all...]
H A Dsymtab.c49 | Default %destructor's and %printer's. |
78 code_props_none_init (&res->destructor);
108 code_props_none_init (&res->destructor);
134 SYMBOL_CODE_PRINT (destructor);
194 symbol_destructor_set (symbol *sym, code_props const *destructor) argument
196 if (sym->destructor.code)
197 symbol_redeclaration (sym, "%destructor", sym->destructor.location,
198 destructor->location);
199 sym->destructor
207 semantic_type_destructor_set(semantic_type *type, code_props const *destructor) argument
231 code_props const *destructor = local
929 default_tagged_destructor_set(code_props const *destructor) argument
944 default_tagless_destructor_set(code_props const *destructor) argument
[all...]
H A Dsymlist.c226 symbol_list_destructor_set (symbol_list *node, code_props const *destructor) argument
231 symbol_destructor_set (node->content.sym, destructor);
235 semantic_type_get (node->content.type_name), destructor);
238 default_tagged_destructor_set (destructor);
241 default_tagless_destructor_set (destructor);
/external/boringssl/src/crypto/
H A Dthread_pthread.c134 thread_local_destructor_t destructor) {
137 destructor(value);
145 destructor(value);
151 destructor(value);
157 destructor(value);
160 g_destructors[index] = destructor;
133 CRYPTO_set_thread_local(thread_local_data_t index, void *value, thread_local_destructor_t destructor) argument
H A Dthread_none.c50 thread_local_destructor_t destructor) {
49 CRYPTO_set_thread_local(thread_local_data_t index, void *value, thread_local_destructor_t destructor) argument
H A Dthread_win.c185 * Windows doesn't support a per-thread destructor with its TLS primitives.
252 thread_local_destructor_t destructor) {
255 destructor(value);
263 destructor(value);
269 destructor(value);
275 g_destructors[index] = destructor;
251 CRYPTO_set_thread_local(thread_local_data_t index, void *value, thread_local_destructor_t destructor) argument
/external/llvm/test/MC/MachO/
H A Dx86_64-sections.s13 .destructor
H A Dx86_32-sections.s13 .destructor
/external/libchrome/base/threading/
H A Dthread_local_storage.cc15 // pointer to the destructor for each slot. We keep this array of pointers in a
29 // instance of ThreadLocalStorage::Slot has been freed (i.e., destructor called,
41 // An array of destructor function pointers for the slots. If a slot has a
42 // destructor, it will be stored in its corresponding entry in this array.
44 // to potentially call the destructor, it does so once, and that value is tested
48 // (i.e., null out the destructor entry) that happens on a separate thread can't
117 // terminates, one of the destructor calls we make may be to shut down an
120 // the allocator and cause it to resurrect itself (with no possibly destructor
138 // destructor call. That user was able to function, and define a slot with
150 base::ThreadLocalStorage::TLSDestructorFunc destructor local
197 Slot(TLSDestructorFunc destructor) argument
203 Initialize(TLSDestructorFunc destructor) argument
[all...]
H A Dthread_local_storage.h65 // Since Windows which doesn't support TLS destructor, the implementation
83 // Prototype for the TLS destructor function, which can be optionally used to
101 // 'destructor' is a pointer to a function to perform per-thread cleanup of
103 void Initialize(TLSDestructorFunc destructor);
106 // If a destructor was set for this slot, removes
107 // the destructor so that remaining threads exiting
133 explicit Slot(TLSDestructorFunc destructor = NULL);
/external/clang/test/SemaCXX/
H A Dvalue-dependent-exprs.cpp31 __attribute__((destructor(1 + I)))
/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/chromium-trace/catapult/third_party/coverage/coverage/ctracer/
H A Dfiledisp.c51 (destructor)CFileDisposition_dealloc, /*tp_dealloc*/
/external/fio/compiler/
H A Dcompiler.h21 #define fio_exit __attribute__((destructor))
/external/icu/icu4c/source/common/
H A Ducln_imp.h29 * b) GCC uses destructor function attribute
164 /* GCC - use __attribute((destructor)) */
165 static void ucln_destructor() __attribute__((destructor)) ;
/external/compiler-rt/lib/asan/
H A Dasan_posix.cc90 void AsanTSDInit(void (*destructor)(void *tsd)) {
93 CHECK_EQ(0, pthread_key_create(&tsd_key, destructor));

Completed in 700 milliseconds

1234