Lines Matching refs:unknown_chunk
2767 if (png_ptr->unknown_chunk.data != NULL) in png_cache_unknown_chunk()
2769 png_free(png_ptr, png_ptr->unknown_chunk.data); in png_cache_unknown_chunk()
2770 png_ptr->unknown_chunk.data = NULL; in png_cache_unknown_chunk()
2785 PNG_CSTRING_FROM_CHUNK(png_ptr->unknown_chunk.name, png_ptr->chunk_name); in png_cache_unknown_chunk()
2787 png_ptr->unknown_chunk.size = (png_size_t)length/*SAFE*/; in png_cache_unknown_chunk()
2789 png_ptr->unknown_chunk.location = (png_byte)png_ptr->mode/*SAFE*/; in png_cache_unknown_chunk()
2792 png_ptr->unknown_chunk.data = NULL; in png_cache_unknown_chunk()
2797 png_ptr->unknown_chunk.data = png_voidcast(png_bytep, in png_cache_unknown_chunk()
2802 if (png_ptr->unknown_chunk.data == NULL && length > 0) in png_cache_unknown_chunk()
2813 png_crc_read(png_ptr, png_ptr->unknown_chunk.data, length); in png_cache_unknown_chunk()
2861 &png_ptr->unknown_chunk); in png_handle_unknown()
2990 &png_ptr->unknown_chunk, 1); in png_handle_unknown()
3005 if (png_ptr->unknown_chunk.data != NULL) in png_handle_unknown()
3006 png_free(png_ptr, png_ptr->unknown_chunk.data); in png_handle_unknown()
3007 png_ptr->unknown_chunk.data = NULL; in png_handle_unknown()