Home | History | Annotate | Download | only in libpng-1.2.19

Lines Matching refs:malloc_fn

37 png_create_struct_2(int type, png_malloc_ptr malloc_fn, png_voidp mem_ptr)
51 if(malloc_fn != NULL)
56 struct_ptr = (*(malloc_fn))(png_ptr, (png_uint_32)size);
125 if(png_ptr->malloc_fn != NULL)
126 ret = ((png_voidp)(*(png_ptr->malloc_fn))(png_ptr, (png_size_t)size));
342 png_create_struct_2(int type, png_malloc_ptr malloc_fn, png_voidp mem_ptr)
356 if(malloc_fn != NULL)
361 struct_ptr = (*(malloc_fn))(png_ptr, size);
437 if(png_ptr->malloc_fn != NULL)
438 ret = ((png_voidp)(*(png_ptr->malloc_fn))(png_ptr, (png_size_t)size));
588 malloc_fn, png_free_ptr free_fn)
592 png_ptr->malloc_fn = malloc_fn;