Lines Matching defs:ms

15 void ZSTD_fillHashTable(ZSTD_matchState_t* ms,
19 const ZSTD_compressionParameters* const cParams = &ms->cParams;
20 U32* const hashTable = ms->hashTable;
23 const BYTE* const base = ms->window.base;
24 const BYTE* ip = base + ms->nextToUpdate;
94 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
98 const ZSTD_compressionParameters* const cParams = &ms->cParams;
99 U32* const hashTable = ms->hashTable;
103 const BYTE* const base = ms->window.base;
106 const U32 prefixStartIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog);
142 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, cParams->windowLog);
319 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], \
322 return ZSTD_compressBlock_fast_##dictMode##_generic(ms, seqStore, rep, src, srcSize, mls, step); \
336 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
339 U32 const mls = ms->cParams.minMatch;
340 assert(ms->dictMatchState == NULL);
341 if (ms->cParams.targetLength > 1) {
346 return ZSTD_compressBlock_fast_noDict_4_1(ms, seqStore, rep, src, srcSize);
348 return ZSTD_compressBlock_fast_noDict_5_1(ms, seqStore, rep, src, srcSize);
350 return ZSTD_compressBlock_fast_noDict_6_1(ms, seqStore, rep, src, srcSize);
352 return ZSTD_compressBlock_fast_noDict_7_1(ms, seqStore, rep, src, srcSize);
359 return ZSTD_compressBlock_fast_noDict_4_0(ms, seqStore, rep, src, srcSize);
361 return ZSTD_compressBlock_fast_noDict_5_0(ms, seqStore, rep, src, srcSize);
363 return ZSTD_compressBlock_fast_noDict_6_0(ms, seqStore, rep, src, srcSize);
365 return ZSTD_compressBlock_fast_noDict_7_0(ms, seqStore, rep, src, srcSize);
373 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
376 const ZSTD_compressionParameters* const cParams = &ms->cParams;
377 U32* const hashTable = ms->hashTable;
381 const BYTE* const base = ms->window.base;
385 const U32 prefixStartIndex = ms->window.dictLimit;
392 const ZSTD_matchState_t* const dms = ms->dictMatchState;
528 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
531 U32 const mls = ms->cParams.minMatch;
532 assert(ms->dictMatchState != NULL);
537 return ZSTD_compressBlock_fast_dictMatchState_4_0(ms, seqStore, rep, src, srcSize);
539 return ZSTD_compressBlock_fast_dictMatchState_5_0(ms, seqStore, rep, src, srcSize);
541 return ZSTD_compressBlock_fast_dictMatchState_6_0(ms, seqStore, rep, src, srcSize);
543 return ZSTD_compressBlock_fast_dictMatchState_7_0(ms, seqStore, rep, src, srcSize);
549 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
552 const ZSTD_compressionParameters* const cParams = &ms->cParams;
553 U32* const hashTable = ms->hashTable;
557 const BYTE* const base = ms->window.base;
558 const BYTE* const dictBase = ms->window.dictBase;
563 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog);
566 const U32 dictLimit = ms->window.dictLimit;
580 return ZSTD_compressBlock_fast(ms, seqStore, rep, src, srcSize);
659 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
662 U32 const mls = ms->cParams.minMatch;
667 return ZSTD_compressBlock_fast_extDict_4_0(ms, seqStore, rep, src, srcSize);
669 return ZSTD_compressBlock_fast_extDict_5_0(ms, seqStore, rep, src, srcSize);
671 return ZSTD_compressBlock_fast_extDict_6_0(ms, seqStore, rep, src, srcSize);
673 return ZSTD_compressBlock_fast_extDict_7_0(ms, seqStore, rep, src, srcSize);