Lines Matching refs:zstream
160 png_ptr->zstream.zalloc = png_zalloc;
161 png_ptr->zstream.zfree = png_zfree;
162 png_ptr->zstream.opaque = (voidpf)png_ptr;
164 switch (inflateInit(&png_ptr->zstream))
176 png_ptr->zstream.next_out = png_ptr->zbuf;
177 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size;
322 png_ptr->zstream.zalloc = png_zalloc;
325 png_ptr->zstream.zalloc = png_zalloc;
326 png_ptr->zstream.zfree = png_zfree;
327 png_ptr->zstream.opaque = (voidpf)png_ptr;
329 switch (inflateInit(&png_ptr->zstream))
338 png_ptr->zstream.next_out = png_ptr->zbuf;
339 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size;
729 png_ptr->zstream.next_out = png_ptr->row_buf;
730 png_ptr->zstream.avail_out =
735 if (!(png_ptr->zstream.avail_in))
745 png_ptr->zstream.avail_in = (uInt)png_ptr->zbuf_size;
746 png_ptr->zstream.next_in = png_ptr->zbuf;
748 png_ptr->zstream.avail_in = (uInt)png_ptr->idat_size;
750 (png_size_t)png_ptr->zstream.avail_in);
751 png_ptr->idat_size -= png_ptr->zstream.avail_in;
753 ret = inflate(&png_ptr->zstream, Z_PARTIAL_FLUSH);
756 if (png_ptr->zstream.avail_out || png_ptr->zstream.avail_in ||
764 png_error(png_ptr, png_ptr->zstream.msg ? png_ptr->zstream.msg :
767 } while (png_ptr->zstream.avail_out);
1305 inflateEnd(&png_ptr->zstream);