Home | History | Annotate | Download | only in libpng

Lines Matching refs:zstream

334       png_ptr->zstream.avail_out =
337 png_ptr->zstream.next_out = png_ptr->row_buf;
843 png_ptr->zstream.next_in = buffer;
844 png_ptr->zstream.avail_in = (uInt)buffer_length;
849 while (png_ptr->zstream.avail_in > 0 &&
859 if (!(png_ptr->zstream.avail_out > 0))
861 png_ptr->zstream.avail_out =
864 png_ptr->zstream.next_out = png_ptr->row_buf;
874 ret = inflate(&png_ptr->zstream, Z_SYNC_FLUSH);
896 if (png_ptr->zstream.next_out != png_ptr->row_buf)
915 if (png_ptr->zstream.avail_out == 0)
928 if (png_ptr->zstream.avail_in > 0)
1392 png_ptr->zstream.next_in = (png_bytep )text;
1393 png_ptr->zstream.avail_in = (uInt)(png_ptr->current_text_size -
1395 png_ptr->zstream.next_out = png_ptr->zbuf;
1396 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size;
1403 while (png_ptr->zstream.avail_in)
1405 ret = inflate(&png_ptr->zstream, Z_PARTIAL_FLUSH);
1408 inflateReset(&png_ptr->zstream);
1409 png_ptr->zstream.avail_in = 0;
1415 if (!(png_ptr->zstream.avail_out) || ret == Z_STREAM_END)
1421 - png_ptr->zstream.avail_out + key_size + 1));
1424 png_ptr->zbuf_size - png_ptr->zstream.avail_out);
1429 png_ptr->zstream.avail_out;
1440 - png_ptr->zstream.avail_out + 1));
1446 png_ptr->zbuf_size - png_ptr->zstream.avail_out);
1448 text_size += png_ptr->zbuf_size - png_ptr->zstream.avail_out;
1453 png_ptr->zstream.next_out = png_ptr->zbuf;
1454 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size;
1466 inflateReset(&png_ptr->zstream);
1467 png_ptr->zstream.avail_in = 0;