Home
last modified time | relevance | path

Searched refs:unknown_chunk (Results 1 – 7 of 7) sorted by relevance

/external/pdfium/third_party/lpng_v163/
Dpngrutil.c2704 if (png_ptr->unknown_chunk.data != NULL) in png_cache_unknown_chunk()
2706 png_free(png_ptr, png_ptr->unknown_chunk.data); in png_cache_unknown_chunk()
2707 png_ptr->unknown_chunk.data = NULL; in png_cache_unknown_chunk()
2722 PNG_CSTRING_FROM_CHUNK(png_ptr->unknown_chunk.name, png_ptr->chunk_name); in png_cache_unknown_chunk()
2724 png_ptr->unknown_chunk.size = (png_size_t)length/*SAFE*/; in png_cache_unknown_chunk()
2726 png_ptr->unknown_chunk.location = (png_byte)png_ptr->mode/*SAFE*/; in png_cache_unknown_chunk()
2729 png_ptr->unknown_chunk.data = NULL; in png_cache_unknown_chunk()
2734 png_ptr->unknown_chunk.data = png_voidcast(png_bytep, in png_cache_unknown_chunk()
2739 if (png_ptr->unknown_chunk.data == NULL && length > 0) in png_cache_unknown_chunk()
2750 png_crc_read(png_ptr, png_ptr->unknown_chunk.data, length); in png_cache_unknown_chunk()
[all …]
Dpngstruct.h456 png_unknown_chunk unknown_chunk; member
Dpngread.c881 png_free(png_ptr, png_ptr->unknown_chunk.data); in png_read_destroy()
/external/libpng/
Dpngrutil.c2765 if (png_ptr->unknown_chunk.data != NULL) in png_cache_unknown_chunk()
2767 png_free(png_ptr, png_ptr->unknown_chunk.data); in png_cache_unknown_chunk()
2768 png_ptr->unknown_chunk.data = NULL; in png_cache_unknown_chunk()
2783 PNG_CSTRING_FROM_CHUNK(png_ptr->unknown_chunk.name, png_ptr->chunk_name); in png_cache_unknown_chunk()
2785 png_ptr->unknown_chunk.size = (png_size_t)length/*SAFE*/; in png_cache_unknown_chunk()
2787 png_ptr->unknown_chunk.location = (png_byte)png_ptr->mode/*SAFE*/; in png_cache_unknown_chunk()
2790 png_ptr->unknown_chunk.data = NULL; in png_cache_unknown_chunk()
2795 png_ptr->unknown_chunk.data = png_voidcast(png_bytep, in png_cache_unknown_chunk()
2800 if (png_ptr->unknown_chunk.data == NULL && length > 0) in png_cache_unknown_chunk()
2811 png_crc_read(png_ptr, png_ptr->unknown_chunk.data, length); in png_cache_unknown_chunk()
[all …]
Dpngstruct.h450 png_unknown_chunk unknown_chunk; member
Dpngread.c967 png_free(png_ptr, png_ptr->unknown_chunk.data); in png_read_destroy()
968 png_ptr->unknown_chunk.data = NULL; in png_read_destroy()
DCHANGES1882 Added png_ptr->unknown_chunk to hold working unknown chunk data, so it