Home
last modified time | relevance | path

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

/third_party/lzma/C/
DLzma2Dec.c104 PRF(printf("\n %8X", (unsigned)p->decoder.dicPos)); in Lzma2Dec_UpdateState()
166 memcpy(p->dic + p->dicPos, src, size); in LzmaDec_UpdateWithUncompressed()
167 p->dicPos += size; in LzmaDec_UpdateWithUncompressed()
185 SizeT dicPos; in Lzma2Dec_DecodeToDic() local
193 dicPos = p->decoder.dicPos; in Lzma2Dec_DecodeToDic()
195 if (dicPos == dicLimit && finishMode == LZMA_FINISH_ANY) in Lzma2Dec_DecodeToDic()
210 if (dicPos == dicLimit && p->state != LZMA2_STATE_FINISHED) in Lzma2Dec_DecodeToDic()
217 SizeT outCur = dicLimit - dicPos; in Lzma2Dec_DecodeToDic()
267 res = LzmaDec_DecodeToDic(&p->decoder, dicPos + outCur, src, &inCur, curFinishMode, status); in Lzma2Dec_DecodeToDic()
272 outCur = p->decoder.dicPos - dicPos; in Lzma2Dec_DecodeToDic()
[all …]
DLzmaDec.c245 SizeT dicPos = p->dicPos; in LZMA_DECODE_REAL() local
269 …prob += (UInt32)3 * ((((processedPos << 8) + dic[(dicPos == 0 ? dicBufSize : dicPos) - 1]) & lpMas… in LZMA_DECODE_REAL()
291 unsigned matchByte = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)]; in LZMA_DECODE_REAL()
319 dic[dicPos++] = (Byte)symbol; in LZMA_DECODE_REAL()
350 dic[dicPos] = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)]; in LZMA_DECODE_REAL()
351 dicPos++; in LZMA_DECODE_REAL()
553 if ((rem = limit - dicPos) == 0) in LZMA_DECODE_REAL()
565 pos = dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0); in LZMA_DECODE_REAL()
572 Byte *dest = dic + dicPos; in LZMA_DECODE_REAL()
573 ptrdiff_t src = (ptrdiff_t)pos - (ptrdiff_t)dicPos; in LZMA_DECODE_REAL()
[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.c164 SizeT inProcessed = (SizeT)lookahead, dicPos = state.dicPos; in SzDecodeLzma() local
174 if (outSize != state.dicPos || inSize != 0) in SzDecodeLzma()
179 … if (outSize == state.dicPos && inSize == 0 && status == LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK) in SzDecodeLzma()
182 if (inProcessed == 0 && dicPos == state.dicPos) in SzDecodeLzma()
226 SizeT inProcessed = (SizeT)lookahead, dicPos = state.decoder.dicPos; in SzDecodeLzma2() local
236 if (outSize != state.decoder.dicPos || inSize != 0) in SzDecodeLzma2()
241 if (inProcessed == 0 && dicPos == state.decoder.dicPos) in SzDecodeLzma2()
DLzmaDec.h61 SizeT dicPos; member
DXzDec.c395 SizeT dicPos = spec->decoder.decoder.dicPos; in Lzma2State_Code2() local
396 SizeT dicLimit = dicPos + *destLen; in Lzma2State_Code2()
398 *destLen = spec->decoder.decoder.dicPos - dicPos; in Lzma2State_Code2()
/third_party/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()
/third_party/lzma/Asm/arm64/
DLzmaDecOpt.S170 #define dicPos r14 macro
702 cmp dicPos, limit
755 LOAD_LZMA_PAIR dicPos, buf, offset_dicPos
764 p2_add dicPos, dic
790 cmp dicPos, dic
791 cmovne t0_R, dicPos
838 strb sym, [dicPos], 1
1042 subs cnt_R, limit, dicPos
1050 sub t0_R, dicPos, dic
1051 p2_add dicPos, cnt_R
[all …]
/third_party/lzma/Asm/x86/
DLzmaDecOpt.asm81 ; x14 bit (MATCHED) / dicPos
105 dicPos equ r14 define
435 …; prob += (UInt32)3 * ((((processedPos << 8) + dic[(dicPos == 0 ? dicBufSize : dicPos) - 1]) & lpM…
600 cmp dicPos, LOC limit
637 mov dicPos, GLOB_2 dicPos_Spec
638 add dicPos, dic
639 mov LOC_0 dicPos_Spec, dicPos
692 cmp dicPos, dic
693 cmovnz t0_R, dicPos
742 mov byte ptr[dicPos], sym_L
[all …]