Home
last modified time | relevance | path

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

/external/u-boot/lib/lzma/
DLzmaDec.c146 SizeT dicPos = p->dicPos; in LzmaDec_DecodeReal() local
173 (dic[(dicPos == 0 ? dicBufSize : dicPos) - 1] >> (8 - lc)))); in LzmaDec_DecodeReal()
186 unsigned matchByte = p->dic[(dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0)]; in LzmaDec_DecodeReal()
204 dic[dicPos++] = (Byte)symbol; in LzmaDec_DecodeReal()
231 dic[dicPos] = dic[(dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0)]; in LzmaDec_DecodeReal()
232 dicPos++; in LzmaDec_DecodeReal()
395 if (limit == dicPos) in LzmaDec_DecodeReal()
398 SizeT rem = limit - dicPos; in LzmaDec_DecodeReal()
400 SizeT pos = (dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0); in LzmaDec_DecodeReal()
407 Byte *dest = dic + dicPos; in LzmaDec_DecodeReal()
[all …]
DLzmaDec.h53 SizeT dicPos; member
/external/lzma/C/
DLzmaDec.c229 SizeT dicPos = p->dicPos; in LZMA_DECODE_REAL() local
253 …prob += (UInt32)3 * ((((processedPos << 8) + dic[(dicPos == 0 ? dicBufSize : dicPos) - 1]) & lpMas… in LZMA_DECODE_REAL()
275 unsigned matchByte = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)]; in LZMA_DECODE_REAL()
303 dic[dicPos++] = (Byte)symbol; in LZMA_DECODE_REAL()
332 dic[dicPos] = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)]; in LZMA_DECODE_REAL()
333 dicPos++; in LZMA_DECODE_REAL()
521 p->dicPos = dicPos; in LZMA_DECODE_REAL()
533 if ((rem = limit - dicPos) == 0) in LZMA_DECODE_REAL()
535 p->dicPos = dicPos; in LZMA_DECODE_REAL()
540 pos = dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0); in LZMA_DECODE_REAL()
[all …]
DLzma2Dec.c103 PRF(printf("\n %8X", (unsigned)p->decoder.dicPos)); in Lzma2Dec_UpdateState()
165 memcpy(p->dic + p->dicPos, src, size); in LzmaDec_UpdateWithUncompressed()
166 p->dicPos += size; in LzmaDec_UpdateWithUncompressed()
184 SizeT dicPos; in Lzma2Dec_DecodeToDic() local
192 dicPos = p->decoder.dicPos; in Lzma2Dec_DecodeToDic()
194 if (dicPos == dicLimit && finishMode == LZMA_FINISH_ANY) in Lzma2Dec_DecodeToDic()
209 if (dicPos == dicLimit && p->state != LZMA2_STATE_FINISHED) in Lzma2Dec_DecodeToDic()
216 SizeT outCur = dicLimit - dicPos; in Lzma2Dec_DecodeToDic()
266 res = LzmaDec_DecodeToDic(&p->decoder, dicPos + outCur, src, &inCur, curFinishMode, status); in Lzma2Dec_DecodeToDic()
271 outCur = p->decoder.dicPos - dicPos; in Lzma2Dec_DecodeToDic()
[all …]
DLzma2DecMt.c312 limit - t->dec.decoder.dicPos, in Lzma2DecMt_MtCallback_Parse()
320 if (t->dec.unpackSize > me->props.outBlockMax - t->dec.decoder.dicPos) in Lzma2DecMt_MtCallback_Parse()
330 if (t->dec.decoder.dicPos == 0) in Lzma2DecMt_MtCallback_Parse()
333 if (t->dec.decoder.dicPos >= (1 << 14)) in Lzma2DecMt_MtCallback_Parse()
335 dicPos_Point = t->dec.decoder.dicPos; in Lzma2DecMt_MtCallback_Parse()
361 t->dec.decoder.dicPos = dicPos_Point; in Lzma2DecMt_MtCallback_Parse()
374 size_t dicPos = t->dec.decoder.dicPos; in Lzma2DecMt_MtCallback_Parse() local
394 SizeT rem = limit - dicPos; in Lzma2DecMt_MtCallback_Parse()
397 dicPos += rem; in Lzma2DecMt_MtCallback_Parse()
402 me->outProcessed_Parse += dicPos; in Lzma2DecMt_MtCallback_Parse()
[all …]
D7zDec.c157 SizeT inProcessed = (SizeT)lookahead, dicPos = state.dicPos; in SzDecodeLzma() local
167 if (outSize != state.dicPos || inSize != 0) in SzDecodeLzma()
172 … if (outSize == state.dicPos && inSize == 0 && status == LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK) in SzDecodeLzma()
175 if (inProcessed == 0 && dicPos == state.dicPos) in SzDecodeLzma()
219 SizeT inProcessed = (SizeT)lookahead, dicPos = state.decoder.dicPos; in SzDecodeLzma2() local
229 if (outSize != state.decoder.dicPos || inSize != 0) in SzDecodeLzma2()
234 if (inProcessed == 0 && dicPos == state.decoder.dicPos) in SzDecodeLzma2()
DLzmaDec.h61 SizeT dicPos; member
DXzDec.c394 SizeT dicPos = spec->decoder.decoder.dicPos; in Lzma2State_Code2() local
395 SizeT dicLimit = dicPos + *destLen; in Lzma2State_Code2()
397 *destLen = spec->decoder.decoder.dicPos - dicPos; in Lzma2State_Code2()
/external/lzma/Asm/x86/
DLzmaDecOpt.asm80 ; x14 bit (MATCHED) / dicPos
104 dicPos equ r14 define
434 …; prob += (UInt32)3 * ((((processedPos << 8) + dic[(dicPos == 0 ? dicBufSize : dicPos) - 1]) & lpM…
599 cmp dicPos, LOC limit
636 mov dicPos, GLOB_2 dicPos_Spec
637 add dicPos, dic
638 mov LOC_0 dicPos_Spec, dicPos
691 cmp dicPos, dic
692 cmovnz t0_R, dicPos
741 mov byte ptr[dicPos], sym_L
[all …]
/external/lzma/CPP/7zip/Compress/
DLzmaDecoder.cpp122 SizeT wrPos = _state.dicPos; in CodeSpec()
133 const SizeT dicPos = _state.dicPos; in CodeSpec() local
139 size = next - dicPos; in CodeSpec()
157 …SRes res = LzmaDec_DecodeToDic(&_state, dicPos + size, _inBuf + _inPos, &inProcessed, finishMode, … in CodeSpec()
162 const SizeT outProcessed = _state.dicPos - dicPos; in CodeSpec()
175 HRESULT res2 = WriteStream(outStream, _state.dic + wrPos, _state.dicPos - wrPos); in CodeSpec()
177 if (_state.dicPos == _state.dicBufSize) in CodeSpec()
178 _state.dicPos = 0; in CodeSpec()
179 wrPos = _state.dicPos; in CodeSpec()