Lines Matching refs:current_buffer_size
532 if (png_ptr->skip_length && png_ptr->current_buffer_size)
536 if (png_ptr->skip_length < (png_uint_32)png_ptr->current_buffer_size)
539 save_size = png_ptr->current_buffer_size;
545 png_ptr->current_buffer_size -= save_size;
584 if (length && png_ptr->current_buffer_size)
588 if (length < png_ptr->current_buffer_size)
591 save_size = png_ptr->current_buffer_size;
595 png_ptr->current_buffer_size -= save_size;
619 if (png_ptr->save_buffer_size + png_ptr->current_buffer_size >
626 (png_ptr->current_buffer_size + 256))
630 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256;
638 if (png_ptr->current_buffer_size)
641 png_ptr->current_buffer_ptr, png_ptr->current_buffer_size);
642 png_ptr->save_buffer_size += png_ptr->current_buffer_size;
643 png_ptr->current_buffer_size = 0;
654 png_ptr->current_buffer_size = buffer_length;
713 if (png_ptr->idat_size && png_ptr->current_buffer_size)
717 if (png_ptr->idat_size < (png_uint_32)png_ptr->current_buffer_size)
725 save_size = png_ptr->current_buffer_size;
733 png_ptr->current_buffer_size -= save_size;