Lines Matching refs:current_buffer_size
446 if (length != 0 && png_ptr->current_buffer_size != 0) in png_push_fill_buffer()
450 if (length < png_ptr->current_buffer_size) in png_push_fill_buffer()
454 save_size = png_ptr->current_buffer_size; in png_push_fill_buffer()
458 png_ptr->current_buffer_size -= save_size; in png_push_fill_buffer()
482 if (png_ptr->save_buffer_size + png_ptr->current_buffer_size > in png_push_save_buffer()
489 (png_ptr->current_buffer_size + 256)) in png_push_save_buffer()
494 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256; in png_push_save_buffer()
512 if (png_ptr->current_buffer_size) in png_push_save_buffer()
515 png_ptr->current_buffer_ptr, png_ptr->current_buffer_size); in png_push_save_buffer()
516 png_ptr->save_buffer_size += png_ptr->current_buffer_size; in png_push_save_buffer()
517 png_ptr->current_buffer_size = 0; in png_push_save_buffer()
528 png_ptr->current_buffer_size = buffer_length; in png_push_restore_buffer()
590 if (png_ptr->idat_size != 0 && png_ptr->current_buffer_size != 0) in png_push_read_IDAT()
592 png_size_t save_size = png_ptr->current_buffer_size; in png_push_read_IDAT()
612 png_ptr->current_buffer_size -= save_size; in png_push_read_IDAT()