Lines Matching refs:totalInBytes

159     unsigned long long totalInBytes; /* we need it as strm->total_in can be reset by user */  member
280 zwc->totalInBytes = 0; in z_deflateInit_()
311 zwc->totalInBytes = 0; in ZWRAP_deflateReset_keepDict()
382 if (zwc->totalInBytes == 0) { in z_deflate()
420 zwc->totalInBytes += zwc->inBuffer.pos; in z_deflate()
520 unsigned long long totalInBytes; /* we need it as strm->total_in can be reset by user */ member
614 zwd->totalInBytes = 0; in z_inflateInit_()
654 zwd->totalInBytes = 0; in ZWRAP_inflateReset_keepDict()
713 if (zwd->totalInBytes == ZSTD_HEADERSIZE) { in z_inflateSetDictionary()
715 zwd->inBuffer.size = zwd->totalInBytes; in z_inflateSetDictionary()
753 if (zwd->totalInBytes < ZLIB_HEADERSIZE) { in z_inflate()
754 if (zwd->totalInBytes == 0 && strm->avail_in >= ZLIB_HEADERSIZE) { 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()
778 zwd->totalInBytes += srcSize; in z_inflate()
781 if (zwd->totalInBytes < ZLIB_HEADERSIZE) return Z_OK; in z_inflate()
837 if (zwd->totalInBytes < ZSTD_HEADERSIZE) { 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()
854 zwd->totalInBytes += srcSize; in z_inflate()
857 if (zwd->totalInBytes < ZSTD_HEADERSIZE) return Z_OK; in z_inflate()
909 zwd->totalInBytes += zwd->inBuffer.pos; in z_inflate()