Lines Matching refs:ZSTD_frameHeaderSize_prefix
108 dctx->expected = ZSTD_frameHeaderSize_prefix; in ZSTD_decompressBegin()
191 if (srcSize < ZSTD_frameHeaderSize_prefix) in ZSTD_frameHeaderSize()
198 …return ZSTD_frameHeaderSize_prefix + !singleSegment + ZSTD_did_fieldSize[dictID] + ZSTD_fcs_fieldS… in ZSTD_frameHeaderSize()
211 if (srcSize < ZSTD_frameHeaderSize_prefix) in ZSTD_getFrameParams()
212 return ZSTD_frameHeaderSize_prefix; in ZSTD_getFrameParams()
323 while (srcSize >= ZSTD_frameHeaderSize_prefix) { in ZSTD_findDecompressedSize()
1580 size_t const frameHeaderSize = ZSTD_frameHeaderSize(ip, ZSTD_frameHeaderSize_prefix); in ZSTD_decompressFrame()
1658 while (srcSize >= ZSTD_frameHeaderSize_prefix) { in ZSTD_decompressMultiFrame()
1753 if (srcSize != ZSTD_frameHeaderSize_prefix) in ZSTD_decompressContinue()
1756 memcpy(dctx->headerBuffer, src, ZSTD_frameHeaderSize_prefix); in ZSTD_decompressContinue()
1757 …dctx->expected = ZSTD_skippableHeaderSize - ZSTD_frameHeaderSize_prefix; /* magic number + skippab… in ZSTD_decompressContinue()
1761 dctx->headerSize = ZSTD_frameHeaderSize(src, ZSTD_frameHeaderSize_prefix); in ZSTD_decompressContinue()
1764 memcpy(dctx->headerBuffer, src, ZSTD_frameHeaderSize_prefix); in ZSTD_decompressContinue()
1765 if (dctx->headerSize > ZSTD_frameHeaderSize_prefix) { in ZSTD_decompressContinue()
1766 dctx->expected = dctx->headerSize - ZSTD_frameHeaderSize_prefix; in ZSTD_decompressContinue()
1773 memcpy(dctx->headerBuffer + ZSTD_frameHeaderSize_prefix, src, dctx->expected); in ZSTD_decompressContinue()
1846 memcpy(dctx->headerBuffer + ZSTD_frameHeaderSize_prefix, src, dctx->expected); in ZSTD_decompressContinue()
2285 return ZSTD_frameHeaderSize_prefix; in ZSTD_resetDStream()