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()
220 static int ZWRAPC_finishWithError(ZWRAP_CCtx* zwc, z_streamp strm, int error) in ZWRAPC_finishWithError() argument
224 if (strm) strm->state = NULL; in ZWRAPC_finishWithError()
229 static int ZWRAPC_finishWithErrorMsg(z_streamp strm, char* message) in ZWRAPC_finishWithErrorMsg() argument
231 ZWRAP_CCtx* zwc = (ZWRAP_CCtx*) strm->state; in ZWRAPC_finishWithErrorMsg()
232 strm->msg = message; in ZWRAPC_finishWithErrorMsg()
235 return ZWRAPC_finishWithError(zwc, strm, 0); in ZWRAPC_finishWithErrorMsg()
239 int ZWRAP_setPledgedSrcSize(z_streamp strm, unsigned long long pledgedSrcSize) in ZWRAP_setPledgedSrcSize() argument
241 ZWRAP_CCtx* zwc = (ZWRAP_CCtx*) strm->state; in ZWRAP_setPledgedSrcSize()
254 ZEXTERN int ZEXPORT z_deflateInit_ OF((z_streamp strm, int level, in z_deflateInit_() argument
261 return deflateInit_((strm), (level), version, stream_size); in z_deflateInit_()
264 zwc = ZWRAP_createCCtx(strm); in z_deflateInit_()
273 strm->state = convert_into_sis(zwc); /* use state which in not used by user */ in z_deflateInit_()
274 strm->total_in = 0; in z_deflateInit_()
275 strm->total_out = 0; in z_deflateInit_()
276 strm->adler = 0; in z_deflateInit_()
281 ZEXTERN int ZEXPORT z_deflateInit2_ OF((z_streamp strm, int level, int method, in z_deflateInit2_() argument
287 … return deflateInit2_(strm, level, method, windowBits, memLevel, strategy, version, stream_size); in z_deflateInit2_()
289 return z_deflateInit_ (strm, level, version, stream_size); in z_deflateInit2_()
293 int ZWRAP_deflateReset_keepDict(z_streamp strm) in ZWRAP_deflateReset_keepDict() argument
297 return deflateReset(strm); in ZWRAP_deflateReset_keepDict()
299 { ZWRAP_CCtx* zwc = (ZWRAP_CCtx*) strm->state; in ZWRAP_deflateReset_keepDict()
306 strm->total_in = 0; in ZWRAP_deflateReset_keepDict()
307 strm->total_out = 0; in ZWRAP_deflateReset_keepDict()
308 strm->adler = 0; in ZWRAP_deflateReset_keepDict()
313 ZEXTERN int ZEXPORT z_deflateReset OF((z_streamp strm)) in z_deflateReset() argument
317 return deflateReset(strm); in z_deflateReset()
319 ZWRAP_deflateReset_keepDict(strm); in z_deflateReset()
321 { ZWRAP_CCtx* zwc = (ZWRAP_CCtx*) strm->state; in z_deflateReset()
328 ZEXTERN int ZEXPORT z_deflateSetDictionary OF((z_streamp strm, in z_deflateSetDictionary() argument
334 return deflateSetDictionary(strm, dictionary, dictLength); in z_deflateSetDictionary()
337 { ZWRAP_CCtx* zwc = (ZWRAP_CCtx*) strm->state; in z_deflateSetDictionary()
342 if (zwc->zbc == NULL) return ZWRAPC_finishWithError(zwc, strm, 0); in z_deflateSetDictionary()
345 if (res != Z_OK) return ZWRAPC_finishWithError(zwc, strm, res); } in z_deflateSetDictionary()
353 ZEXTERN int ZEXPORT z_deflate OF((z_streamp strm, int flush)) in z_deflate() argument
359 … (int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_in, (int)strm->total_out); in z_deflate()
360 return deflate(strm, flush); in z_deflate()
363 zwc = (ZWRAP_CCtx*) strm->state; in z_deflate()
368 if (zwc->zbc == NULL) return ZWRAPC_finishWithError(zwc, strm, 0); in z_deflate()
369 …{ int const initErr = ZWRAP_initializeCStream(zwc, NULL, 0, (flush == Z_FINISH) ? strm->avail_in :… in z_deflate()
370 if (initErr != Z_OK) return ZWRAPC_finishWithError(zwc, strm, initErr); } in z_deflate()
375 …size_t const resetErr = ZSTD_resetCStream(zwc->zbc, (flush == Z_FINISH) ? strm->avail_in : zwc->pl… in z_deflate()
379 return ZWRAPC_finishWithError(zwc, strm, 0); in z_deflate()
382 …int const res = ZWRAP_initializeCStream(zwc, NULL, 0, (flush == Z_FINISH) ? strm->avail_in : ZSTD_… in z_deflate()
383 if (res != Z_OK) return ZWRAPC_finishWithError(zwc, strm, res); in z_deflate()
389 …l_in=%d total_out=%d\n", (int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_i… in z_deflate()
390 if (strm->avail_in > 0) { in z_deflate()
391 zwc->inBuffer.src = strm->next_in; in z_deflate()
392 zwc->inBuffer.size = strm->avail_in; in z_deflate()
394 zwc->outBuffer.dst = strm->next_out; in z_deflate()
395 zwc->outBuffer.size = strm->avail_out; in z_deflate()
399 if (ZSTD_isError(cErr)) return ZWRAPC_finishWithError(zwc, strm, 0); in z_deflate()
401 strm->next_out += zwc->outBuffer.pos; in z_deflate()
402 strm->total_out += zwc->outBuffer.pos; in z_deflate()
403 strm->avail_out -= zwc->outBuffer.pos; in z_deflate()
404 strm->total_in += zwc->inBuffer.pos; in z_deflate()
406 strm->next_in += zwc->inBuffer.pos; in z_deflate()
407 strm->avail_in -= zwc->inBuffer.pos; in z_deflate()
415 … return ZWRAPC_finishWithErrorMsg(strm, "Z_FULL_FLUSH, Z_BLOCK and Z_TREES are not supported!"); in z_deflate()
420 zwc->outBuffer.dst = strm->next_out; in z_deflate()
421 zwc->outBuffer.size = strm->avail_out; in z_deflate()
424 …LOG_WRAPPERC("deflate ZSTD_endStream dstCapacity=%d bytesLeft=%d\n", (int)strm->avail_out, (int)by… in z_deflate()
425 if (ZSTD_isError(bytesLeft)) return ZWRAPC_finishWithError(zwc, strm, 0); in z_deflate()
426 strm->next_out += zwc->outBuffer.pos; in z_deflate()
427 strm->total_out += zwc->outBuffer.pos; in z_deflate()
428 strm->avail_out -= zwc->outBuffer.pos; in z_deflate()
432 (int)strm->total_in, (int)strm->avail_out, (int)strm->total_out); in z_deflate()
438 zwc->outBuffer.dst = strm->next_out; in z_deflate()
439 zwc->outBuffer.size = strm->avail_out; in z_deflate()
442 …LOG_WRAPPERC("deflate ZSTD_flushStream dstCapacity=%d bytesLeft=%d\n", (int)strm->avail_out, (int)… in z_deflate()
443 if (ZSTD_isError(bytesLeft)) return ZWRAPC_finishWithError(zwc, strm, 0); in z_deflate()
444 strm->next_out += zwc->outBuffer.pos; in z_deflate()
445 strm->total_out += zwc->outBuffer.pos; in z_deflate()
446 strm->avail_out -= zwc->outBuffer.pos; in z_deflate()
448 …l_in=%d total_out=%d\n", (int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_i… in z_deflate()
453 ZEXTERN int ZEXPORT z_deflateEnd OF((z_streamp strm)) in z_deflateEnd() argument
457 return deflateEnd(strm); in z_deflateEnd()
459 …LOG_WRAPPERC("- deflateEnd total_in=%d total_out=%d\n", (int)(strm->total_in), (int)(strm->total_o… in z_deflateEnd()
461 ZWRAP_CCtx* zwc = (ZWRAP_CCtx*) strm->state; in z_deflateEnd()
463 strm->state = NULL; in z_deflateEnd()
471 ZEXTERN uLong ZEXPORT z_deflateBound OF((z_streamp strm, in z_deflateBound() argument
475 return deflateBound(strm, sourceLen); in z_deflateBound()
481 ZEXTERN int ZEXPORT z_deflateParams OF((z_streamp strm, in z_deflateParams() argument
487 return deflateParams(strm, level, strategy); in z_deflateParams()
526 static ZWRAP_DCtx* ZWRAP_createDCtx(z_streamp strm) in ZWRAP_createDCtx() argument
531 if (strm->zalloc && strm->zfree) { in ZWRAP_createDCtx()
535 customMem.opaque = strm; in ZWRAP_createDCtx()
539 zwd->allocFunc = *strm; in ZWRAP_createDCtx()
557 int ZWRAP_isUsingZSTDdecompression(z_streamp strm) in ZWRAP_isUsingZSTDdecompression() argument
559 if (strm == NULL) return 0; in ZWRAP_isUsingZSTDdecompression()
560 return (strm->reserved == ZWRAP_ZSTD_STREAM); in ZWRAP_isUsingZSTDdecompression()
564 static int ZWRAPD_finishWithError(ZWRAP_DCtx* zwd, z_streamp strm, int error) in ZWRAPD_finishWithError() argument
568 strm->state = NULL; in ZWRAPD_finishWithError()
572 static int ZWRAPD_finishWithErrorMsg(z_streamp strm, char* message) in ZWRAPD_finishWithErrorMsg() argument
574 ZWRAP_DCtx* const zwd = (ZWRAP_DCtx*) strm->state; in ZWRAPD_finishWithErrorMsg()
575 strm->msg = message; in ZWRAPD_finishWithErrorMsg()
578 return ZWRAPD_finishWithError(zwd, strm, 0); in ZWRAPD_finishWithErrorMsg()
582 ZEXTERN int ZEXPORT z_inflateInit_ OF((z_streamp strm, in z_inflateInit_() argument
586 strm->reserved = ZWRAP_ZLIB_STREAM; in z_inflateInit_()
587 return inflateInit(strm); in z_inflateInit_()
590 { ZWRAP_DCtx* const zwd = ZWRAP_createDCtx(strm); in z_inflateInit_()
592 if (zwd == NULL) return ZWRAPD_finishWithError(zwd, strm, 0); in z_inflateInit_()
595 if (zwd->version == NULL) return ZWRAPD_finishWithError(zwd, strm, 0); in z_inflateInit_()
600 strm->state = convert_into_sis(zwd); in z_inflateInit_()
601 strm->total_in = 0; in z_inflateInit_()
602 strm->total_out = 0; in z_inflateInit_()
603 strm->reserved = ZWRAP_UNKNOWN_STREAM; in z_inflateInit_()
604 strm->adler = 0; in z_inflateInit_()
611 ZEXTERN int ZEXPORT z_inflateInit2_ OF((z_streamp strm, int windowBits, in z_inflateInit2_() argument
615 return inflateInit2_(strm, windowBits, version, stream_size); in z_inflateInit2_()
618 { int const ret = z_inflateInit_ (strm, version, stream_size); in z_inflateInit2_()
621 ZWRAP_DCtx* const zwd = (ZWRAP_DCtx*)strm->state; in z_inflateInit2_()
629 int ZWRAP_inflateReset_keepDict(z_streamp strm) in ZWRAP_inflateReset_keepDict() argument
632 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in ZWRAP_inflateReset_keepDict()
633 return inflateReset(strm); in ZWRAP_inflateReset_keepDict()
635 { ZWRAP_DCtx* const zwd = (ZWRAP_DCtx*) strm->state; in ZWRAP_inflateReset_keepDict()
642 strm->total_in = 0; in ZWRAP_inflateReset_keepDict()
643 strm->total_out = 0; in ZWRAP_inflateReset_keepDict()
648 ZEXTERN int ZEXPORT z_inflateReset OF((z_streamp strm)) in z_inflateReset() argument
651 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflateReset()
652 return inflateReset(strm); in z_inflateReset()
654 { int const ret = ZWRAP_inflateReset_keepDict(strm); in z_inflateReset()
657 { ZWRAP_DCtx* const zwd = (ZWRAP_DCtx*) strm->state; in z_inflateReset()
666 ZEXTERN int ZEXPORT z_inflateReset2 OF((z_streamp strm, in z_inflateReset2() argument
669 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflateReset2()
670 return inflateReset2(strm, windowBits); in z_inflateReset2()
672 { int const ret = z_inflateReset (strm); in z_inflateReset2()
674 ZWRAP_DCtx* const zwd = (ZWRAP_DCtx*)strm->state; in z_inflateReset2()
684 ZEXTERN int ZEXPORT z_inflateSetDictionary OF((z_streamp strm, in z_inflateSetDictionary() argument
689 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflateSetDictionary()
690 return inflateSetDictionary(strm, dictionary, dictLength); in z_inflateSetDictionary()
692 { ZWRAP_DCtx* const zwd = (ZWRAP_DCtx*) strm->state; in z_inflateSetDictionary()
695 if (ZSTD_isError(initErr)) return ZWRAPD_finishWithError(zwd, strm, 0); } in z_inflateSetDictionary()
702 zwd->outBuffer.dst = strm->next_out; in z_inflateSetDictionary()
711 return ZWRAPD_finishWithError(zwd, strm, 0); in z_inflateSetDictionary()
718 ZEXTERN int ZEXPORT z_inflate OF((z_streamp strm, int flush)) in z_inflate() argument
722 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) { in z_inflate()
723 int const result = inflate(strm, flush); in z_inflate()
725 …(int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_in, (int)strm->total_out, … in z_inflate()
729 if (strm->avail_in <= 0) return Z_OK; in z_inflate()
731 zwd = (ZWRAP_DCtx*) strm->state; in z_inflate()
733 … (int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_in, (int)strm->total_out); in z_inflate()
739 if (zwd->totalInBytes == 0 && strm->avail_in >= ZLIB_HEADERSIZE) { in z_inflate()
740 if (ZWRAP_readLE32(strm->next_in) != ZSTD_MAGICNUMBER) { in z_inflate()
742 … inflateInit2_(strm, zwd->windowBits, zwd->version, zwd->stream_size) : in z_inflate()
743 inflateInit_(strm, zwd->version, zwd->stream_size); in z_inflate()
745 if (initErr != Z_OK) return ZWRAPD_finishWithError(zwd, strm, initErr); in z_inflate()
748 strm->reserved = ZWRAP_ZLIB_STREAM; in z_inflate()
753 inflateSync(strm) : in z_inflate()
754 inflate(strm, flush); in z_inflate()
756 …(int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_in, (int)strm->total_out, … in z_inflate()
760 size_t const srcSize = MIN(strm->avail_in, ZLIB_HEADERSIZE - zwd->totalInBytes); in z_inflate()
761 memcpy(zwd->headerBuf+zwd->totalInBytes, strm->next_in, srcSize); in z_inflate()
762 strm->total_in += srcSize; in z_inflate()
764 strm->next_in += srcSize; in z_inflate()
765 strm->avail_in -= srcSize; in z_inflate()
770 strm2.next_in = strm->next_in; in z_inflate()
771 strm2.avail_in = strm->avail_in; in z_inflate()
772 strm2.next_out = strm->next_out; in z_inflate()
773 strm2.avail_out = strm->avail_out; in z_inflate()
776 … inflateInit2_(strm, zwd->windowBits, zwd->version, zwd->stream_size) : in z_inflate()
777 inflateInit_(strm, zwd->version, zwd->stream_size); in z_inflate()
779 if (initErr != Z_OK) return ZWRAPD_finishWithError(zwd, strm, initErr); in z_inflate()
783 strm->next_in = (unsigned char*)zwd->headerBuf; in z_inflate()
784 strm->avail_in = ZLIB_HEADERSIZE; in z_inflate()
785 strm->avail_out = 0; in z_inflate()
786 { int const dErr = inflate(strm, Z_NO_FLUSH); in z_inflate()
788 dErr, (int)strm->avail_in); in z_inflate()
790 return ZWRAPD_finishWithError(zwd, strm, dErr); in z_inflate()
792 if (strm->avail_in > 0) goto error; in z_inflate()
794 strm->next_in = strm2.next_in; in z_inflate()
795 strm->avail_in = strm2.avail_in; in z_inflate()
796 strm->next_out = strm2.next_out; in z_inflate()
797 strm->avail_out = strm2.avail_out; in z_inflate()
799 strm->reserved = ZWRAP_ZLIB_STREAM; /* mark as zlib stream */ in z_inflate()
804 inflateSync(strm) : in z_inflate()
805 inflate(strm, flush); in z_inflate()
807 …(int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_in, (int)strm->total_out, … in z_inflate()
812 strm->reserved = ZWRAP_ZSTD_STREAM; /* mark as zstd steam */ in z_inflate()
814 if (flush == Z_INFLATE_SYNC) { strm->msg = "inflateSync is not supported!"; goto error; } in z_inflate()
823 if (zwd->totalInBytes == 0 && strm->avail_in >= ZSTD_HEADERSIZE) { in z_inflate()
836 size_t const srcSize = MIN(strm->avail_in, ZSTD_HEADERSIZE - zwd->totalInBytes); in z_inflate()
837 memcpy(zwd->headerBuf+zwd->totalInBytes, strm->next_in, srcSize); in z_inflate()
838 strm->total_in += srcSize; in z_inflate()
840 strm->next_in += srcSize; in z_inflate()
841 strm->avail_in -= srcSize; in z_inflate()
859 zwd->outBuffer.dst = strm->next_out; in z_inflate()
873 zwd->inBuffer.src = strm->next_in; in z_inflate()
874 zwd->inBuffer.size = strm->avail_in; in z_inflate()
876 zwd->outBuffer.dst = strm->next_out; in z_inflate()
877 zwd->outBuffer.size = strm->avail_out; in z_inflate()
881 (int)dErr, (int)strm->avail_in, (int)strm->avail_out); in z_inflate()
890 strm->next_out += zwd->outBuffer.pos; in z_inflate()
891 strm->total_out += zwd->outBuffer.pos; in z_inflate()
892 strm->avail_out -= zwd->outBuffer.pos; in z_inflate()
893 strm->total_in += zwd->inBuffer.pos; in z_inflate()
895 strm->next_in += zwd->inBuffer.pos; in z_inflate()
896 strm->avail_in -= zwd->inBuffer.pos; in z_inflate()
899 … (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_in, (int)strm->total_out); in z_inflate()
906 …(int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_in, (int)strm->total_out, … in z_inflate()
910 return ZWRAPD_finishWithError(zwd, strm, 0); in z_inflate()
914 ZEXTERN int ZEXPORT z_inflateEnd OF((z_streamp strm)) in z_inflateEnd() argument
916 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflateEnd()
917 return inflateEnd(strm); in z_inflateEnd()
920 (int)(strm->total_in), (int)(strm->total_out)); in z_inflateEnd()
921 { ZWRAP_DCtx* const zwd = (ZWRAP_DCtx*) strm->state; in z_inflateEnd()
925 strm->state = NULL; in z_inflateEnd()
931 ZEXTERN int ZEXPORT z_inflateSync OF((z_streamp strm)) in z_inflateSync() argument
933 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) { in z_inflateSync()
934 return inflateSync(strm); in z_inflateSync()
937 return z_inflate(strm, Z_INFLATE_SYNC); in z_inflateSync()
952 ZEXTERN int ZEXPORT z_deflateTune OF((z_streamp strm, in z_deflateTune() argument
959 return deflateTune(strm, good_length, max_lazy, nice_length, max_chain); in z_deflateTune()
960 return ZWRAPC_finishWithErrorMsg(strm, "deflateTune is not supported!"); in z_deflateTune()
965 ZEXTERN int ZEXPORT z_deflatePending OF((z_streamp strm, in z_deflatePending() argument
970 return deflatePending(strm, pending, bits); in z_deflatePending()
971 return ZWRAPC_finishWithErrorMsg(strm, "deflatePending is not supported!"); in z_deflatePending()
976 ZEXTERN int ZEXPORT z_deflatePrime OF((z_streamp strm, in z_deflatePrime() argument
981 return deflatePrime(strm, bits, value); in z_deflatePrime()
982 return ZWRAPC_finishWithErrorMsg(strm, "deflatePrime is not supported!"); in z_deflatePrime()
986 ZEXTERN int ZEXPORT z_deflateSetHeader OF((z_streamp strm, in z_deflateSetHeader() argument
990 return deflateSetHeader(strm, head); in z_deflateSetHeader()
991 return ZWRAPC_finishWithErrorMsg(strm, "deflateSetHeader is not supported!"); in z_deflateSetHeader()
999 ZEXTERN int ZEXPORT z_inflateGetDictionary OF((z_streamp strm, in z_inflateGetDictionary() argument
1003 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflateGetDictionary()
1004 return inflateGetDictionary(strm, dictionary, dictLength); in z_inflateGetDictionary()
1005 return ZWRAPD_finishWithErrorMsg(strm, "inflateGetDictionary is not supported!"); in z_inflateGetDictionary()
1020 ZEXTERN long ZEXPORT z_inflateMark OF((z_streamp strm)) in z_inflateMark() argument
1022 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflateMark()
1023 return inflateMark(strm); in z_inflateMark()
1024 return ZWRAPD_finishWithErrorMsg(strm, "inflateMark is not supported!"); in z_inflateMark()
1029 ZEXTERN int ZEXPORT z_inflatePrime OF((z_streamp strm, in z_inflatePrime() argument
1033 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflatePrime()
1034 return inflatePrime(strm, bits, value); in z_inflatePrime()
1035 return ZWRAPD_finishWithErrorMsg(strm, "inflatePrime is not supported!"); in z_inflatePrime()
1039 ZEXTERN int ZEXPORT z_inflateGetHeader OF((z_streamp strm, in z_inflateGetHeader() argument
1042 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflateGetHeader()
1043 return inflateGetHeader(strm, head); in z_inflateGetHeader()
1044 return ZWRAPD_finishWithErrorMsg(strm, "inflateGetHeader is not supported!"); in z_inflateGetHeader()
1048 ZEXTERN int ZEXPORT z_inflateBackInit_ OF((z_streamp strm, int windowBits, in z_inflateBackInit_() argument
1053 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflateBackInit_()
1054 return inflateBackInit_(strm, windowBits, window, version, stream_size); in z_inflateBackInit_()
1055 return ZWRAPD_finishWithErrorMsg(strm, "inflateBackInit is not supported!"); in z_inflateBackInit_()
1059 ZEXTERN int ZEXPORT z_inflateBack OF((z_streamp strm, in z_inflateBack() argument
1063 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflateBack()
1064 return inflateBack(strm, in, in_desc, out, out_desc); in z_inflateBack()
1065 return ZWRAPD_finishWithErrorMsg(strm, "inflateBack is not supported!"); in z_inflateBack()
1069 ZEXTERN int ZEXPORT z_inflateBackEnd OF((z_streamp strm)) in z_inflateBackEnd() argument
1071 if (g_ZWRAPdecompressionType == ZWRAP_FORCE_ZLIB || !strm->reserved) in z_inflateBackEnd()
1072 return inflateBackEnd(strm); in z_inflateBackEnd()
1073 return ZWRAPD_finishWithErrorMsg(strm, "inflateBackEnd is not supported!"); in z_inflateBackEnd()