Home | History | Annotate | Download | only in libpng

Lines Matching refs:save_size

431       png_size_t save_size;
434 save_size = length;
437 save_size = png_ptr->save_buffer_size;
439 memcpy(ptr, png_ptr->save_buffer_ptr, save_size);
440 length -= save_size;
441 ptr += save_size;
442 png_ptr->buffer_size -= save_size;
443 png_ptr->save_buffer_size -= save_size;
444 png_ptr->save_buffer_ptr += save_size;
448 png_size_t save_size;
451 save_size = length;
454 save_size = png_ptr->current_buffer_size;
456 memcpy(ptr, png_ptr->current_buffer_ptr, save_size);
457 png_ptr->buffer_size -= save_size;
458 png_ptr->current_buffer_size -= save_size;
459 png_ptr->current_buffer_ptr += save_size;
565 png_size_t save_size = png_ptr->save_buffer_size;
574 if (idat_size < save_size)
575 save_size = (png_size_t)idat_size;
578 idat_size = (png_uint_32)save_size;
580 png_calculate_crc(png_ptr, png_ptr->save_buffer_ptr, save_size);
582 png_process_IDAT_data(png_ptr, png_ptr->save_buffer_ptr, save_size);
585 png_ptr->buffer_size -= save_size;
586 save_size;
587 png_ptr->save_buffer_ptr += save_size;
592 png_size_t save_size = png_ptr->current_buffer_size;
600 if (idat_size < save_size)
601 save_size = (png_size_t)idat_size;
604 idat_size = (png_uint_32)save_size;
606 png_calculate_crc(png_ptr, png_ptr->current_buffer_ptr, save_size);
608 png_process_IDAT_data(png_ptr, png_ptr->current_buffer_ptr, save_size);
611 png_ptr->buffer_size -= save_size;
612 png_ptr->current_buffer_size -= save_size;
613 png_ptr->current_buffer_ptr += save_size;