Home
last modified time | relevance | path

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

/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
/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/opencv3/3rdparty/libpng/
Dpngrutil.c2688 PNG_CSTRING_FROM_CHUNK(png_ptr->unknown_chunk.name, png_ptr->chunk_name); in png_handle_unknown()
2689 png_ptr->unknown_chunk.size = (png_size_t)length; in png_handle_unknown()
2692 png_ptr->unknown_chunk.data = NULL; in png_handle_unknown()
2696 png_ptr->unknown_chunk.data = (png_bytep)png_malloc(png_ptr, length); in png_handle_unknown()
2697 png_crc_read(png_ptr, png_ptr->unknown_chunk.data, length); in png_handle_unknown()
2707 (png_ptr, &png_ptr->unknown_chunk); in png_handle_unknown()
2724 &png_ptr->unknown_chunk, 1); in png_handle_unknown()
2730 png_set_unknown_chunks(png_ptr, info_ptr, &png_ptr->unknown_chunk, 1); in png_handle_unknown()
2732 png_free(png_ptr, png_ptr->unknown_chunk.data); in png_handle_unknown()
2733 png_ptr->unknown_chunk.data = NULL; in png_handle_unknown()
Dpngstruct.h338 png_unknown_chunk unknown_chunk; member
Dpng.c453 if (png_ptr->unknown_chunk.data) in png_free_data()
455 png_free(png_ptr, png_ptr->unknown_chunk.data); in png_free_data()
456 png_ptr->unknown_chunk.data = NULL; in png_free_data()
DCHANGES1873 Added png_ptr->unknown_chunk to hold working unknown chunk data, so it