Lines Matching refs:ms

15 void ZSTD_fillHashTable(ZSTD_matchState_t* ms,  in ZSTD_fillHashTable()  argument
19 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_fillHashTable()
20 U32* const hashTable = ms->hashTable; in ZSTD_fillHashTable()
23 const BYTE* const base = ms->window.base; in ZSTD_fillHashTable()
24 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillHashTable()
48 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_generic() argument
52 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_compressBlock_fast_generic()
53 U32* const hashTable = ms->hashTable; in ZSTD_compressBlock_fast_generic()
57 const BYTE* const base = ms->window.base; in ZSTD_compressBlock_fast_generic()
64 const U32 prefixStartIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_fast_generic()
76 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, cParams->windowLog); in ZSTD_compressBlock_fast_generic()
187 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast() argument
190 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_fast()
191 assert(ms->dictMatchState == NULL); in ZSTD_compressBlock_fast()
196 return ZSTD_compressBlock_fast_generic(ms, seqStore, rep, src, srcSize, 4); in ZSTD_compressBlock_fast()
198 return ZSTD_compressBlock_fast_generic(ms, seqStore, rep, src, srcSize, 5); in ZSTD_compressBlock_fast()
200 return ZSTD_compressBlock_fast_generic(ms, seqStore, rep, src, srcSize, 6); in ZSTD_compressBlock_fast()
202 return ZSTD_compressBlock_fast_generic(ms, seqStore, rep, src, srcSize, 7); in ZSTD_compressBlock_fast()
208 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_dictMatchState_generic() argument
211 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_compressBlock_fast_dictMatchState_generic()
212 U32* const hashTable = ms->hashTable; in ZSTD_compressBlock_fast_dictMatchState_generic()
216 const BYTE* const base = ms->window.base; in ZSTD_compressBlock_fast_dictMatchState_generic()
220 const U32 prefixStartIndex = ms->window.dictLimit; in ZSTD_compressBlock_fast_dictMatchState_generic()
227 const ZSTD_matchState_t* const dms = ms->dictMatchState; in ZSTD_compressBlock_fast_dictMatchState_generic()
355 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_dictMatchState() argument
358 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_fast_dictMatchState()
359 assert(ms->dictMatchState != NULL); in ZSTD_compressBlock_fast_dictMatchState()
364 return ZSTD_compressBlock_fast_dictMatchState_generic(ms, seqStore, rep, src, srcSize, 4); in ZSTD_compressBlock_fast_dictMatchState()
366 return ZSTD_compressBlock_fast_dictMatchState_generic(ms, seqStore, rep, src, srcSize, 5); in ZSTD_compressBlock_fast_dictMatchState()
368 return ZSTD_compressBlock_fast_dictMatchState_generic(ms, seqStore, rep, src, srcSize, 6); in ZSTD_compressBlock_fast_dictMatchState()
370 return ZSTD_compressBlock_fast_dictMatchState_generic(ms, seqStore, rep, src, srcSize, 7); in ZSTD_compressBlock_fast_dictMatchState()
376 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_extDict_generic() argument
379 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_compressBlock_fast_extDict_generic()
380 U32* const hashTable = ms->hashTable; in ZSTD_compressBlock_fast_extDict_generic()
384 const BYTE* const base = ms->window.base; in ZSTD_compressBlock_fast_extDict_generic()
385 const BYTE* const dictBase = ms->window.dictBase; in ZSTD_compressBlock_fast_extDict_generic()
390 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_fast_extDict_generic()
393 const U32 dictLimit = ms->window.dictLimit; in ZSTD_compressBlock_fast_extDict_generic()
405 return ZSTD_compressBlock_fast_generic(ms, seqStore, rep, src, srcSize, mls); in ZSTD_compressBlock_fast_extDict_generic()
480 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_extDict() argument
483 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_fast_extDict()
488 return ZSTD_compressBlock_fast_extDict_generic(ms, seqStore, rep, src, srcSize, 4); in ZSTD_compressBlock_fast_extDict()
490 return ZSTD_compressBlock_fast_extDict_generic(ms, seqStore, rep, src, srcSize, 5); in ZSTD_compressBlock_fast_extDict()
492 return ZSTD_compressBlock_fast_extDict_generic(ms, seqStore, rep, src, srcSize, 6); in ZSTD_compressBlock_fast_extDict()
494 return ZSTD_compressBlock_fast_extDict_generic(ms, seqStore, rep, src, srcSize, 7); in ZSTD_compressBlock_fast_extDict()