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.c1028 UInt32 lenTest; in GetOptimum() local
1037 for (lenTest = 2; lenTest < numAvail && data[lenTest] == data2[lenTest]; lenTest++); in GetOptimum()
1038 repLens[i] = lenTest; in GetOptimum()
1039 if (lenTest > repLens[repMaxIndex]) in GetOptimum()
1375 UInt32 lenTest; in GetOptimum() local
1381 for (lenTest = 2; lenTest < numAvail && data[lenTest] == data2[lenTest]; lenTest++); in GetOptimum()
1382 while (lenEnd < cur + lenTest) in GetOptimum()
1384 lenTestTemp = lenTest; in GetOptimum()
1388 UInt32 curAndLenPrice = price + p->repLenEnc.prices[posState][lenTest - 2]; in GetOptimum()
1389 COptimal *opt = &p->opt[cur + lenTest]; in GetOptimum()
[all …]