Home
last modified time | relevance | path

Searched refs:rep0 (Results 1 – 10 of 10) sorted by relevance

/external/lzma/Java/SevenZip/Compression/LZMA/
DDecoder.java209 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/
DLzmaDecoder.cs237 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/
DLzmaSpec.cpp372 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/
Dxz_dec_lzma2.c134 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/u-boot/lib/lzma/
DLzmaDec.c139 UInt32 rep0 = p->reps[0], rep1 = p->reps[1], rep2 = p->reps[2], rep3 = p->reps[3]; in LzmaDec_DecodeReal() local
186 unsigned matchByte = p->dic[(dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0)]; in LzmaDec_DecodeReal()
231 dic[dicPos] = dic[(dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0)]; in LzmaDec_DecodeReal()
266 rep1 = rep0; in LzmaDec_DecodeReal()
267 rep0 = distance; in LzmaDec_DecodeReal()
381 rep1 = rep0; in LzmaDec_DecodeReal()
382 rep0 = distance + 1; in LzmaDec_DecodeReal()
400 SizeT pos = (dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0); in LzmaDec_DecodeReal()
445 p->reps[0] = rep0; in LzmaDec_DecodeReal()
462 UInt32 rep0 = p->reps[0]; in LzmaDec_WriteRem() local
[all …]
/external/lzma/C/
DLzmaDec.c222 UInt32 rep0 = p->reps[0], rep1 = p->reps[1], rep2 = p->reps[2], rep3 = p->reps[3]; in LZMA_DECODE_REAL() local
275 unsigned matchByte = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)]; in LZMA_DECODE_REAL()
332 dic[dicPos] = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)]; in LZMA_DECODE_REAL()
367 rep1 = rep0; in LZMA_DECODE_REAL()
368 rep0 = distance; in LZMA_DECODE_REAL()
516 rep1 = rep0; in LZMA_DECODE_REAL()
517 rep0 = distance + 1; in LZMA_DECODE_REAL()
540 pos = dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0); in LZMA_DECODE_REAL()
578 p->reps[0] = rep0; in LZMA_DECODE_REAL()
596 SizeT rep0 = p->reps[0]; /* we use SizeT to avoid the BUG of VC14 for AMD64 */ in LzmaDec_WriteRem() local
[all …]
/external/lzma/Asm/x86/
DLzmaDecOpt.asm526 rep0 dd ? define
555 rep0 dd ? define
631 COPY_VAR(rep0)
901 ; rep1 = rep0;
902 ; rep0 = distance + 1;
905 mov t0, LOC rep0
908 mov LOC rep0, sym
943 mov x1, LOC rep0
955 ; pos = dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0);
982 ; cmp LOC rep0, 1
[all …]
/external/lzma/DOC/
Dlzma-specification.txt605 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/
Dxzcat.c1290 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/
DBench.cpp201 UInt32 rep0 = 1; in GenerateLz() local
238 rep0 = GetVal(r, ppp); in GenerateLz()
239 if (rep0 < pos) in GenerateLz()
243 rep0++; in GenerateLz()
252 const Byte *src = dest - rep0; in GenerateLz()