Home
last modified time | relevance | path

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

/external/libpng/
Dpngpread.c261 png_ptr->idat_size = png_ptr->push_length; in png_push_read_chunk()
554 png_ptr->idat_size = png_ptr->push_length; in png_push_read_IDAT()
557 if (png_ptr->idat_size != 0 && png_ptr->save_buffer_size != 0) in png_push_read_IDAT()
560 png_uint_32 idat_size = png_ptr->idat_size; in png_push_read_IDAT() local
568 if (idat_size < save_size) in png_push_read_IDAT()
569 save_size = (png_size_t)idat_size; in png_push_read_IDAT()
572 idat_size = (png_uint_32)save_size; in png_push_read_IDAT()
578 png_ptr->idat_size -= idat_size; in png_push_read_IDAT()
584 if (png_ptr->idat_size != 0 && png_ptr->current_buffer_size != 0) in png_push_read_IDAT()
587 png_uint_32 idat_size = png_ptr->idat_size; in png_push_read_IDAT() local
[all …]
Dpngstruct.h237 png_uint_32 idat_size; /* current IDAT size for read */ member
Dpngrutil.c4017 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()
Dpngread.c151 png_ptr->idat_size = 0; /* It has been consumed */ in png_read_info()
161 png_ptr->idat_size = length; in png_read_info()
DCHANGES1179 Check chunk_length and idat_size for invalid (over PNG_MAX_UINT) lengths.
/external/pdfium/third_party/lpng_v163/
Dpngpread.c301 png_ptr->idat_size = png_ptr->push_length; in png_push_read_chunk()
756 png_ptr->idat_size = png_ptr->push_length; in png_push_read_IDAT()
759 if (png_ptr->idat_size && png_ptr->save_buffer_size) in png_push_read_IDAT()
762 png_uint_32 idat_size = png_ptr->idat_size; in png_push_read_IDAT() local
770 if (idat_size < save_size) in png_push_read_IDAT()
771 save_size = (png_size_t)idat_size; in png_push_read_IDAT()
774 idat_size = (png_uint_32)save_size; in png_push_read_IDAT()
780 png_ptr->idat_size -= idat_size; in png_push_read_IDAT()
786 if (png_ptr->idat_size && png_ptr->current_buffer_size) in png_push_read_IDAT()
789 png_uint_32 idat_size = png_ptr->idat_size; in png_push_read_IDAT() local
[all …]
Dpngstruct.h236 png_uint_32 idat_size; /* current IDAT size for read */ member
Dpngrutil.c3952 while (png_ptr->idat_size == 0) in png_read_IDAT_data()
3956 png_ptr->idat_size = png_read_chunk_header(png_ptr); in png_read_IDAT_data()
3966 if (avail_in > png_ptr->idat_size) in png_read_IDAT_data()
3967 avail_in = (uInt)png_ptr->idat_size; in png_read_IDAT_data()
3977 png_ptr->idat_size -= avail_in; in png_read_IDAT_data()
4027 if (png_ptr->zstream.avail_in > 0 || png_ptr->idat_size > 0) in png_read_IDAT_data()
4104 (void)png_crc_finish(png_ptr, png_ptr->idat_size); in png_read_finish_IDAT()
Dpngread.c150 png_ptr->idat_size = 0; /* It has been consumed */ in png_read_info()
160 png_ptr->idat_size = length; in png_read_info()