Home | History | Annotate | Download | only in C

Lines Matching full:maxlen

326     UInt32 *distances, UInt32 maxLen)

337 if (pb[maxLen] == cur[maxLen] && *pb == *cur)
343 if (maxLen < len)
345 *distances++ = maxLen = len;
357 UInt32 *distances, UInt32 maxLen)
380 if (maxLen < len)
382 *distances++ = maxLen = len;
479 #define GET_MATCHES_FOOTER(offset, maxLen) \
481 distances + offset, maxLen) - distances); MOVE_POS_RET;
510 UInt32 hash2Value, delta2, maxLen, offset;
522 maxLen = 2;
526 for (; maxLen != lenLimit; maxLen++)
527 if (cur[(ptrdiff_t)maxLen - delta2] != cur[maxLen])
529 distances[0] = maxLen;
532 if (maxLen == lenLimit)
538 GET_MATCHES_FOOTER(offset, maxLen)
543 UInt32 hash2Value, hash3Value, delta2, delta3, maxLen, offset;
556 maxLen = 1;
560 distances[0] = maxLen = 2;
566 maxLen = 3;
573 for (; maxLen != lenLimit; maxLen++)
574 if (cur[(ptrdiff_t)maxLen - delta2] != cur[maxLen])
576 distances[offset - 2] = maxLen;
577 if (maxLen == lenLimit)
583 if (maxLen < 3)
584 maxLen = 3;
585 GET_MATCHES_FOOTER(offset, maxLen)
590 UInt32 hash2Value, hash3Value, delta2, delta3, maxLen, offset;
603 maxLen
607 distances[0] = maxLen = 2;
613 maxLen = 3;
620 for (; maxLen != lenLimit; maxLen++)
621 if (cur[(ptrdiff_t)maxLen - delta2] != cur[maxLen])
623 distances[offset - 2] = maxLen;
624 if (maxLen == lenLimit)
630 if (maxLen < 3)
631 maxLen = 3;
633 distances + offset, maxLen) - (distances));