Home
last modified time | relevance | path

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

/external/libpng/
Dpngmem.c79 png_destroy_struct_2(png_voidp struct_ptr, png_free_ptr free_fn, in png_destroy_struct_2() argument
86 if (free_fn != NULL) in png_destroy_struct_2()
91 (*(free_fn))(png_ptr, struct_ptr); in png_destroy_struct_2()
297 if (png_ptr->free_fn != NULL) in png_free()
299 (*(png_ptr->free_fn))(png_ptr, ptr); in png_free()
410 png_destroy_struct_2(png_voidp struct_ptr, png_free_ptr free_fn, in png_destroy_struct_2() argument
417 if (free_fn != NULL) in png_destroy_struct_2()
422 (*(free_fn))(png_ptr, struct_ptr); in png_destroy_struct_2()
533 if (png_ptr->free_fn != NULL) in png_free()
535 (*(png_ptr->free_fn))(png_ptr, ptr); in png_free()
[all …]
Dpngwrite.c470 png_malloc_ptr malloc_fn, png_free_ptr free_fn) in png_create_write_struct_2() argument
512 (png_free_ptr)free_fn, (png_voidp)mem_ptr); in png_create_write_struct_2()
524 png_set_mem_fn(png_ptr, mem_ptr, malloc_fn, free_fn); in png_create_write_struct_2()
1045 png_free_ptr free_fn = NULL; in png_destroy_write_struct() local
1055 free_fn = png_ptr->free_fn; in png_destroy_write_struct()
1063 free_fn = png_ptr->free_fn; in png_destroy_write_struct()
1088 png_destroy_struct_2((png_voidp)info_ptr, (png_free_ptr)free_fn, in png_destroy_write_struct()
1100 png_destroy_struct_2((png_voidp)png_ptr, (png_free_ptr)free_fn, in png_destroy_write_struct()
1121 png_free_ptr free_fn; in png_write_destroy() local
1161 free_fn = png_ptr->free_fn; in png_write_destroy()
[all …]
Dpngread.c40 png_malloc_ptr malloc_fn, png_free_ptr free_fn) in png_create_read_struct_2() argument
93 (png_free_ptr)free_fn, (png_voidp)mem_ptr); in png_create_read_struct_2()
105 png_set_mem_fn(png_ptr, mem_ptr, malloc_fn, free_fn); in png_create_read_struct_2()
1294 png_free_ptr free_fn = NULL; in png_destroy_read_struct() local
1306 free_fn = png_ptr->free_fn; in png_destroy_read_struct()
1325 png_destroy_struct_2((png_voidp)info_ptr, (png_free_ptr)free_fn, in png_destroy_read_struct()
1339 png_destroy_struct_2((png_voidp)end_info_ptr, (png_free_ptr)free_fn, in png_destroy_read_struct()
1368 png_destroy_struct_2((png_voidp)png_ptr, (png_free_ptr)free_fn, in png_destroy_read_struct()
1389 png_free_ptr free_fn; in png_read_destroy() local
1507 free_fn = png_ptr->free_fn; in png_read_destroy()
[all …]
Dpng.h1565 png_free_ptr free_fn PNG_DEPSTRUCT; /* function for freeing memory */
1671 png_malloc_ptr malloc_fn, png_free_ptr free_fn)) PNG_ALLOCATED;
1675 png_malloc_ptr malloc_fn, png_free_ptr free_fn)) PNG_ALLOCATED;
2151 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn));
3210 png_free_ptr free_fn, png_voidp mem_ptr)) PNG_PRIVATE;
Dpng.c294 png_destroy_struct_2((png_voidp)info_ptr, png_ptr->free_fn, in png_destroy_info_struct()
Dlibpng-1.2.46.txt2526 void free_fn(png_structp png_ptr, png_voidp ptr);
2532 Your free_fn() will never be called with a NULL ptr, since libpng's
2533 png_free() checks for NULL before calling free_fn().
Dlibpng-1.2.44.txt2526 void free_fn(png_structp png_ptr, png_voidp ptr);
2532 Your free_fn() will never be called with a NULL ptr, since libpng's
2533 png_free() checks for NULL before calling free_fn().
DCHANGES375 Added capability for user-provided malloc_fn() and free_fn() functions,
2020 Do not use png_ptr->free_fn and png_ptr->mem_fn in png_destroy_read_struct()
/external/chromium_org/third_party/libpng/
Dpngmem.c79 png_destroy_struct_2(png_voidp struct_ptr, png_free_ptr free_fn, in png_destroy_struct_2() argument
86 if (free_fn != NULL) in png_destroy_struct_2()
91 (*(free_fn))(png_ptr, struct_ptr); in png_destroy_struct_2()
297 if (png_ptr->free_fn != NULL) in png_free()
299 (*(png_ptr->free_fn))(png_ptr, ptr); in png_free()
410 png_destroy_struct_2(png_voidp struct_ptr, png_free_ptr free_fn, in png_destroy_struct_2() argument
417 if (free_fn != NULL) in png_destroy_struct_2()
422 (*(free_fn))(png_ptr, struct_ptr); in png_destroy_struct_2()
533 if (png_ptr->free_fn != NULL) in png_free()
535 (*(png_ptr->free_fn))(png_ptr, ptr); in png_free()
[all …]
Dpngwrite.c470 png_malloc_ptr malloc_fn, png_free_ptr free_fn) in png_create_write_struct_2() argument
512 (png_free_ptr)free_fn, (png_voidp)mem_ptr); in png_create_write_struct_2()
524 png_set_mem_fn(png_ptr, mem_ptr, malloc_fn, free_fn); in png_create_write_struct_2()
1045 png_free_ptr free_fn = NULL; in png_destroy_write_struct() local
1055 free_fn = png_ptr->free_fn; in png_destroy_write_struct()
1063 free_fn = png_ptr->free_fn; in png_destroy_write_struct()
1088 png_destroy_struct_2((png_voidp)info_ptr, (png_free_ptr)free_fn, in png_destroy_write_struct()
1100 png_destroy_struct_2((png_voidp)png_ptr, (png_free_ptr)free_fn, in png_destroy_write_struct()
1121 png_free_ptr free_fn; in png_write_destroy() local
1161 free_fn = png_ptr->free_fn; in png_write_destroy()
[all …]
Dpngread.c40 png_malloc_ptr malloc_fn, png_free_ptr free_fn) in png_create_read_struct_2() argument
93 (png_free_ptr)free_fn, (png_voidp)mem_ptr); in png_create_read_struct_2()
105 png_set_mem_fn(png_ptr, mem_ptr, malloc_fn, free_fn); in png_create_read_struct_2()
1132 png_free_ptr free_fn = NULL; in png_destroy_read_struct() local
1144 free_fn = png_ptr->free_fn; in png_destroy_read_struct()
1163 png_destroy_struct_2((png_voidp)info_ptr, (png_free_ptr)free_fn, in png_destroy_read_struct()
1177 png_destroy_struct_2((png_voidp)end_info_ptr, (png_free_ptr)free_fn, in png_destroy_read_struct()
1188 png_destroy_struct_2((png_voidp)png_ptr, (png_free_ptr)free_fn, in png_destroy_read_struct()
1209 png_free_ptr free_fn; in png_read_destroy() local
1327 free_fn = png_ptr->free_fn; in png_read_destroy()
[all …]
Dpng.h1512 png_free_ptr free_fn PNG_DEPSTRUCT; /* function for freeing memory */
1615 png_malloc_ptr malloc_fn, png_free_ptr free_fn)) PNG_ALLOCATED;
1619 png_malloc_ptr malloc_fn, png_free_ptr free_fn)) PNG_ALLOCATED;
2079 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn));
3138 png_free_ptr free_fn, png_voidp mem_ptr)) PNG_PRIVATE;
Dpng.c293 png_destroy_struct_2((png_voidp)info_ptr, png_ptr->free_fn, in png_destroy_info_struct()
/external/qemu/distrib/libpng-1.2.19/
Dpngmem.c76 png_destroy_struct_2(png_voidp struct_ptr, png_free_ptr free_fn, in png_destroy_struct_2() argument
83 if(free_fn != NULL) in png_destroy_struct_2()
88 (*(free_fn))(png_ptr, struct_ptr); in png_destroy_struct_2()
283 if (png_ptr->free_fn != NULL) in png_free()
285 (*(png_ptr->free_fn))(png_ptr, ptr); in png_free()
394 png_destroy_struct_2(png_voidp struct_ptr, png_free_ptr free_fn, in png_destroy_struct_2() argument
401 if(free_fn != NULL) in png_destroy_struct_2()
406 (*(free_fn))(png_ptr, struct_ptr); in png_destroy_struct_2()
504 if (png_ptr->free_fn != NULL) in png_free()
506 (*(png_ptr->free_fn))(png_ptr, ptr); in png_free()
[all …]
Dpngread.c34 png_malloc_ptr malloc_fn, png_free_ptr free_fn) in png_create_read_struct_2() argument
81 (png_free_ptr)free_fn, (png_voidp)mem_ptr); in png_create_read_struct_2()
93 png_set_mem_fn(png_ptr, mem_ptr, malloc_fn, free_fn); in png_create_read_struct_2()
1108 png_free_ptr free_fn; in png_destroy_read_struct() local
1123 free_fn = png_ptr->free_fn; in png_destroy_read_struct()
1136 png_destroy_struct_2((png_voidp)info_ptr, (png_free_ptr)free_fn, in png_destroy_read_struct()
1150 png_destroy_struct_2((png_voidp)end_info_ptr, (png_free_ptr)free_fn, in png_destroy_read_struct()
1161 png_destroy_struct_2((png_voidp)png_ptr, (png_free_ptr)free_fn, in png_destroy_read_struct()
1181 png_free_ptr free_fn; in png_read_destroy() local
1297 free_fn = png_ptr->free_fn; in png_read_destroy()
[all …]
Dpngwrite.c437 png_malloc_ptr malloc_fn, png_free_ptr free_fn) in png_create_write_struct_2() argument
489 png_set_mem_fn(png_ptr, mem_ptr, malloc_fn, free_fn); in png_create_write_struct_2()
1005 png_free_ptr free_fn = NULL; in png_destroy_write_struct() local
1014 free_fn = png_ptr->free_fn; in png_destroy_write_struct()
1036 png_destroy_struct_2((png_voidp)info_ptr, (png_free_ptr)free_fn, in png_destroy_write_struct()
1048 png_destroy_struct_2((png_voidp)png_ptr, (png_free_ptr)free_fn, in png_destroy_write_struct()
1069 png_free_ptr free_fn; in png_write_destroy() local
1106 free_fn = png_ptr->free_fn; in png_write_destroy()
1115 png_ptr->free_fn = free_fn; in png_write_destroy()
Dpng.h1380 png_free_ptr free_fn; /* function for freeing memory */ member
1474 png_malloc_ptr malloc_fn, png_free_ptr free_fn));
1478 png_malloc_ptr malloc_fn, png_free_ptr free_fn));
1934 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn));
2923 png_free_ptr free_fn, png_voidp mem_ptr));
Dpng.c282 png_destroy_struct_2((png_voidp)info_ptr, png_ptr->free_fn, in png_destroy_info_struct()
/external/valgrind/main/coregrind/
Dm_poolalloc.c55 void (*free_fn)(void*) ) in VG_()
63 vg_assert(free_fn); in VG_()
73 pa->free = free_fn; in VG_()
74 pa->pools = VG_(newXA)( alloc, cc, free_fn, sizeof(void*) ); in VG_()
Dm_xarray.c55 void(*free_fn)(void*), in VG_()
66 vg_assert(free_fn); in VG_()
72 xa->free = free_fn; in VG_()
/external/kernel-headers/original/linux/
Dmempool.h27 mempool_free_t *free_fn, void *pool_data);
29 mempool_free_t *free_fn, void *pool_data, int nid);
/external/valgrind/main/include/
Dpub_tool_poolalloc.h58 void (*free_fn)(void*) );
Dpub_tool_xarray.h54 void(*free_fn)(void*),