HomeSort by relevance Sort by last modified time
    Searched refs:destructor (Results 1 - 25 of 96) sorted by null

1 2 3 4

  /external/clang/test/Sema/
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}}
warn-unused-function.c 36 __attribute__((destructor)) static void bar3(void);
  /external/chromium/base/threading/
thread_local_storage_posix.cc 11 ThreadLocalStorage::Slot::Slot(TLSDestructorFunc destructor)
14 Initialize(destructor);
17 bool ThreadLocalStorage::Slot::Initialize(TLSDestructorFunc destructor) {
19 int error = pthread_key_create(&key_, destructor);
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.
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)
62 Initialize(destructor);
65 bool ThreadLocalStorage::Slot::Initialize(TLSDestructorFunc destructor) {
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 with it
    [all...]
  /external/clang/test/CodeGen/
constructor-attribute.c 10 void B() __attribute__((destructor));
22 static void D() __attribute__((destructor));
  /frameworks/base/libs/hwui/
ResourceCache.h 70 void destructor(SkPath* resource);
71 void destructor(SkBitmap* resource);
72 void destructor(SkiaShader* resource);
73 void destructor(SkiaColorFilter* resource);
  /external/llvm/test/MC/MachO/
x86_64-sections.s 13 .destructor
x86_32-sections.s 13 .destructor
  /external/expat/amiga/
launch.c 32 void cleanup() __attribute__((destructor));
  /external/webkit/Source/JavaScriptCore/API/
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);
  /system/extras/tests/bionic/libc/bionic/
libdlclosetest2.c 51 * destructor is called on dlclose().
58 static void __attribute__((destructor))
  /prebuilt/darwin-x86/toolchain/arm-linux-androideabi-4.4.x/arm-linux-androideabi/include/c++/4.4.3/
cxxabi.h 70 __cxa_cdtor_type destructor);
75 __cxa_cdtor_type destructor, void *(*__alloc) (size_t),
81 __cxa_cdtor_type destructor, void *(*__alloc) (size_t),
88 __cxa_cdtor_type destructor);
94 __cxa_cdtor_type destructor);
99 size_t __element_size, __cxa_cdtor_type destructor);
103 size_t __element_size, __cxa_cdtor_type destructor);
108 size_t __padding_size, __cxa_cdtor_type destructor);
112 size_t __padding_size, __cxa_cdtor_type destructor,
117 size_t __padding_size, __cxa_cdtor_type destructor,
    [all...]
  /prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/arm-linux-androideabi/include/c++/4.4.3/
cxxabi.h 70 __cxa_cdtor_type destructor);
75 __cxa_cdtor_type destructor, void *(*__alloc) (size_t),
81 __cxa_cdtor_type destructor, void *(*__alloc) (size_t),
88 __cxa_cdtor_type destructor);
94 __cxa_cdtor_type destructor);
99 size_t __element_size, __cxa_cdtor_type destructor);
103 size_t __element_size, __cxa_cdtor_type destructor);
108 size_t __padding_size, __cxa_cdtor_type destructor);
112 size_t __padding_size, __cxa_cdtor_type destructor,
117 size_t __padding_size, __cxa_cdtor_type destructor,
    [all...]
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/
cxxabi.h 70 __cxa_cdtor_type destructor);
75 __cxa_cdtor_type destructor, void *(*__alloc) (size_t),
81 __cxa_cdtor_type destructor, void *(*__alloc) (size_t),
88 __cxa_cdtor_type destructor);
94 __cxa_cdtor_type destructor);
99 size_t __element_size, __cxa_cdtor_type destructor);
103 size_t __element_size, __cxa_cdtor_type destructor);
108 size_t __padding_size, __cxa_cdtor_type destructor);
112 size_t __padding_size, __cxa_cdtor_type destructor,
117 size_t __padding_size, __cxa_cdtor_type destructor,
    [all...]
  /prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include/
cxxabi.h 70 __cxa_cdtor_type destructor);
75 __cxa_cdtor_type destructor, void *(*__alloc) (size_t),
81 __cxa_cdtor_type destructor, void *(*__alloc) (size_t),
88 __cxa_cdtor_type destructor);
94 __cxa_cdtor_type destructor);
99 size_t __element_size, __cxa_cdtor_type destructor);
103 size_t __element_size, __cxa_cdtor_type destructor);
108 size_t __padding_size, __cxa_cdtor_type destructor);
112 size_t __padding_size, __cxa_cdtor_type destructor,
117 size_t __padding_size, __cxa_cdtor_type destructor,
    [all...]
  /prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/include/
cxxabi.h 70 __cxa_cdtor_type destructor);
75 __cxa_cdtor_type destructor, void *(*__alloc) (size_t),
81 __cxa_cdtor_type destructor, void *(*__alloc) (size_t),
88 __cxa_cdtor_type destructor);
94 __cxa_cdtor_type destructor);
99 size_t __element_size, __cxa_cdtor_type destructor);
103 size_t __element_size, __cxa_cdtor_type destructor);
108 size_t __padding_size, __cxa_cdtor_type destructor);
112 size_t __padding_size, __cxa_cdtor_type destructor,
117 size_t __padding_size, __cxa_cdtor_type destructor,
    [all...]
  /prebuilt/ndk/android-ndk-r7/sources/cxx-stl/gnu-libstdc++/include/
cxxabi.h 70 __cxa_cdtor_type destructor);
75 __cxa_cdtor_type destructor, void *(*__alloc) (size_t),
81 __cxa_cdtor_type destructor, void *(*__alloc) (size_t),
88 __cxa_cdtor_type destructor);
94 __cxa_cdtor_type destructor);
99 size_t __element_size, __cxa_cdtor_type destructor);
103 size_t __element_size, __cxa_cdtor_type destructor);
108 size_t __padding_size, __cxa_cdtor_type destructor);
112 size_t __padding_size, __cxa_cdtor_type destructor,
117 size_t __padding_size, __cxa_cdtor_type destructor,
    [all...]
  /external/clang/test/SemaCXX/
value-dependent-exprs.cpp 30 __attribute__((destructor(1 + I)))
  /external/webkit/Source/JavaScriptCore/wtf/
ThreadSpecificWin.cpp 49 data->destructor(data);
  /bionic/libc/arch-arm/bionic/
eabi.c 54 * variable from the shared object that contains the constructor/destructor
60 __aeabi_atexit (void *object, void (*destructor) (void *), void *dso_handle)
62 return __cxa_atexit(destructor, object, dso_handle);
  /external/bison/src/
symtab.h 59 /* Its %type and associated printer and destructor. */
64 const char *destructor; member in struct:symbol
114 /* Set the DESTRUCTOR associated with SYM. */
115 void symbol_destructor_set (symbol *sym, const char *destructor, location loc);
symtab.c 58 res->destructor = NULL;
93 SYMBOL_ATTR_PRINT (destructor);
135 | Set the DESTRUCTOR associated with SYM. Do nothing if passed 0. |
139 symbol_destructor_set (symbol *sym, const char *destructor, location loc)
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/
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/
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.

Completed in 2089 milliseconds

1 2 3 4