Home | History | Annotate | Download | only in src

Lines Matching refs:dealloc

46         st_heap_block2 ( dealloc_f dealloc, void *ptr ) 
47 : dealloc_ ( dealloc ), ptr_ ( ptr ), enabled_ ( true ) {}
61 st_heap_block3 ( dealloc_f dealloc, void *ptr, size_t size )
62 : dealloc_ ( dealloc ), ptr_ ( ptr ), size_ ( size ), enabled_ ( true ) {}
138 // Neither alloc nor dealloc may be NULL.
142 void* (*alloc)(size_t), void (*dealloc)(void*) ) {
149 st_heap_block2 heap ( dealloc, heap_block );
171 void* (*alloc)(size_t), void (*dealloc)(void*, size_t) ) {
178 st_heap_block3 heap ( dealloc, heap_block, heap_size );
324 // deallocation instead of the default delete function. If dealloc throws
325 // an exception, the result is undefined. The dealloc pointer may not be
329 void (*destructor)(void*), void (*dealloc)(void*) ) {
334 st_heap_block2 heap ( dealloc, heap_block );
345 // function takes both the object address and its size. If dealloc throws
346 // an exception, the result is undefined. The dealloc pointer may not be
350 void (*destructor)(void*), void (*dealloc) (void*, size_t)) {
357 st_heap_block3 heap ( dealloc, heap_block, heap_block_size );