Home
last modified time | relevance | path

Searched refs:lenTest (Results 1 – 3 of 3) sorted by relevance

/external/lzma/Java/SevenZip/Compression/LZMA/
DEncoder.java883 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/
DLzmaEncoder.cs883 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 …]
/external/lzma/C/
DLzmaEnc.c981 UInt32 lenTest; in GetOptimum() local
990 for (lenTest = 2; lenTest < numAvail && data[lenTest] == data2[lenTest]; lenTest++); in GetOptimum()
991 repLens[i] = lenTest; in GetOptimum()
992 if (lenTest > repLens[repMaxIndex]) in GetOptimum()
1325 UInt32 lenTest; in GetOptimum() local
1331 for (lenTest = 2; lenTest < numAvail && data[lenTest] == data2[lenTest]; lenTest++); in GetOptimum()
1332 while (lenEnd < cur + lenTest) in GetOptimum()
1334 lenTestTemp = lenTest; in GetOptimum()
1338 UInt32 curAndLenPrice = price + p->repLenEnc.prices[posState][lenTest - 2]; in GetOptimum()
1339 COptimal *opt = &p->opt[cur + lenTest]; in GetOptimum()
[all …]