Home
last modified time | relevance | path

Searched refs:workspaceSize (Results 1 – 12 of 12) sorted by relevance

/linux-4.19.296/lib/zstd/
Dhuf.h104 …t dstSize, const void *cSrc, size_t cSrcSize, void *workspace, size_t workspaceSize); /**< decodes…
106 size_t workspaceSize); /**< considers RLE and uncompressed as errors */
108 size_t workspaceSize); /**< single-symbol decoder */
110 size_t workspaceSize); /**< double-symbols decoder */
130 …UF_CElt *CTable, unsigned maxSymbolValue, unsigned huffLog, void *workspace, size_t workspaceSize);
160 void *workspace, size_t workspaceSize);
164 …, unsigned maxSymbolValue, const void *src, size_t srcSize, void *workspace, size_t workspaceSize);
180 …2_wksp(HUF_DTable *DTable, const void *src, size_t srcSize, void *workspace, size_t workspaceSize);
181 …4_wksp(HUF_DTable *DTable, const void *src, size_t srcSize, void *workspace, size_t workspaceSize);
201 …id *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, void *workspace, size_t workspaceSize);
[all …]
Dhuf_decompress.c90 …X2_wksp(HUF_DTable *DTable, const void *src, size_t srcSize, void *workspace, size_t workspaceSize) in HUF_readDTableX2_wksp() argument
107 if ((spaceUsed32 << 2) > workspaceSize) in HUF_readDTableX2_wksp()
110 workspaceSize -= (spaceUsed32 << 2); in HUF_readDTableX2_wksp()
115 …, HUF_SYMBOLVALUE_MAX + 1, rankVal, &nbSymbols, &tableLog, src, srcSize, workspace, workspaceSize); in HUF_readDTableX2_wksp()
232 …oid *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, void *workspace, size_t workspaceSize) in HUF_decompress1X2_DCtx_wksp() argument
236 size_t const hSize = HUF_readDTableX2_wksp(DCtx, cSrc, cSrcSize, workspace, workspaceSize); in HUF_decompress1X2_DCtx_wksp()
363 …oid *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, void *workspace, size_t workspaceSize) in HUF_decompress4X2_DCtx_wksp() argument
367 size_t const hSize = HUF_readDTableX2_wksp(dctx, cSrc, cSrcSize, workspace, workspaceSize); in HUF_decompress4X2_DCtx_wksp()
482 …X4_wksp(HUF_DTable *DTable, const void *src, size_t srcSize, void *workspace, size_t workspaceSize) in HUF_readDTableX4_wksp() argument
512 if ((spaceUsed32 << 2) > workspaceSize) in HUF_readDTableX4_wksp()
[all …]
Dzstd_common.c35 ZSTD_customMem ZSTD_initStack(void *workspace, size_t workspaceSize) in ZSTD_initStack() argument
40 if (!workspace || workspaceSize < sizeof(ZSTD_stack) || workspace != ZSTD_PTR_ALIGN(workspace)) { in ZSTD_initStack()
46 stack->end = (char *)workspace + workspaceSize; in ZSTD_initStack()
Dfse_decompress.c95 …rmalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void *workspace, size_t workspaceSize) in FSE_buildDTable_wksp() argument
106 if (workspaceSize < sizeof(U16) * (FSE_MAX_SYMBOL_VALUE + 1)) in FSE_buildDTable_wksp()
294 …apacity, const void *cSrc, size_t cSrcSize, unsigned maxLog, void *workspace, size_t workspaceSize) in FSE_decompress_wksp() argument
313 if ((spaceUsed32 << 2) > workspaceSize) in FSE_decompress_wksp()
316 workspaceSize -= (spaceUsed32 << 2); in FSE_decompress_wksp()
329 CHECK_F(FSE_buildDTable_wksp(dt, counting, maxSymbolValue, tableLog, workspace, workspaceSize)); in FSE_decompress_wksp()
Dhuf_compress.c82 …dst, size_t dstSize, const void *weightTable, size_t wtSize, void *workspace, size_t workspaceSize) in HUF_compressWeights_wksp() argument
105 if ((spaceUsed32 << 2) > workspaceSize) in HUF_compressWeights_wksp()
108 workspaceSize -= (spaceUsed32 << 2); in HUF_compressWeights_wksp()
133 CHECK_F(FSE_buildCTable_wksp(CTable, norm, maxSymbolValue, tableLog, workspace, workspaceSize)); in HUF_compressWeights_wksp()
152 …ze, const HUF_CElt *CTable, U32 maxSymbolValue, U32 huffLog, void *workspace, size_t workspaceSize) in HUF_writeCTable_wksp() argument
166 if ((spaceUsed32 << 2) > workspaceSize) in HUF_writeCTable_wksp()
169 workspaceSize -= (spaceUsed32 << 2); in HUF_writeCTable_wksp()
184 …ompressWeights_wksp(op + 1, maxDstSize - 1, huffWeight, maxSymbolValue, workspace, workspaceSize)); in HUF_writeCTable_wksp()
203 …CTable, U32 maxSymbolValue, const void *src, size_t srcSize, void *workspace, size_t workspaceSize) in HUF_readCTable_wksp() argument
217 if ((spaceUsed32 << 2) > workspaceSize) in HUF_readCTable_wksp()
[all …]
Dentropy_common.c167 …mbolsPtr, U32 *tableLogPtr, const void *src, size_t srcSize, void *workspace, size_t workspaceSize) in HUF_readStats_wksp() argument
197 …oSize = FSE_decompress_wksp(huffWeight, hwSize - 1, ip + 1, iSize, 6, workspace, workspaceSize); /… in HUF_readStats_wksp()
Dfse.h190 …malizedCounter, unsigned maxSymbolValue, unsigned tableLog, void *workspace, size_t workspaceSize);
284 …pacity, const void *cSrc, size_t cSrcSize, unsigned maxLog, void *workspace, size_t workspaceSize);
Ddecompress.c141 ZSTD_DCtx *ZSTD_initDCtx(void *workspace, size_t workspaceSize) in ZSTD_initDCtx() argument
143 ZSTD_customMem const stackMem = ZSTD_initStack(workspace, workspaceSize); in ZSTD_initDCtx()
753 …ize, const FSE_decode_t4 *defaultTable, U32 flagRepeatTable, void *workspace, size_t workspaceSize) in ZSTD_buildSeqTable() argument
776 if ((spaceUsed32 << 2) > workspaceSize) in ZSTD_buildSeqTable()
779 workspaceSize -= (spaceUsed32 << 2); in ZSTD_buildSeqTable()
786 FSE_buildDTable_wksp(DTableSpace, norm, max, tableLog, workspace, workspaceSize); in ZSTD_buildSeqTable()
2082 ZSTD_DDict *ZSTD_initDDict(const void *dict, size_t dictSize, void *workspace, size_t workspaceSize) in ZSTD_initDDict() argument
2084 ZSTD_customMem const stackMem = ZSTD_initStack(workspace, workspaceSize); in ZSTD_initDDict()
2213 ZSTD_DStream *ZSTD_initDStream(size_t maxWindowSize, void *workspace, size_t workspaceSize) in ZSTD_initDStream() argument
2215 ZSTD_customMem const stackMem = ZSTD_initStack(workspace, workspaceSize); in ZSTD_initDStream()
[all …]
Dfse_compress.c92 …rmalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void *workspace, size_t workspaceSize) in FSE_buildCTable_wksp() argument
112 if ((spaceUsed32 << 2) > workspaceSize) in FSE_buildCTable_wksp()
115 workspaceSize -= (spaceUsed32 << 2); in FSE_buildCTable_wksp()
Dcompress.c103 size_t const workspaceSize = tableSpace + (256 * sizeof(U32)) /* huffTable */ + tokenSpace + in ZSTD_CCtxWorkspaceBound() local
106 return ZSTD_ALIGN(sizeof(ZSTD_stack)) + ZSTD_ALIGN(sizeof(ZSTD_CCtx)) + ZSTD_ALIGN(workspaceSize); in ZSTD_CCtxWorkspaceBound()
122 ZSTD_CCtx *ZSTD_initCCtx(void *workspace, size_t workspaceSize) in ZSTD_initCCtx() argument
124 ZSTD_customMem const stackMem = ZSTD_initStack(workspace, workspaceSize); in ZSTD_initCCtx()
607 size_t workspaceSize = sizeof(zc->tmpCounters); in ZSTD_compressSequences_internal() local
616 workspaceSize -= (spaceUsed32 << 2); in ZSTD_compressSequences_internal()
661 …dCTable_wksp(CTable_LitLength, LL_defaultNorm, MaxLL, LL_defaultNormLog, workspace, workspaceSize); in ZSTD_compressSequences_internal()
677 FSE_buildCTable_wksp(CTable_LitLength, norm, max, tableLog, workspace, workspaceSize); in ZSTD_compressSequences_internal()
693 …Table_wksp(CTable_OffsetBits, OF_defaultNorm, MaxOff, OF_defaultNormLog, workspace, workspaceSize); in ZSTD_compressSequences_internal()
709 FSE_buildCTable_wksp(CTable_OffsetBits, norm, max, tableLog, workspace, workspaceSize); in ZSTD_compressSequences_internal()
[all …]
Dzstd_internal.h238 ZSTD_customMem ZSTD_initStack(void *workspace, size_t workspaceSize);
/linux-4.19.296/include/linux/
Dzstd.h240 ZSTD_CCtx *ZSTD_initCCtx(void *workspace, size_t workspaceSize);
283 ZSTD_DCtx *ZSTD_initDCtx(void *workspace, size_t workspaceSize);
384 ZSTD_parameters params, void *workspace, size_t workspaceSize);
439 void *workspace, size_t workspaceSize);
557 size_t workspaceSize);
573 size_t workspaceSize);
696 size_t workspaceSize);
710 const ZSTD_DDict *ddict, void *workspace, size_t workspaceSize);