/external/clang/test/Sema/ |
H A D | constructor-attribute.c | 9 int x __attribute__((destructor)); // expected-warning {{'destructor' attribute only applies to functions}} 10 int f() __attribute__((destructor)); 11 int f() __attribute__((destructor(1))); 12 int f() __attribute__((destructor(1,2))); // expected-error {{attribute takes no more than 1 argument}} 13 int f() __attribute__((destructor(1.0))); // expected-error {{'destructor' attribute requires parameter 1 to be an integer constant}}
|
H A D | warn-unused-function.c | 36 __attribute__((destructor)) static void bar3(void);
|
/external/chromium/base/threading/ |
H A D | thread_local_storage_posix.cc | 11 ThreadLocalStorage::Slot::Slot(TLSDestructorFunc destructor) argument 14 Initialize(destructor); 17 bool ThreadLocalStorage::Slot::Initialize(TLSDestructorFunc destructor) { argument 19 int error = pthread_key_create(&key_, destructor);
|
H A D | thread_local_storage.h | 23 // Prototype for the TLS destructor function, which can be optionally used to 31 explicit Slot(TLSDestructorFunc destructor = NULL); 38 // 'destructor' is a pointer to a function to perform per-thread cleanup of 41 bool Initialize(TLSDestructorFunc destructor); 44 // If a destructor was set for this slot, removes 45 // the destructor so that remaining threads exiting 73 // destructor functions. This function is used internally.
|
H A D | thread_local_storage_win.cc | 14 // pointers to the destructor for each TLS that we allocate. 29 // An array of destructor function pointers for the slots. If 30 // a slot has a destructor, it will be stored in its corresponding 59 ThreadLocalStorage::Slot::Slot(TLSDestructorFunc destructor) argument 62 Initialize(destructor); 65 bool ThreadLocalStorage::Slot::Initialize(TLSDestructorFunc destructor) { argument 76 // Setup our destructor. 77 tls_destructors_[slot_] = destructor; 84 // So all we need to do is wipe the destructor. 131 // Windows doesn't support a per-thread destructor wit [all...] |
/external/clang/test/CodeGen/ |
H A D | constructor-attribute.c | 10 void B() __attribute__((destructor)); 22 static void D() __attribute__((destructor));
|
/external/llvm/test/MC/MachO/ |
H A D | x86_64-sections.s | 13 .destructor
|
H A D | x86_32-sections.s | 13 .destructor
|
H A D | x86_32-symbols.s | 30 .destructor
|
H A D | x86_64-symbols.s | 30 .destructor
|
/external/expat/amiga/ |
H A D | launch.c | 32 void cleanup() __attribute__((destructor));
|
/external/webkit/Source/JavaScriptCore/API/ |
H A D | JSWeakObjectMapRefPrivate.h | 52 @param destructor A function to call when the weak map is destroyed. 53 @result A JSWeakObjectMapRef bound to the given context, data and destructor. 57 JS_EXPORT JSWeakObjectMapRef JSWeakObjectMapCreate(JSContextRef ctx, void* data, JSWeakMapDestroyedCallback destructor);
|
/external/clang/test/SemaCXX/ |
H A D | value-dependent-exprs.cpp | 30 __attribute__((destructor(1 + I)))
|
/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | ThreadSpecificWin.cpp | 49 data->destructor(data);
|
/external/bison/src/ |
H A D | symtab.h | 59 /* Its %type and associated printer and destructor. */ 64 const char *destructor; member in struct:symbol 115 void symbol_destructor_set (symbol *sym, const char *destructor, location loc);
|
H A D | symtab.c | 58 res->destructor = NULL; 93 SYMBOL_ATTR_PRINT (destructor); 139 symbol_destructor_set (symbol *sym, const char *destructor, location loc) argument 141 if (destructor) 143 if (sym->destructor) 144 redeclaration (sym, "%destructor", sym->destructor_location, loc); 145 sym->destructor = destructor; 329 if (orig->destructor || alias->destructor) [all...] |
/external/chromium/base/ |
H A D | openssl_util.h | 17 template <typename T, void (*destructor)(T*)> 29 if (ptr_) (*destructor)(ptr_); 102 // the constructor call as it's not possible to trace a destructor's callsite.
|
/external/chromium/crypto/ |
H A D | openssl_util.h | 16 template <typename T, void (*destructor)(T*)> 28 if (ptr_) (*destructor)(ptr_); 96 // the constructor call as it's not possible to trace a destructor's callsite.
|
/external/libvpx/vp8/common/ |
H A D | threading.h | 35 #define ts_key_create(ts_key, destructor) {ts_key = TlsAlloc();}; 57 #define ts_key_create(ts_key, destructor) pthread_key_create (&(ts_key), destructor);
|
/external/icu4c/common/ |
H A D | ucln_imp.h | 29 * b) GCC uses destructor function attribute 107 /* GCC - use __attribute((destructor)) */ 108 static void ucln_destructor() __attribute__((destructor)) ;
|
/external/chromium/testing/gtest/test/ |
H A D | gtest_catch_exceptions_test.py | 81 'in the test fixture\'s destructor' 123 'in the test fixture\'s destructor' 139 self.assert_('CxxExceptionInSetUpTestCaseTest destructor ' 164 self.assert_('CxxExceptionInSetUpTest destructor ' 182 self.assert_('CxxExceptionInTearDownTest destructor ' 193 self.assert_('CxxExceptionInTestBodyTest destructor '
|
/external/mesa3d/src/talloc/ |
H A D | hieralloc.c | 23 int (* destructor)(void *); member in struct:hieralloc_header 156 ptr->destructor = NULL; 223 // calls destructor if set, and frees children. 224 // if destructor returns -1, then do nothing and return -1. 236 if (header->destructor) 237 if (header->destructor(ptr)) 314 // sets destructor to be called before freeing; dctor return -1 aborts free 315 void hieralloc_set_destructor(const void * ptr, int (* destructor)(void *)) 317 get_header(ptr)->destructor = destructor; [all...] |
H A D | hieralloc.h | 36 // calls destructor if set, and frees children. 37 // if destructor returns -1, then do nothing and return -1. 46 // sets destructor to be called before freeing; dctor return -1 aborts free 47 void hieralloc_set_destructor(const void * ptr, int (* destructor)(void *));
|
/external/libnl-headers/netlink/cli/ |
H A D | utils.h | 60 #define __exit __attribute__((destructor))
|
/external/bluetooth/glib/gthread/ |
H A D | gthread-win32.c | 323 g_private_new_win32_impl (GDestroyNotify destructor) argument 338 g_private_destructors[g_private_next] = destructor; 434 GDestroyNotify destructor = g_private_destructors[i]; local 442 if (destructor && data) 443 destructor (data);
|