Lines Matching refs:strm

108     z_streamp strm = (z_streamp) opaque;  in ZWRAP_allocFunction()  local
109 void* address = strm->zalloc(strm->opaque, 1, (uInt)size); in ZWRAP_allocFunction()
116 z_streamp strm = (z_streamp) opaque; in ZWRAP_freeFunction() local
117 strm->zfree(strm->opaque, address); in ZWRAP_freeFunction()
181 static ZWRAP_CCtx* ZWRAP_createCCtx(z_streamp strm) in ZWRAP_createCCtx() argument
186 if (strm->zalloc && strm->zfree) { in ZWRAP_createCCtx()
190 customMem.opaque = strm; in ZWRAP_createCCtx()
194 zwc->allocFunc = *strm; in ZWRAP_createCCtx()
229 static int ZWRAPC_finishWithError(ZWRAP_CCtx* zwc, z_streamp strm, int error) in ZWRAPC_finishWithError() argument
233 if (strm) strm->state = NULL; in ZWRAPC_finishWithError()
238 static int ZWRAPC_finishWithErrorMsg(z_streamp strm, char* message) in ZWRAPC_finishWithErrorMsg() argument
240 ZWRAP_CCtx* zwc = (ZWRAP_CCtx*) strm->state; in ZWRAPC_finishWithErrorMsg()
241 strm->msg = message; in ZWRAPC_finishWithErrorMsg()
244 return ZWRAPC_finishWithError(zwc, strm, 0); in ZWRAPC_finishWithErrorMsg()
248 int ZWRAP_setPledgedSrcSize(z_streamp strm, unsigned long long pledgedSrcSize) in ZWRAP_setPledgedSrcSize() argument
250 ZWRAP_CCtx* zwc = (ZWRAP_CCtx*) strm->state; in ZWRAP_setPledgedSrcSize()
263 ZEXTERN int ZEXPORT z_deflateInit_ OF((z_streamp strm, int level, in z_deflateInit_() argument
270 return deflateInit_((strm), (level), version, stream_size); in z_deflateInit_()
273 zwc = ZWRAP_createCCtx(strm); in z_deflateInit_()
282 strm->state = convert_into_sis(zwc); /* use state which in not used by user */ in z_deflateInit_()
283 strm->total_in = 0; in z_deflateInit_()
284 strm->total_out = 0; in z_deflateInit_()
285 strm->adler = 0; in z_deflateInit_()
290 ZEXTERN int ZEXPORT z_deflateInit2_ OF((z_streamp strm, int level, int method, in z_deflateInit2_() argument
296 … return deflateInit2_(strm, level, method, windowBits, memLevel, strategy, version, stream_size); in z_deflateInit2_()
298 return z_deflateInit_ (strm, level, version, stream_size); in z_deflateInit2_()
302 int ZWRAP_deflateReset_keepDict(z_streamp strm) in ZWRAP_deflateReset_keepDict() argument
306 return deflateReset(strm); in ZWRAP_deflateReset_keepDict()
308 { ZWRAP_CCtx* zwc = (ZWRAP_CCtx*) strm->state; in ZWRAP_deflateReset_keepDict()
315 strm->total_in = 0; in ZWRAP_deflateReset_keepDict()
316 strm->total_out = 0; in ZWRAP_deflateReset_keepDict()
317 strm->adler = 0; in ZWRAP_deflateReset_keepDict()
322 ZEXTERN int ZEXPORT z_deflateReset OF((z_streamp strm)) in z_deflateReset() argument
326 return deflateReset(strm); in z_deflateReset()
328 ZWRAP_deflateReset_keepDict(strm); in z_deflateReset()
330 { ZWRAP_CCtx* zwc = (ZWRAP_CCtx*) strm->state; in z_deflateReset()
337 ZEXTERN int ZEXPORT z_deflateSetDictionary OF((z_streamp strm, in z_deflateSetDictionary() argument
343 return deflateSetDictionary(strm, dictionary, dictLength); in z_deflateSetDictionary()
346 { ZWRAP_CCtx* zwc = (ZWRAP_CCtx*) strm->state; in z_deflateSetDictionary()
351 if (zwc->zbc == NULL) return ZWRAPC_finishWithError(zwc, strm, 0); in z_deflateSetDictionary()
354 if (res != Z_OK) return ZWRAPC_finishWithError(zwc, strm, res); } in z_deflateSetDictionary()
362 ZEXTERN int ZEXPORT z_deflate OF((z_streamp strm, int flush)) in z_deflate() argument
368 … (int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_in, (int)strm->total_out); in z_deflate()
369 return deflate(strm, flush); in z_deflate()
372 zwc = (ZWRAP_CCtx*) strm->state; in z_deflate()
377 if (zwc->zbc == NULL) return ZWRAPC_finishWithError(zwc, strm, 0); in z_deflate()
378 …{ int const initErr = ZWRAP_initializeCStream(zwc, NULL, 0, (flush == Z_FINISH) ? strm->avail_in :… in z_deflate()
379 if (initErr != Z_OK) return ZWRAPC_finishWithError(zwc, strm, initErr); } in z_deflate()
388 return ZWRAPC_finishWithError(zwc, strm, 0); in z_deflate()
390 …resetErr = ZSTD_CCtx_setPledgedSrcSize(zwc->zbc, (flush == Z_FINISH) ? strm->avail_in : zwc->pledg… in z_deflate()
394 return ZWRAPC_finishWithError(zwc, strm, 0); in z_deflate()
397 …int const res = ZWRAP_initializeCStream(zwc, NULL, 0, (flush == Z_FINISH) ? strm->avail_in : ZSTD_… in z_deflate()
398 if (res != Z_OK) return ZWRAPC_finishWithError(zwc, strm, res); in z_deflate()
404 …l_in=%d total_out=%d\n", (int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_i… in z_deflate()
405 if (strm->avail_in > 0) { in z_deflate()
406 zwc->inBuffer.src = strm->next_in; in z_deflate()
407 zwc->inBuffer.size = strm->avail_in; in z_deflate()
409 zwc->outBuffer.dst = strm->next_out; in z_deflate()
410 zwc->outBuffer.size = strm->avail_out; in z_deflate()
414 if (ZSTD_isError(cErr)) return ZWRAPC_finishWithError(zwc, strm, 0); in z_deflate()
416 strm->next_out += zwc->outBuffer.pos; in z_deflate()
417 strm->total_out += zwc->outBuffer.pos; in z_deflate()
418 strm->avail_out -= zwc->outBuffer.pos; in z_deflate()
419 strm->total_in += zwc->inBuffer.pos; in z_deflate()
421 strm->next_in += zwc->inBuffer.pos; in z_deflate()
422 strm->avail_in -= zwc->inBuffer.pos; in z_deflate()
430 … return ZWRAPC_finishWithErrorMsg(strm, "Z_FULL_FLUSH, Z_BLOCK and Z_TREES are not supported!"); in z_deflate()
435 zwc->outBuffer.dst = strm->next_out; in z_deflate()
436 zwc->outBuffer.size = strm->avail_out; in z_deflate()
439 …LOG_WRAPPERC("deflate ZSTD_endStream dstCapacity=%d bytesLeft=%d\n", (int)strm->avail_out, (int)by… in z_deflate()
440 if (ZSTD_isError(bytesLeft)) return ZWRAPC_finishWithError(zwc, strm, 0); in z_deflate()
441 strm->next_out += zwc->outBuffer.pos; in z_deflate()
442 strm->total_out += zwc->outBuffer.pos; in z_deflate()
443 strm->avail_out -= zwc->outBuffer.pos; in z_deflate()
447 (int)strm->total_in, (int)strm->avail_out, (int)strm->total_out); in z_deflate()
453 zwc->outBuffer.dst = strm->next_out; in z_deflate()
454 zwc->outBuffer.size = strm->avail_out; in z_deflate()
457 …LOG_WRAPPERC("deflate ZSTD_flushStream dstCapacity=%d bytesLeft=%d\n", (int)strm->avail_out, (int)… in z_deflate()
458 if (ZSTD_isError(bytesLeft)) return ZWRAPC_finishWithError(zwc, strm, 0); in z_deflate()
459 strm->next_out += zwc->outBuffer.pos; in z_deflate()
460 strm->total_out += zwc->outBuffer.pos; in z_deflate()
461 strm->avail_out -= zwc->outBuffer.pos; in z_deflate()
463 …l_in=%d total_out=%d\n", (int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_i… in z_deflate()
468 ZEXTERN int ZEXPORT z_deflateEnd OF((z_streamp strm)) in z_deflateEnd() argument
472 return deflateEnd(strm); in z_deflateEnd()
474 …LOG_WRAPPERC("- deflateEnd total_in=%d total_out=%d\n", (int)(strm->total_in), (int)(strm->total_o… in z_deflateEnd()
476 ZWRAP_CCtx* zwc = (ZWRAP_CCtx*) strm->state; in z_deflateEnd()
478 strm->state = NULL; in z_deflateEnd()
486 ZEXTERN uLong ZEXPORT z_deflateBound OF((z_streamp strm, in z_deflateBound() argument
490 return deflateBound(strm, sourceLen); in z_deflateBound()
496 ZEXTERN int ZEXPORT z_deflateParams OF((z_streamp strm, in z_deflateParams() argument
502 return deflateParams(strm, level, strategy); in z_deflateParams()
541 static ZWRAP_DCtx* ZWRAP_createDCtx(z_streamp strm) in ZWRAP_createDCtx() argument
546 if (strm->zalloc && strm->zfree) { in ZWRAP_createDCtx()
550 customMem.opaque = strm; in ZWRAP_createDCtx()
554 zwd->allocFunc = *strm; in ZWRAP_createDCtx()
572 int ZWRAP_isUsingZSTDdecompression(z_streamp strm) in ZWRAP_isUsingZSTDdecompression() argument
574 if (strm == NULL) return 0; in ZWRAP_isUsingZSTDdecompression()
575 return (strm->reserved == ZWRAP_ZSTD_STREAM); in ZWRAP_isUsingZSTDdecompression()
579 static int ZWRAPD_finishWithError(ZWRAP_DCtx* zwd, z_streamp strm, int error) in ZWRAPD_finishWithError() argument
583 strm->state = NULL; in ZWRAPD_finishWithError()
587 static int ZWRAPD_finishWithErrorMsg(z_streamp strm, char* message) in ZWRAPD_finishWithErrorMsg() argument
589 ZWRAP_DCtx* const zwd = (ZWRAP_DCtx*) strm->state; in ZWRAPD_finishWithErrorMsg()
590 strm->msg = message; in ZWRAPD_finishWithErrorMsg()
593 return ZWRAPD_finishWithError(zwd, strm, 0); in ZWRAPD_finishWithErrorMsg()
597 ZEXTERN int ZEXPORT z_inflateInit_ OF((z_streamp strm, in z_inflateInit_() argument
601 strm->reserved = ZWRAP_ZLIB_STREAM; in z_inflateInit_()
602 return inflateInit(strm); in z_inflateInit_()
605 { ZWRAP_DCtx* const zwd = ZWRAP_createDCtx(strm); in z_inflateInit_()
607 if (zwd == NULL) return ZWRAPD_finishWithError(zwd, strm, 0); in z_inflateInit_()
610 if (zwd->version == NULL) return ZWRAPD_finishWithError(zwd, strm, 0); in z_inflateInit_()
615 strm->state = convert_into_sis(zwd); in z_inflateInit_()
616 strm->total_in = 0; in z_inflateInit_()
617 strm->total_out = 0; in z_inflateInit_()
618 strm->reserved = ZWRAP_UNKNOWN_STREAM; in z_inflateInit_()
619 strm->adler = 0; in z_inflateInit_()
626 ZEXTERN int ZEXPORT z_inflateInit2_ OF((z_streamp strm, int windowBits, in z_inflateInit2_() argument
630 return inflateInit2_(strm, windowBits, version, stream_size); in z_inflateInit2_()
633 { int const ret = z_inflateInit_ (strm, version, stream_size); in z_inflateInit2_()
636 ZWRAP_DCtx* const zwd = (ZWRAP_DCtx*)strm->state; in z_inflateInit2_()
644 int ZWRAP_inflateReset_keepDict(z_streamp strm) in ZWRAP_inflateReset_keepDict() argument
647 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in ZWRAP_inflateReset_keepDict()
648 return inflateReset(strm); in ZWRAP_inflateReset_keepDict()
650 { ZWRAP_DCtx* const zwd = (ZWRAP_DCtx*) strm->state; in ZWRAP_inflateReset_keepDict()
657 strm->total_in = 0; in ZWRAP_inflateReset_keepDict()
658 strm->total_out = 0; in ZWRAP_inflateReset_keepDict()
663 ZEXTERN int ZEXPORT z_inflateReset OF((z_streamp strm)) in z_inflateReset() argument
666 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflateReset()
667 return inflateReset(strm); in z_inflateReset()
669 { int const ret = ZWRAP_inflateReset_keepDict(strm); in z_inflateReset()
672 { ZWRAP_DCtx* const zwd = (ZWRAP_DCtx*) strm->state; in z_inflateReset()
681 ZEXTERN int ZEXPORT z_inflateReset2 OF((z_streamp strm, in z_inflateReset2() argument
684 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflateReset2()
685 return inflateReset2(strm, windowBits); in z_inflateReset2()
687 { int const ret = z_inflateReset (strm); in z_inflateReset2()
689 ZWRAP_DCtx* const zwd = (ZWRAP_DCtx*)strm->state; in z_inflateReset2()
699 ZEXTERN int ZEXPORT z_inflateSetDictionary OF((z_streamp strm, in z_inflateSetDictionary() argument
704 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflateSetDictionary()
705 return inflateSetDictionary(strm, dictionary, dictLength); in z_inflateSetDictionary()
707 { ZWRAP_DCtx* const zwd = (ZWRAP_DCtx*) strm->state; in z_inflateSetDictionary()
710 if (ZSTD_isError(initErr)) return ZWRAPD_finishWithError(zwd, strm, 0); } in z_inflateSetDictionary()
717 zwd->outBuffer.dst = strm->next_out; in z_inflateSetDictionary()
726 return ZWRAPD_finishWithError(zwd, strm, 0); in z_inflateSetDictionary()
733 ZEXTERN int ZEXPORT z_inflate OF((z_streamp strm, int flush)) in z_inflate() argument
737 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) { in z_inflate()
738 int const result = inflate(strm, flush); in z_inflate()
740 …(int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_in, (int)strm->total_out, … in z_inflate()
744 if (strm->avail_in <= 0) return Z_OK; in z_inflate()
746 zwd = (ZWRAP_DCtx*) strm->state; in z_inflate()
748 … (int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_in, (int)strm->total_out); in z_inflate()
754 if (zwd->totalInBytes == 0 && strm->avail_in >= ZLIB_HEADERSIZE) { in z_inflate()
755 if (ZWRAP_readLE32(strm->next_in) != ZSTD_MAGICNUMBER) { in z_inflate()
757 … inflateInit2_(strm, zwd->windowBits, zwd->version, zwd->stream_size) : in z_inflate()
758 inflateInit_(strm, zwd->version, zwd->stream_size); in z_inflate()
760 if (initErr != Z_OK) return ZWRAPD_finishWithError(zwd, strm, initErr); in z_inflate()
763 strm->reserved = ZWRAP_ZLIB_STREAM; in z_inflate()
768 inflateSync(strm) : in z_inflate()
769 inflate(strm, flush); in z_inflate()
771 …(int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_in, (int)strm->total_out, … in z_inflate()
775 size_t const srcSize = MIN(strm->avail_in, ZLIB_HEADERSIZE - zwd->totalInBytes); in z_inflate()
776 memcpy(zwd->headerBuf+zwd->totalInBytes, strm->next_in, srcSize); in z_inflate()
777 strm->total_in += srcSize; in z_inflate()
779 strm->next_in += srcSize; in z_inflate()
780 strm->avail_in -= srcSize; in z_inflate()
785 strm2.next_in = strm->next_in; in z_inflate()
786 strm2.avail_in = strm->avail_in; in z_inflate()
787 strm2.next_out = strm->next_out; in z_inflate()
788 strm2.avail_out = strm->avail_out; in z_inflate()
791 … inflateInit2_(strm, zwd->windowBits, zwd->version, zwd->stream_size) : in z_inflate()
792 inflateInit_(strm, zwd->version, zwd->stream_size); in z_inflate()
794 if (initErr != Z_OK) return ZWRAPD_finishWithError(zwd, strm, initErr); in z_inflate()
798 strm->next_in = (unsigned char*)zwd->headerBuf; in z_inflate()
799 strm->avail_in = ZLIB_HEADERSIZE; in z_inflate()
800 strm->avail_out = 0; in z_inflate()
801 { int const dErr = inflate(strm, Z_NO_FLUSH); in z_inflate()
803 dErr, (int)strm->avail_in); in z_inflate()
805 return ZWRAPD_finishWithError(zwd, strm, dErr); in z_inflate()
807 if (strm->avail_in > 0) goto error; in z_inflate()
809 strm->next_in = strm2.next_in; in z_inflate()
810 strm->avail_in = strm2.avail_in; in z_inflate()
811 strm->next_out = strm2.next_out; in z_inflate()
812 strm->avail_out = strm2.avail_out; in z_inflate()
814 strm->reserved = ZWRAP_ZLIB_STREAM; /* mark as zlib stream */ in z_inflate()
819 inflateSync(strm) : in z_inflate()
820 inflate(strm, flush); in z_inflate()
822 …(int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_in, (int)strm->total_out, … in z_inflate()
827 strm->reserved = ZWRAP_ZSTD_STREAM; /* mark as zstd steam */ in z_inflate()
829 if (flush == Z_INFLATE_SYNC) { strm->msg = "inflateSync is not supported!"; goto error; } in z_inflate()
838 if (zwd->totalInBytes == 0 && strm->avail_in >= ZSTD_HEADERSIZE) { in z_inflate()
851 size_t const srcSize = MIN(strm->avail_in, ZSTD_HEADERSIZE - zwd->totalInBytes); in z_inflate()
852 memcpy(zwd->headerBuf+zwd->totalInBytes, strm->next_in, srcSize); in z_inflate()
853 strm->total_in += srcSize; in z_inflate()
855 strm->next_in += srcSize; in z_inflate()
856 strm->avail_in -= srcSize; in z_inflate()
874 zwd->outBuffer.dst = strm->next_out; in z_inflate()
888 zwd->inBuffer.src = strm->next_in; in z_inflate()
889 zwd->inBuffer.size = strm->avail_in; in z_inflate()
891 zwd->outBuffer.dst = strm->next_out; in z_inflate()
892 zwd->outBuffer.size = strm->avail_out; in z_inflate()
896 (int)dErr, (int)strm->avail_in, (int)strm->avail_out); in z_inflate()
905 strm->next_out += zwd->outBuffer.pos; in z_inflate()
906 strm->total_out += zwd->outBuffer.pos; in z_inflate()
907 strm->avail_out -= zwd->outBuffer.pos; in z_inflate()
908 strm->total_in += zwd->inBuffer.pos; in z_inflate()
910 strm->next_in += zwd->inBuffer.pos; in z_inflate()
911 strm->avail_in -= zwd->inBuffer.pos; in z_inflate()
914 … (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_in, (int)strm->total_out); in z_inflate()
921 …(int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_in, (int)strm->total_out, … in z_inflate()
925 return ZWRAPD_finishWithError(zwd, strm, 0); in z_inflate()
929 ZEXTERN int ZEXPORT z_inflateEnd OF((z_streamp strm)) in z_inflateEnd() argument
931 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflateEnd()
932 return inflateEnd(strm); in z_inflateEnd()
935 (int)(strm->total_in), (int)(strm->total_out)); in z_inflateEnd()
936 { ZWRAP_DCtx* const zwd = (ZWRAP_DCtx*) strm->state; in z_inflateEnd()
940 strm->state = NULL; in z_inflateEnd()
946 ZEXTERN int ZEXPORT z_inflateSync OF((z_streamp strm)) in z_inflateSync() argument
948 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) { in z_inflateSync()
949 return inflateSync(strm); in z_inflateSync()
952 return z_inflate(strm, Z_INFLATE_SYNC); in z_inflateSync()
967 ZEXTERN int ZEXPORT z_deflateTune OF((z_streamp strm, in z_deflateTune() argument
974 return deflateTune(strm, good_length, max_lazy, nice_length, max_chain); in z_deflateTune()
975 return ZWRAPC_finishWithErrorMsg(strm, "deflateTune is not supported!"); in z_deflateTune()
980 ZEXTERN int ZEXPORT z_deflatePending OF((z_streamp strm, in z_deflatePending() argument
985 return deflatePending(strm, pending, bits); in z_deflatePending()
986 return ZWRAPC_finishWithErrorMsg(strm, "deflatePending is not supported!"); in z_deflatePending()
991 ZEXTERN int ZEXPORT z_deflatePrime OF((z_streamp strm, in z_deflatePrime() argument
996 return deflatePrime(strm, bits, value); in z_deflatePrime()
997 return ZWRAPC_finishWithErrorMsg(strm, "deflatePrime is not supported!"); in z_deflatePrime()
1001 ZEXTERN int ZEXPORT z_deflateSetHeader OF((z_streamp strm, in z_deflateSetHeader() argument
1005 return deflateSetHeader(strm, head); in z_deflateSetHeader()
1006 return ZWRAPC_finishWithErrorMsg(strm, "deflateSetHeader is not supported!"); in z_deflateSetHeader()
1014 ZEXTERN int ZEXPORT z_inflateGetDictionary OF((z_streamp strm, in z_inflateGetDictionary() argument
1018 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflateGetDictionary()
1019 return inflateGetDictionary(strm, dictionary, dictLength); in z_inflateGetDictionary()
1020 return ZWRAPD_finishWithErrorMsg(strm, "inflateGetDictionary is not supported!"); in z_inflateGetDictionary()
1035 ZEXTERN long ZEXPORT z_inflateMark OF((z_streamp strm)) in z_inflateMark() argument
1037 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflateMark()
1038 return inflateMark(strm); in z_inflateMark()
1039 return ZWRAPD_finishWithErrorMsg(strm, "inflateMark is not supported!"); in z_inflateMark()
1044 ZEXTERN int ZEXPORT z_inflatePrime OF((z_streamp strm, in z_inflatePrime() argument
1048 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflatePrime()
1049 return inflatePrime(strm, bits, value); in z_inflatePrime()
1050 return ZWRAPD_finishWithErrorMsg(strm, "inflatePrime is not supported!"); in z_inflatePrime()
1054 ZEXTERN int ZEXPORT z_inflateGetHeader OF((z_streamp strm, in z_inflateGetHeader() argument
1057 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflateGetHeader()
1058 return inflateGetHeader(strm, head); in z_inflateGetHeader()
1059 return ZWRAPD_finishWithErrorMsg(strm, "inflateGetHeader is not supported!"); in z_inflateGetHeader()
1063 ZEXTERN int ZEXPORT z_inflateBackInit_ OF((z_streamp strm, int windowBits, in z_inflateBackInit_() argument
1068 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflateBackInit_()
1069 return inflateBackInit_(strm, windowBits, window, version, stream_size); in z_inflateBackInit_()
1070 return ZWRAPD_finishWithErrorMsg(strm, "inflateBackInit is not supported!"); in z_inflateBackInit_()
1074 ZEXTERN int ZEXPORT z_inflateBack OF((z_streamp strm, in z_inflateBack() argument
1078 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflateBack()
1079 return inflateBack(strm, in, in_desc, out, out_desc); in z_inflateBack()
1080 return ZWRAPD_finishWithErrorMsg(strm, "inflateBack is not supported!"); in z_inflateBack()
1084 ZEXTERN int ZEXPORT z_inflateBackEnd OF((z_streamp strm)) in z_inflateBackEnd() argument
1086 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflateBackEnd()
1087 return inflateBackEnd(strm); in z_inflateBackEnd()
1088 return ZWRAPD_finishWithErrorMsg(strm, "inflateBackEnd is not supported!"); in z_inflateBackEnd()