Home
last modified time | relevance | path

Searched refs:deallocator (Results 1 – 22 of 22) sorted by relevance

/netbsd-src/external/mpl/bind/dist/lib/isc/include/isc/
H A Dattributes.h49 * Associates deallocator as a suitable deallocation function
52 #define ISC_ATTR_DEALLOCATOR(deallocator) __attribute__((malloc(deallocator)))
56 * in calls to deallocator has the effect of deallocating it.
58 #define ISC_ATTR_DEALLOCATOR_IDX(deallocator, idx) \
59 __attribute__((malloc(deallocator, idx)))
63 #define ISC_ATTR_MALLOC_DEALLOCATOR(deallocator) \
64 __attribute__((malloc, malloc(deallocator)))
68 * in calls to deallocator has the effect of deallocating it.
70 #define ISC_ATTR_MALLOC_DEALLOCATOR_IDX(deallocator, id argument
44 ISC_ATTR_DEALLOCATOR(deallocator) global() argument
50 ISC_ATTR_DEALLOCATOR_IDX(deallocator,idx) global() argument
55 ISC_ATTR_MALLOC_DEALLOCATOR(deallocator) global() argument
62 ISC_ATTR_MALLOC_DEALLOCATOR_IDX(deallocator,idx) global() argument
71 ISC_ATTR_DEALLOCATOR_IDX(deallocator,idx) global() argument
72 ISC_ATTR_MALLOC_DEALLOCATOR(deallocator) global() argument
73 ISC_ATTR_MALLOC_DEALLOCATOR_IDX(deallocator,idx) global() argument
80 ISC_ATTR_DEALLOCATOR(deallocator) global() argument
81 ISC_ATTR_DEALLOCATOR_IDX(deallocator,idx) global() argument
82 ISC_ATTR_MALLOC_DEALLOCATOR(deallocator) global() argument
83 ISC_ATTR_MALLOC_DEALLOCATOR_IDX(deallocator,idx) global() argument
[all...]
/netbsd-src/external/bsd/nsd/dist/
H A Dregion-allocator.c68 void (*deallocator)(void *); member
90 void (*deallocator)(void *), in alloc_region_base()
110 result->deallocator = deallocator; in alloc_region_base()
118 deallocator(result); in alloc_region_base()
129 void (*deallocator)(void *)) in region_create()
131 region_type* result = alloc_region_base(allocator, deallocator, in region_create()
137 deallocator(result->cleanups); in region_create()
138 deallocator(result); in region_create()
148 void (*deallocator)(void *), in region_create_custom()
154 region_type* result = alloc_region_base(allocator, deallocator, in region_create_custom()
[all …]
H A Dregion-allocator.h42 void (*deallocator)(void *));
55 void (*deallocator)(void *),
/netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/
H A Dsm-malloc.cc79 class deallocator;
125 const deallocator *deallocator) in allocation_state()
128 m_deallocator (deallocator) in allocation_state()
137 const deallocator *m_deallocator;
155 struct deallocator struct
159 static int cmp (const deallocator *a, const deallocator *b);
172 deallocator (malloc_state_machine *sm,
181 struct standard_deallocator : public deallocator
192 struct custom_deallocator : public deallocator
197 : deallocator (sm, IDENTIFIER_POINTER (DECL_NAME (deallocator_fndecl)), in custom_deallocator()
[all …]
H A DChangeLog3214 deallocator and deallocator_set.
3216 "deallocators" and "deallocator".
3221 (struct deallocator): New.
3243 (deallocator::deallocator): New ctor.
3244 (deallocator::hash): New.
3245 (deallocator::dump_to_pp): New.
3246 (deallocator::cmp): New.
3247 (deallocator::cmp_ptr_ptr): New.
3261 to deallocator_set and deallocator.
3264 deallocator_set and deallocator.
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/include/isc/
H A Dutil.h400 #define ISC_ATTR_DEALLOCATOR(deallocator) __attribute__((malloc(deallocator))) argument
406 #define ISC_ATTR_DEALLOCATOR_IDX(deallocator, idx) \ argument
407 __attribute__((malloc(deallocator, idx)))
411 #define ISC_ATTR_MALLOC_DEALLOCATOR(deallocator) \ argument
412 __attribute__((malloc, malloc(deallocator)))
418 #define ISC_ATTR_MALLOC_DEALLOCATOR_IDX(deallocator, idx) \ argument
419 __attribute__((malloc, malloc(deallocator, idx)))
426 #define ISC_ATTR_DEALLOCATOR(deallocator) argument
427 #define ISC_ATTR_DEALLOCATOR_IDX(deallocator, idx) argument
428 #define ISC_ATTR_MALLOC_DEALLOCATOR(deallocator) ISC_ATTR_MALLOC argument
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/docs/analyzer/checkers/
H A Dseckeychainapi_example.m62 // warn: deallocator doesn't match the allocator
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/
H A Dlifetime.d158 if (c.deallocator)
160 fp_t fp = cast(fp_t)c.deallocator;
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/rt/
H A Dlifetime.d149 if (c.deallocator)
151 fp_t fp = cast(fp_t)c.deallocator;
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/
H A Dobject.d958 void* deallocator; variable
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/
H A Dobject.d1638 void* deallocator; variable
/netbsd-src/external/gpl3/gcc/dist/gcc/doc/
H A Dextend.texi3343 @item malloc (@var{deallocator})
3344 @item malloc (@var{deallocator}, @var{ptr-index})
3355 associates @code{deallocator} as a suitable deallocation function for
3358 calls to @code{deallocator} has the effect of deallocating it.
3369 Associating a function with a @var{deallocator} helps detect calls to
3375 has a deallocator associated with it, both the plain form of the attribute
3376 and the one with the @var{deallocator} argument must be used. The same
3377 function can be both an allocator and a deallocator. Since inlining one
3385 a suitable deallocator for pointers returned from all functions except
3386 @code{popen}, and @code{pclose} as the only suitable deallocator for
[all …]
H A Dgcc.info4043 which the 'operator delete' isn't a suitable deallocator, as well
6252 a suitable deallocator. A pair of functions can be associated as
6258 the following example 'mydealloc' is the deallocator for pointers
6270 free (p); // warning: not a matching deallocator for myalloc
8803 can have a deallocator called on it more than once, either 'free',
8804 or a deallocator referenced by attribute 'malloc'.
8845 vector 'delete[]', and those marked as allocator/deallocator pairs
8990 is used after a deallocator is called on it: either 'free', or a
8991 deallocator referenced by attribute 'malloc'.
35267 associates 'deallocator' as a suitable deallocation function for
[all …]
H A Dinvoke.texi4093 a suitable deallocator, as well as calls to other deallocation functions
6683 deallocator. A pair of functions can be associated as matching allocators
6689 example @code{mydealloc} is the deallocator for pointers returned from
6702 free (p); // warning: not a matching deallocator for myalloc
9736 can have a deallocator called on it more than once, either @code{free},
9737 or a deallocator referenced by attribute @code{malloc}.
9792 and vector @code{delete[]}, and those marked as allocator/deallocator
9964 pointer is used after a deallocator is called on it: either @code{free},
9965 or a deallocator referenced by attribute @code{malloc}.
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/
H A DChangeLog-20193760 to the deallocator with -fsized-deallocation.
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DDiagnosticSemaKinds.td7432 "%select{destructor|deallocator}0 has a %select{non-throwing|implicit "
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/i386/
H A Di386.md19767 ;; Convert epilogue deallocator to pop.
/netbsd-src/external/gpl3/gcc/dist/
H A DNEWS1257 can be used to identify allocator/deallocator API pairs. A
1739 allocator/deallocator API pairs. The analyzer will use these
H A DMD5SUMS17521 95067cc6cbb914db1b82a04ba4c5eef4 gcc/testsuite/g++.dg/debug/dwarf2/deallocator.C
/netbsd-src/external/gpl3/gcc/dist/gcc/config/i386/
H A Di386.md22572 ;; Convert epilogue deallocator to pop.
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A DChangeLog-20128572 deallocator.
/netbsd-src/external/gpl3/gcc.old/dist/
H A DMD5SUMS15758 ab8980eae15554e92e57b8e4ddfc3d38 gcc/testsuite/g++.dg/debug/dwarf2/deallocator.C