Lines Matching refs:ms

19 void ZSTD_fillDoubleHashTableForCDict(ZSTD_MatchState_t* ms,  in ZSTD_fillDoubleHashTableForCDict()  argument
22 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_fillDoubleHashTableForCDict()
23 U32* const hashLarge = ms->hashTable; in ZSTD_fillDoubleHashTableForCDict()
26 U32* const hashSmall = ms->chainTable; in ZSTD_fillDoubleHashTableForCDict()
28 const BYTE* const base = ms->window.base; in ZSTD_fillDoubleHashTableForCDict()
29 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTableForCDict()
57 void ZSTD_fillDoubleHashTableForCCtx(ZSTD_MatchState_t* ms, in ZSTD_fillDoubleHashTableForCCtx() argument
60 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_fillDoubleHashTableForCCtx()
61 U32* const hashLarge = ms->hashTable; in ZSTD_fillDoubleHashTableForCCtx()
64 U32* const hashSmall = ms->chainTable; in ZSTD_fillDoubleHashTableForCCtx()
66 const BYTE* const base = ms->window.base; in ZSTD_fillDoubleHashTableForCCtx()
67 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTableForCCtx()
91 void ZSTD_fillDoubleHashTable(ZSTD_MatchState_t* ms, in ZSTD_fillDoubleHashTable() argument
97 ZSTD_fillDoubleHashTableForCDict(ms, end, dtlm); in ZSTD_fillDoubleHashTable()
99 ZSTD_fillDoubleHashTableForCCtx(ms, end, dtlm); in ZSTD_fillDoubleHashTable()
107 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast_noDict_generic() argument
110 ZSTD_compressionParameters const* cParams = &ms->cParams; in ZSTD_compressBlock_doubleFast_noDict_generic()
111 U32* const hashLong = ms->hashTable; in ZSTD_compressBlock_doubleFast_noDict_generic()
113 U32* const hashSmall = ms->chainTable; in ZSTD_compressBlock_doubleFast_noDict_generic()
115 const BYTE* const base = ms->window.base; in ZSTD_compressBlock_doubleFast_noDict_generic()
120 const U32 prefixLowestIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_doubleFast_noDict_generic()
161 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, current, cParams->windowLog); 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
334 ZSTD_compressionParameters const* cParams = &ms->cParams; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
335 U32* const hashLong = ms->hashTable; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
337 U32* const hashSmall = ms->chainTable; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
339 const BYTE* const base = ms->window.base; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
345 const U32 prefixLowestIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
351 const ZSTD_MatchState_t* const dms = ms->dictMatchState; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
367 assert(ms->window.dictLimit + (1U << cParams->windowLog) >= endIndex); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
369 if (ms->prefetchCDictTables) { 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); \
570 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast() argument
573 const U32 mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast()
578 return ZSTD_compressBlock_doubleFast_noDict_4(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_doubleFast()
580 return ZSTD_compressBlock_doubleFast_noDict_5(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_doubleFast()
582 return ZSTD_compressBlock_doubleFast_noDict_6(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_doubleFast()
584 return ZSTD_compressBlock_doubleFast_noDict_7(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_doubleFast()
590 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast_dictMatchState() argument
593 const U32 mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast_dictMatchState()
598 return ZSTD_compressBlock_doubleFast_dictMatchState_4(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_doubleFast_dictMatchState()
600 return ZSTD_compressBlock_doubleFast_dictMatchState_5(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_doubleFast_dictMatchState()
602 return ZSTD_compressBlock_doubleFast_dictMatchState_6(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_doubleFast_dictMatchState()
604 return ZSTD_compressBlock_doubleFast_dictMatchState_7(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_doubleFast_dictMatchState()
612 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast_extDict_generic() argument
616 ZSTD_compressionParameters const* cParams = &ms->cParams; in ZSTD_compressBlock_doubleFast_extDict_generic()
617 U32* const hashLong = ms->hashTable; in ZSTD_compressBlock_doubleFast_extDict_generic()
619 U32* const hashSmall = ms->chainTable; in ZSTD_compressBlock_doubleFast_extDict_generic()
626 const BYTE* const base = ms->window.base; in ZSTD_compressBlock_doubleFast_extDict_generic()
628 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_doubleFast_extDict_generic()
630 const U32 dictLimit = ms->window.dictLimit; in ZSTD_compressBlock_doubleFast_extDict_generic()
633 const BYTE* const dictBase = ms->window.dictBase; in ZSTD_compressBlock_doubleFast_extDict_generic()
642 return ZSTD_compressBlock_doubleFast(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_doubleFast_extDict_generic()
761 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast_extDict() argument
764 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast_extDict()
769 return ZSTD_compressBlock_doubleFast_extDict_4(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_doubleFast_extDict()
771 return ZSTD_compressBlock_doubleFast_extDict_5(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_doubleFast_extDict()
773 return ZSTD_compressBlock_doubleFast_extDict_6(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_doubleFast_extDict()
775 return ZSTD_compressBlock_doubleFast_extDict_7(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_doubleFast_extDict()