Home | History | Annotate | Download | only in libpng16

Lines Matching defs:memory

485 /* Initialize png_ptr structure, and allocate any memory needed */
498 /* Alternate initialize png_ptr structure, and allocate any memory needed */
926 /* Free any memory used in png_ptr struct without freeing the struct itself. */
932 /* Free any memory zlib uses */
936 /* Free our memory. png_free checks NULL for us. */
954 /* The error handling and memory handling information is left intact at this
960 /* Free all memory used by the write.
1490 return png_image_error(image, "png_image_write_: out of memory");
1506 /* Byte count for memory writing */
1507 png_bytep memory;
1964 png_error(image->opaque->png_ptr, "memory image too large");
2166 memcpy(display->memory+ob, data, size);
2189 /* The rest of the memory-specific init and write_main in an error protected
2191 * since libpng has no built in support for writing to memory.
2200 png_image_write_to_memory(png_imagep image, void *memory,
2212 if (memory == NULL)
2226 display.memory = png_voidcast(png_bytep, memory);
2239 if (memory != NULL && display.output_bytes > *memory_bytes)