Lines Matching refs:mls

976 static size_t ZSTD_hashPtr(const void *p, U32 hBits, U32 mls)  in ZSTD_hashPtr()  argument
978 switch (mls) { in ZSTD_hashPtr()
992 static void ZSTD_fillHashTable(ZSTD_CCtx *zc, const void *end, const U32 mls) in ZSTD_fillHashTable() argument
1002 hashTable[ZSTD_hashPtr(ip, hBits, mls)] = (U32)(ip - base); in ZSTD_fillHashTable()
1008 …id ZSTD_compressBlock_fast_generic(ZSTD_CCtx *cctx, const void *src, size_t srcSize, const U32 mls) in ZSTD_compressBlock_fast_generic() argument
1037 size_t const h = ZSTD_hashPtr(ip, hBits, mls); in ZSTD_compressBlock_fast_generic()
1072 …hashTable[ZSTD_hashPtr(base + curr + 2, hBits, mls)] = curr + 2; /* here because curr+2 could be >… in ZSTD_compressBlock_fast_generic()
1073 hashTable[ZSTD_hashPtr(ip - 2, hBits, mls)] = (U32)(ip - 2 - base); in ZSTD_compressBlock_fast_generic()
1083 hashTable[ZSTD_hashPtr(ip, hBits, mls)] = (U32)(ip - base); in ZSTD_compressBlock_fast_generic()
1106 const U32 mls = ctx->params.cParams.searchLength; in ZSTD_compressBlock_fast() local
1107 switch (mls) { in ZSTD_compressBlock_fast()
1116 …_compressBlock_fast_extDict_generic(ZSTD_CCtx *ctx, const void *src, size_t srcSize, const U32 mls) in ZSTD_compressBlock_fast_extDict_generic() argument
1137 const size_t h = ZSTD_hashPtr(ip, hBits, mls); in ZSTD_compressBlock_fast_extDict_generic()
1182 hashTable[ZSTD_hashPtr(base + curr + 2, hBits, mls)] = curr + 2; in ZSTD_compressBlock_fast_extDict_generic()
1183 hashTable[ZSTD_hashPtr(ip - 2, hBits, mls)] = (U32)(ip - 2 - base); in ZSTD_compressBlock_fast_extDict_generic()
1198 hashTable[ZSTD_hashPtr(ip, hBits, mls)] = curr2; in ZSTD_compressBlock_fast_extDict_generic()
1222 U32 const mls = ctx->params.cParams.searchLength; in ZSTD_compressBlock_fast_extDict() local
1223 switch (mls) { in ZSTD_compressBlock_fast_extDict()
1235 static void ZSTD_fillDoubleHashTable(ZSTD_CCtx *cctx, const void *end, const U32 mls) in ZSTD_fillDoubleHashTable() argument
1247 hashSmall[ZSTD_hashPtr(ip, hBitsS, mls)] = (U32)(ip - base); in ZSTD_fillDoubleHashTable()
1254 …D_compressBlock_doubleFast_generic(ZSTD_CCtx *cctx, const void *src, size_t srcSize, const U32 mls) in ZSTD_compressBlock_doubleFast_generic() argument
1286 size_t const h = ZSTD_hashPtr(ip, hBitsS, mls); in ZSTD_compressBlock_doubleFast_generic()
1348 …ZSTD_hashPtr(base + curr + 2, hBitsL, 8)] = hashSmall[ZSTD_hashPtr(base + curr + 2, hBitsS, mls)] = in ZSTD_compressBlock_doubleFast_generic()
1350 …hashLong[ZSTD_hashPtr(ip - 2, hBitsL, 8)] = hashSmall[ZSTD_hashPtr(ip - 2, hBitsS, mls)] = (U32)(i… in ZSTD_compressBlock_doubleFast_generic()
1361 hashSmall[ZSTD_hashPtr(ip, hBitsS, mls)] = (U32)(ip - base); in ZSTD_compressBlock_doubleFast_generic()
1385 const U32 mls = ctx->params.cParams.searchLength; in ZSTD_compressBlock_doubleFast() local
1386 switch (mls) { in ZSTD_compressBlock_doubleFast()
1395 …essBlock_doubleFast_extDict_generic(ZSTD_CCtx *ctx, const void *src, size_t srcSize, const U32 mls) in ZSTD_compressBlock_doubleFast_extDict_generic() argument
1418 const size_t hSmall = ZSTD_hashPtr(ip, hBitsS, mls); in ZSTD_compressBlock_doubleFast_extDict_generic()
1502 hashSmall[ZSTD_hashPtr(base + curr + 2, hBitsS, mls)] = curr + 2; in ZSTD_compressBlock_doubleFast_extDict_generic()
1504 hashSmall[ZSTD_hashPtr(ip - 2, hBitsS, mls)] = (U32)(ip - 2 - base); in ZSTD_compressBlock_doubleFast_extDict_generic()
1520 hashSmall[ZSTD_hashPtr(ip, hBitsS, mls)] = curr2; in ZSTD_compressBlock_doubleFast_extDict_generic()
1545 U32 const mls = ctx->params.cParams.searchLength; in ZSTD_compressBlock_doubleFast_extDict() local
1546 switch (mls) { in ZSTD_compressBlock_doubleFast_extDict()
1561 static U32 ZSTD_insertBt1(ZSTD_CCtx *zc, const BYTE *const ip, const U32 mls, const BYTE *const ien… in ZSTD_insertBt1() argument
1565 size_t const h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_insertBt1()
1643 …zc, const BYTE *const ip, const BYTE *const iend, size_t *offsetPtr, U32 nbCompares, const U32 mls, in ZSTD_insertBtAndFindBestMatch() argument
1648 size_t const h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_insertBtAndFindBestMatch()
1724 …e(ZSTD_CCtx *zc, const BYTE *const ip, const BYTE *const iend, const U32 nbCompares, const U32 mls) in ZSTD_updateTree() argument
1731 idx += ZSTD_insertBt1(zc, base + idx, mls, iend, nbCompares, 0); in ZSTD_updateTree()
1735 …YTE *const ip, const BYTE *const iLimit, size_t *offsetPtr, const U32 maxNbAttempts, const U32 mls) in ZSTD_BtFindBestMatch() argument
1739 ZSTD_updateTree(zc, ip, iLimit, maxNbAttempts, mls); in ZSTD_BtFindBestMatch()
1740 return ZSTD_insertBtAndFindBestMatch(zc, ip, iLimit, offsetPtr, maxNbAttempts, mls, 0); in ZSTD_BtFindBestMatch()
1755 …t(ZSTD_CCtx *zc, const BYTE *const ip, const BYTE *const iend, const U32 nbCompares, const U32 mls) in ZSTD_updateTree_extDict() argument
1762 idx += ZSTD_insertBt1(zc, base + idx, mls, iend, nbCompares, 1); in ZSTD_updateTree_extDict()
1767 const U32 mls) in ZSTD_BtFindBestMatch_extDict() argument
1771 ZSTD_updateTree_extDict(zc, ip, iLimit, maxNbAttempts, mls); in ZSTD_BtFindBestMatch_extDict()
1772 return ZSTD_insertBtAndFindBestMatch(zc, ip, iLimit, offsetPtr, maxNbAttempts, mls, 1); in ZSTD_BtFindBestMatch_extDict()
1796 U32 ZSTD_insertAndFindFirstIndex(ZSTD_CCtx *zc, const BYTE *ip, U32 mls) in ZSTD_insertAndFindFirstIndex() argument
1807 size_t const h = ZSTD_hashPtr(base + idx, hashLog, mls); in ZSTD_insertAndFindFirstIndex()
1814 return hashTable[ZSTD_hashPtr(ip, hashLog, mls)]; in ZSTD_insertAndFindFirstIndex()
1820 …YTE *const ip, const BYTE *const iLimit, size_t *offsetPtr, const U32 maxNbAttempts, const U32 mls, in ZSTD_HcFindBestMatch_generic() argument
1838 U32 matchIndex = ZSTD_insertAndFindFirstIndex(zc, ip, mls); in ZSTD_HcFindBestMatch_generic()
1908 U32 const mls = ctx->params.cParams.searchLength; in ZSTD_compressBlock_lazy_generic() local
1942 size_t const ml2 = searchMax(ctx, ip, iend, &offsetFound, maxSearches, mls); in ZSTD_compressBlock_lazy_generic()
1965 size_t const ml2 = searchMax(ctx, ip, iend, &offset2, maxSearches, mls); in ZSTD_compressBlock_lazy_generic()
1986 size_t const ml2 = searchMax(ctx, ip, iend, &offset2, maxSearches, mls); in ZSTD_compressBlock_lazy_generic()
2075 const U32 mls = ctx->params.cParams.searchLength; in ZSTD_compressBlock_lazy_extDict_generic() local
2112 size_t const ml2 = searchMax(ctx, ip, iend, &offsetFound, maxSearches, mls); in ZSTD_compressBlock_lazy_extDict_generic()
2149 size_t const ml2 = searchMax(ctx, ip, iend, &offset2, maxSearches, mls); in ZSTD_compressBlock_lazy_extDict_generic()
2184 size_t const ml2 = searchMax(ctx, ip, iend, &offset2, maxSearches, mls); in ZSTD_compressBlock_lazy_extDict_generic()