Lines Matching refs:maxLen

324     UInt32 *distances, UInt32 maxLen)  in Hc_GetMatchesSpec()  argument
335 if (pb[maxLen] == cur[maxLen] && *pb == *cur) in Hc_GetMatchesSpec()
341 if (maxLen < len) in Hc_GetMatchesSpec()
343 *distances++ = maxLen = len; in Hc_GetMatchesSpec()
355 UInt32 *distances, UInt32 maxLen) in GetMatchesSpec1() argument
378 if (maxLen < len) in GetMatchesSpec1()
380 *distances++ = maxLen = len; in GetMatchesSpec1()
477 #define GET_MATCHES_FOOTER(offset, maxLen) \ argument
479 distances + offset, maxLen) - distances); MOVE_POS_RET;
508 UInt32 hash2Value, delta2, maxLen, offset; in Bt3_MatchFinder_GetMatches() local
520 maxLen = 2; in Bt3_MatchFinder_GetMatches()
524 for (; maxLen != lenLimit; maxLen++) in Bt3_MatchFinder_GetMatches()
525 if (cur[(ptrdiff_t)maxLen - delta2] != cur[maxLen]) in Bt3_MatchFinder_GetMatches()
527 distances[0] = maxLen; in Bt3_MatchFinder_GetMatches()
530 if (maxLen == lenLimit) in Bt3_MatchFinder_GetMatches()
536 GET_MATCHES_FOOTER(offset, maxLen) in Bt3_MatchFinder_GetMatches()
541 UInt32 hash2Value, hash3Value, delta2, delta3, maxLen, offset; in Bt4_MatchFinder_GetMatches() local
554 maxLen = 1; in Bt4_MatchFinder_GetMatches()
558 distances[0] = maxLen = 2; in Bt4_MatchFinder_GetMatches()
564 maxLen = 3; in Bt4_MatchFinder_GetMatches()
571 for (; maxLen != lenLimit; maxLen++) in Bt4_MatchFinder_GetMatches()
572 if (cur[(ptrdiff_t)maxLen - delta2] != cur[maxLen]) in Bt4_MatchFinder_GetMatches()
574 distances[offset - 2] = maxLen; in Bt4_MatchFinder_GetMatches()
575 if (maxLen == lenLimit) in Bt4_MatchFinder_GetMatches()
581 if (maxLen < 3) in Bt4_MatchFinder_GetMatches()
582 maxLen = 3; in Bt4_MatchFinder_GetMatches()
583 GET_MATCHES_FOOTER(offset, maxLen) in Bt4_MatchFinder_GetMatches()
588 UInt32 hash2Value, hash3Value, delta2, delta3, maxLen, offset; in Hc4_MatchFinder_GetMatches() local
601 maxLen = 1; in Hc4_MatchFinder_GetMatches()
605 distances[0] = maxLen = 2; in Hc4_MatchFinder_GetMatches()
611 maxLen = 3; in Hc4_MatchFinder_GetMatches()
618 for (; maxLen != lenLimit; maxLen++) in Hc4_MatchFinder_GetMatches()
619 if (cur[(ptrdiff_t)maxLen - delta2] != cur[maxLen]) in Hc4_MatchFinder_GetMatches()
621 distances[offset - 2] = maxLen; in Hc4_MatchFinder_GetMatches()
622 if (maxLen == lenLimit) in Hc4_MatchFinder_GetMatches()
628 if (maxLen < 3) in Hc4_MatchFinder_GetMatches()
629 maxLen = 3; in Hc4_MatchFinder_GetMatches()
631 distances + offset, maxLen) - (distances)); in Hc4_MatchFinder_GetMatches()