Lines Matching refs:zstream
59 z_stream zstream; in inflateToBuffer() local
71 memset(&zstream, 0, sizeof(zstream)); in inflateToBuffer()
72 zstream.zalloc = Z_NULL; in inflateToBuffer()
73 zstream.zfree = Z_NULL; in inflateToBuffer()
74 zstream.opaque = Z_NULL; in inflateToBuffer()
75 zstream.next_in = NULL; in inflateToBuffer()
76 zstream.avail_in = 0; in inflateToBuffer()
77 zstream.next_out = (Bytef*) buf; in inflateToBuffer()
78 zstream.avail_out = uncompressedLen; in inflateToBuffer()
79 zstream.data_type = Z_UNKNOWN; in inflateToBuffer()
85 zerr = inflateInit2(&zstream, -MAX_WBITS); in inflateToBuffer()
103 if (zstream.avail_in == 0) { in inflateToBuffer()
119 zstream.next_in = nextBuffer; in inflateToBuffer()
120 zstream.avail_in = nextSize; in inflateToBuffer()
124 zerr = inflate(&zstream, Z_NO_FLUSH); in inflateToBuffer()
135 if ((long) zstream.total_out != uncompressedLen) { in inflateToBuffer()
137 zstream.total_out, uncompressedLen); in inflateToBuffer()
145 inflateEnd(&zstream); /* free up any allocated structures */ in inflateToBuffer()