Searched refs:lenTest (Results 1 – 2 of 2) sorted by relevance
/external/lzma/Java/SevenZip/Compression/LZMA/ |
D | Encoder.java | 883 int lenTest = _matchFinder.GetMatchLen(0 - 1, reps[repIndex], numAvailableBytes); in GetOptimum() local 884 if (lenTest < 2) in GetOptimum() 886 int lenTestTemp = lenTest; in GetOptimum() 889 while (lenEnd < cur + lenTest) in GetOptimum() 891 int 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() [all …]
|
/external/lzma/CS/7zip/Compress/LZMA/ |
D | LzmaEncoder.cs | 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() [all …]
|