Home
last modified time | relevance | path

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

/third_party/lzma/C/
H A DLzma2Dec.c92 // p->decoder.dicPos = 0; // we can use it instead of full init in Lzma2Dec_Init()
104 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()
435 SizeT inCur = inSize, outCur, dicPos; Lzma2Dec_DecodeToBuf() local
[all...]
H A DLzmaDec.c195 if (p->dicPos == limit)
206 It decodes additional LZMA-symbols while (p->buf < bufLimit && dicPos < limit),
245 SizeT dicPos = p->dicPos; in LZMA_DECODE_REAL() local
269 prob += (UInt32)3 * ((((processedPos << 8) + dic[(dicPos == 0 ? dicBufSize : dicPos) - 1]) & lpMask) << lc); 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()
346 // The caller doesn't allow (dicPos in LZMA_DECODE_REAL()
622 SizeT dicPos = p->dicPos; LzmaDec_WriteRem() local
1207 SizeT inSizeCur = inSize, outSizeCur, dicPos; LzmaDec_DecodeToBuf() local
[all...]
H A DLzma2DecMt.c313 (SizeT)limit - t->dec.decoder.dicPos, in Lzma2DecMt_MtCallback_Parse()
321 if (t->dec.unpackSize > me->props.outBlockMax - t->dec.decoder.dicPos) in Lzma2DecMt_MtCallback_Parse()
331 if (t->dec.decoder.dicPos == 0) in Lzma2DecMt_MtCallback_Parse()
334 if (t->dec.decoder.dicPos >= (1 << 14)) in Lzma2DecMt_MtCallback_Parse()
336 dicPos_Point = t->dec.decoder.dicPos; in Lzma2DecMt_MtCallback_Parse()
342 // && limit == t->dec.decoder.dicPos in Lzma2DecMt_MtCallback_Parse()
362 t->dec.decoder.dicPos = dicPos_Point; in Lzma2DecMt_MtCallback_Parse()
375 size_t dicPos = t->dec.decoder.dicPos; in Lzma2DecMt_MtCallback_Parse() local
395 size_t rem = limit - dicPos; in Lzma2DecMt_MtCallback_Parse()
672 SizeT dicPos; Lzma2Dec_Decode_ST() local
[all...]
H A D7zDec.c186 SizeT inProcessed = (SizeT)lookahead, dicPos = state.dicPos; in SzDecodeLzma() local
196 if (outSize != state.dicPos || inSize != 0) in SzDecodeLzma()
201 if (outSize == state.dicPos && inSize == 0 && status == LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK) in SzDecodeLzma()
204 if (inProcessed == 0 && dicPos == state.dicPos) in SzDecodeLzma()
248 SizeT inProcessed = (SizeT)lookahead, dicPos = state.decoder.dicPos; in SzDecodeLzma2() local
258 if (outSize != state.decoder.dicPos || inSize != 0) in SzDecodeLzma2()
263 if (inProcessed == 0 && dicPos in SzDecodeLzma2()
[all...]
H A DLzmaDec.h61 SizeT dicPos; member
161 use data from CLzmaDec::dic and update CLzmaDec::dicPos
170 You must manually update CLzmaDec::dicPos, if it reaches CLzmaDec::dicBufSize !!!
H A DXzDec.c426 SizeT dicPos = spec->decoder.decoder.dicPos; in Lzma2State_Code2() local
427 SizeT dicLimit = dicPos + *destLen; in Lzma2State_Code2()
429 *destLen = spec->decoder.decoder.dicPos - dicPos; in Lzma2State_Code2()
/third_party/lzma/CPP/7zip/Compress/
H A DLzmaDecoder.cpp124 SizeT wrPos = _state.dicPos; in CodeSpec()
135 const SizeT dicPos = _state.dicPos; in CodeSpec() local
141 size = next - dicPos; in CodeSpec()
159 const SRes res = LzmaDec_DecodeToDic(&_state, dicPos + size, _inBuf + _inPos, &inProcessed, finishMode, &status); in CodeSpec()
164 const SizeT outProcessed = _state.dicPos - dicPos; in CodeSpec()
177 const HRESULT res2 = WriteStream(outStream, _state.dic + wrPos, _state.dicPos - wrPos); in CodeSpec()
179 if (_state.dicPos == _state.dicBufSize) in CodeSpec()
180 _state.dicPos in CodeSpec()
[all...]
/third_party/lzma/Asm/x86/
H A DLzmaDecOpt.asm81 ; x14 bit (MATCHED) / dicPos
105 dicPos equ r14 define
435 ; prob += (UInt32)3 * ((((processedPos << 8) + dic[(dicPos == 0 ? dicBufSize : dicPos) - 1]) & lpMask) << lc);
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
[all...]
/third_party/lzma/Asm/arm64/
H A DLzmaDecOpt.S170 #define dicPos r14 define
702 cmp dicPos, limit
711 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
1041 // if ((rem = limit - dicPos) == 0) break // return SZ_ERROR_DATA;
1042 subs cnt_R, limit, dicPos
[all...]

Completed in 13 milliseconds