Home | History | Annotate | Download | only in libpng

Lines Matching defs:memory

496 /* Initialize png_ptr structure, and allocate any memory needed */
509 /* Alternate initialize png_ptr structure, and allocate any memory needed */
937 /* Free any memory used in png_ptr struct without freeing the struct itself. */
943 /* Free any memory zlib uses */
947 /* Free our memory. png_free checks NULL for us. */
965 /* The error handling and memory handling information is left intact at this
971 /* Free all memory used by the write.
1501 return png_image_error(image, "png_image_write_: out of memory");
1517 /* Byte count for memory writing */
1518 png_bytep memory;
1977 png_error(image->opaque->png_ptr, "memory image too large");
2179 memcpy(display->memory+ob, data, size);
2202 /* The rest of the memory-specific init and write_main in an error protected
2204 * since libpng has no built in support for writing to memory.
2213 png_image_write_to_memory(png_imagep image, void *memory,
2225 if (memory == NULL)
2239 display.memory = png_voidcast(png_bytep, memory);
2252 if (memory != NULL && display.output_bytes > *memory_bytes)