Searched refs:unknown_chunk (Results 1 – 9 of 9) sorted by relevance
/external/libpng/ |
D | pngpread.c | 1660 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 …]
|
D | pngrutil.c | 2442 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 …]
|
D | png.c | 508 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()
|
D | png.h | 1591 png_unknown_chunk unknown_chunk PNG_DEPSTRUCT;
|
D | CHANGES | 1715 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/ |
D | pngpread.c | 1494 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()
|
D | png.c | 493 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()
|
D | pngrutil.c | 2208 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()
|
D | png.h | 1406 png_unknown_chunk unknown_chunk; member
|