Home
last modified time | relevance | path

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

/external/syslinux/com32/lib/libpng/
Dpngpread.c1660 png_memcpy((png_charp)png_ptr->unknown_chunk.name, in png_push_handle_unknown()
1662 png_sizeof(png_ptr->unknown_chunk.name)); in png_push_handle_unknown()
1663 png_ptr->unknown_chunk.name[png_sizeof(png_ptr->unknown_chunk.name) - 1] in png_push_handle_unknown()
1666 png_ptr->unknown_chunk.size = (png_size_t)length; in png_push_handle_unknown()
1669 png_ptr->unknown_chunk.data = NULL; in png_push_handle_unknown()
1673 png_ptr->unknown_chunk.data = (png_bytep)png_malloc(png_ptr, in png_push_handle_unknown()
1675 png_crc_read(png_ptr, (png_bytep)png_ptr->unknown_chunk.data, length); in png_push_handle_unknown()
1684 (png_ptr, &png_ptr->unknown_chunk); in png_push_handle_unknown()
1696 &png_ptr->unknown_chunk, 1); in png_push_handle_unknown()
1702 png_set_unknown_chunks(png_ptr, info_ptr, &png_ptr->unknown_chunk, 1); in png_push_handle_unknown()
[all …]
Dpngrutil.c2417 png_memcpy((png_charp)png_ptr->unknown_chunk.name, in png_handle_unknown()
2419 png_sizeof(png_ptr->unknown_chunk.name)); in png_handle_unknown()
2420 png_ptr->unknown_chunk.name[png_sizeof(png_ptr->unknown_chunk.name)-1] in png_handle_unknown()
2422 png_ptr->unknown_chunk.size = (png_size_t)length; in png_handle_unknown()
2424 png_ptr->unknown_chunk.data = NULL; in png_handle_unknown()
2427 png_ptr->unknown_chunk.data = (png_bytep)png_malloc(png_ptr, length); in png_handle_unknown()
2428 png_crc_read(png_ptr, (png_bytep)png_ptr->unknown_chunk.data, length); in png_handle_unknown()
2436 (png_ptr, &png_ptr->unknown_chunk); in png_handle_unknown()
2448 &png_ptr->unknown_chunk, 1); in png_handle_unknown()
2453 png_set_unknown_chunks(png_ptr, info_ptr, &png_ptr->unknown_chunk, 1); in png_handle_unknown()
[all …]
Dpng.c508 if (png_ptr->unknown_chunk.data) in png_free_data()
510 png_free(png_ptr, png_ptr->unknown_chunk.data); in png_free_data()
511 png_ptr->unknown_chunk.data = NULL; in png_free_data()
DCHANGES1715 Added png_ptr->unknown_chunk to hold working unknown chunk data, so it
1950 errors with sizeof(unknown_chunk.name), bugs introduced in 1.2.19beta11
/external/pdfium/third_party/libpng16/
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.c977 png_free(png_ptr, png_ptr->unknown_chunk.data); in png_read_destroy()
978 png_ptr->unknown_chunk.data = NULL; in png_read_destroy()
/external/skia/third_party/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()
/external/libpng/
Dpngrutil.c2767 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()
[all …]
Dpngstruct.h450 png_unknown_chunk unknown_chunk; member
Dpngread.c977 png_free(png_ptr, png_ptr->unknown_chunk.data); in png_read_destroy()
978 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/syslinux/com32/include/
Dpng.h1533 png_unknown_chunk unknown_chunk PNG_DEPSTRUCT;