Home
last modified time | relevance | path

Searched defs:posState (Results 1 – 10 of 10) sorted by relevance

/external/xz-java/src/org/tukaani/xz/lzma/
DLZMAEncoder.java233 int posState = (lz.getPos() - readAhead) & posMask; in encodeLZMA1EndMarker() local
289 int posState = (lz.getPos() - readAhead) & posMask; in encodeSymbol() local
319 private void encodeMatch(int dist, int len, int posState) in encodeMatch()
352 private void encodeRepMatch(int rep, int len, int posState) in encodeRepMatch()
397 int getAnyMatchPrice(State state, int posState) { in getAnyMatchPrice()
411 int getShortRepPrice(int anyRepPrice, State state, int posState) { in getShortRepPrice()
418 int getLongRepPrice(int anyRepPrice, int rep, State state, int posState) { in getLongRepPrice()
439 int getLongRepAndLenPrice(int rep, int len, State state, int posState) { in getLongRepAndLenPrice()
447 int dist, int len, int posState) { in getMatchAndLenPrice()
691 void encode(int len, int posState) throws IOException { in encode()
[all …]
DLZMADecoder.java53 int posState = lz.getPos() & posMask; in decode() local
72 private int decodeMatch(int posState) throws IOException { in decodeMatch()
101 private int decodeRepMatch(int posState) throws IOException { in decodeRepMatch()
187 int decode(int posState) throws IOException { in decode()
DLZMAEncoderNormal.java176 int posState = pos & posMask; in getNextSymbol() local
/external/lzma/CS/7zip/Compress/LZMA/
DLzmaEncoder.cs196 public void Encode(RangeCoder.Encoder rangeEncoder, UInt32 symbol, UInt32 posState) in Encode()
220 public void SetPrices(UInt32 posState, UInt32 numSymbols, UInt32[] prices, UInt32 st) in SetPrices()
254 public UInt32 GetPrice(UInt32 symbol, UInt32 posState) in GetPrice()
259 void UpdateTable(UInt32 posState) in UpdateTable()
271 public new void Encode(RangeCoder.Encoder rangeEncoder, UInt32 symbol, UInt32 posState) in Encode()
455 UInt32 GetRepLen1Price(Base.State state, UInt32 posState) in GetRepLen1Price()
461 UInt32 GetPureRepPrice(UInt32 repIndex, Base.State state, UInt32 posState) in GetPureRepPrice()
483 UInt32 GetRepPrice(UInt32 repIndex, UInt32 len, Base.State state, UInt32 posState) in GetRepPrice()
489 UInt32 GetPosLenPrice(UInt32 pos, UInt32 len, UInt32 posState) in GetPosLenPrice()
1036 void WriteEndMarker(UInt32 posState) in WriteEndMarker()
DLzmaDecoder.cs42 public uint Decode(RangeCoder.Decoder rangeDecoder, uint posState) in Decode()
/external/lzma/Java/SevenZip/Compression/LZMA/
DEncoder.java196 …public void Encode(SevenZip.Compression.RangeCoder.Encoder rangeEncoder, int symbol, int posState)… in Encode()
220 public void SetPrices(int posState, int numSymbols, int[] prices, int st) in SetPrices()
254 public int GetPrice(int symbol, int posState) in GetPrice()
259 void UpdateTable(int posState) in UpdateTable()
271 …public void Encode(SevenZip.Compression.RangeCoder.Encoder rangeEncoder, int symbol, int posState)… in Encode()
455 int GetRepLen1Price(int state, int posState) in GetRepLen1Price()
461 int GetPureRepPrice(int repIndex, int state, int posState) in GetPureRepPrice()
483 int GetRepPrice(int repIndex, int len, int state, int posState) in GetRepPrice()
489 int GetPosLenPrice(int pos, int len, int posState) in GetPosLenPrice()
606 int posState = (position & _posStateMask); in GetOptimum() local
[all …]
DDecoder.java38 …public int Decode(SevenZip.Compression.RangeCoder.Decoder rangeDecoder, int posState) throws IOExc… in Decode()
215 int posState = (int)nowPos64 & m_PosStateMask; in Code() local
/external/lzma/C/
DLzmaEnc.c249 #define GET_PRICE_LEN(p, posState, len) \ argument
831 static void LenEnc_Encode(CLenEnc *p, CRangeEnc *rc, unsigned sym, unsigned posState) in LenEnc_Encode()
893 unsigned posState; in LenPriceEnc_UpdateTables() local
961 unsigned posState; in LenPriceEnc_UpdateTables() local
1031 #define GetPrice_ShortRep(p, state, posState) \ argument
1034 #define GetPrice_Rep_0(p, state, posState) ( \ argument
1041 static UInt32 GetPrice_PureRep(const CLzmaEnc *p, unsigned repIndex, size_t state, size_t posState) in GetPrice_PureRep()
1127 unsigned numPairs, mainLen, repMaxIndex, i, posState; in GetOptimum() local
1341 unsigned newLen, numPairs, prev, state, posState, startLen; in GetOptimum() local
1995 static void WriteEndMarker(CLzmaEnc *p, unsigned posState) in WriteEndMarker()
[all …]
DLzmaDec.c244 unsigned posState = CALC_POS_STATE(processedPos, pbMask); in LZMA_DECODE_REAL() local
673 unsigned posState = CALC_POS_STATE(p->processedPos, (1 << p->prop.pb) - 1); in LzmaDec_TryDummy() local
/external/lzma/CPP/7zip/Bundles/LzmaSpec/
DLzmaSpec.cpp295 unsigned Decode(CRangeDecoder *rc, unsigned posState) in Decode()
483 unsigned posState = OutWindow.TotalPos & ((1 << pb) - 1); in Decode() local