Home
last modified time | relevance | path

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

/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/
DLZMAEncoder.java252 int posState = (lz.getPos() - readAhead) & posMask; in encodeSymbol() local
282 private void encodeMatch(int dist, int len, int posState) { in encodeMatch()
314 private void encodeRepMatch(int rep, int len, int posState) { in encodeRepMatch()
358 int getAnyMatchPrice(State state, int posState) { in getAnyMatchPrice()
372 int getShortRepPrice(int anyRepPrice, State state, int posState) { in getShortRepPrice()
379 int getLongRepPrice(int anyRepPrice, int rep, State state, int posState) { in getLongRepPrice()
400 int getLongRepAndLenPrice(int rep, int len, State state, int posState) { in getLongRepAndLenPrice()
408 int dist, int len, int posState) { in getMatchAndLenPrice()
652 void encode(int len, int posState) { in encode()
674 int getPrice(int len, int posState) { in getPrice()
[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.java174 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.c743 static void LenEnc_Encode(CLenEnc *p, CRangeEnc *rc, UInt32 symbol, UInt32 posState) in LenEnc_Encode()
766 static void LenEnc_SetPrices(CLenEnc *p, UInt32 posState, UInt32 numSymbols, UInt32 *prices, UInt32… in LenEnc_SetPrices()
789 static void MY_FAST_CALL LenPriceEnc_UpdateTable(CLenPriceEnc *p, UInt32 posState, UInt32 *ProbPric… in LenPriceEnc_UpdateTable()
797 UInt32 posState; in LenPriceEnc_UpdateTables() local
802 static void LenEnc_Encode2(CLenPriceEnc *p, CRangeEnc *rc, UInt32 symbol, UInt32 posState, Bool upd… in LenEnc_Encode2()
869 static UInt32 GetRepLen1Price(CLzmaEnc *p, UInt32 state, UInt32 posState) in GetRepLen1Price()
876 static UInt32 GetPureRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 state, UInt32 posState) in GetPureRepPrice()
898 static UInt32 GetRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 len, UInt32 state, UInt32 posState) in GetRepPrice()
944 UInt32 numAvail, mainLen, numPairs, repMaxIndex, i, posState, lenEnd, len, cur; in GetOptimum() local
1139 UInt32 numAvailFull, newLen, numPairs, posPrev, state, posState, startLen; in GetOptimum() local
[all …]
DLzmaDec.c167 unsigned posState = processedPos & pbMask; in LzmaDec_DecodeReal() local
533 unsigned posState = (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()
481 unsigned posState = OutWindow.TotalPos & ((1 << pb) - 1); in Decode() local