cSrcSize 197 lib/zstd/fse.h FSE_PUBLIC_API size_t FSE_decompress_usingDTable(void *dst, size_t dstCapacity, const void *cSrc, size_t cSrcSize, const FSE_DTable *dt); cSrcSize 284 lib/zstd/fse.h size_t FSE_decompress_wksp(void *dst, size_t dstCapacity, const void *cSrc, size_t cSrcSize, unsigned maxLog, void *workspace, size_t workspaceSize); cSrcSize 214 lib/zstd/fse_decompress.c FORCE_INLINE size_t FSE_decompress_usingDTable_generic(void *dst, size_t maxDstSize, const void *cSrc, size_t cSrcSize, const FSE_DTable *dt, cSrcSize 227 lib/zstd/fse_decompress.c CHECK_F(BIT_initDStream(&bitD, cSrc, cSrcSize)); cSrcSize 282 lib/zstd/fse_decompress.c size_t FSE_decompress_usingDTable(void *dst, size_t originalSize, const void *cSrc, size_t cSrcSize, const FSE_DTable *dt) cSrcSize 290 lib/zstd/fse_decompress.c return FSE_decompress_usingDTable_generic(dst, originalSize, cSrc, cSrcSize, dt, 1); cSrcSize 291 lib/zstd/fse_decompress.c return FSE_decompress_usingDTable_generic(dst, originalSize, cSrc, cSrcSize, dt, 0); cSrcSize 294 lib/zstd/fse_decompress.c size_t FSE_decompress_wksp(void *dst, size_t dstCapacity, const void *cSrc, size_t cSrcSize, unsigned maxLog, void *workspace, size_t workspaceSize) cSrcSize 319 lib/zstd/fse_decompress.c NCountLength = FSE_readNCount(counting, &maxSymbolValue, &tableLog, istart, cSrcSize); cSrcSize 327 lib/zstd/fse_decompress.c cSrcSize -= NCountLength; cSrcSize 331 lib/zstd/fse_decompress.c return FSE_decompress_usingDTable(dst, dstCapacity, ip, cSrcSize, dt); /* always return, even if it is an error code */ cSrcSize 104 lib/zstd/huf.h size_t HUF_decompress4X_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, void *workspace, size_t workspaceSize); /**< decodes RLE and uncompressed */ cSrcSize 105 lib/zstd/huf.h size_t HUF_decompress4X_hufOnly_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, void *workspace, cSrcSize 107 lib/zstd/huf.h size_t HUF_decompress4X2_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, void *workspace, cSrcSize 109 lib/zstd/huf.h size_t HUF_decompress4X4_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, void *workspace, cSrcSize 178 lib/zstd/huf.h U32 HUF_selectDecoder(size_t dstSize, size_t cSrcSize); cSrcSize 183 lib/zstd/huf.h size_t HUF_decompress4X_usingDTable(void *dst, size_t maxDstSize, const void *cSrc, size_t cSrcSize, const HUF_DTable *DTable); cSrcSize 184 lib/zstd/huf.h size_t HUF_decompress4X2_usingDTable(void *dst, size_t maxDstSize, const void *cSrc, size_t cSrcSize, const HUF_DTable *DTable); cSrcSize 185 lib/zstd/huf.h size_t HUF_decompress4X4_usingDTable(void *dst, size_t maxDstSize, const void *cSrc, size_t cSrcSize, const HUF_DTable *DTable); cSrcSize 201 lib/zstd/huf.h size_t HUF_decompress1X_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, void *workspace, size_t workspaceSize); cSrcSize 202 lib/zstd/huf.h size_t HUF_decompress1X2_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, void *workspace, cSrcSize 204 lib/zstd/huf.h size_t HUF_decompress1X4_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, void *workspace, cSrcSize 207 lib/zstd/huf.h size_t HUF_decompress1X_usingDTable(void *dst, size_t maxDstSize, const void *cSrc, size_t cSrcSize, cSrcSize 209 lib/zstd/huf.h size_t HUF_decompress1X2_usingDTable(void *dst, size_t maxDstSize, const void *cSrc, size_t cSrcSize, const HUF_DTable *DTable); cSrcSize 210 lib/zstd/huf.h size_t HUF_decompress1X4_usingDTable(void *dst, size_t maxDstSize, const void *cSrc, size_t cSrcSize, const HUF_DTable *DTable); cSrcSize 199 lib/zstd/huf_decompress.c static size_t HUF_decompress1X2_usingDTable_internal(void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, const HUF_DTable *DTable) cSrcSize 210 lib/zstd/huf_decompress.c size_t const errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); cSrcSize 224 lib/zstd/huf_decompress.c size_t HUF_decompress1X2_usingDTable(void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, const HUF_DTable *DTable) cSrcSize 229 lib/zstd/huf_decompress.c return HUF_decompress1X2_usingDTable_internal(dst, dstSize, cSrc, cSrcSize, DTable); cSrcSize 232 lib/zstd/huf_decompress.c size_t HUF_decompress1X2_DCtx_wksp(HUF_DTable *DCtx, void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, void *workspace, size_t workspaceSize) cSrcSize 236 lib/zstd/huf_decompress.c size_t const hSize = HUF_readDTableX2_wksp(DCtx, cSrc, cSrcSize, workspace, workspaceSize); cSrcSize 239 lib/zstd/huf_decompress.c if (hSize >= cSrcSize) cSrcSize 242 lib/zstd/huf_decompress.c cSrcSize -= hSize; cSrcSize 244 lib/zstd/huf_decompress.c return HUF_decompress1X2_usingDTable_internal(dst, dstSize, ip, cSrcSize, DCtx); cSrcSize 247 lib/zstd/huf_decompress.c static size_t HUF_decompress4X2_usingDTable_internal(void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, const HUF_DTable *DTable) cSrcSize 250 lib/zstd/huf_decompress.c if (cSrcSize < 10) cSrcSize 268 lib/zstd/huf_decompress.c size_t const length4 = cSrcSize - (length1 + length2 + length3 + 6); cSrcSize 285 lib/zstd/huf_decompress.c if (length4 > cSrcSize) cSrcSize 355 lib/zstd/huf_decompress.c size_t HUF_decompress4X2_usingDTable(void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, const HUF_DTable *DTable) cSrcSize 360 lib/zstd/huf_decompress.c return HUF_decompress4X2_usingDTable_internal(dst, dstSize, cSrc, cSrcSize, DTable); cSrcSize 363 lib/zstd/huf_decompress.c size_t HUF_decompress4X2_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, void *workspace, size_t workspaceSize) cSrcSize 367 lib/zstd/huf_decompress.c size_t const hSize = HUF_readDTableX2_wksp(dctx, cSrc, cSrcSize, workspace, workspaceSize); cSrcSize 370 lib/zstd/huf_decompress.c if (hSize >= cSrcSize) cSrcSize 373 lib/zstd/huf_decompress.c cSrcSize -= hSize; cSrcSize 375 lib/zstd/huf_decompress.c return HUF_decompress4X2_usingDTable_internal(dst, dstSize, ip, cSrcSize, dctx); cSrcSize 655 lib/zstd/huf_decompress.c static size_t HUF_decompress1X4_usingDTable_internal(void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, const HUF_DTable *DTable) cSrcSize 661 lib/zstd/huf_decompress.c size_t const errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); cSrcSize 684 lib/zstd/huf_decompress.c size_t HUF_decompress1X4_usingDTable(void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, const HUF_DTable *DTable) cSrcSize 689 lib/zstd/huf_decompress.c return HUF_decompress1X4_usingDTable_internal(dst, dstSize, cSrc, cSrcSize, DTable); cSrcSize 692 lib/zstd/huf_decompress.c size_t HUF_decompress1X4_DCtx_wksp(HUF_DTable *DCtx, void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, void *workspace, size_t workspaceSize) cSrcSize 696 lib/zstd/huf_decompress.c size_t const hSize = HUF_readDTableX4_wksp(DCtx, cSrc, cSrcSize, workspace, workspaceSize); cSrcSize 699 lib/zstd/huf_decompress.c if (hSize >= cSrcSize) cSrcSize 702 lib/zstd/huf_decompress.c cSrcSize -= hSize; cSrcSize 704 lib/zstd/huf_decompress.c return HUF_decompress1X4_usingDTable_internal(dst, dstSize, ip, cSrcSize, DCtx); cSrcSize 707 lib/zstd/huf_decompress.c static size_t HUF_decompress4X4_usingDTable_internal(void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, const HUF_DTable *DTable) cSrcSize 709 lib/zstd/huf_decompress.c if (cSrcSize < 10) cSrcSize 727 lib/zstd/huf_decompress.c size_t const length4 = cSrcSize - (length1 + length2 + length3 + 6); cSrcSize 744 lib/zstd/huf_decompress.c if (length4 > cSrcSize) cSrcSize 817 lib/zstd/huf_decompress.c size_t HUF_decompress4X4_usingDTable(void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, const HUF_DTable *DTable) cSrcSize 822 lib/zstd/huf_decompress.c return HUF_decompress4X4_usingDTable_internal(dst, dstSize, cSrc, cSrcSize, DTable); cSrcSize 825 lib/zstd/huf_decompress.c size_t HUF_decompress4X4_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, void *workspace, size_t workspaceSize) cSrcSize 829 lib/zstd/huf_decompress.c size_t hSize = HUF_readDTableX4_wksp(dctx, cSrc, cSrcSize, workspace, workspaceSize); cSrcSize 832 lib/zstd/huf_decompress.c if (hSize >= cSrcSize) cSrcSize 835 lib/zstd/huf_decompress.c cSrcSize -= hSize; cSrcSize 837 lib/zstd/huf_decompress.c return HUF_decompress4X4_usingDTable_internal(dst, dstSize, ip, cSrcSize, dctx); cSrcSize 844 lib/zstd/huf_decompress.c size_t HUF_decompress1X_usingDTable(void *dst, size_t maxDstSize, const void *cSrc, size_t cSrcSize, const HUF_DTable *DTable) cSrcSize 847 lib/zstd/huf_decompress.c return dtd.tableType ? HUF_decompress1X4_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable) cSrcSize 848 lib/zstd/huf_decompress.c : HUF_decompress1X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable); cSrcSize 851 lib/zstd/huf_decompress.c size_t HUF_decompress4X_usingDTable(void *dst, size_t maxDstSize, const void *cSrc, size_t cSrcSize, const HUF_DTable *DTable) cSrcSize 854 lib/zstd/huf_decompress.c return dtd.tableType ? HUF_decompress4X4_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable) cSrcSize 855 lib/zstd/huf_decompress.c : HUF_decompress4X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable); cSrcSize 887 lib/zstd/huf_decompress.c U32 HUF_selectDecoder(size_t dstSize, size_t cSrcSize) cSrcSize 890 lib/zstd/huf_decompress.c U32 const Q = (U32)(cSrcSize * 16 / dstSize); /* Q < 16 since dstSize > cSrcSize */ cSrcSize 899 lib/zstd/huf_decompress.c typedef size_t (*decompressionAlgo)(void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize); cSrcSize 901 lib/zstd/huf_decompress.c size_t HUF_decompress4X_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, void *workspace, size_t workspaceSize) cSrcSize 906 lib/zstd/huf_decompress.c if (cSrcSize > dstSize) cSrcSize 908 lib/zstd/huf_decompress.c if (cSrcSize == dstSize) { cSrcSize 912 lib/zstd/huf_decompress.c if (cSrcSize == 1) { cSrcSize 918 lib/zstd/huf_decompress.c U32 const algoNb = HUF_selectDecoder(dstSize, cSrcSize); cSrcSize 919 lib/zstd/huf_decompress.c return algoNb ? HUF_decompress4X4_DCtx_wksp(dctx, dst, dstSize, cSrc, cSrcSize, workspace, workspaceSize) cSrcSize 920 lib/zstd/huf_decompress.c : HUF_decompress4X2_DCtx_wksp(dctx, dst, dstSize, cSrc, cSrcSize, workspace, workspaceSize); cSrcSize 924 lib/zstd/huf_decompress.c size_t HUF_decompress4X_hufOnly_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, void *workspace, size_t workspaceSize) cSrcSize 929 lib/zstd/huf_decompress.c if ((cSrcSize >= dstSize) || (cSrcSize <= 1)) cSrcSize 933 lib/zstd/huf_decompress.c U32 const algoNb = HUF_selectDecoder(dstSize, cSrcSize); cSrcSize 934 lib/zstd/huf_decompress.c return algoNb ? HUF_decompress4X4_DCtx_wksp(dctx, dst, dstSize, cSrc, cSrcSize, workspace, workspaceSize) cSrcSize 935 lib/zstd/huf_decompress.c : HUF_decompress4X2_DCtx_wksp(dctx, dst, dstSize, cSrc, cSrcSize, workspace, workspaceSize); cSrcSize 939 lib/zstd/huf_decompress.c size_t HUF_decompress1X_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, void *workspace, size_t workspaceSize) cSrcSize 944 lib/zstd/huf_decompress.c if (cSrcSize > dstSize) cSrcSize 946 lib/zstd/huf_decompress.c if (cSrcSize == dstSize) { cSrcSize 950 lib/zstd/huf_decompress.c if (cSrcSize == 1) { cSrcSize 956 lib/zstd/huf_decompress.c U32 const algoNb = HUF_selectDecoder(dstSize, cSrcSize); cSrcSize 957 lib/zstd/huf_decompress.c return algoNb ? HUF_decompress1X4_DCtx_wksp(dctx, dst, dstSize, cSrc, cSrcSize, workspace, workspaceSize) cSrcSize 958 lib/zstd/huf_decompress.c : HUF_decompress1X2_DCtx_wksp(dctx, dst, dstSize, cSrc, cSrcSize, workspace, workspaceSize);