Lines Matching refs:save_buffer_size
69 if (png_ptr->save_buffer_size < remaining) in png_process_data_pause()
70 return remaining - png_ptr->save_buffer_size; in png_process_data_pause()
428 if (png_ptr->save_buffer_size != 0) in png_push_fill_buffer()
432 if (length < png_ptr->save_buffer_size) in png_push_fill_buffer()
436 save_size = png_ptr->save_buffer_size; in png_push_fill_buffer()
442 png_ptr->save_buffer_size -= save_size; in png_push_fill_buffer()
465 if (png_ptr->save_buffer_size != 0) in png_push_save_buffer()
473 istop = png_ptr->save_buffer_size; in png_push_save_buffer()
481 if (png_ptr->save_buffer_size + png_ptr->current_buffer_size > in png_push_save_buffer()
487 if (png_ptr->save_buffer_size > PNG_SIZE_MAX - in png_push_save_buffer()
493 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256; in png_push_save_buffer()
505 memcpy(png_ptr->save_buffer, old_buffer, png_ptr->save_buffer_size); in png_push_save_buffer()
506 else if (png_ptr->save_buffer_size) in png_push_save_buffer()
513 memcpy(png_ptr->save_buffer + png_ptr->save_buffer_size, in png_push_save_buffer()
515 png_ptr->save_buffer_size += png_ptr->current_buffer_size; in png_push_save_buffer()
528 png_ptr->buffer_size = buffer_length + png_ptr->save_buffer_size; in png_push_restore_buffer()
562 if (png_ptr->idat_size != 0 && png_ptr->save_buffer_size != 0) in png_push_read_IDAT()
564 png_size_t save_size = png_ptr->save_buffer_size; in png_push_read_IDAT()
585 png_ptr->save_buffer_size -= save_size; in png_push_read_IDAT()