Home
last modified time | relevance | path

Searched refs:offcodeMaxValue (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/lib/zstd/decompress/
H A Dzstd_decompress.c1317 unsigned offcodeMaxValue = MaxOff, offcodeLog; in ZSTD_loadDEntropy() local
1318 size_t const offcodeHeaderSize = FSE_readNCount(offcodeNCount, &offcodeMaxValue, &offcodeLog, dictPtr, (size_t)(dictEnd-dictPtr)); in ZSTD_loadDEntropy()
1320 RETURN_ERROR_IF(offcodeMaxValue > MaxOff, dictionary_corrupted, ""); in ZSTD_loadDEntropy()
1323 offcodeNCount, offcodeMaxValue, in ZSTD_loadDEntropy()
/kernel/linux/linux-5.10/lib/zstd/
H A Ddecompress.c1892 U32 offcodeMaxValue = MaxOff, offcodeLog; in ZSTD_loadEntropy() local
1893 size_t const offcodeHeaderSize = FSE_readNCount(offcodeNCount, &offcodeMaxValue, &offcodeLog, dictPtr, dictEnd - dictPtr); in ZSTD_loadEntropy()
1898 CHECK_E(FSE_buildDTable_wksp(entropy->OFTable, offcodeNCount, offcodeMaxValue, offcodeLog, entropy->workspace, sizeof(entropy->workspace)), dictionary_corrupted); in ZSTD_loadEntropy()
H A Dcompress.c2631 unsigned offcodeMaxValue = MaxOff; in ZSTD_loadZstdDictionary() local
2646 size_t const offcodeHeaderSize = FSE_readNCount(offcodeNCount, &offcodeMaxValue, &offcodeLog, dictPtr, dictEnd - dictPtr); in ZSTD_loadZstdDictionary()
2651 /* Defer checking offcodeMaxValue because we need to know the size of the dictionary content */ in ZSTD_loadZstdDictionary()
2652 CHECK_E(FSE_buildCTable_wksp(cctx->offcodeCTable, offcodeNCount, offcodeMaxValue, offcodeLog, cctx->tmpCounters, sizeof(cctx->tmpCounters)), in ZSTD_loadZstdDictionary()
2703 CHECK_F(ZSTD_checkDictNCount(offcodeNCount, offcodeMaxValue, MIN(offcodeMax, MaxOff))); in ZSTD_loadZstdDictionary()
/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_compress.c4227 unsigned offcodeMaxValue = MaxOff; in ZSTD_loadCEntropy() local
4249 size_t const offcodeHeaderSize = FSE_readNCount(offcodeNCount, &offcodeMaxValue, &offcodeLog, dictPtr, dictEnd-dictPtr); in ZSTD_loadCEntropy()
4258 /* Defer checking offcodeMaxValue because we need to know the size of the dictionary content */ in ZSTD_loadCEntropy()
4303 bs->entropy.fse.offcode_repeatMode = ZSTD_dictNCountRepeat(offcodeNCount, offcodeMaxValue, MIN(offcodeMax, MaxOff)); in ZSTD_loadCEntropy()

Completed in 61 milliseconds