Lines Matching defs:Zlib

153     z_stream            Zlib;
184 * @param rc Zlib error code.
234 rc = inflateEnd(&pThis->Zlib);
245 int rc2 = deflateEnd(&pThis->Zlib);
292 pThis->Zlib.next_out = (Bytef *)pvBuf;
293 pThis->Zlib.avail_out = (uInt)cbToRead;
294 AssertReturn(pThis->Zlib.avail_out == cbToRead, VERR_OUT_OF_RANGE);
302 while ( pThis->Zlib.avail_out > 0
303 || pThis->Zlib.avail_in == 0 /* greedy */)
312 if (pThis->Zlib.avail_in == 0)
334 pThis->Zlib.avail_in = (uInt)cbReadIn;
335 pThis->Zlib.next_in = &pThis->abBuffer[0];
341 rc = inflate(&pThis->Zlib, Z_NO_FLUSH);
347 if (pThis->Zlib.avail_out == 0)
362 size_t const cbRead = cbToRead - pThis->Zlib.avail_out;
403 size_t cbToWrite = sizeof(pThis->abBuffer) - pThis->Zlib.avail_out;
406 Assert(pThis->Zlib.next_out == &pThis->abBuffer[0]);
450 * Adjust the Zlib output buffer members.
454 pThis->Zlib.avail_out = sizeof(pThis->abBuffer);
455 pThis->Zlib.next_out = &pThis->abBuffer[0];
462 pThis->Zlib.avail_out += (uInt)cbWrittenOut;
463 pThis->Zlib.next_out = &pThis->abBuffer[cbWrittenOut];
483 while (pThis->Zlib.avail_in > 0)
489 if (pThis->Zlib.avail_out < s_cbFlushThreshold)
494 Assert(pThis->Zlib.avail_out >= s_cbFlushThreshold);
497 int rcZlib = deflate(&pThis->Zlib, Z_NO_FLUSH);
529 pThis->Zlib.next_in = (Bytef * )pbSrc;
530 pThis->Zlib.avail_in = (uInt)cbThis;
533 Assert(cbThis >= pThis->Zlib.avail_in);
534 cbThis -= pThis->Zlib.avail_in;
560 * Tell Zlib to flush until it stops producing more output.
573 } while (pThis->Zlib.avail_out < sizeof(pThis->abBuffer));
579 pThis->Zlib.next_in = NULL;
580 pThis->Zlib.avail_in = 0;
581 int rcZlib = deflate(&pThis->Zlib, fFlushType);
583 fMaybeMore = pThis->Zlib.avail_out < 64 || fFlushType == Z_FINISH;
630 if (pThis->Zlib.avail_in > 0)
636 if (pThis->Zlib.avail_out > 0)
710 memset(&pThis->Zlib, 0, sizeof(pThis->Zlib));
711 pThis->Zlib.opaque = pThis;
712 rc = inflateInit2(&pThis->Zlib,
751 pThis->Zlib.avail_in = sizeof(RTZIPGZIPHDR);
752 pThis->Zlib.next_in = &pThis->abBuffer[0];
807 RT_ZERO(pThis->Zlib);
808 pThis->Zlib.opaque = pThis;
809 pThis->Zlib.next_out = &pThis->abBuffer[0];
810 pThis->Zlib.avail_out = sizeof(pThis->abBuffer);
812 rc = deflateInit2(&pThis->Zlib,