Searched refs:idat_size (Results 1 – 15 of 15) sorted by relevance
264 png_ptr->idat_size = png_ptr->push_length; in png_push_read_chunk()560 png_ptr->idat_size = png_ptr->push_length; in png_push_read_IDAT()563 if (png_ptr->idat_size != 0 && png_ptr->save_buffer_size != 0) in png_push_read_IDAT()566 png_uint_32 idat_size = png_ptr->idat_size; in png_push_read_IDAT() local574 if (idat_size < save_size) in png_push_read_IDAT()575 save_size = (size_t)idat_size; in png_push_read_IDAT()578 idat_size = (png_uint_32)save_size; in png_push_read_IDAT()584 png_ptr->idat_size -= idat_size; in png_push_read_IDAT()590 if (png_ptr->idat_size != 0 && png_ptr->current_buffer_size != 0) in png_push_read_IDAT()593 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
4169 while (png_ptr->idat_size == 0) in png_read_IDAT_data()4173 png_ptr->idat_size = png_read_chunk_header(png_ptr); in png_read_IDAT_data()4183 if (avail_in > png_ptr->idat_size) in png_read_IDAT_data()4184 avail_in = (uInt)png_ptr->idat_size; in png_read_IDAT_data()4194 png_ptr->idat_size -= avail_in; in png_read_IDAT_data()4244 if (png_ptr->zstream.avail_in > 0 || png_ptr->idat_size > 0) in png_read_IDAT_data()4321 (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()
1178 Check chunk_length and idat_size for invalid (over PNG_MAX_UINT) lengths.