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

123

/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}}
H A Dwarn-unused-function.c36 __attribute__((destructor)) static void bar3(void);
/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/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
H A Dp20.cpp9 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/SharedLibs/
H A Ddlclose-test-so.cc30 __attribute__((destructor))
/external/elfutils/src/
H A Ddebugpred.h36 __attribute__ ((destructor))
/external/llvm/test/MC/MachO/
H A Dx86_64-sections.s13 .destructor
H A Dx86_32-sections.s13 .destructor
/external/expat/amiga/
H A Dlaunch.c36 void cleanup() __attribute__((destructor));
/external/webkit/Source/JavaScriptCore/API/
H A DJSWeakObjectMapRefPrivate.h52 @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 Dvalue-dependent-exprs.cpp30 __attribute__((destructor(1 + I)))
/external/webkit/Source/JavaScriptCore/wtf/
H A DThreadSpecificWin.cpp49 data->destructor(data);
/external/bison/src/
H A Dsymtab.h59 /* 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 Dsymtab.c58 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 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/libvpx/vp8/common/
H A Dthreading.h35 #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 Ducln_imp.h29 * 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 Dgtest_catch_exceptions_test.py81 '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/compiler-rt/lib/asan/
H A Dasan_posix.cc102 void AsanTSDInit(void (*destructor)(void *tsd)) {
105 CHECK(0 == pthread_key_create(&tsd_key, destructor));
/external/gtest/test/
H A Dgtest_catch_exceptions_test.py81 '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/clang/test/CXX/special/class.dtor/
H A Dp10-0x.cpp9 x->~decltype(*x)(); // expected-error{{the type of object expression ('const int') does not match the type being destroyed ('decltype(*x)' (aka 'const int &')) in pseudo-destructor expression}} \
13 y->~decltype(*y)(); // expected-error{{destructor type 'decltype(*y)' (aka 'const A &') in object destruction expression does not match the type 'const A' of the object being destroyed}}
14 y->~decltype(T())(); // expected-error{{destructor type 'decltype(T())' in object destruction expression does not match the type 'const A' of the object being destroyed}}
21 x->~decltype(*x)(); // expected-error{{destructor type 'decltype(*x)' (aka 'const A &') in object destruction expression does not match the type 'const A' of the object being destroyed}}
23 x->~decltype(B())(); // expected-error{{destructor type 'decltype(B())' (aka 'B') in object destruction expression does not match the type 'const A' of the object being destroyed}}
24 x->~decltype(x)(); // expected-error{{destructor type 'decltype(x)' (aka 'const A *') in object destruction expression does not match the type 'const A' of the object being destroyed}}
26 x->::A::~decltype(*x)(); // expected-error{{expected a class name after '~' to name a destructor}}
33 expected-error{{the type of object expression ('int') does not match the type being destroyed ('decltype(intp())' (aka 'int *')) in pseudo-destructor expression}}
34 i.~decltype(intp())(); // expected-error{{the type of object expression ('int') does not match the type being destroyed ('decltype(intp())' (aka 'int *')) in pseudo-destructor expression}}
36 pi.~decltype(int())(); // expected-error{{the type of object expression ('int *') does not match the type being destroyed ('decltype(int())' (aka 'int')) in pseudo-destructor expressio
[all...]

Completed in 447 milliseconds

123