Searched refs:destroy (Results 1 - 25 of 71) sorted by relevance

123

/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/
H A Dpr46866.c4 void (*destroy)(void *); member in struct:T
6 void destroy(union { void *this; } __attribute__((transparent_union)));
7 static const typeof(destroy) *_destroy = (const typeof(destroy)*)destroy;
8 void destroy(void *this);
18 destroy(this);
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/ipa/
H A Dipa-icf-27.c4 void destroy (void) function
21 destroy ();
28 /* { dg-final { scan-ipa-dump "Semantic equality hit:remove->destroy" "icf" } } */
H A Dipa-icf-26.c4 void destroy (void) function
24 my_callbacks.success = destroy;
41 /* { dg-final { scan-ipa-dump "Semantic equality hit:remove->destroy" "icf" } } */
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/forward_list/cons/
H A D10.cc30 ~Counter() { ++destroy; }
33 static int destroy; member in struct:Counter
37 int Counter::destroy = 0; member in class:Counter
50 VERIFY( Counter::destroy == 10 );
52 VERIFY( Counter::destroy == 21 );
/haiku-buildtools/gcc/libgcc/config/rs6000/
H A Ddarwin-crt2.c107 struct live_images *top, **lip, *destroy = NULL;
117 destroy = *lip;
118 *lip = destroy->next; /* unlink DESTROY */
120 if (destroy->this_size != sizeof (*destroy)) /* sanity check */
129 if (destroy != NULL)
131 if (destroy->destructor != NULL)
132 (*destroy->destructor) (destroy);
133 free (destroy);
106 struct live_images *top, **lip, *destroy = NULL; local
[all...]
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/init/
H A Dcall1.C27 void destroy (auto_ptr a) { function
34 destroy (new T);
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/vect/
H A Dpr44861.cc6 virtual void destroy() { } function in struct:counted_base
7 void release() { if (f()) destroy(); }
/haiku-buildtools/legacy/gcc/libstdc++/stl/
H A Dstl_construct.h38 // construct and destroy. These functions are not part of the C++ standard,
42 inline void destroy(_Tp* __pointer) { function
61 destroy(&*__first);
77 inline void destroy(_ForwardIterator __first, _ForwardIterator __last) { function
81 inline void destroy(char*, char*) {} function
82 inline void destroy(wchar_t*, wchar_t*) {} function
H A Dstl_uninitialized.h61 __STL_UNWIND(destroy(__result, __cur));
111 __STL_UNWIND(destroy(__result, __cur));
161 __STL_UNWIND(destroy(__first, __cur));
202 __STL_UNWIND(destroy(__first, __cur));
238 __STL_UNWIND(destroy(__result, __mid));
254 __STL_UNWIND(destroy(__result, __mid));
270 __STL_UNWIND(destroy(__first2, __mid2));
H A Dstl_vector.h266 ~vector() { destroy(_M_start, _M_finish); }
273 destroy(_M_start, _M_finish);
390 destroy(_M_finish);
396 destroy(_M_finish);
401 destroy(__i, _M_finish);
511 destroy(_M_start, _M_finish);
518 destroy(__i, _M_finish);
566 destroy(_M_start, _M_finish);
573 destroy(__new_finish, _M_finish);
608 __STL_UNWIND((destroy(__new_star
[all...]
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/abi/
H A Dvthunk1.C14 virtual void destroy() {} function in struct:B
23 virtual void destroy() = 0;
28 virtual void destroy() {} function in struct:G
/haiku-buildtools/gcc/gcc/testsuite/obj-c++.dg/
H A Dtemplate-8.mm33 void destroy() { delete this; }
51 theSubclass->destroy();
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/torture/
H A Dpr53011.C45 void zap(bool destroy = 1) {
46 while (head.next) unlink_after(&head, destroy);
49 void unlink_after(WvLink *after, bool destroy) { argument
51 T *obj = (destroy && next->get_autofree()) ?
/haiku-buildtools/gcc/libstdc++-v3/testsuite/backward/hash_map/
H A D23528.cc35 a.destroy(y);
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/
H A Dclass_32.f9030 SUBROUTINE destroy(this) subroutine
/haiku-buildtools/gcc/include/
H A Dgcc-interface.h107 void (*destroy) (struct gcc_base_context *self); member in struct:gcc_base_vtable
/haiku-buildtools/binutils/include/
H A Dgcc-interface.h107 void (*destroy) (struct gcc_base_context *self); member in struct:gcc_base_vtable
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/allocator_traits/members/
H A Ddestroy.cc39 void destroy(T* p) { called = true; } function in struct:allocator_with_destroy
61 traits_type::destroy(a, p);
74 traits_type::destroy(a, p);
H A Dconstruct.cc65 traits_type::destroy(a, p);
72 traits_type::destroy(a, p);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/scoped_allocator/
H A D2.cc142 a.destroy(p);
149 a.destroy(p);
155 a.destroy(p);
161 a.destroy(p);
189 a.destroy(p);
200 a.destroy(p);
206 a.destroy(p);
212 a.destroy(p);
241 a.destroy(p);
250 a.destroy(
[all...]
/haiku-buildtools/gcc/gmp/tests/mpz/
H A Dt-perfpow.c111 int i, j, k, unique, destroy, res; local
161 destroy = 1;
166 destroy = mpz_get_ui (np) % (nrprimes - 2) + 1;
169 g = exp[destroy];
170 for (k = destroy + 1; k < nrprimes; k++)
173 for (j = 0; j < destroy; j++)
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/shared_ptr/creation/
H A Dprivate.cc52 void destroy(T* p) { p->~T(); } function in struct:MyAlloc
/haiku-buildtools/gcc/libstdc++-v3/include/ext/
H A Dextptr_allocator.h117 destroy(_Up* __p) function in class:_ExtPtr_allocator
120 void destroy(pointer __p) function in class:_ExtPtr_allocator
121 { destroy(__p.get()); }
128 void destroy(pointer __p) function in class:_ExtPtr_allocator
H A Dalloc_traits.h114 using _Base_type::destroy;
133 // overload destroy for non-standard pointer types
136 destroy(_Alloc& __a, _Ptr __p) function in struct:__alloc_traits
137 { _Base_type::destroy(__a, std::addressof(*__p)); }
191 static void destroy(_Alloc& __a, pointer __p) function in struct:__alloc_traits
192 { __a.destroy(__p); }
H A Dmalloc_allocator.h126 destroy(_Up* __p) { __p->~_Up(); } function in class:malloc_allocator
135 destroy(pointer __p) { __p->~_Tp(); } function in class:malloc_allocator

Completed in 161 milliseconds

123