Home | History | Annotate | Download | only in libvncclient

Lines Matching defs:zs

98   z_streamp zs;
215 zs = &client->zlibStream[stream_id];
217 zs->zalloc = Z_NULL;
218 zs->zfree = Z_NULL;
219 zs->opaque = Z_NULL;
220 err = inflateInit(zs);
222 if (zs->msg != NULL)
223 rfbClientLog("InflateInit error: %s.\n", zs->msg);
253 zs->next_in = (Bytef *)client->zlib_buffer;
254 zs->avail_in = portionLen;
257 zs->next_out = (Bytef *)&client->buffer[extraBytes];
258 zs->avail_out = bufferSize - extraBytes;
260 err = inflate(zs, Z_SYNC_FLUSH);
264 if (zs->msg != NULL) {
265 rfbClientLog("Inflate error: %s.\n", zs->msg);
272 numRows = (bufferSize - zs->avail_out) / rowSize;
276 extraBytes = bufferSize - zs->avail_out - numRows * rowSize;
284 while (zs->avail_out == 0);