Lines Matching refs:cParams
24 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_updateDUBT() local
26 U32 const hashLog = cParams->hashLog; in ZSTD_updateDUBT()
29 U32 const btLog = cParams->chainLog - 1; in ZSTD_updateDUBT()
69 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_insertDUBT1() local
71 U32 const btLog = cParams->chainLog - 1; in ZSTD_insertDUBT1()
87 U32 const maxDistance = 1U << cParams->windowLog; in ZSTD_insertDUBT1()
163 const ZSTD_compressionParameters* const dmsCParams = &dms->cParams; in ZSTD_DUBT_findBetterDictMatch()
237 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_DUBT_findBestMatch() local
239 U32 const hashLog = cParams->hashLog; in ZSTD_DUBT_findBestMatch()
245 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, curr, cParams->windowLog); in ZSTD_DUBT_findBestMatch()
248 U32 const btLog = cParams->chainLog - 1; in ZSTD_DUBT_findBestMatch()
255 U32 nbCompares = 1U << cParams->searchLog; in ZSTD_DUBT_findBestMatch()
399 switch(ms->cParams.minMatch) in ZSTD_BtFindBestMatch_selectMLS()
415 switch(ms->cParams.minMatch) in ZSTD_BtFindBestMatch_dictMatchState_selectMLS()
431 switch(ms->cParams.minMatch) in ZSTD_BtFindBestMatch_extDict_selectMLS()
452 const ZSTD_compressionParameters* const cParams, in ZSTD_insertAndFindFirstIndex_internal() argument
456 const U32 hashLog = cParams->hashLog; in ZSTD_insertAndFindFirstIndex_internal()
458 const U32 chainMask = (1 << cParams->chainLog) - 1; in ZSTD_insertAndFindFirstIndex_internal()
475 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_insertAndFindFirstIndex() local
476 return ZSTD_insertAndFindFirstIndex_internal(ms, cParams, ip, ms->cParams.minMatch); in ZSTD_insertAndFindFirstIndex()
485 U32 const chainSize = 1 << ms->cParams.chainLog; in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
490 U32 const chainAttempts = (1 << ms->cParams.searchLog) - cacheSize; in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
498 U32 const hashLog = ms->cParams.hashLog - ZSTD_LAZY_DDSS_BUCKET_LOG; in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
506 assert(ms->cParams.chainLog <= 24); in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
507 assert(ms->cParams.hashLog >= ms->cParams.chainLog); in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
513 U32 const h = (U32)ZSTD_hashPtr(base + idx, hashLog, ms->cParams.minMatch); in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
582 U32 const h = (U32)ZSTD_hashPtr(base + idx, hashLog, ms->cParams.minMatch) in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
603 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_HcFindBestMatch_generic() local
605 const U32 chainSize = (1 << cParams->chainLog); in ZSTD_HcFindBestMatch_generic()
613 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_HcFindBestMatch_generic()
619 U32 nbAttempts = 1U << cParams->searchLog; in ZSTD_HcFindBestMatch_generic()
624 ? dms->cParams.hashLog - ZSTD_LAZY_DDSS_BUCKET_LOG : 0; in ZSTD_HcFindBestMatch_generic()
636 matchIndex = ZSTD_insertAndFindFirstIndex_internal(ms, cParams, ip, mls); in ZSTD_HcFindBestMatch_generic()
750 const U32 dmsChainSize = (1 << dms->cParams.chainLog); in ZSTD_HcFindBestMatch_generic()
759 matchIndex = dms->hashTable[ZSTD_hashPtr(ip, dms->cParams.hashLog, mls)]; in ZSTD_HcFindBestMatch_generic()
790 switch(ms->cParams.minMatch) in ZSTD_HcFindBestMatch_selectMLS()
806 switch(ms->cParams.minMatch) in ZSTD_HcFindBestMatch_dictMatchState_selectMLS()
822 switch(ms->cParams.minMatch) in ZSTD_HcFindBestMatch_dedicatedDictSearch_selectMLS()
838 switch(ms->cParams.minMatch) in ZSTD_HcFindBestMatch_extDict_selectMLS()
924 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, ms->cParams.windowLog); in ZSTD_compressBlock_lazy_generic()
1220 const U32 windowLog = ms->cParams.windowLog; in ZSTD_compressBlock_lazy_extDict_generic()