Home
last modified time | relevance | path

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

/external/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.c2442 png_memcpy((png_charp)png_ptr->unknown_chunk.name, in png_handle_unknown()
2444 png_sizeof(png_ptr->unknown_chunk.name)); in png_handle_unknown()
2445 png_ptr->unknown_chunk.name[png_sizeof(png_ptr->unknown_chunk.name)-1] in png_handle_unknown()
2447 png_ptr->unknown_chunk.size = (png_size_t)length; in png_handle_unknown()
2449 png_ptr->unknown_chunk.data = NULL; in png_handle_unknown()
2452 png_ptr->unknown_chunk.data = (png_bytep)png_malloc(png_ptr, length); in png_handle_unknown()
2453 png_crc_read(png_ptr, (png_bytep)png_ptr->unknown_chunk.data, length); in png_handle_unknown()
2461 (png_ptr, &png_ptr->unknown_chunk); in png_handle_unknown()
2473 &png_ptr->unknown_chunk, 1); in png_handle_unknown()
2478 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()
Dpng.h1591 png_unknown_chunk unknown_chunk PNG_DEPSTRUCT;
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/qemu/distrib/libpng-1.2.19/
Dpngpread.c1494 png_strncpy((png_charp)png_ptr->unknown_chunk.name, in png_push_handle_unknown()
1497 png_ptr->unknown_chunk.data = (png_bytep)png_malloc(png_ptr, length); in png_push_handle_unknown()
1498 png_ptr->unknown_chunk.size = (png_size_t)length; in png_push_handle_unknown()
1499 png_crc_read(png_ptr, (png_bytep)png_ptr->unknown_chunk.data, length); in png_push_handle_unknown()
1506 (png_ptr, &png_ptr->unknown_chunk); in png_push_handle_unknown()
1516 &png_ptr->unknown_chunk, 1); in png_push_handle_unknown()
1520 png_set_unknown_chunks(png_ptr, info_ptr, &png_ptr->unknown_chunk, 1); in png_push_handle_unknown()
1522 png_free(png_ptr, png_ptr->unknown_chunk.data); in png_push_handle_unknown()
1523 png_ptr->unknown_chunk.data = NULL; in png_push_handle_unknown()
Dpng.c493 if(png_ptr->unknown_chunk.data) in png_free_data()
495 png_free(png_ptr, png_ptr->unknown_chunk.data); in png_free_data()
496 png_ptr->unknown_chunk.data = NULL; in png_free_data()
Dpngrutil.c2208 png_strncpy((png_charp)png_ptr->unknown_chunk.name, in png_handle_unknown()
2211 png_ptr->unknown_chunk.data = (png_bytep)png_malloc(png_ptr, length); in png_handle_unknown()
2212 png_ptr->unknown_chunk.size = (png_size_t)length; in png_handle_unknown()
2213 png_crc_read(png_ptr, (png_bytep)png_ptr->unknown_chunk.data, length); in png_handle_unknown()
2220 (png_ptr, &png_ptr->unknown_chunk); in png_handle_unknown()
2230 &png_ptr->unknown_chunk, 1); in png_handle_unknown()
2234 png_set_unknown_chunks(png_ptr, info_ptr, &png_ptr->unknown_chunk, 1); in png_handle_unknown()
2236 png_free(png_ptr, png_ptr->unknown_chunk.data); in png_handle_unknown()
2237 png_ptr->unknown_chunk.data = NULL; in png_handle_unknown()
Dpng.h1406 png_unknown_chunk unknown_chunk; member