• Home
  • Raw
  • Download

Lines Matching refs:z

83 z_stream  z;  in zlibCompress()  local
102 z.zalloc = (alloc_func)0; in zlibCompress()
103 z.zfree = (free_func)0; in zlibCompress()
104 z.opaque = (voidpf)0; in zlibCompress()
106 z.next_in = bufferin; in zlibCompress()
107 z.avail_in = 0; in zlibCompress()
108 z.next_out = bufferout; in zlibCompress()
109 z.avail_out = L_BUF_SIZE; in zlibCompress()
111 deflateInit(&z, ZLIB_COMPRESSION_LEVEL); in zlibCompress()
114 if (z.avail_in == 0) { in zlibCompress()
115 z.next_in = bufferin; in zlibCompress()
118 z.avail_in = nbytes; in zlibCompress()
120 if (z.avail_in == 0) in zlibCompress()
122 status = deflate(&z, Z_SYNC_FLUSH); in zlibCompress()
125 nbytes = L_BUF_SIZE - z.avail_out; in zlibCompress()
130 z.next_out = bufferout; in zlibCompress()
131 z.avail_out = L_BUF_SIZE; in zlibCompress()
134 deflateEnd(&z); in zlibCompress()
165 z_stream z; in zlibUncompress() local
182 z.zalloc = (alloc_func)0; in zlibUncompress()
183 z.zfree = (free_func)0; in zlibUncompress()
185 z.next_in = bufferin; in zlibUncompress()
186 z.avail_in = 0; in zlibUncompress()
187 z.next_out = bufferout; in zlibUncompress()
188 z.avail_out = L_BUF_SIZE; in zlibUncompress()
190 inflateInit(&z); in zlibUncompress()
193 if (z.avail_in == 0) { in zlibUncompress()
194 z.next_in = bufferin; in zlibUncompress()
197 z.avail_in = nbytes; in zlibUncompress()
199 if (z.avail_in == 0) in zlibUncompress()
201 status = inflate(&z, Z_SYNC_FLUSH); in zlibUncompress()
204 nbytes = L_BUF_SIZE - z.avail_out; in zlibUncompress()
209 z.next_out = bufferout; in zlibUncompress()
210 z.avail_out = L_BUF_SIZE; in zlibUncompress()
213 inflateEnd(&z); in zlibUncompress()