Lines Matching refs:totalInBytes
93 unsigned long long totalInBytes; /* we need it as strm->total_in can be reset by user */ member
200 zwc->totalInBytes = 0; in z_deflateInit_()
231 zwc->totalInBytes = 0; in ZWRAP_deflateReset_keepDict()
302 if (zwc->totalInBytes == 0) { in z_deflate()
334 zwc->totalInBytes += zwc->inBuffer.pos; in z_deflate()
434 unsigned long long totalInBytes; /* we need it as strm->total_in can be reset by user */ member
528 zwd->totalInBytes = 0; in z_inflateInit_()
568 zwd->totalInBytes = 0; in ZWRAP_inflateReset_keepDict()
627 if (zwd->totalInBytes == ZSTD_HEADERSIZE) { in z_inflateSetDictionary()
629 zwd->inBuffer.size = zwd->totalInBytes; in z_inflateSetDictionary()
667 if (zwd->totalInBytes < ZLIB_HEADERSIZE) { in z_inflate()
668 if (zwd->totalInBytes == 0 && strm->avail_in >= ZLIB_HEADERSIZE) { in z_inflate()
689 size_t const srcSize = MIN(strm->avail_in, ZLIB_HEADERSIZE - zwd->totalInBytes); in z_inflate()
690 memcpy(zwd->headerBuf+zwd->totalInBytes, strm->next_in, srcSize); in z_inflate()
692 zwd->totalInBytes += srcSize; in z_inflate()
695 if (zwd->totalInBytes < ZLIB_HEADERSIZE) return Z_OK; in z_inflate()
751 if (zwd->totalInBytes < ZSTD_HEADERSIZE) { in z_inflate()
752 if (zwd->totalInBytes == 0 && strm->avail_in >= ZSTD_HEADERSIZE) { in z_inflate()
765 size_t const srcSize = MIN(strm->avail_in, ZSTD_HEADERSIZE - zwd->totalInBytes); in z_inflate()
766 memcpy(zwd->headerBuf+zwd->totalInBytes, strm->next_in, srcSize); in z_inflate()
768 zwd->totalInBytes += srcSize; in z_inflate()
771 if (zwd->totalInBytes < ZSTD_HEADERSIZE) return Z_OK; in z_inflate()
823 zwd->totalInBytes += zwd->inBuffer.pos; in z_inflate()