Lines Matching refs:lenTest
883 UInt32 lenTest = _matchFinder.GetMatchLen(0 - 1, reps[repIndex], numAvailableBytes); in GetOptimum()
884 if (lenTest < 2) in GetOptimum()
886 UInt32 lenTestTemp = lenTest; in GetOptimum()
889 while (lenEnd < cur + lenTest) in GetOptimum()
891 UInt32 curAndLenPrice = repMatchPrice + GetRepPrice(repIndex, lenTest, state, posState); in GetOptimum()
892 Optimal optimum = _optimum[cur + lenTest]; in GetOptimum()
901 while(--lenTest >= 2); in GetOptimum()
902 lenTest = lenTestTemp; in GetOptimum()
905 startLen = lenTest + 1; in GetOptimum()
908 if (lenTest < numAvailableBytesFull) in GetOptimum()
910 UInt32 t = Math.Min(numAvailableBytesFull - 1 - lenTest, _numFastBytes); in GetOptimum()
911 UInt32 lenTest2 = _matchFinder.GetMatchLen((Int32)lenTest, reps[repIndex], t); in GetOptimum()
916 UInt32 posStateNext = (position + lenTest) & _posStateMask; in GetOptimum()
918 repMatchPrice + GetRepPrice(repIndex, lenTest, state, posState) + in GetOptimum()
920 _literalEncoder.GetSubCoder(position + lenTest, in GetOptimum()
921 _matchFinder.GetIndexByte((Int32)lenTest - 1 - 1)).GetPrice(true, in GetOptimum()
922 _matchFinder.GetIndexByte((Int32)((Int32)lenTest - 1 - (Int32)(reps[repIndex] + 1))), in GetOptimum()
923 _matchFinder.GetIndexByte((Int32)lenTest - 1)); in GetOptimum()
925 posStateNext = (position + lenTest + 1) & _posStateMask; in GetOptimum()
931 UInt32 offset = lenTest + 1 + lenTest2; in GetOptimum()
939 optimum.PosPrev = cur + lenTest + 1; in GetOptimum()
968 for (UInt32 lenTest = startLen; ; lenTest++) in GetOptimum()
971 UInt32 curAndLenPrice = normalMatchPrice + GetPosLenPrice(curBack, lenTest, posState); in GetOptimum()
972 Optimal optimum = _optimum[cur + lenTest]; in GetOptimum()
981 if (lenTest == _matchDistances[offs]) in GetOptimum()
983 if (lenTest < numAvailableBytesFull) in GetOptimum()
985 UInt32 t = Math.Min(numAvailableBytesFull - 1 - lenTest, _numFastBytes); in GetOptimum()
986 UInt32 lenTest2 = _matchFinder.GetMatchLen((Int32)lenTest, curBack, t); in GetOptimum()
991 UInt32 posStateNext = (position + lenTest) & _posStateMask; in GetOptimum()
994 _literalEncoder.GetSubCoder(position + lenTest, in GetOptimum()
995 _matchFinder.GetIndexByte((Int32)lenTest - 1 - 1)). in GetOptimum()
997 _matchFinder.GetIndexByte((Int32)lenTest - (Int32)(curBack + 1) - 1), in GetOptimum()
998 _matchFinder.GetIndexByte((Int32)lenTest - 1)); in GetOptimum()
1000 posStateNext = (position + lenTest + 1) & _posStateMask; in GetOptimum()
1004 UInt32 offset = lenTest + 1 + lenTest2; in GetOptimum()
1012 optimum.PosPrev = cur + lenTest + 1; in GetOptimum()