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

1234

/external/clang/test/Sema/
H A Dconstructor-attribute.c9 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}}
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dpthread_key_create.c47 pthread_key_create (pthread_key_t * key, void (PTW32_CDECL *destructor) (void *))
54 * thread with a non-NULL value for key terminates, 'destructor'
66 * thread with a non-NULL value for key terminates, 'destructor'
92 else if (destructor != NULL)
102 newkey->destructor = destructor;
H A Dptw32_callUserDestroyRoutines.c101 * the assoc destructor in pthread_key_delete can adjust it
114 void (*destructor) (void *);
166 destructor = k->destructor;
170 // Every assoc->key exists and has a destructor
174 * Unlock both locks before the destructor runs.
192 destructor (value);
198 * running the user's destructor.
213 destructor (value);
H A Dpthread_key_delete.c48 * for any thread and does not run the key's destructor
59 * for any thread and does not run the key's destructor
74 if (key->threads != NULL && key->destructor != NULL)
111 if (key->destructor != NULL)
/external/chromium/base/threading/
H A Dthread_local_storage_posix.cc11 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 Dthread_local_storage.h23 // 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 Dthread_local_storage_win.cc14 // 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/chromium_org/base/threading/
H A Dthread_local_storage_posix.cc11 ThreadLocalStorage::Slot::Slot(TLSDestructorFunc destructor) { argument
14 Initialize(destructor);
17 bool ThreadLocalStorage::StaticSlot::Initialize(TLSDestructorFunc destructor) { argument
19 int error = pthread_key_create(&key_, destructor);
H A Dthread_local_storage_win.cc14 // pointers to the destructor for each TLS that we allocate.
27 // instance of ThreadLocalStorage::Slot has been freed (i.e., destructor called,
39 // An array of destructor function pointers for the slots. If a slot has a
40 // destructor, it will be stored in its corresponding entry in this array.
42 // to potentially call the destructor, it does so once, and that value is tested
46 // (i.e., null out the destructor entry) that happens on a separate thread can't
101 // terminates, one of the destructor calls we make may be to shut down an
104 // the allocator and cause it to resurrect itself (with no possibly destructor
120 // destructor call. That user was able to function, and define a slot with
129 base::ThreadLocalStorage::TLSDestructorFunc destructor local
154 Slot(TLSDestructorFunc destructor) argument
160 Initialize(TLSDestructorFunc destructor) argument
[all...]
H A Dthread_local_storage.h22 // Prototype for the TLS destructor function, which can be optionally used to
40 // 'destructor' is a pointer to a function to perform per-thread cleanup of
43 bool Initialize(TLSDestructorFunc destructor);
46 // If a destructor was set for this slot, removes
47 // the destructor so that remaining threads exiting
76 explicit Slot(TLSDestructorFunc destructor = NULL);
/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/compiler-rt/lib/asan/lit_tests/TestCases/SharedLibs/
H A Ddlclose-test-so.cc30 __attribute__((destructor))
/external/compiler-rt/lib/msan/tests/
H A Dmsan_loadable.cc32 __attribute__((destructor))
/external/compiler-rt/lib/lsan/lit_tests/TestCases/
H A Dstale_stack_leak.cc33 __attribute__((destructor))
/external/elfutils/src/
H A Ddebugpred.h36 __attribute__ ((destructor))
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DThreadSpecificWin.cpp49 PlatformThreadSpecificKey(void (*destructor)(void *))
50 : m_destructor(destructor)
90 void threadSpecificKeyCreate(ThreadSpecificKey* key, void (*destructor)(void *))
92 *key = new PlatformThreadSpecificKey(destructor);
121 data->destructor(data);
/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:__anon388
[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...]
/external/llvm/test/MC/MachO/
H A Dx86_64-sections.s13 .destructor
H A Dx86_32-sections.s13 .destructor
/external/clang/test/SemaCXX/
H A Dvalue-dependent-exprs.cpp31 __attribute__((destructor(1 + I)))
/external/chromium/base/
H A Dopenssl_util.h17 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 Dopenssl_util.h16 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/chromium_org/crypto/
H A Dopenssl_util.h16 template <typename T, void (*destructor)(T*)>
33 if (ptr_) (*destructor)(ptr_);
102 // the constructor call as it's not possible to trace a destructor's callsite.

Completed in 1572 milliseconds

1234