Lines Matching refs:ms

237 static size_t ZSTD_ldm_fillFastTables(ZSTD_matchState_t* ms,  in ZSTD_ldm_fillFastTables()  argument
242 switch(ms->cParams.strategy) in ZSTD_ldm_fillFastTables()
245 ZSTD_fillHashTable(ms, iend, ZSTD_dtlm_fast); in ZSTD_ldm_fillFastTables()
249 ZSTD_fillDoubleHashTable(ms, iend, ZSTD_dtlm_fast); in ZSTD_ldm_fillFastTables()
312 static void ZSTD_ldm_limitTableUpdate(ZSTD_matchState_t* ms, const BYTE* anchor) in ZSTD_ldm_limitTableUpdate() argument
314 U32 const curr = (U32)(anchor - ms->window.base); in ZSTD_ldm_limitTableUpdate()
315 if (curr > ms->nextToUpdate + 1024) { in ZSTD_ldm_limitTableUpdate()
316 ms->nextToUpdate = in ZSTD_ldm_limitTableUpdate()
317 curr - MIN(512, curr - ms->nextToUpdate - 1024); in ZSTD_ldm_limitTableUpdate()
661 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_ldm_blockCompress() argument
665 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_ldm_blockCompress()
668 … ZSTD_selectBlockCompressor(cParams->strategy, useRowMatchFinder, ZSTD_matchState_dictMode(ms)); in ZSTD_ldm_blockCompress()
679 ms->ldmSeqStore = rawSeqStore; in ZSTD_ldm_blockCompress()
680 lastLLSize = blockCompressor(ms, seqStore, rep, src, srcSize); in ZSTD_ldm_blockCompress()
700 ZSTD_ldm_limitTableUpdate(ms, ip); in ZSTD_ldm_blockCompress()
701 ZSTD_ldm_fillFastTables(ms, ip); in ZSTD_ldm_blockCompress()
706 blockCompressor(ms, seqStore, rep, ip, sequence.litLength); in ZSTD_ldm_blockCompress()
720 ZSTD_ldm_limitTableUpdate(ms, ip); in ZSTD_ldm_blockCompress()
721 ZSTD_ldm_fillFastTables(ms, ip); in ZSTD_ldm_blockCompress()
723 return blockCompressor(ms, seqStore, rep, ip, iend - ip); in ZSTD_ldm_blockCompress()