Lines Matching refs:mls

32                 U32 mls)  in ZSTD_updateDUBT()  argument
54 … size_t const h = ZSTD_hashPtr(base + idx, hashLog, mls); /* assumption : ip + 8 <= iend */ in ZSTD_updateDUBT()
171 U32 const mls, in ZSTD_DUBT_findBetterDictMatch() argument
178 size_t const h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_DUBT_findBetterDictMatch()
247 U32 const mls, in ZSTD_DUBT_findBestMatch() argument
253 size_t const h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_DUBT_findBestMatch()
378 mls, dictMode); in ZSTD_DUBT_findBestMatch()
399 const U32 mls /* template */, in ZSTD_BtFindBestMatch() argument
404 ZSTD_updateDUBT(ms, ip, iLimit, mls); in ZSTD_BtFindBestMatch()
405 return ZSTD_DUBT_findBestMatch(ms, ip, iLimit, offBasePtr, mls, dictMode); in ZSTD_BtFindBestMatch()
636 const BYTE* ip, U32 const mls, U32 const lazySkipping) in ZSTD_insertAndFindFirstIndex_internal() argument
647 size_t const h = ZSTD_hashPtr(base+idx, hashLog, mls); in ZSTD_insertAndFindFirstIndex_internal()
657 return hashTable[ZSTD_hashPtr(ip, hashLog, mls)]; in ZSTD_insertAndFindFirstIndex_internal()
672 const U32 mls, const ZSTD_dictMode_e dictMode) in ZSTD_HcFindBestMatch() argument
697 ? ZSTD_hashPtr(ip, ddsHashLog, mls) << ZSTD_LAZY_DDSS_BUCKET_LOG : 0; in ZSTD_HcFindBestMatch()
707 matchIndex = ZSTD_insertAndFindFirstIndex_internal(ms, cParams, ip, mls, ms->lazySkipping); in ZSTD_HcFindBestMatch()
750 matchIndex = dms->hashTable[ZSTD_hashPtr(ip, dms->cParams.hashLog, mls)]; in ZSTD_HcFindBestMatch()
839 U32 const rowLog, U32 const mls, in ZSTD_row_fillHashCache() argument
849 …U32 const hash = (U32)ZSTD_hashPtrSalted(base + idx, hashLog + ZSTD_ROW_HASH_TAG_BITS, mls, ms->ha… in ZSTD_row_fillHashCache()
869 U32 const rowLog, U32 const mls, in ZSTD_row_nextCachedHash() argument
872 …_hashPtrSalted(base+idx+ZSTD_ROW_HASH_CACHE_SIZE, hashLog + ZSTD_ROW_HASH_TAG_BITS, mls, hashSalt); in ZSTD_row_nextCachedHash()
888 U32 const mls, U32 const rowLog, in ZSTD_row_update_internalImpl() argument
898 …dHash(ms->hashCache, hashTable, tagTable, base, updateStartIdx, hashLog, rowLog, mls, ms->hashSalt) in ZSTD_row_update_internalImpl()
899 …U32)ZSTD_hashPtrSalted(base + updateStartIdx, hashLog + ZSTD_ROW_HASH_TAG_BITS, mls, ms->hashSalt); in ZSTD_row_update_internalImpl()
905 …== ZSTD_hashPtrSalted(base + updateStartIdx, hashLog + ZSTD_ROW_HASH_TAG_BITS, mls, ms->hashSalt)); in ZSTD_row_update_internalImpl()
918 U32 const mls, U32 const rowLog, in ZSTD_row_update_internal() argument
936 ZSTD_row_update_internalImpl(ms, idx, bound, mls, rowLog, rowMask, useCache); in ZSTD_row_update_internal()
938 ZSTD_row_fillHashCache(ms, base, rowLog, mls, idx, ip+1); in ZSTD_row_update_internal()
942 ZSTD_row_update_internalImpl(ms, idx, target, mls, rowLog, rowMask, useCache); in ZSTD_row_update_internal()
953 const U32 mls = MIN(ms->cParams.minMatch, 6 /* mls caps out at 6 */); in ZSTD_row_update() local
956 ZSTD_row_update_internal(ms, ip, mls, rowLog, rowMask, 0 /* don't use cache */); in ZSTD_row_update()
1146 const U32 mls, const ZSTD_dictMode_e dictMode, in ZSTD_RowFindBestMatch() argument
1187 ddsIdx = ZSTD_hashPtr(ip, ddsHashLog, mls) << ZSTD_LAZY_DDSS_BUCKET_LOG; in ZSTD_RowFindBestMatch()
1197 U32 const dmsHash = (U32)ZSTD_hashPtr(ip, dms->rowHashLog + ZSTD_ROW_HASH_TAG_BITS, mls); in ZSTD_RowFindBestMatch()
1207 ZSTD_row_update_internal(ms, ip, mls, rowLog, rowMask, 1 /* useCache */); in ZSTD_RowFindBestMatch()
1208 …STD_row_nextCachedHash(hashCache, hashTable, tagTable, base, curr, hashLog, rowLog, mls, hashSalt); in ZSTD_RowFindBestMatch()
1213 hash = (U32)ZSTD_hashPtrSalted(ip, hashLog + ZSTD_ROW_HASH_TAG_BITS, mls, hashSalt); in ZSTD_RowFindBestMatch()
1360 #define ZSTD_BT_SEARCH_FN(dictMode, mls) ZSTD_BtFindBestMatch_##dictMode##_##mls argument
1361 #define ZSTD_HC_SEARCH_FN(dictMode, mls) ZSTD_HcFindBestMatch_##dictMode##_##mls argument
1362 #define ZSTD_ROW_SEARCH_FN(dictMode, mls, rowLog) ZSTD_RowFindBestMatch_##dictMode##_##mls##_##rowL… argument
1366 #define GEN_ZSTD_BT_SEARCH_FN(dictMode, mls) \ argument
1367 ZSTD_SEARCH_FN_ATTRS size_t ZSTD_BT_SEARCH_FN(dictMode, mls)( \
1372 assert(MAX(4, MIN(6, ms->cParams.minMatch)) == mls); \
1373 return ZSTD_BtFindBestMatch(ms, ip, iLimit, offBasePtr, mls, ZSTD_##dictMode); \
1376 #define GEN_ZSTD_HC_SEARCH_FN(dictMode, mls) \ argument
1377 ZSTD_SEARCH_FN_ATTRS size_t ZSTD_HC_SEARCH_FN(dictMode, mls)( \
1382 assert(MAX(4, MIN(6, ms->cParams.minMatch)) == mls); \
1383 return ZSTD_HcFindBestMatch(ms, ip, iLimit, offsetPtr, mls, ZSTD_##dictMode); \
1386 #define GEN_ZSTD_ROW_SEARCH_FN(dictMode, mls, rowLog) \ argument
1387 ZSTD_SEARCH_FN_ATTRS size_t ZSTD_ROW_SEARCH_FN(dictMode, mls, rowLog)( \
1392 assert(MAX(4, MIN(6, ms->cParams.minMatch)) == mls); \
1394 return ZSTD_RowFindBestMatch(ms, ip, iLimit, offsetPtr, mls, ZSTD_##dictMode, rowLog); \
1397 #define ZSTD_FOR_EACH_ROWLOG(X, dictMode, mls) \ argument
1398 X(dictMode, mls, 4) \
1399 X(dictMode, mls, 5) \
1400 X(dictMode, mls, 6)
1427 #define GEN_ZSTD_CALL_BT_SEARCH_FN(dictMode, mls) \ argument
1428 case mls: \
1429 return ZSTD_BT_SEARCH_FN(dictMode, mls)(ms, ip, iend, offsetPtr);
1430 #define GEN_ZSTD_CALL_HC_SEARCH_FN(dictMode, mls) \ argument
1431 case mls: \
1432 return ZSTD_HC_SEARCH_FN(dictMode, mls)(ms, ip, iend, offsetPtr);
1433 #define GEN_ZSTD_CALL_ROW_SEARCH_FN(dictMode, mls, rowLog) \ argument
1435 return ZSTD_ROW_SEARCH_FN(dictMode, mls, rowLog)(ms, ip, iend, offsetPtr);
1438 switch (mls) { \
1442 #define ZSTD_SWITCH_ROWLOG(dictMode, mls) \ argument
1443 case mls: \
1445 ZSTD_FOR_EACH_ROWLOG(GEN_ZSTD_CALL_ROW_SEARCH_FN, dictMode, mls) \
1493 U32 const mls, in ZSTD_searchMax() argument
1532 const U32 mls = BOUNDED(4, ms->cParams.minMatch, 6); in ZSTD_compressBlock_lazy_generic() local
1571 ZSTD_row_fillHashCache(ms, base, rowLog, mls, ms->nextToUpdate, ilimit); in ZSTD_compressBlock_lazy_generic()
1609 …size_t const ml2 = ZSTD_searchMax(ms, ip, iend, &offbaseFound, mls, rowLog, searchMethod, dictMode… in ZSTD_compressBlock_lazy_generic()
1657 …size_t const ml2 = ZSTD_searchMax(ms, ip, iend, &ofbCandidate, mls, rowLog, searchMethod, dictMode… in ZSTD_compressBlock_lazy_generic()
1693 …size_t const ml2 = ZSTD_searchMax(ms, ip, iend, &ofbCandidate, mls, rowLog, searchMethod, dictMode… in ZSTD_compressBlock_lazy_generic()
1731 ZSTD_row_fillHashCache(ms, base, rowLog, mls, ms->nextToUpdate, ilimit); in ZSTD_compressBlock_lazy_generic()
1956 const U32 mls = BOUNDED(4, ms->cParams.minMatch, 6); in ZSTD_compressBlock_lazy_extDict_generic() local
1969 ZSTD_row_fillHashCache(ms, base, rowLog, mls, ms->nextToUpdate, ilimit); in ZSTD_compressBlock_lazy_extDict_generic()
2001 …size_t const ml2 = ZSTD_searchMax(ms, ip, iend, &ofbCandidate, mls, rowLog, searchMethod, ZSTD_ext… in ZSTD_compressBlock_lazy_extDict_generic()
2045 …size_t const ml2 = ZSTD_searchMax(ms, ip, iend, &ofbCandidate, mls, rowLog, searchMethod, ZSTD_ext… in ZSTD_compressBlock_lazy_extDict_generic()
2077 …size_t const ml2 = ZSTD_searchMax(ms, ip, iend, &ofbCandidate, mls, rowLog, searchMethod, ZSTD_ext… in ZSTD_compressBlock_lazy_extDict_generic()
2105 ZSTD_row_fillHashCache(ms, base, rowLog, mls, ms->nextToUpdate, ilimit); in ZSTD_compressBlock_lazy_extDict_generic()