Home
last modified time | relevance | path

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

/external/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngrutil.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
Dfx_pngread.c881 png_free(png_ptr, png_ptr->unknown_chunk.data); in png_read_destroy()
/external/libpng/
Dpngrutil.c2742 if (png_ptr->unknown_chunk.data != NULL) in png_cache_unknown_chunk()
2744 png_free(png_ptr, png_ptr->unknown_chunk.data); in png_cache_unknown_chunk()
2745 png_ptr->unknown_chunk.data = NULL; in png_cache_unknown_chunk()
2760 PNG_CSTRING_FROM_CHUNK(png_ptr->unknown_chunk.name, png_ptr->chunk_name); in png_cache_unknown_chunk()
2762 png_ptr->unknown_chunk.size = (png_size_t)length/*SAFE*/; in png_cache_unknown_chunk()
2764 png_ptr->unknown_chunk.location = (png_byte)png_ptr->mode/*SAFE*/; in png_cache_unknown_chunk()
2767 png_ptr->unknown_chunk.data = NULL; in png_cache_unknown_chunk()
2772 png_ptr->unknown_chunk.data = png_voidcast(png_bytep, in png_cache_unknown_chunk()
2777 if (png_ptr->unknown_chunk.data == NULL && length > 0) in png_cache_unknown_chunk()
2788 png_crc_read(png_ptr, png_ptr->unknown_chunk.data, length); in png_cache_unknown_chunk()
[all …]
Dpngstruct.h503 png_unknown_chunk unknown_chunk; member
Dpngread.c1102 png_free(png_ptr, png_ptr->unknown_chunk.data); in png_read_destroy()
DCHANGES1873 Added png_ptr->unknown_chunk to hold working unknown chunk data, so it