Lines Matching refs:png_malloc
1191 row_pointers = png_malloc(png_ptr,
1198 row_pointers[i]=png_malloc(png_ptr,
1212 png_bytep buffer=png_malloc(png_ptr,height*width*pixel_size);
2469 or so that it will free data that was allocated by the user with png_malloc()
2490 for data that the user has allocated, the user must have used png_malloc()
3727 or so that it will free data that was allocated by the user with png_malloc()
3763 for data that the user has allocated, the user must have used png_malloc()
4208 Memory allocation is done through the functions png_malloc(), png_calloc(),
4209 and png_free(). The png_malloc() and png_free() functions currently just
4210 call the standard C functions and png_calloc() calls png_malloc() and then
4230 Your malloc_fn() must return NULL in case of failure. The png_malloc()
4372 you may also have to change the memory allocators (png_malloc, etc.).
4773 We changed the prototype for png_malloc() from
4774 png_malloc(png_structp png_ptr, png_uint_32 size)
4776 png_malloc(png_structp png_ptr, png_alloc_size_t size)
4781 of "png_malloc(); memset();" except in the case in png_read_png()
4783 after the png_malloc() to set the pointers to NULL, to give robust.