Lines Matching refs:ms

17 void ZSTD_fillHashTableForCDict(ZSTD_MatchState_t* ms,  in ZSTD_fillHashTableForCDict()  argument
21 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_fillHashTableForCDict()
22 U32* const hashTable = ms->hashTable; in ZSTD_fillHashTableForCDict()
25 const BYTE* const base = ms->window.base; in ZSTD_fillHashTableForCDict()
26 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillHashTableForCDict()
54 void ZSTD_fillHashTableForCCtx(ZSTD_MatchState_t* ms, in ZSTD_fillHashTableForCCtx() argument
58 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_fillHashTableForCCtx()
59 U32* const hashTable = ms->hashTable; in ZSTD_fillHashTableForCCtx()
62 const BYTE* const base = ms->window.base; in ZSTD_fillHashTableForCCtx()
63 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillHashTableForCCtx()
88 void ZSTD_fillHashTable(ZSTD_MatchState_t* ms, in ZSTD_fillHashTable() argument
94 ZSTD_fillHashTableForCDict(ms, end, dtlm); in ZSTD_fillHashTable()
96 ZSTD_fillHashTableForCCtx(ms, end, dtlm); in ZSTD_fillHashTable()
192 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_noDict_generic() argument
196 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_compressBlock_fast_noDict_generic()
197 U32* const hashTable = ms->hashTable; in ZSTD_compressBlock_fast_noDict_generic()
200 const BYTE* const base = ms->window.base; in ZSTD_compressBlock_fast_noDict_generic()
203 const U32 prefixStartIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_fast_noDict_generic()
239 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, cParams->windowLog); in ZSTD_compressBlock_fast_noDict_generic()
426 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], \
429 … return ZSTD_compressBlock_fast_##dictMode##_generic(ms, seqStore, rep, src, srcSize, mml, cmov); \
443 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast() argument
446 U32 const mml = ms->cParams.minMatch; in ZSTD_compressBlock_fast()
448 int const useCmov = ms->cParams.windowLog < 19; in ZSTD_compressBlock_fast()
449 assert(ms->dictMatchState == NULL); in ZSTD_compressBlock_fast()
455 return ZSTD_compressBlock_fast_noDict_4_1(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast()
457 return ZSTD_compressBlock_fast_noDict_5_1(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast()
459 return ZSTD_compressBlock_fast_noDict_6_1(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast()
461 return ZSTD_compressBlock_fast_noDict_7_1(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast()
469 return ZSTD_compressBlock_fast_noDict_4_0(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast()
471 return ZSTD_compressBlock_fast_noDict_5_0(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast()
473 return ZSTD_compressBlock_fast_noDict_6_0(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast()
475 return ZSTD_compressBlock_fast_noDict_7_0(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast()
483 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_dictMatchState_generic() argument
486 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_compressBlock_fast_dictMatchState_generic()
487 U32* const hashTable = ms->hashTable; in ZSTD_compressBlock_fast_dictMatchState_generic()
491 const BYTE* const base = ms->window.base; in ZSTD_compressBlock_fast_dictMatchState_generic()
496 const U32 prefixStartIndex = ms->window.dictLimit; in ZSTD_compressBlock_fast_dictMatchState_generic()
502 const ZSTD_MatchState_t* const dms = ms->dictMatchState; in ZSTD_compressBlock_fast_dictMatchState_generic()
526 if (ms->prefetchCDictTables) { in ZSTD_compressBlock_fast_dictMatchState_generic()
686 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_dictMatchState() argument
689 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_fast_dictMatchState()
690 assert(ms->dictMatchState != NULL); in ZSTD_compressBlock_fast_dictMatchState()
695 return ZSTD_compressBlock_fast_dictMatchState_4_0(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast_dictMatchState()
697 return ZSTD_compressBlock_fast_dictMatchState_5_0(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast_dictMatchState()
699 return ZSTD_compressBlock_fast_dictMatchState_6_0(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast_dictMatchState()
701 return ZSTD_compressBlock_fast_dictMatchState_7_0(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast_dictMatchState()
709 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_extDict_generic() argument
712 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_compressBlock_fast_extDict_generic()
713 U32* const hashTable = ms->hashTable; in ZSTD_compressBlock_fast_extDict_generic()
717 const BYTE* const base = ms->window.base; in ZSTD_compressBlock_fast_extDict_generic()
718 const BYTE* const dictBase = ms->window.dictBase; in ZSTD_compressBlock_fast_extDict_generic()
722 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_fast_extDict_generic()
725 const U32 dictLimit = ms->window.dictLimit; in ZSTD_compressBlock_fast_extDict_generic()
761 return ZSTD_compressBlock_fast(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast_extDict_generic()
967 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_extDict() argument
970 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_fast_extDict()
971 assert(ms->dictMatchState == NULL); in ZSTD_compressBlock_fast_extDict()
976 return ZSTD_compressBlock_fast_extDict_4_0(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast_extDict()
978 return ZSTD_compressBlock_fast_extDict_5_0(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast_extDict()
980 return ZSTD_compressBlock_fast_extDict_6_0(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast_extDict()
982 return ZSTD_compressBlock_fast_extDict_7_0(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast_extDict()