Lines Matching refs:totalInBytes
159 unsigned long long totalInBytes; /* we need it as strm->total_in can be reset by user */ member
271 zwc->totalInBytes = 0; in z_deflateInit_()
302 zwc->totalInBytes = 0; in ZWRAP_deflateReset_keepDict()
373 if (zwc->totalInBytes == 0) { in z_deflate()
405 zwc->totalInBytes += zwc->inBuffer.pos; in z_deflate()
505 unsigned long long totalInBytes; /* we need it as strm->total_in can be reset by user */ member
599 zwd->totalInBytes = 0; in z_inflateInit_()
639 zwd->totalInBytes = 0; in ZWRAP_inflateReset_keepDict()
698 if (zwd->totalInBytes == ZSTD_HEADERSIZE) { in z_inflateSetDictionary()
700 zwd->inBuffer.size = zwd->totalInBytes; in z_inflateSetDictionary()
738 if (zwd->totalInBytes < ZLIB_HEADERSIZE) { in z_inflate()
739 if (zwd->totalInBytes == 0 && strm->avail_in >= ZLIB_HEADERSIZE) { 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()
763 zwd->totalInBytes += srcSize; in z_inflate()
766 if (zwd->totalInBytes < ZLIB_HEADERSIZE) return Z_OK; in z_inflate()
822 if (zwd->totalInBytes < ZSTD_HEADERSIZE) { 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()
839 zwd->totalInBytes += srcSize; in z_inflate()
842 if (zwd->totalInBytes < ZSTD_HEADERSIZE) return Z_OK; in z_inflate()
894 zwd->totalInBytes += zwd->inBuffer.pos; in z_inflate()