/external/lzma/Java/SevenZip/Compression/LZMA/ |
Decoder.java | 209 int rep0 = 0, rep1 = 0, rep2 = 0, rep3 = 0;
local 220 prevByte = decoder2.DecodeWithMatchByte(m_RangeDecoder, m_OutWindow.GetByte(rep0));
257 rep1 = rep0;
258 rep0 = distance;
270 rep1 = rep0;
277 rep0 = ((2 | (posSlot & 1)) << numDirectBits);
279 rep0 += BitTreeDecoder.ReverseDecode(m_PosDecoders,
280 rep0 - posSlot - 1, m_RangeDecoder, numDirectBits);
283 rep0 += (m_RangeDecoder.DecodeDirectBits(
285 rep0 += m_PosAlignDecoder.ReverseDecode(m_RangeDecoder); [all...] |
Encoder.java | 849 // try Literal + rep0
[all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/utils/compression/lzma/ |
Decoder.java | 197 int rep0 = 0, rep1 = 0, rep2 = 0, rep3 = 0;
local 206 prevByte = decoder2.DecodeWithMatchByte(m_RangeDecoder, m_OutWindow.GetByte(rep0));
234 rep1 = rep0;
235 rep0 = distance;
244 rep1 = rep0;
250 rep0 = ((2 | (posSlot & 1)) << numDirectBits);
252 rep0 += BitTreeDecoder.ReverseDecode(m_PosDecoders, rep0 - posSlot - 1, m_RangeDecoder, numDirectBits);
254 rep0 += (m_RangeDecoder.DecodeDirectBits(numDirectBits - Base.kNumAlignBits) << Base.kNumAlignBits);
255 rep0 += m_PosAlignDecoder.ReverseDecode(m_RangeDecoder); [all...] |
Encoder.java | 750 // try Literal + rep0
[all...] |
/external/lzma/CS/7zip/Compress/LZMA/ |
LzmaDecoder.cs | 237 uint rep0 = 0, rep1 = 0, rep2 = 0, rep3 = 0;
262 (uint)nowPos64, prevByte, m_OutWindow.GetByte(rep0));
279 m_OutWindow.PutByte(m_OutWindow.GetByte(rep0));
302 rep1 = rep0;
303 rep0 = distance;
312 rep1 = rep0;
319 rep0 = ((2 | (posSlot & 1)) << numDirectBits);
321 rep0 += BitTreeDecoder.ReverseDecode(m_PosDecoders,
322 rep0 - posSlot - 1, m_RangeDecoder, numDirectBits);
325 rep0 += (m_RangeDecoder.DecodeDirectBits( [all...] |
LzmaEncoder.cs | 849 // try Literal + rep0
[all...] |
/external/lzma/CPP/7zip/Bundles/LzmaSpec/ |
LzmaSpec.cpp | 372 void DecodeLiteral(unsigned state, UInt32 rep0)
384 unsigned matchByte = OutWindow.GetByte(rep0 + 1);
472 UInt32 rep0 = 0, rep1 = 0, rep2 = 0, rep3 = 0;
local 487 DecodeLiteral(state, rep0);
506 OutWindow.PutByte(OutWindow.GetByte(rep0 + 1));
527 rep1 = rep0;
528 rep0 = dist;
537 rep1 = rep0;
540 rep0 = DecodeDistance(len);
541 if (rep0 == 0xFFFFFFFF) [all...] |
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
LzmaBench.cs | 65 UInt32 Rep0;
95 Rep0 = 1;
108 Rep0 = GetOffset();
109 while (Rep0 >= Pos);
110 Rep0++;
114 Buffer[Pos] = Buffer[Pos - Rep0];
|
/external/lzma/Java/SevenZip/ |
LzmaBench.java | 60 int Rep0;
89 Rep0 = 1;
102 Rep0 = GetOffset();
103 while (Rep0 >= Pos);
104 Rep0++;
108 Buffer[Pos] = Buffer[Pos - Rep0];
|
/external/lzma/xz-embedded/ |
xz_dec_lzma2.c | 134 uint32_t rep0; member in struct:lzma_dec 161 /* If 1, it's a repeated match. The distance is one of rep0 .. rep3. */ 165 * If 0, distance of a repeated match is rep0. 596 match_byte = dict_get(&s->dict, s->lzma.rep0) << 1; 645 /* Decode a match. The distance will be stored in s->lzma.rep0. */ 656 s->lzma.rep1 = s->lzma.rep0; 664 s->lzma.rep0 = dist_slot; 667 s->lzma.rep0 = 2 + (dist_slot & 1); 670 s->lzma.rep0 <<= limit; 671 probs = s->lzma.dist_special + s->lzma.rep0 [all...] |
/external/lzma/C/ |
LzmaDec.c | 145 UInt32 rep0 = p->reps[0], rep1 = p->reps[1], rep2 = p->reps[2], rep3 = p->reps[3];
local 198 unsigned matchByte = dic[(dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0)];
252 dic[dicPos] = dic[(dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0)];
287 rep1 = rep0;
288 rep0 = distance;
396 rep1 = rep0;
397 rep0 = distance + 1;
415 SizeT pos = (dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0); 468 UInt32 rep0 = p->reps[0]; local [all...] |
LzmaEnc.c | [all...] |
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/ |
LZMAEncoderNormal.java | 237 // Calculate the prices of normal matches that are longer than rep0. 369 * Calculates prices of a literal, a short rep, and literal + rep0. 401 // try literal + long rep0. 425 * Calculates prices of long rep and long rep + literal + rep0. 472 // Rep0 490 * Calculates prices of a normal match and normal match + literal + rep0. 531 // Try match + literal + rep0. First get the length of the rep0. 549 // Rep0
|
/external/lzma/DOC/ |
lzma-specification.txt | 604 void DecodeLiteral(unsigned state, UInt32 rep0)
616 unsigned matchByte = OutWindow.GetByte(rep0 + 1);
926 UInt32 rep0 = 0, rep1 = 0, rep2 = 0, rep3 = 0;
976 0 - the distance is rep0
1001 DecodeLiteral(state, rep0);
1021 rep1 = rep0;
1031 and the new "rep0" value is decoded with DecodeDistance:
1033 rep0 = DecodeDistance(len);
1035 That "rep0" will be used as zero-based distance for current match.
1037 If the value of "rep0" is equal to 0xFFFFFFFF, it means that we have [all...] |
/external/toybox/toys/pending/ |
xzcat.c | 1296 uint32_t rep0; member in struct:lzma_dec [all...] |
/external/lzma/CPP/7zip/UI/Common/ |
Bench.cpp | 151 UInt32 rep0 = 1;
local 171 rep0 = /* (1 << ppp) +*/ GetVal(res, ppp);
174 while (rep0 >= pos);
175 rep0++;
179 Buffer[pos] = Buffer[pos - rep0];
[all...] |