Lines Matching refs:buffer_size
32 png_bytep buffer, png_size_t buffer_size) in png_process_data() argument
37 png_push_restore_buffer(png_ptr, buffer, buffer_size); in png_process_data()
39 while (png_ptr->buffer_size) in png_process_data()
106 png_ptr->buffer_size = 0; in png_process_some_data()
124 if (png_ptr->buffer_size < num_to_check) in png_push_read_sig()
126 num_to_check = png_ptr->buffer_size; in png_push_read_sig()
221 if (png_ptr->buffer_size < 8) in png_push_read_chunk()
244 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
255 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
270 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
298 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
344 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
357 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
370 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
383 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
396 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
409 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
422 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
435 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
448 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
461 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
474 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
487 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
500 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
513 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
526 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
539 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
552 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
564 if (png_ptr->push_length + 4 > png_ptr->buffer_size) in png_push_read_chunk()
597 png_ptr->buffer_size -= save_size; in png_push_crc_finish()
613 png_ptr->buffer_size -= save_size; in png_push_crc_finish()
619 if (png_ptr->buffer_size < 4) in png_push_crc_finish()
651 png_ptr->buffer_size -= save_size; in png_push_fill_buffer()
666 png_ptr->buffer_size -= save_size; in png_push_fill_buffer()
724 png_ptr->buffer_size = 0; in png_push_save_buffer()
733 png_ptr->buffer_size = buffer_length + png_ptr->save_buffer_size; in png_push_restore_buffer()
747 if (png_ptr->buffer_size < 8) in png_push_read_IDAT()
789 png_ptr->buffer_size -= save_size; in png_push_read_IDAT()
813 png_ptr->buffer_size -= save_size; in png_push_read_IDAT()
819 if (png_ptr->buffer_size < 4) in png_push_read_IDAT()
1238 if (png_ptr->buffer_size && png_ptr->current_text_left) in png_push_read_tEXt()
1242 if (png_ptr->buffer_size < png_ptr->current_text_left) in png_push_read_tEXt()
1243 text_size = png_ptr->buffer_size; in png_push_read_tEXt()
1259 if (png_ptr->buffer_size < 4) in png_push_read_tEXt()
1338 if (png_ptr->buffer_size && png_ptr->current_text_left) in png_push_read_zTXt()
1342 if (png_ptr->buffer_size < (png_uint_32)png_ptr->current_text_left) in png_push_read_zTXt()
1343 text_size = png_ptr->buffer_size; in png_push_read_zTXt()
1360 if (png_ptr->buffer_size < 4) in png_push_read_zTXt()
1538 if (png_ptr->buffer_size && png_ptr->current_text_left) in png_push_read_iTXt()
1542 if (png_ptr->buffer_size < png_ptr->current_text_left) in png_push_read_iTXt()
1543 text_size = png_ptr->buffer_size; in png_push_read_iTXt()
1562 if (png_ptr->buffer_size < 4) in png_push_read_iTXt()