huffLog 130 lib/zstd/huf.h size_t HUF_writeCTable_wksp(void *dst, size_t maxDstSize, const HUF_CElt *CTable, unsigned maxSymbolValue, unsigned huffLog, void *workspace, size_t workspaceSize); huffLog 152 lib/zstd/huf_compress.c size_t HUF_writeCTable_wksp(void *dst, size_t maxDstSize, const HUF_CElt *CTable, U32 maxSymbolValue, U32 huffLog, void *workspace, size_t workspaceSize) huffLog 177 lib/zstd/huf_compress.c for (n = 1; n < huffLog + 1; n++) huffLog 178 lib/zstd/huf_compress.c bitsToWeight[n] = (BYTE)(huffLog + 1 - n); huffLog 653 lib/zstd/huf_compress.c static size_t HUF_compress_internal(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned huffLog, huffLog 674 lib/zstd/huf_compress.c if (huffLog > HUF_TABLELOG_MAX) huffLog 678 lib/zstd/huf_compress.c if (!huffLog) huffLog 679 lib/zstd/huf_compress.c huffLog = HUF_TABLELOG_DEFAULT; huffLog 714 lib/zstd/huf_compress.c huffLog = HUF_optimalTableLog(huffLog, srcSize, maxSymbolValue); huffLog 716 lib/zstd/huf_compress.c CHECK_V_F(maxBits, HUF_buildCTable_wksp(CTable, count, maxSymbolValue, huffLog, workSpace, wkspSize)); huffLog 717 lib/zstd/huf_compress.c huffLog = (U32)maxBits; huffLog 724 lib/zstd/huf_compress.c CHECK_V_F(hSize, HUF_writeCTable_wksp(op, dstSize, CTable, maxSymbolValue, huffLog, workSpace, wkspSize)); huffLog 748 lib/zstd/huf_compress.c size_t HUF_compress1X_wksp(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned huffLog, void *workSpace, huffLog 751 lib/zstd/huf_compress.c return HUF_compress_internal(dst, dstSize, src, srcSize, maxSymbolValue, huffLog, 1 /* single stream */, workSpace, wkspSize, NULL, NULL, 0); huffLog 754 lib/zstd/huf_compress.c size_t HUF_compress1X_repeat(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned huffLog, void *workSpace, huffLog 757 lib/zstd/huf_compress.c return HUF_compress_internal(dst, dstSize, src, srcSize, maxSymbolValue, huffLog, 1 /* single stream */, workSpace, wkspSize, hufTable, repeat, huffLog 761 lib/zstd/huf_compress.c size_t HUF_compress4X_wksp(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned huffLog, void *workSpace, huffLog 764 lib/zstd/huf_compress.c return HUF_compress_internal(dst, dstSize, src, srcSize, maxSymbolValue, huffLog, 0 /* 4 streams */, workSpace, wkspSize, NULL, NULL, 0); huffLog 767 lib/zstd/huf_compress.c size_t HUF_compress4X_repeat(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned huffLog, void *workSpace, huffLog 770 lib/zstd/huf_compress.c return HUF_compress_internal(dst, dstSize, src, srcSize, maxSymbolValue, huffLog, 0 /* 4 streams */, workSpace, wkspSize, hufTable, repeat,