Lines Matching refs:save_buffer
677 if (png_ptr->save_buffer_ptr != png_ptr->save_buffer)
684 for (i = 0, sp = png_ptr->save_buffer_ptr, dp = png_ptr->save_buffer;
700 png_error(png_ptr, "Potential overflow of save_buffer");
704 old_buffer = png_ptr->save_buffer;
705 png_ptr->save_buffer = (png_bytep)png_malloc_warn(png_ptr,
707 if (png_ptr->save_buffer == NULL)
710 png_error(png_ptr, "Insufficient memory for save_buffer");
712 png_memcpy(png_ptr->save_buffer, old_buffer, png_ptr->save_buffer_size);
718 png_memcpy(png_ptr->save_buffer + png_ptr->save_buffer_size,
723 png_ptr->save_buffer_ptr = png_ptr->save_buffer;