Lines Matching full:zstream
302 png_ptr->zstream.avail_out = (uInt)png_ptr->irowbytes;
303 png_ptr->zstream.next_out = png_ptr->row_buf;
759 png_ptr->zstream.next_in = buffer;
760 png_ptr->zstream.avail_in = (uInt)buffer_length;
763 ret = inflate(&png_ptr->zstream, Z_PARTIAL_FLUSH);
768 if (png_ptr->zstream.avail_in)
770 if (!(png_ptr->zstream.avail_out))
784 if (!(png_ptr->zstream.avail_out))
793 if (png_ptr->zstream.avail_in)
799 png_ptr->zstream.avail_out = (uInt)png_ptr->irowbytes;
800 png_ptr->zstream.next_out = png_ptr->row_buf;
1241 png_ptr->zstream.next_in = (png_bytep )text;
1242 png_ptr->zstream.avail_in = (uInt)(png_ptr->current_text_size -
1244 png_ptr->zstream.next_out = png_ptr->zbuf;
1245 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size;
1252 while (png_ptr->zstream.avail_in)
1254 ret = inflate(&png_ptr->zstream, Z_PARTIAL_FLUSH);
1257 inflateReset(&png_ptr->zstream);
1258 png_ptr->zstream.avail_in = 0;
1264 if (!(png_ptr->zstream.avail_out) || ret == Z_STREAM_END)
1269 (png_uint_32)(png_ptr->zbuf_size - png_ptr->zstream.avail_out
1272 png_ptr->zbuf_size - png_ptr->zstream.avail_out);
1275 png_ptr->zstream.avail_out;
1284 (png_uint_32)(png_ptr->zbuf_size - png_ptr->zstream.avail_out
1289 png_ptr->zbuf_size - png_ptr->zstream.avail_out);
1290 text_size += png_ptr->zbuf_size - png_ptr->zstream.avail_out;
1295 png_ptr->zstream.next_out = png_ptr->zbuf;
1296 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size;
1308 inflateReset(&png_ptr->zstream);
1309 png_ptr->zstream.avail_in = 0;