/external/clang/test/Sema/ |
H A D | constructor-attribute.c | 10 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}}
|
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
H A D | p20.cpp | 10 void destructor() { function
|
/external/clang/test/CodeGen/ |
H A D | constructor-attribute.c | 10 void B() __attribute__((destructor)); 22 static void D() __attribute__((destructor));
|
/external/libcxxabi/src/ |
H A D | cxa_vector.cpp | 36 // '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 *)) { 121 constructor, destructor, &::operator new [], &::operator delete [] ); 134 // destructor for any already constructed elements, and rethrow the 135 // exception. If the destructor throws an exception, call std::terminate. 138 // padding_size is zero, the destructor may be NULL; in that case it must 144 void (*constructor)(void *), void (*destructor)(voi [all...] |
/external/ImageMagick/MagickCore/ |
H A D | thread.c | 58 (*destructor)(void *); 84 % o destructor: associate an optional destructor with each key value. 88 void (*destructor)(void *)) 91 return(pthread_key_create(key,destructor) == 0 ? MagickTrue : MagickFalse); 93 magick_unreferenced(destructor); 113 (*keys)->destructor=destructor; 159 if ((keys->destructor != (void *) NULL) && 162 keys->destructor(key [all...] |
H A D | thread_.h | 46 CreateMagickThreadKey(MagickThreadKey *,void (*destructor)(void *)),
|
/external/libmicrohttpd/src/testspdy/ |
H A D | common.c | 31 #define FUNC_DESTRUCTOR(f) static void __attribute__ ((destructor)) f 42 FUNC_DESTRUCTOR (destructor)() function
|
/external/compiler-rt/test/lsan/TestCases/ |
H A D | stale_stack_leak.cc | 33 __attribute__((destructor))
|
/external/elfutils/src/ |
H A D | debugpred.h | 28 __attribute__ ((destructor))
|
/external/libcxxabi/include/ |
H A D | cxxabi.h | 94 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)(voi [all...] |
/external/bison/src/ |
H A D | symtab.h | 74 /** 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:__anon611 [all...] |
H A D | symtab.c | 49 | 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...] |
/external/boringssl/src/crypto/ |
H A D | thread_pthread.c | 143 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 D | thread_none.c | 54 thread_local_destructor_t destructor) { 53 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 D | rbt.h | 75 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/llvm/test/MC/MachO/ |
H A D | x86_64-sections.s | 13 .destructor
|
H A D | x86_32-sections.s | 13 .destructor
|
/external/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 void destructor(void *tmp) function 46 rc = pthread_key_create(&key, destructor);
|
/external/swiftshader/third_party/LLVM/test/MC/MachO/ |
H A D | x86_64-sections.s | 13 .destructor
|
/external/libchrome/base/threading/ |
H A D | thread_local_storage.cc | 15 // 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 D | thread_local_storage.h | 65 // 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 D | value-dependent-exprs.cpp | 31 __attribute__((destructor(1 + I)))
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_posix_test.cc | 29 void destructor(void *arg) { function in namespace:__sanitizer 54 ASSERT_EQ(0, pthread_key_create(&key, &destructor));
|
/external/libchrome/base/ |
H A D | callback_internal.h | 29 // RefCountedThreadSafe since it requires the destructor to be a virtual method. 31 // of bloat. Its only task is to call the destructor which can be done with a 35 explicit BindStateBase(void (*destructor)(BindStateBase*)) argument 36 : ref_count_(0), destructor_(destructor) {} 88 // Force the destructor to be instantiated inside this translation unit so
|
/external/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 void destructor(void *tmp) function 53 rc = pthread_key_create(&key, destructor); 98 /* Delay enough so that the destructor must have been called */
|