Lines Matching refs:headerSize
94 size_t headerSize; member
372 static size_t ZSTD_decodeFrameHeader(ZSTD_DCtx *dctx, const void *src, size_t headerSize) in ZSTD_decodeFrameHeader() argument
374 size_t const result = ZSTD_getFrameParams(&(dctx->fParams), src, headerSize); in ZSTD_decodeFrameHeader()
781 size_t const headerSize = FSE_readNCount(norm, &max, &tableLog, src, srcSize); in ZSTD_buildSeqTable() local
782 if (FSE_isError(headerSize)) in ZSTD_buildSeqTable()
788 return headerSize; in ZSTD_buildSeqTable()
1520 size_t const headerSize = ZSTD_frameHeaderSize(ip, remainingSize); in ZSTD_findFrameCompressedSize() local
1521 if (ZSTD_isError(headerSize)) in ZSTD_findFrameCompressedSize()
1522 return headerSize; in ZSTD_findFrameCompressedSize()
1533 ip += headerSize; in ZSTD_findFrameCompressedSize()
1534 remainingSize -= headerSize; in ZSTD_findFrameCompressedSize()
1761 dctx->headerSize = ZSTD_frameHeaderSize(src, ZSTD_frameHeaderSize_prefix); in ZSTD_decompressContinue()
1762 if (ZSTD_isError(dctx->headerSize)) in ZSTD_decompressContinue()
1763 return dctx->headerSize; in ZSTD_decompressContinue()
1765 if (dctx->headerSize > ZSTD_frameHeaderSize_prefix) { in ZSTD_decompressContinue()
1766 dctx->expected = dctx->headerSize - ZSTD_frameHeaderSize_prefix; in ZSTD_decompressContinue()
1774 CHECK_F(ZSTD_decodeFrameHeader(dctx, dctx->headerBuffer, dctx->headerSize)); in ZSTD_decompressContinue()