Home
last modified time | relevance | path

Searched refs:free_fn (Results 1 – 25 of 27) sorted by relevance

12

/external/valgrind/coregrind/
Dm_poolalloc.c41 void (*free_fn)(void*); /* pool allocator's free-er */ member
55 void (*free_fn)(void*) ) in VG_()
63 vg_assert(free_fn); in VG_()
72 pa->free_fn = free_fn; in VG_()
73 pa->pools = VG_(newXA)( alloc_fn, cc, free_fn, sizeof(void*) ); in VG_()
84 pa->free_fn (*(UWord **)VG_(indexXA) ( pa->pools, i )); in VG_()
86 pa->free_fn (pa); in VG_()
Dm_rangemap.c53 void (*free_fn) ( void* ); /* free fn */ member
67 void(*free_fn)(void*), in VG_()
72 vg_assert(free_fn); in VG_()
76 rm->free_fn = free_fn; in VG_()
77 rm->ranges = VG_(newXA)( alloc_fn, cc, free_fn, sizeof(Range) ); in VG_()
93 vg_assert(rm->free_fn); in VG_()
96 rm->free_fn(rm); in VG_()
Dm_deduppoolalloc.c47 void (*free_fn)(void*); /* pool allocator's deallocation function */ member
87 void (*free_fn)(void*) ) in VG_()
95 vg_assert(free_fn); in VG_()
103 ddpa->free_fn = free_fn; in VG_()
104 ddpa->pools = VG_(newXA)( alloc_fn, cc, free_fn, sizeof(void*) ); in VG_()
111 free_fn); in VG_()
126 ddpa->free_fn (*(UWord **)VG_(indexXA) ( ddpa->pools, i )); in VG_()
128 ddpa->free_fn (ddpa); in VG_()
164 ddpa->free_fn (ddpa->curpool); in ddpa_add_new_pool_or_grow()
Dm_xarray.c43 void (*free_fn) ( void* ); /* free fn */ member
55 void(*free_fn)(void*), in VG_()
66 vg_assert(free_fn); in VG_()
71 xa->free_fn = free_fn; in VG_()
87 vg_assert(xa->free_fn); in VG_()
114 vg_assert(xa->free_fn); in VG_()
116 xa->free_fn(xa->arr); in VG_()
117 xa->free_fn(xa); in VG_()
184 xa->free_fn(xa->arr); in ensureSpaceXA()
Dm_oset.c117 OSetFree_t free_fn; // deallocator member
290 OSetFree_t free_fn) in VG_()
299 vg_assert(free_fn); in VG_()
307 t->free_fn = free_fn; in VG_()
319 OSetFree_t free_fn, in VG_()
325 t = VG_(OSetGen_Create) (keyOff, cmp, alloc_fn, cc, free_fn); in VG_()
335 t->free_fn); in VG_()
352 t->free_fn = os->free_fn; in VG_()
365 OSetFree_t free_fn) in VG_()
367 return VG_(OSetGen_Create)(/*keyOff*/0, /*cmp*/NULL, alloc_fn, cc, free_fn); in VG_()
[all …]
/external/libpng/
Dpngmem.c235 if (png_ptr->free_fn != NULL) in png_free()
236 png_ptr->free_fn(png_constcast(png_structrp,png_ptr), ptr); in png_free()
258 malloc_fn, png_free_ptr free_fn) in png_set_mem_fn() argument
264 png_ptr->free_fn = free_fn; in png_set_mem_fn()
Dpngstruct.h465 png_free_ptr free_fn; /* function for freeing memory */ member
Dpng.h1099 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn),
1104 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn),
1755 png_malloc_ptr malloc_fn, png_free_ptr free_fn));
Dpng.c227 png_malloc_ptr malloc_fn, png_free_ptr free_fn),PNG_ALLOCATED)
262 png_set_mem_fn(&create_struct, mem_ptr, malloc_fn, free_fn);
266 PNG_UNUSED(free_fn)
Dpngwrite.c492 png_malloc_ptr malloc_fn, png_free_ptr free_fn),PNG_ALLOCATED)
495 error_fn, warn_fn, mem_ptr, malloc_fn, free_fn);
Dpngpriv.h936 png_free_ptr free_fn),PNG_ALLOCATED);
Dpngread.c43 png_malloc_ptr malloc_fn, png_free_ptr free_fn),PNG_ALLOCATED)
46 error_fn, warn_fn, mem_ptr, malloc_fn, free_fn);
/external/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngmem.c242 if (png_ptr->free_fn != NULL) in png_free()
243 png_ptr->free_fn(png_constcast(png_structrp,png_ptr), ptr); in png_free()
266 malloc_fn, png_free_ptr free_fn) in png_set_mem_fn() argument
272 png_ptr->free_fn = free_fn; in png_set_mem_fn()
Dpngstruct.h418 png_free_ptr free_fn; /* function for freeing memory */ member
Dpng.h1333 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn),
1338 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn),
2064 png_malloc_ptr malloc_fn, png_free_ptr free_fn));
Dfx_pngwrite.c491 png_malloc_ptr malloc_fn, png_free_ptr free_fn),PNG_ALLOCATED)
494 error_fn, warn_fn, mem_ptr, malloc_fn, free_fn);
Dfx_png.c225 png_malloc_ptr malloc_fn, png_free_ptr free_fn),PNG_ALLOCATED)
260 png_set_mem_fn(&create_struct, mem_ptr, malloc_fn, free_fn);
Dfx_pngread.c42 png_malloc_ptr malloc_fn, png_free_ptr free_fn),PNG_ALLOCATED)
45 error_fn, warn_fn, mem_ptr, malloc_fn, free_fn);
Dpngpriv.h889 png_free_ptr free_fn),PNG_ALLOCATED);
/external/valgrind/include/
Dpub_tool_oset.h107 OSetFree_t free_fn );
208 OSetFree_t free_fn);
214 OSetFree_t free_fn,
Dpub_tool_poolalloc.h61 void (*free_fn)(void*) );
Dpub_tool_deduppoolalloc.h94 void (*free_fn)(void*) );
Dpub_tool_rangemap.h52 void(*free_fn)(void*),
Dpub_tool_xarray.h59 void(*free_fn)(void*),
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc4674 void (*free_fn)(uptr arg, void *p)) {
4677 free_fn);
4678 int res = REAL(_obstack_begin_1)(obstack, sz, align, alloc_fn, free_fn);
4683 int align, void *(*alloc_fn)(uptr sz), void (*free_fn)(void *p)) {
4686 free_fn);
4687 int res = REAL(_obstack_begin)(obstack, sz, align, alloc_fn, free_fn);

12