Home
last modified time | relevance | path

Searched refs:seqStore (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_lazy.h41 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
44 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
47 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
50 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
53 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
56 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
59 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
62 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
86 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
89 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
[all …]
H A Dzstd_opt.h26 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
29 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
32 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
46 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
49 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
52 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
59 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
H A Dzstd_fast.c194 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_noDict_generic() argument
399 ZSTD_storeSeq(seqStore, (size_t)(ip0 - anchor), anchor, iend, offcode, mLength); in ZSTD_compressBlock_fast_noDict_generic()
418 ZSTD_storeSeq(seqStore, 0 /*litLen*/, anchor, iend, REPCODE1_TO_OFFBASE, rLength); in ZSTD_compressBlock_fast_noDict_generic()
428 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], \
431 … return ZSTD_compressBlock_fast_##dictMode##_generic(ms, seqStore, rep, src, srcSize, mml, cmov); \
445 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast() argument
457 return ZSTD_compressBlock_fast_noDict_4_1(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast()
459 return ZSTD_compressBlock_fast_noDict_5_1(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast()
461 return ZSTD_compressBlock_fast_noDict_6_1(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast()
463 return ZSTD_compressBlock_fast_noDict_7_1(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast()
[all …]
H A Dzstd_double_fast.c107 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast_noDict_generic() argument
194 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, REPCODE1_TO_OFFBASE, mLength); in ZSTD_compressBlock_doubleFast_noDict_generic()
291 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, OFFSET_TO_OFFBASE(offset), mLength); in ZSTD_compressBlock_doubleFast_noDict_generic()
317 ZSTD_storeSeq(seqStore, 0, anchor, iend, REPCODE1_TO_OFFBASE, rLength); in ZSTD_compressBlock_doubleFast_noDict_generic()
330 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast_dictMatchState_generic() argument
413 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, REPCODE1_TO_OFFBASE, mLength); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
501 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, OFFSET_TO_OFFBASE(offset), mLength); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
530 ZSTD_storeSeq(seqStore, 0, anchor, iend, REPCODE1_TO_OFFBASE, repLength2); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
552 … ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], \
555 … return ZSTD_compressBlock_doubleFast_##dictMode##_generic(ms, seqStore, rep, src, srcSize, mls); \
[all …]
H A Dzstd_opt.c909 RawSeqStore_t seqStore; /* External match candidates store for this block */ member
951 if (optLdm->seqStore.size == 0 || optLdm->seqStore.pos >= optLdm->seqStore.size) { in ZSTD_opt_getNextMatchAndUpdateSeqStore()
958 currSeq = optLdm->seqStore.seq[optLdm->seqStore.pos]; in ZSTD_opt_getNextMatchAndUpdateSeqStore()
959 assert(optLdm->seqStore.posInSequence <= currSeq.litLength + currSeq.matchLength); in ZSTD_opt_getNextMatchAndUpdateSeqStore()
961 literalsBytesRemaining = (optLdm->seqStore.posInSequence < currSeq.litLength) ? in ZSTD_opt_getNextMatchAndUpdateSeqStore()
962 currSeq.litLength - (U32)optLdm->seqStore.posInSequence : in ZSTD_opt_getNextMatchAndUpdateSeqStore()
965 currSeq.matchLength - ((U32)optLdm->seqStore.posInSequence - currSeq.litLength) : in ZSTD_opt_getNextMatchAndUpdateSeqStore()
972 ZSTD_optLdm_skipRawSeqStoreBytes(&optLdm->seqStore, blockBytesRemaining); in ZSTD_opt_getNextMatchAndUpdateSeqStore()
985 ZSTD_optLdm_skipRawSeqStoreBytes(&optLdm->seqStore, currBlockEndPos - currPosInBlock); in ZSTD_opt_getNextMatchAndUpdateSeqStore()
988 … ZSTD_optLdm_skipRawSeqStoreBytes(&optLdm->seqStore, literalsBytesRemaining + matchBytesRemaining); in ZSTD_opt_getNextMatchAndUpdateSeqStore()
[all …]
H A Dzstd_lazy.c1518 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, in ZSTD_compressBlock_lazy_generic() argument
1725 ZSTD_storeSeq(seqStore, litLength, anchor, iend, (U32)offBase, matchLength); in ZSTD_compressBlock_lazy_generic()
1749 ZSTD_storeSeq(seqStore, 0, anchor, iend, REPCODE1_TO_OFFBASE, matchLength); in ZSTD_compressBlock_lazy_generic()
1764 ZSTD_storeSeq(seqStore, 0, anchor, iend, REPCODE1_TO_OFFBASE, matchLength); in ZSTD_compressBlock_lazy_generic()
1786 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_greedy() argument
1789 …return ZSTD_compressBlock_lazy_generic(ms, seqStore, rep, src, srcSize, search_hashChain, 0, ZSTD_… in ZSTD_compressBlock_greedy()
1793 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_greedy_dictMatchState() argument
1796 …return ZSTD_compressBlock_lazy_generic(ms, seqStore, rep, src, srcSize, search_hashChain, 0, ZSTD_… in ZSTD_compressBlock_greedy_dictMatchState()
1800 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_greedy_dedicatedDictSearch() argument
1803 …return ZSTD_compressBlock_lazy_generic(ms, seqStore, rep, src, srcSize, search_hashChain, 0, ZSTD_… in ZSTD_compressBlock_greedy_dedicatedDictSearch()
[all …]
H A Dzstd_fast.h22 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
25 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
28 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
H A Dzstd_double_fast.h25 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
28 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
31 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
H A Dzstd_compress.c223 const SeqStore_t* ZSTD_getSeqStore(const ZSTD_CCtx* ctx) { return &(ctx->seqStore); } in ZSTD_getSeqStore()
2220 …zc->seqStore.sequencesStart = (SeqDef*)ZSTD_cwksp_reserve_aligned64(ws, maxNbSeq * sizeof(SeqDef)); in ZSTD_resetCCtx_internal()
2248 zc->seqStore.litStart = ZSTD_cwksp_reserve_buffer(ws, blockSize + WILDCOPY_OVERLENGTH); in ZSTD_resetCCtx_internal()
2249 zc->seqStore.maxNbLit = blockSize; in ZSTD_resetCCtx_internal()
2269 zc->seqStore.maxNbSeq = maxNbSeq; in ZSTD_resetCCtx_internal()
2270 zc->seqStore.llCode = ZSTD_cwksp_reserve_buffer(ws, maxNbSeq * sizeof(BYTE)); in ZSTD_resetCCtx_internal()
2271 zc->seqStore.mlCode = ZSTD_cwksp_reserve_buffer(ws, maxNbSeq * sizeof(BYTE)); in ZSTD_resetCCtx_internal()
2272 zc->seqStore.ofCode = ZSTD_cwksp_reserve_buffer(ws, maxNbSeq * sizeof(BYTE)); in ZSTD_resetCCtx_internal()
3238 static void ZSTD_validateSeqStore(const SeqStore_t* seqStore, const ZSTD_compressionParameters* cPa… in ZSTD_validateSeqStore() argument
3241 const SeqDef* seq = seqStore->sequencesStart; in ZSTD_validateSeqStore()
[all …]
H A Dzstd_compress_superblock.c130 ZSTD_seqDecompressedSize(SeqStore_t const* seqStore, in ZSTD_seqDecompressedSize() argument
138 const ZSTD_SequenceLength seqLen = ZSTD_getSequenceLength(seqStore, sequences+n); in ZSTD_seqDecompressedSize()
430 static size_t countLiterals(SeqStore_t const* seqStore, const SeqDef* sp, size_t seqCount) in countLiterals() argument
435 total += ZSTD_getSequenceLength(seqStore, sp+n).litLength; in countLiterals()
673 FORWARD_IF_ERROR(ZSTD_buildBlockEntropyStats(&zc->seqStore, in ZSTD_compressSuperBlock()
680 return ZSTD_compressSubBlock_multi(&zc->seqStore, in ZSTD_compressSuperBlock()
H A Dzstd_ldm.c683 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_ldm_blockCompress() argument
702 lastLLSize = blockCompressor(ms, seqStore, rep, src, srcSize); in ZSTD_ldm_blockCompress()
728 blockCompressor(ms, seqStore, rep, ip, sequence.litLength); in ZSTD_ldm_blockCompress()
735 ZSTD_storeSeq(seqStore, newLitLength, ip - newLitLength, iend, in ZSTD_ldm_blockCompress()
745 return blockCompressor(ms, seqStore, rep, ip, iend - ip); in ZSTD_ldm_blockCompress()
H A Dzstd_ldm.h65 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
H A Dzstd_compress_internal.h127 MEM_STATIC ZSTD_SequenceLength ZSTD_getSequenceLength(SeqStore_t const* seqStore, SeqDef const* seq) in ZSTD_getSequenceLength() argument
132 if (seqStore->longLengthPos == (U32)(seq - seqStore->sequencesStart)) { in ZSTD_getSequenceLength()
133 if (seqStore->longLengthType == ZSTD_llt_literalLength) { in ZSTD_getSequenceLength()
136 if (seqStore->longLengthType == ZSTD_llt_matchLength) { in ZSTD_getSequenceLength()
496 SeqStore_t seqStore; /* sequences storage ptrs */ member
580 ZSTD_MatchState_t* bs, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_lazy.h40 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
43 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
46 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
49 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
52 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
55 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
58 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
61 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
85 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
88 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
[all …]
H A Dzstd_opt.h25 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
28 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
31 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
45 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
48 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
51 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
58 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
H A Dzstd_fast.c193 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_noDict_generic() argument
398 ZSTD_storeSeq(seqStore, (size_t)(ip0 - anchor), anchor, iend, offcode, mLength); in ZSTD_compressBlock_fast_noDict_generic()
417 ZSTD_storeSeq(seqStore, 0 /*litLen*/, anchor, iend, REPCODE1_TO_OFFBASE, rLength); in ZSTD_compressBlock_fast_noDict_generic()
427 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], \
430 … return ZSTD_compressBlock_fast_##dictMode##_generic(ms, seqStore, rep, src, srcSize, mml, cmov); \
444 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast() argument
456 return ZSTD_compressBlock_fast_noDict_4_1(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast()
458 return ZSTD_compressBlock_fast_noDict_5_1(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast()
460 return ZSTD_compressBlock_fast_noDict_6_1(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast()
462 return ZSTD_compressBlock_fast_noDict_7_1(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast()
[all …]
H A Dzstd_double_fast.c106 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast_noDict_generic() argument
193 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, REPCODE1_TO_OFFBASE, mLength); in ZSTD_compressBlock_doubleFast_noDict_generic()
290 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, OFFSET_TO_OFFBASE(offset), mLength); in ZSTD_compressBlock_doubleFast_noDict_generic()
316 ZSTD_storeSeq(seqStore, 0, anchor, iend, REPCODE1_TO_OFFBASE, rLength); in ZSTD_compressBlock_doubleFast_noDict_generic()
329 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast_dictMatchState_generic() argument
412 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, REPCODE1_TO_OFFBASE, mLength); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
500 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, OFFSET_TO_OFFBASE(offset), mLength); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
529 ZSTD_storeSeq(seqStore, 0, anchor, iend, REPCODE1_TO_OFFBASE, repLength2); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
551 … ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], \
554 … return ZSTD_compressBlock_doubleFast_##dictMode##_generic(ms, seqStore, rep, src, srcSize, mls); \
[all …]
H A Dzstd_opt.c908 RawSeqStore_t seqStore; /* External match candidates store for this block */ member
950 if (optLdm->seqStore.size == 0 || optLdm->seqStore.pos >= optLdm->seqStore.size) { in ZSTD_opt_getNextMatchAndUpdateSeqStore()
957 currSeq = optLdm->seqStore.seq[optLdm->seqStore.pos]; in ZSTD_opt_getNextMatchAndUpdateSeqStore()
958 assert(optLdm->seqStore.posInSequence <= currSeq.litLength + currSeq.matchLength); in ZSTD_opt_getNextMatchAndUpdateSeqStore()
960 literalsBytesRemaining = (optLdm->seqStore.posInSequence < currSeq.litLength) ? in ZSTD_opt_getNextMatchAndUpdateSeqStore()
961 currSeq.litLength - (U32)optLdm->seqStore.posInSequence : in ZSTD_opt_getNextMatchAndUpdateSeqStore()
964 currSeq.matchLength - ((U32)optLdm->seqStore.posInSequence - currSeq.litLength) : in ZSTD_opt_getNextMatchAndUpdateSeqStore()
971 ZSTD_optLdm_skipRawSeqStoreBytes(&optLdm->seqStore, blockBytesRemaining); in ZSTD_opt_getNextMatchAndUpdateSeqStore()
984 ZSTD_optLdm_skipRawSeqStoreBytes(&optLdm->seqStore, currBlockEndPos - currPosInBlock); in ZSTD_opt_getNextMatchAndUpdateSeqStore()
987 … ZSTD_optLdm_skipRawSeqStoreBytes(&optLdm->seqStore, literalsBytesRemaining + matchBytesRemaining); in ZSTD_opt_getNextMatchAndUpdateSeqStore()
[all …]
H A Dzstd_lazy.c1517 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, in ZSTD_compressBlock_lazy_generic() argument
1724 ZSTD_storeSeq(seqStore, litLength, anchor, iend, (U32)offBase, matchLength); in ZSTD_compressBlock_lazy_generic()
1748 ZSTD_storeSeq(seqStore, 0, anchor, iend, REPCODE1_TO_OFFBASE, matchLength); in ZSTD_compressBlock_lazy_generic()
1763 ZSTD_storeSeq(seqStore, 0, anchor, iend, REPCODE1_TO_OFFBASE, matchLength); in ZSTD_compressBlock_lazy_generic()
1785 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_greedy() argument
1788 …return ZSTD_compressBlock_lazy_generic(ms, seqStore, rep, src, srcSize, search_hashChain, 0, ZSTD_… in ZSTD_compressBlock_greedy()
1792 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_greedy_dictMatchState() argument
1795 …return ZSTD_compressBlock_lazy_generic(ms, seqStore, rep, src, srcSize, search_hashChain, 0, ZSTD_… in ZSTD_compressBlock_greedy_dictMatchState()
1799 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_greedy_dedicatedDictSearch() argument
1802 …return ZSTD_compressBlock_lazy_generic(ms, seqStore, rep, src, srcSize, search_hashChain, 0, ZSTD_… in ZSTD_compressBlock_greedy_dedicatedDictSearch()
[all …]
H A Dzstd_fast.h21 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
24 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
27 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
H A Dzstd_double_fast.h24 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
27 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
30 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
H A Dzstd_compress.c222 const SeqStore_t* ZSTD_getSeqStore(const ZSTD_CCtx* ctx) { return &(ctx->seqStore); } in ZSTD_getSeqStore()
2219 …zc->seqStore.sequencesStart = (SeqDef*)ZSTD_cwksp_reserve_aligned64(ws, maxNbSeq * sizeof(SeqDef)); in ZSTD_resetCCtx_internal()
2247 zc->seqStore.litStart = ZSTD_cwksp_reserve_buffer(ws, blockSize + WILDCOPY_OVERLENGTH); in ZSTD_resetCCtx_internal()
2248 zc->seqStore.maxNbLit = blockSize; in ZSTD_resetCCtx_internal()
2268 zc->seqStore.maxNbSeq = maxNbSeq; in ZSTD_resetCCtx_internal()
2269 zc->seqStore.llCode = ZSTD_cwksp_reserve_buffer(ws, maxNbSeq * sizeof(BYTE)); in ZSTD_resetCCtx_internal()
2270 zc->seqStore.mlCode = ZSTD_cwksp_reserve_buffer(ws, maxNbSeq * sizeof(BYTE)); in ZSTD_resetCCtx_internal()
2271 zc->seqStore.ofCode = ZSTD_cwksp_reserve_buffer(ws, maxNbSeq * sizeof(BYTE)); in ZSTD_resetCCtx_internal()
3237 static void ZSTD_validateSeqStore(const SeqStore_t* seqStore, const ZSTD_compressionParameters* cPa… in ZSTD_validateSeqStore() argument
3240 const SeqDef* seq = seqStore->sequencesStart; in ZSTD_validateSeqStore()
[all …]
H A Dzstd_compress_superblock.c129 ZSTD_seqDecompressedSize(SeqStore_t const* seqStore, in ZSTD_seqDecompressedSize() argument
137 const ZSTD_SequenceLength seqLen = ZSTD_getSequenceLength(seqStore, sequences+n); in ZSTD_seqDecompressedSize()
429 static size_t countLiterals(SeqStore_t const* seqStore, const SeqDef* sp, size_t seqCount) in countLiterals() argument
434 total += ZSTD_getSequenceLength(seqStore, sp+n).litLength; in countLiterals()
672 FORWARD_IF_ERROR(ZSTD_buildBlockEntropyStats(&zc->seqStore, in ZSTD_compressSuperBlock()
679 return ZSTD_compressSubBlock_multi(&zc->seqStore, in ZSTD_compressSuperBlock()
H A Dzstd_ldm.c682 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_ldm_blockCompress() argument
701 lastLLSize = blockCompressor(ms, seqStore, rep, src, srcSize); in ZSTD_ldm_blockCompress()
727 blockCompressor(ms, seqStore, rep, ip, sequence.litLength); in ZSTD_ldm_blockCompress()
734 ZSTD_storeSeq(seqStore, newLitLength, ip - newLitLength, iend, in ZSTD_ldm_blockCompress()
744 return blockCompressor(ms, seqStore, rep, ip, iend - ip); in ZSTD_ldm_blockCompress()
H A Dzstd_ldm.h64 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],

12