Lines Matching refs:zstream
142 png_ptr->zstream.zalloc = png_zalloc;
143 png_ptr->zstream.zfree = png_zfree;
144 png_ptr->zstream.opaque = (voidpf)png_ptr;
146 switch (inflateInit(&png_ptr->zstream))
155 png_ptr->zstream.next_out = png_ptr->zbuf;
156 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size;
296 png_ptr->zstream.zalloc = png_zalloc;
297 png_ptr->zstream.zfree = png_zfree;
298 png_ptr->zstream.opaque = (voidpf)png_ptr;
300 switch (inflateInit(&png_ptr->zstream))
309 png_ptr->zstream.next_out = png_ptr->zbuf;
310 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size;
698 png_ptr->zstream.next_out = png_ptr->row_buf;
699 png_ptr->zstream.avail_out = (uInt)png_ptr->irowbytes;
702 if (!(png_ptr->zstream.avail_in))
718 png_ptr->zstream.avail_in = (uInt)png_ptr->zbuf_size;
719 png_ptr->zstream.next_in = png_ptr->zbuf;
721 png_ptr->zstream.avail_in = (uInt)png_ptr->idat_size;
723 (png_size_t)png_ptr->zstream.avail_in);
724 png_ptr->idat_size -= png_ptr->zstream.avail_in;
726 ret = inflate(&png_ptr->zstream, Z_PARTIAL_FLUSH);
729 if (png_ptr->zstream.avail_out || png_ptr->zstream.avail_in ||
737 png_error(png_ptr, png_ptr->zstream.msg ? png_ptr->zstream.msg :
740 } while (png_ptr->zstream.avail_out);
1275 inflateEnd(&png_ptr->zstream);