Lines Matching refs:distances

247 …UInt32 *distances, UInt32 _maxLen, const UInt32 *hash, const UInt32 *limit, UInt32 size, UInt32 *p…  in GetMatchesSpecN()  argument
251 UInt32 *_distances = ++distances; in GetMatchesSpecN()
295 *distances++ = (UInt32)len; in GetMatchesSpecN()
296 *distances++ = delta - 1; in GetMatchesSpecN()
336 UInt32 num = (UInt32)(distances - _distances); in GetMatchesSpecN()
340 while (distances < limit && --size != 0); in GetMatchesSpecN()
342 return distances; in GetMatchesSpecN()
349 static void BtGetMatches(CMatchFinderMt *p, UInt32 *distances) in BtGetMatches() argument
355 distances[1] = p->hashNumAvail; in BtGetMatches()
362 distances[1] = numProcessed + p->hashNumAvail; in BtGetMatches()
365 distances[0] = curPos + p->hashNumAvail; in BtGetMatches()
366 distances += curPos; in BtGetMatches()
368 *distances++ = 0; in BtGetMatches()
390 UInt32 *startDistances = distances + curPos; in BtGetMatches()
404 distances + curPos, p->numHashBytes - 1, p->hashBuf + p->hashBufPos, in BtGetMatches()
405 distances + limit, in BtGetMatches()
406 size, &posRes) - distances); in BtGetMatches()
423 distances[0] = curPos; in BtGetMatches()
606 static UInt32 * MixMatches2(CMatchFinderMt *p, UInt32 matchMinPos, UInt32 *distances) in MixMatches2() argument
620 *distances++ = 2; in MixMatches2()
621 *distances++ = lzPos - curMatch2 - 1; in MixMatches2()
624 return distances; in MixMatches2()
627 static UInt32 * MixMatches3(CMatchFinderMt *p, UInt32 matchMinPos, UInt32 *distances) in MixMatches3() argument
643 distances[1] = lzPos - curMatch2 - 1; in MixMatches3()
646 distances[0] = 3; in MixMatches3()
647 return distances + 2; in MixMatches3()
649 distances[0] = 2; in MixMatches3()
650 distances += 2; in MixMatches3()
655 *distances++ = 3; in MixMatches3()
656 *distances++ = lzPos - curMatch3 - 1; in MixMatches3()
659 return distances; in MixMatches3()
719 static UInt32 MatchFinderMt2_GetMatches(CMatchFinderMt *p, UInt32 *distances) in MatchFinderMt2_GetMatches() argument
732 distances[0] = v0; in MatchFinderMt2_GetMatches()
733 distances[1] = v1; in MatchFinderMt2_GetMatches()
734 distances += 2; in MatchFinderMt2_GetMatches()
741 static UInt32 MatchFinderMt_GetMatches(CMatchFinderMt *p, UInt32 *distances) in MatchFinderMt_GetMatches() argument
751 len = (UInt32)(p->MixMatchesFunc(p, p->lzPos - p->historySize, distances) - (distances)); in MatchFinderMt_GetMatches()
758 distances2 = p->MixMatchesFunc(p, p->lzPos - btBuf[1], distances); in MatchFinderMt_GetMatches()
769 len = (UInt32)(distances2 - (distances)); in MatchFinderMt_GetMatches()