Home
last modified time | relevance | path

Searched refs:kMatchMinLen (Results 1 – 9 of 9) sorted by relevance

/external/lzma/CS/7zip/Compress/LZMA/
DLzmaBase.cs39 public const uint kMatchMinLen = 2; field in SevenZip.Compression.LZMA.Base
43 len -= kMatchMinLen; in GetLenToPosState()
74 public const uint kMatchMaxLen = kMatchMinLen + kNumLenSymbols - 1;
DLzmaEncoder.cs485 UInt32 price = _repMatchLenEncoder.GetPrice(len - Base.kMatchMinLen, posState); in GetRepPrice()
498 return price + _lenEncoder.GetPrice(len - Base.kMatchMinLen, posState); in GetPosLenPrice()
1044 UInt32 len = Base.kMatchMinLen; in WriteEndMarker()
1045 _lenEncoder.Encode(_rangeEncoder, len - Base.kMatchMinLen, posState); in WriteEndMarker()
1159 _repMatchLenEncoder.Encode(_rangeEncoder, len - Base.kMatchMinLen, posState); in CodeOneBlock()
1174 _lenEncoder.Encode(_rangeEncoder, len - Base.kMatchMinLen, posState); in CodeOneBlock()
1264 _lenEncoder.SetTableSize(_numFastBytes + 1 - Base.kMatchMinLen); in SetStreams()
1266 _repMatchLenEncoder.SetTableSize(_numFastBytes + 1 - Base.kMatchMinLen); in SetStreams()
DLzmaDecoder.cs305 len = m_RepLenDecoder.Decode(m_RangeDecoder, posState) + Base.kMatchMinLen; in Code()
313 len = Base.kMatchMinLen + m_LenDecoder.Decode(m_RangeDecoder, posState); in Code()
/external/lzma/Java/SevenZip/Compression/LZMA/
DBase.java52 public static final int kMatchMinLen = 2; field in Base
56 len -= kMatchMinLen; in GetLenToPosState()
87 public static final int kMatchMaxLen = kMatchMinLen + kNumLenSymbols - 1;
DEncoder.java485 int price = _repMatchLenEncoder.GetPrice(len - Base.kMatchMinLen, posState); in GetRepPrice()
498 return price + _lenEncoder.GetPrice(len - Base.kMatchMinLen, posState); in GetPosLenPrice()
1044 int len = Base.kMatchMinLen; in WriteEndMarker()
1045 _lenEncoder.Encode(_rangeEncoder, len - Base.kMatchMinLen, posState); in WriteEndMarker()
1157 _repMatchLenEncoder.Encode(_rangeEncoder, len - Base.kMatchMinLen, posState); in CodeOneBlock()
1172 _lenEncoder.Encode(_rangeEncoder, len - Base.kMatchMinLen, posState); in CodeOneBlock()
1264 _lenEncoder.SetTableSize(_numFastBytes + 1 - Base.kMatchMinLen); in SetStreams()
1266 _repMatchLenEncoder.SetTableSize(_numFastBytes + 1 - Base.kMatchMinLen); in SetStreams()
DDecoder.java262 len = m_RepLenDecoder.Decode(m_RangeDecoder, posState) + Base.kMatchMinLen; in Code()
271 len = Base.kMatchMinLen + m_LenDecoder.Decode(m_RangeDecoder, posState); in Code()
/external/lzma/CPP/7zip/Bundles/LzmaSpec/
DLzmaSpec.cpp271 #define kMatchMinLen 2 macro
553 len += kMatchMinLen; in Decode()
/external/lzma/C/
DLzmaDec.c100 #define kMatchMinLen 2 macro
101 #define kMatchSpecLenStart (kMatchMinLen + kLenNumLowSymbols + kLenNumMidSymbols + kLenNumHighSymbo…
454 len += kMatchMinLen; in LzmaDec_DecodeReal()
/external/lzma/DOC/
Dlzma-specification.txt642 #define kMatchMinLen 2
644 matchLen = len + kMatchMinLen;
1141 len += kMatchMinLen;