/external/lzma/Java/SevenZip/Compression/LZMA/ |
D | Decoder.java | 209 int rep0 = 0, rep1 = 0, rep2 = 0, rep3 = 0; in Code() local 220 prevByte = decoder2.DecodeWithMatchByte(m_RangeDecoder, m_OutWindow.GetByte(rep0)); in Code() 257 rep1 = rep0; in Code() 258 rep0 = distance; in Code() 270 rep1 = rep0; in Code() 277 rep0 = ((2 | (posSlot & 1)) << numDirectBits); in Code() 279 rep0 += BitTreeDecoder.ReverseDecode(m_PosDecoders, in Code() 280 rep0 - posSlot - 1, m_RangeDecoder, numDirectBits); in Code() 283 rep0 += (m_RangeDecoder.DecodeDirectBits( in Code() 285 rep0 += m_PosAlignDecoder.ReverseDecode(m_RangeDecoder); in Code() [all …]
|
/external/lzma/CS/7zip/Compress/LZMA/ |
D | LzmaDecoder.cs | 237 uint rep0 = 0, rep1 = 0, rep2 = 0, rep3 = 0; in Code() 262 (uint)nowPos64, prevByte, m_OutWindow.GetByte(rep0)); in Code() 279 m_OutWindow.PutByte(m_OutWindow.GetByte(rep0)); in Code() 302 rep1 = rep0; in Code() 303 rep0 = distance; in Code() 312 rep1 = rep0; in Code() 319 rep0 = ((2 | (posSlot & 1)) << numDirectBits); in Code() 321 rep0 += BitTreeDecoder.ReverseDecode(m_PosDecoders, in Code() 322 rep0 - posSlot - 1, m_RangeDecoder, numDirectBits); in Code() 325 rep0 += (m_RangeDecoder.DecodeDirectBits( in Code() [all …]
|
/external/lzma/CPP/7zip/Bundles/LzmaSpec/ |
D | LzmaSpec.cpp | 372 void DecodeLiteral(unsigned state, UInt32 rep0) in DecodeLiteral() argument 384 unsigned matchByte = OutWindow.GetByte(rep0 + 1); in DecodeLiteral() 474 UInt32 rep0 = 0, rep1 = 0, rep2 = 0, rep3 = 0; in Decode() local 489 DecodeLiteral(state, rep0); in Decode() 508 OutWindow.PutByte(OutWindow.GetByte(rep0 + 1)); in Decode() 529 rep1 = rep0; in Decode() 530 rep0 = dist; in Decode() 539 rep1 = rep0; in Decode() 542 rep0 = DecodeDistance(len); in Decode() 543 if (rep0 == 0xFFFFFFFF) in Decode() [all …]
|
/external/xz-embedded/linux/lib/xz/ |
D | xz_dec_lzma2.c | 134 uint32_t rep0; member 596 match_byte = dict_get(&s->dict, s->lzma.rep0) << 1; in lzma_literal() 656 s->lzma.rep1 = s->lzma.rep0; in lzma_match() 664 s->lzma.rep0 = dist_slot; in lzma_match() 667 s->lzma.rep0 = 2 + (dist_slot & 1); in lzma_match() 670 s->lzma.rep0 <<= limit; in lzma_match() 671 probs = s->lzma.dist_special + s->lzma.rep0 in lzma_match() 674 &s->lzma.rep0, limit); in lzma_match() 676 rc_direct(&s->rc, &s->lzma.rep0, limit - ALIGN_BITS); in lzma_match() 677 s->lzma.rep0 <<= ALIGN_BITS; in lzma_match() [all …]
|
/external/lzma/C/ |
D | LzmaDec.c | 145 UInt32 rep0 = p->reps[0], rep1 = p->reps[1], rep2 = p->reps[2], rep3 = p->reps[3]; in LzmaDec_DecodeReal() local 199 unsigned matchByte = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)]; in LzmaDec_DecodeReal() 253 dic[dicPos] = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)]; in LzmaDec_DecodeReal() 288 rep1 = rep0; in LzmaDec_DecodeReal() 289 rep0 = distance; in LzmaDec_DecodeReal() 436 rep1 = rep0; in LzmaDec_DecodeReal() 437 rep0 = distance + 1; in LzmaDec_DecodeReal() 468 pos = dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0); in LzmaDec_DecodeReal() 506 p->reps[0] = rep0; in LzmaDec_DecodeReal() 523 SizeT rep0 = p->reps[0]; /* we use SizeT to avoid the BUG of VC14 for AMD64 */ in LzmaDec_WriteRem() local [all …]
|
/external/lzma/DOC/ |
D | lzma-specification.txt | 605 void DecodeLiteral(unsigned state, UInt32 rep0) 617 unsigned matchByte = OutWindow.GetByte(rep0 + 1); 927 UInt32 rep0 = 0, rep1 = 0, rep2 = 0, rep3 = 0; 977 0 - the distance is rep0 1002 DecodeLiteral(state, rep0); 1022 rep1 = rep0; 1032 and the new "rep0" value is decoded with DecodeDistance: 1034 rep0 = DecodeDistance(len); 1036 That "rep0" will be used as zero-based distance for current match. 1038 If the value of "rep0" is equal to 0xFFFFFFFF, it means that we have [all …]
|
/external/toybox/toys/pending/ |
D | xzcat.c | 1290 uint32_t rep0; member 1738 match_byte = dict_get(&s->dict, s->lzma.rep0) << 1; in lzma_literal() 1798 s->lzma.rep1 = s->lzma.rep0; in lzma_match() 1806 s->lzma.rep0 = dist_slot; in lzma_match() 1809 s->lzma.rep0 = 2 + (dist_slot & 1); in lzma_match() 1812 s->lzma.rep0 <<= limit; in lzma_match() 1813 probs = s->lzma.dist_special + s->lzma.rep0 in lzma_match() 1816 &s->lzma.rep0, limit); in lzma_match() 1818 rc_direct(&s->rc, &s->lzma.rep0, limit - ALIGN_BITS); in lzma_match() 1819 s->lzma.rep0 <<= ALIGN_BITS; in lzma_match() [all …]
|
/external/lzma/CPP/7zip/UI/Common/ |
D | Bench.cpp | 203 UInt32 rep0 = 1; in GenerateLz() local 240 rep0 = GetVal(r, ppp); in GenerateLz() 241 if (rep0 < pos) in GenerateLz() 245 rep0++; in GenerateLz() 254 const Byte *src = dest - rep0; in GenerateLz()
|