Home
last modified time | relevance | path

Searched refs:destructor (Results 1 – 25 of 132) sorted by relevance

123456

/external/clang/test/Sema/
Dconstructor-attribute.c9 int x __attribute__((destructor)); // expected-warning {{'destructor' attribute only applies to fun…
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 argume…
13 int f() __attribute__((destructor(1.0))); // expected-error {{'destructor' attribute requires param…
/external/chromium/base/threading/
Dthread_local_storage_posix.cc11 ThreadLocalStorage::Slot::Slot(TLSDestructorFunc destructor) in Slot() argument
14 Initialize(destructor); in Slot()
17 bool ThreadLocalStorage::Slot::Initialize(TLSDestructorFunc destructor) { in Initialize() argument
19 int error = pthread_key_create(&key_, destructor); in Initialize()
Dthread_local_storage_win.cc59 ThreadLocalStorage::Slot::Slot(TLSDestructorFunc destructor) in Slot() argument
62 Initialize(destructor); in Slot()
65 bool ThreadLocalStorage::Slot::Initialize(TLSDestructorFunc destructor) { in Initialize() argument
77 tls_destructors_[slot_] = destructor; in Initialize()
Dthread_local_storage.h31 explicit Slot(TLSDestructorFunc destructor = NULL);
41 bool Initialize(TLSDestructorFunc destructor);
/external/clang/test/ARCMT/
Dcxx-checking.mm5 …on-ARC code; add a copy constructor, a copy assignment operator, and a destructor to make it ABI-c…
9 …on-ARC code; add a copy constructor, a copy assignment operator, and a destructor to make it ABI-c…
13 …on-ARC code; add a copy constructor, a copy assignment operator, and a destructor to make it ABI-c…
30 …on-ARC code; add a copy constructor, a copy assignment operator, and a destructor to make it ABI-c…
34 …on-ARC code; add a copy constructor, a copy assignment operator, and a destructor to make it ABI-c…
43 …POD0' cannot be shared between ARC and non-ARC code; add a non-trivial destructor to make it ABI-c…
49 …POD1' cannot be shared between ARC and non-ARC code; add a non-trivial destructor to make it ABI-c…
55 …POD2' cannot be shared between ARC and non-ARC code; add a non-trivial destructor to make it ABI-c…
68 …POD0' cannot be shared between ARC and non-ARC code; add a non-trivial destructor to make it ABI-c…
74 …POD1' cannot be shared between ARC and non-ARC code; add a non-trivial destructor to make it ABI-c…
/external/bison/src/
Dsymtab.c58 res->destructor = NULL; in symbol_new()
93 SYMBOL_ATTR_PRINT (destructor); in symbol_print()
139 symbol_destructor_set (symbol *sym, const char *destructor, location loc) in symbol_destructor_set() argument
141 if (destructor) in symbol_destructor_set()
143 if (sym->destructor) in symbol_destructor_set()
145 sym->destructor = destructor; in symbol_destructor_set()
329 if (orig->destructor || alias->destructor) in symbol_check_alias_consistency()
331 if (orig->destructor) in symbol_check_alias_consistency()
332 symbol_destructor_set (alias, orig->destructor, in symbol_check_alias_consistency()
335 symbol_destructor_set (orig, alias->destructor, in symbol_check_alias_consistency()
Dsymtab.h64 const char *destructor; member
115 void symbol_destructor_set (symbol *sym, const char *destructor, location loc);
/external/clang/test/SemaObjCXX/
Darc-non-pod.mm4 …on-ARC code; add a copy constructor, a copy assignment operator, and a destructor to make it ABI-c…
8 …on-ARC code; add a copy constructor, a copy assignment operator, and a destructor to make it ABI-c…
12 …on-ARC code; add a copy constructor, a copy assignment operator, and a destructor to make it ABI-c…
29 …on-ARC code; add a copy constructor, a copy assignment operator, and a destructor to make it ABI-c…
33 …on-ARC code; add a copy constructor, a copy assignment operator, and a destructor to make it ABI-c…
42 …POD0' cannot be shared between ARC and non-ARC code; add a non-trivial destructor to make it ABI-c…
48 …POD1' cannot be shared between ARC and non-ARC code; add a non-trivial destructor to make it ABI-c…
54 …POD2' cannot be shared between ARC and non-ARC code; add a non-trivial destructor to make it ABI-c…
67 …POD0' cannot be shared between ARC and non-ARC code; add a non-trivial destructor to make it ABI-c…
73 …POD1' cannot be shared between ARC and non-ARC code; add a non-trivial destructor to make it ABI-c…
Divar-construct.mm10 struct X : T { }; // expected-error 2{{private destructor}}
15 X<Y> x; // expected-note{{implicit default destructor}}
16 Y y; // expected-error{{private destructor}}
/external/clang/test/CodeGen/
Dconstructor-attribute.c10 void B() __attribute__((destructor));
22 static void D() __attribute__((destructor));
/external/libvpx/vp8/common/
Dthreading.h35 #define ts_key_create(ts_key, destructor) {ts_key = TlsAlloc();}; argument
57 #define ts_key_create(ts_key, destructor) pthread_key_create (&(ts_key), destructor); argument
/external/mesa3d/src/talloc/
Dhieralloc.c23 int (* destructor)(void *); member
156 ptr->destructor = NULL; in hieralloc_allocate()
236 if (header->destructor) in hieralloc_free()
237 if (header->destructor(ptr)) in hieralloc_free()
315 void hieralloc_set_destructor(const void * ptr, int (* destructor)(void *)) in hieralloc_set_destructor()
317 get_header(ptr)->destructor = destructor; in hieralloc_set_destructor()
478 header->childCount, header->refCount, header->size, header->destructor, header->name); in _hieralloc_report()
/external/chromium/crypto/
Dopenssl_util.h16 template <typename T, void (*destructor)(T*)>
28 if (ptr_) (*destructor)(ptr_); in reset()
/external/chromium/base/
Dopenssl_util.h17 template <typename T, void (*destructor)(T*)>
29 if (ptr_) (*destructor)(ptr_); in reset()
/external/bison/tests/
Dglr-regression.at428 ## User destructor for unresolved GLR semantic value. See ##
432 AT_SETUP([User destructor for unresolved GLR semantic value])
448 %destructor {
451 fprintf (stderr, "Bad destructor call.\n");
498 ## User destructor after an error during a split parse. See ##
502 AT_SETUP([User destructor after an error during a split parse])
517 %destructor {
562 ## Duplicated user destructor for lookahead. See ##
566 AT_SETUP([Duplicated user destructor for lookahead])
582 %destructor {
[all …]
/external/bluetooth/glib/gthread/
Dgthread-win32.c323 g_private_new_win32_impl (GDestroyNotify destructor) in g_private_new_win32_impl() argument
338 g_private_destructors[g_private_next] = destructor; in g_private_new_win32_impl()
434 GDestroyNotify destructor = g_private_destructors[i]; in g_thread_exit_win32_impl() local
442 if (destructor && data) in g_thread_exit_win32_impl()
443 destructor (data); in g_thread_exit_win32_impl()
/external/compiler-rt/lib/asan/
Dasan_posix.cc171 void AsanTSDInit(void (*destructor)(void *tsd)) { in AsanTSDInit()
174 CHECK(0 == pthread_key_create(&tsd_key, destructor)); in AsanTSDInit()
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
Dp20.cpp9 void destructor() { in destructor() function
/external/compiler-rt/lib/asan/output_tests/
Ddlclose-test-so.cc30 __attribute__((destructor))
/external/elfutils/src/
Ddebugpred.h36 __attribute__ ((destructor))
/external/expat/amiga/
Dlaunch.c32 void cleanup() __attribute__((destructor));
/external/libnl-headers/netlink/cli/
Dutils.h60 #define __exit __attribute__((destructor))
/external/clang/test/CodeGenObjCXX/
Darc-special-member-functions.mm112 // Implicitly-generated destructor for ObjCBlockMember
130 // Implicitly-generated destructor for ObjCArrayMember
155 // Implicitly-generated destructor for ObjCMember
/external/webkit/Source/JavaScriptCore/API/
DJSWeakObjectMapRefPrivate.h57 …tMapRef JSWeakObjectMapCreate(JSContextRef ctx, void* data, JSWeakMapDestroyedCallback destructor);
/external/valgrind/main/coregrind/m_demangle/
Dcplus-dem.c148 int destructor; member
1036 s2 = work->destructor; in internal_cplus_demangle()
1039 work->constructor = work->destructor = 0; in internal_cplus_demangle()
1071 else if (work->destructor == 2) in internal_cplus_demangle()
1074 work->destructor = 0; in internal_cplus_demangle()
1084 work->destructor = s2; in internal_cplus_demangle()
1431 if (work -> destructor & 1) in demangle_signature()
1435 work->destructor -= 1; in demangle_signature()
1437 if ((work->constructor & 1) || (work->destructor & 1)) in demangle_signature()
2458 if ((work->constructor & 1) || (work->destructor & 1)) in demangle_class()
[all …]

123456