| /freebsd-12.1/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_lazy.h | 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], 33 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 36 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 40 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],
|
| H A D | zstd_fast.c | 43 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_generic() argument 78 ZSTD_storeSeq(seqStore, ip-anchor, anchor, 0, mLength-MINMATCH); in ZSTD_compressBlock_fast_generic() 110 ZSTD_storeSeq(seqStore, 0, anchor, 0, rLength-MINMATCH); in ZSTD_compressBlock_fast_generic() 126 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast() argument 136 return ZSTD_compressBlock_fast_generic(ms, seqStore, rep, src, srcSize, hlog, stepSize, 4); in ZSTD_compressBlock_fast() 138 return ZSTD_compressBlock_fast_generic(ms, seqStore, rep, src, srcSize, hlog, stepSize, 5); in ZSTD_compressBlock_fast() 140 return ZSTD_compressBlock_fast_generic(ms, seqStore, rep, src, srcSize, hlog, stepSize, 6); in ZSTD_compressBlock_fast() 148 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_extDict_generic() argument 185 ZSTD_storeSeq(seqStore, ip-anchor, anchor, 0, mLength-MINMATCH); in ZSTD_compressBlock_fast_extDict_generic() 222 ZSTD_storeSeq(seqStore, 0, anchor, 0, repLength2-MINMATCH); in ZSTD_compressBlock_fast_extDict_generic() [all …]
|
| H A D | zstd_double_fast.c | 50 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast_generic() argument 93 ZSTD_storeSeq(seqStore, ip-anchor, anchor, 0, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_generic() 123 ZSTD_storeSeq(seqStore, ip-anchor, anchor, offset + ZSTD_REP_MOVE, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_generic() 146 ZSTD_storeSeq(seqStore, 0, anchor, 0, rLength-MINMATCH); in ZSTD_compressBlock_doubleFast_generic() 162 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast() argument 170 return ZSTD_compressBlock_doubleFast_generic(ms, seqStore, rep, cParams, src, srcSize, 4); in ZSTD_compressBlock_doubleFast() 172 return ZSTD_compressBlock_doubleFast_generic(ms, seqStore, rep, cParams, src, srcSize, 5); in ZSTD_compressBlock_doubleFast() 182 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast_extDict_generic() argument 228 ZSTD_storeSeq(seqStore, ip-anchor, anchor, 0, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_extDict_generic() 291 ZSTD_storeSeq(seqStore, 0, anchor, 0, repLength2-MINMATCH); in ZSTD_compressBlock_doubleFast_extDict_generic() [all …]
|
| H A D | zstd_opt.h | 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], 32 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 35 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
|
| H A D | zstd_lazy.c | 463 ZSTD_matchState_t* ms, seqStore_t* seqStore, in ZSTD_compressBlock_lazy_generic() argument 581 ZSTD_storeSeq(seqStore, 0, anchor, 0, matchLength-MINMATCH); in ZSTD_compressBlock_lazy_generic() 597 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_btlazy2() argument 604 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_lazy2() argument 611 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_lazy() argument 618 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_greedy() argument 627 ZSTD_matchState_t* ms, seqStore_t* seqStore, in ZSTD_compressBlock_lazy_extDict_generic() argument 796 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_greedy_extDict() argument 803 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_lazy_extDict() argument 811 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_lazy2_extDict() argument [all …]
|
| H A D | zstd_fast.h | 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 D | zstd_double_fast.h | 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 D | zstd_opt.c | 666 size_t ZSTD_compressBlock_opt_generic(ZSTD_matchState_t* ms,seqStore_t* seqStore, in ZSTD_compressBlock_opt_generic() argument 885 ZSTD_storeSeq(seqStore, llen, anchor, offset, mlen-MINMATCH); in ZSTD_compressBlock_opt_generic() 897 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_btopt() argument 901 …return ZSTD_compressBlock_opt_generic(ms, seqStore, rep, cParams, src, srcSize, 0 /*optLevel*/, 0 … in ZSTD_compressBlock_btopt() 905 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_btultra() argument 908 …return ZSTD_compressBlock_opt_generic(ms, seqStore, rep, cParams, src, srcSize, 2 /*optLevel*/, 0 … in ZSTD_compressBlock_btultra() 912 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_btopt_extDict() argument 915 …return ZSTD_compressBlock_opt_generic(ms, seqStore, rep, cParams, src, srcSize, 0 /*optLevel*/, 1 … in ZSTD_compressBlock_btopt_extDict() 919 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_btultra_extDict() argument 922 …return ZSTD_compressBlock_opt_generic(ms, seqStore, rep, cParams, src, srcSize, 2 /*optLevel*/, 1 … in ZSTD_compressBlock_btultra_extDict()
|
| H A D | zstd_ldm.h | 63 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
|
| H A D | zstd_ldm.c | 593 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_ldm_blockCompress() argument 628 blockCompressor(ms, seqStore, rep, cParams, ip, in ZSTD_ldm_blockCompress() 637 ZSTD_storeSeq(seqStore, newLitLength, ip - newLitLength, in ZSTD_ldm_blockCompress() 648 size_t const lastLiterals = blockCompressor(ms, seqStore, rep, cParams, in ZSTD_ldm_blockCompress()
|
| H A D | zstd_compress.c | 1061 zc->seqStore.sequencesStart = (seqDef*)ptr; in ZSTD_resetCCtx_internal() 1062 ptr = zc->seqStore.sequencesStart + maxNbSeq; in ZSTD_resetCCtx_internal() 1063 zc->seqStore.llCode = (BYTE*) ptr; in ZSTD_resetCCtx_internal() 1064 zc->seqStore.mlCode = zc->seqStore.llCode + maxNbSeq; in ZSTD_resetCCtx_internal() 1065 zc->seqStore.ofCode = zc->seqStore.mlCode + maxNbSeq; in ZSTD_resetCCtx_internal() 1066 zc->seqStore.litStart = zc->seqStore.ofCode + maxNbSeq; in ZSTD_resetCCtx_internal() 1067 ptr = zc->seqStore.litStart + blockSize; in ZSTD_resetCCtx_internal() 1901 ZSTD_resetSeqStore(&(zc->seqStore)); in ZSTD_compressBlock_internal() 1923 ms, &zc->seqStore, in ZSTD_compressBlock_internal() 1940 ms, &zc->seqStore, in ZSTD_compressBlock_internal() [all …]
|
| H A D | zstdmt_compress.c | 502 ZSTD_CCtx* jobCCtx, rawSeqStore_t seqStore, in ZSTDMT_serialState_update() argument 515 assert(seqStore.seq != NULL && seqStore.pos == 0 && in ZSTDMT_serialState_update() 516 seqStore.size == 0 && seqStore.capacity > 0); in ZSTDMT_serialState_update() 519 &serialState->ldmState, &seqStore, in ZSTDMT_serialState_update() 539 if (seqStore.size > 0) { in ZSTDMT_serialState_update() 541 jobCCtx, seqStore.seq, seqStore.size); in ZSTDMT_serialState_update()
|
| H A D | zstd_compress_internal.h | 206 seqStore_t seqStore; /* sequences storage ptrs */ member 240 ZSTD_matchState_t* bs, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
|
| /freebsd-12.1/sys/contrib/zstd/tests/ |
| H A D | decodecorpus.c | 621 static inline void initSeqStore(seqStore_t *seqStore) { in initSeqStore() argument 622 seqStore->sequencesStart = SEQUENCE_BUFFER; in initSeqStore() 623 seqStore->litStart = SEQUENCE_LITERAL_BUFFER; in initSeqStore() 624 seqStore->llCode = SEQUENCE_LLCODE; in initSeqStore() 625 seqStore->mlCode = SEQUENCE_MLCODE; in initSeqStore() 626 seqStore->ofCode = SEQUENCE_OFCODE; in initSeqStore() 628 ZSTD_resetSeqStore(seqStore); in initSeqStore() 756 ZSTD_storeSeq(seqStore, literalLen, literals, offsetCode, in generateSequences() 988 seqStore_t seqStore; in writeSequencesBlock() local 992 initSeqStore(&seqStore); in writeSequencesBlock() [all …]
|
| /freebsd-12.1/sys/contrib/zstd/lib/legacy/ |
| H A D | zstd_v01.c | 1430 seqStore_t seqStore; member
|