Searched refs:idat_size (Results 1 – 18 of 18) sorted by relevance
263 png_ptr->idat_size = png_ptr->push_length; in png_push_read_chunk()559 png_ptr->idat_size = png_ptr->push_length; in png_push_read_IDAT()562 if (png_ptr->idat_size != 0 && png_ptr->save_buffer_size != 0) in png_push_read_IDAT()565 png_uint_32 idat_size = png_ptr->idat_size; in png_push_read_IDAT() local573 if (idat_size < save_size) in png_push_read_IDAT()574 save_size = (png_size_t)idat_size; in png_push_read_IDAT()577 idat_size = (png_uint_32)save_size; in png_push_read_IDAT()583 png_ptr->idat_size -= idat_size; in png_push_read_IDAT()589 if (png_ptr->idat_size != 0 && png_ptr->current_buffer_size != 0) in png_push_read_IDAT()592 png_uint_32 idat_size = png_ptr->idat_size; in png_push_read_IDAT() local[all …]
237 png_uint_32 idat_size; /* current IDAT size for read */ member
4019 while (png_ptr->idat_size == 0) in png_read_IDAT_data()4023 png_ptr->idat_size = png_read_chunk_header(png_ptr); in png_read_IDAT_data()4033 if (avail_in > png_ptr->idat_size) in png_read_IDAT_data()4034 avail_in = (uInt)png_ptr->idat_size; in png_read_IDAT_data()4044 png_ptr->idat_size -= avail_in; in png_read_IDAT_data()4094 if (png_ptr->zstream.avail_in > 0 || png_ptr->idat_size > 0) in png_read_IDAT_data()4179 (void)png_crc_finish(png_ptr, png_ptr->idat_size); in png_read_finish_IDAT()
154 png_ptr->idat_size = 0; /* It has been consumed */ in png_read_info()164 png_ptr->idat_size = length; in png_read_info()
1179 Check chunk_length and idat_size for invalid (over PNG_MAX_UINT) lengths.
263 png_ptr->idat_size = png_ptr->push_length; in png_push_read_chunk()556 png_ptr->idat_size = png_ptr->push_length; in png_push_read_IDAT()559 if (png_ptr->idat_size != 0 && png_ptr->save_buffer_size != 0) in png_push_read_IDAT()562 png_uint_32 idat_size = png_ptr->idat_size; in png_push_read_IDAT() local570 if (idat_size < save_size) in png_push_read_IDAT()571 save_size = (png_size_t)idat_size; in png_push_read_IDAT()574 idat_size = (png_uint_32)save_size; in png_push_read_IDAT()580 png_ptr->idat_size -= idat_size; in png_push_read_IDAT()586 if (png_ptr->idat_size != 0 && png_ptr->current_buffer_size != 0) in png_push_read_IDAT()589 png_uint_32 idat_size = png_ptr->idat_size; in png_push_read_IDAT() local[all …]
4017 while (png_ptr->idat_size == 0) in png_read_IDAT_data()4021 png_ptr->idat_size = png_read_chunk_header(png_ptr); in png_read_IDAT_data()4031 if (avail_in > png_ptr->idat_size) in png_read_IDAT_data()4032 avail_in = (uInt)png_ptr->idat_size; in png_read_IDAT_data()4042 png_ptr->idat_size -= avail_in; in png_read_IDAT_data()4092 if (png_ptr->zstream.avail_in > 0 || png_ptr->idat_size > 0) in png_read_IDAT_data()4169 (void)png_crc_finish(png_ptr, png_ptr->idat_size); in png_read_finish_IDAT()
261 png_ptr->idat_size = png_ptr->push_length; in png_push_read_chunk()565 png_ptr->idat_size = png_ptr->push_length; in png_push_read_IDAT()568 if (png_ptr->idat_size != 0 && png_ptr->save_buffer_size != 0) in png_push_read_IDAT()571 png_uint_32 idat_size = png_ptr->idat_size; in png_push_read_IDAT() local579 if (idat_size < save_size) in png_push_read_IDAT()580 save_size = (png_size_t)idat_size; in png_push_read_IDAT()583 idat_size = (png_uint_32)save_size; in png_push_read_IDAT()589 png_ptr->idat_size -= idat_size; in png_push_read_IDAT()595 if (png_ptr->idat_size != 0 && png_ptr->current_buffer_size != 0) in png_push_read_IDAT()598 png_uint_32 idat_size = png_ptr->idat_size; in png_push_read_IDAT() local[all …]
151 png_ptr->idat_size = 0; /* It has been consumed */ in png_read_info()161 png_ptr->idat_size = length; in png_read_info()
330 png_ptr->idat_size = png_ptr->push_length; in png_push_read_chunk()767 png_ptr->idat_size = png_ptr->push_length; in png_push_read_IDAT()769 if (png_ptr->idat_size && png_ptr->save_buffer_size) in png_push_read_IDAT()773 if (png_ptr->idat_size < (png_uint_32)png_ptr->save_buffer_size) in png_push_read_IDAT()775 save_size = (png_size_t)png_ptr->idat_size; in png_push_read_IDAT()778 if ((png_uint_32)save_size != png_ptr->idat_size) in png_push_read_IDAT()788 png_ptr->idat_size -= save_size; in png_push_read_IDAT()793 if (png_ptr->idat_size && png_ptr->current_buffer_size) in png_push_read_IDAT()797 if (png_ptr->idat_size < (png_uint_32)png_ptr->current_buffer_size) in png_push_read_IDAT()799 save_size = (png_size_t)png_ptr->idat_size; in png_push_read_IDAT()[all …]
484 png_ptr->idat_size = length; in png_read_info()737 while (!png_ptr->idat_size) in png_read_row()741 png_ptr->idat_size = png_read_chunk_header(png_ptr); in png_read_row()747 if (png_ptr->zbuf_size > png_ptr->idat_size) in png_read_row()748 png_ptr->zstream.avail_in = (uInt)png_ptr->idat_size; in png_read_row()751 png_ptr->idat_size -= png_ptr->zstream.avail_in; in png_read_row()757 png_ptr->idat_size) in png_read_row()
3121 while (!png_ptr->idat_size) in png_read_finish_row()3128 png_ptr->idat_size = png_get_uint_31(png_ptr, chunk_length); in png_read_finish_row()3137 if (png_ptr->zbuf_size > png_ptr->idat_size) in png_read_finish_row()3138 png_ptr->zstream.avail_in = (uInt)png_ptr->idat_size; in png_read_finish_row()3140 png_ptr->idat_size -= png_ptr->zstream.avail_in; in png_read_finish_row()3146 png_ptr->idat_size) in png_read_finish_row()3168 if (png_ptr->idat_size || png_ptr->zstream.avail_in) in png_read_finish_row()
1063 Check chunk_length and idat_size for invalid (over PNG_MAX_UINT) lengths.
1306 png_uint_32 idat_size PNG_DEPSTRUCT; /* current IDAT size for read */