Lines Matching refs:dicPos

160   SizeT dicPos = p->dicPos;  in LzmaDec_DecodeReal()  local
185 (dic[(dicPos == 0 ? dicBufSize : dicPos) - 1] >> (8 - lc)))); in LzmaDec_DecodeReal()
194 unsigned matchByte = p->dic[(dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0)]; in LzmaDec_DecodeReal()
208 dic[dicPos++] = (Byte)symbol; in LzmaDec_DecodeReal()
238 dic[dicPos] = dic[(dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0)]; in LzmaDec_DecodeReal()
239 dicPos++; in LzmaDec_DecodeReal()
397 if (limit == dicPos) in LzmaDec_DecodeReal()
400 SizeT rem = limit - dicPos; in LzmaDec_DecodeReal()
402 SizeT pos = (dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0); in LzmaDec_DecodeReal()
409 Byte *dest = dic + dicPos; in LzmaDec_DecodeReal()
410 ptrdiff_t src = (ptrdiff_t)pos - (ptrdiff_t)dicPos; in LzmaDec_DecodeReal()
412 dicPos += curLen; in LzmaDec_DecodeReal()
421 dic[dicPos++] = dic[pos]; in LzmaDec_DecodeReal()
430 while (dicPos < limit && buf < bufLimit); in LzmaDec_DecodeReal()
436 p->dicPos = dicPos; in LzmaDec_DecodeReal()
452 SizeT dicPos = p->dicPos; in LzmaDec_WriteRem() local
456 if (limit - dicPos < len) in LzmaDec_WriteRem()
457 len = (unsigned)(limit - dicPos); in LzmaDec_WriteRem()
466 dic[dicPos] = dic[(dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0)]; in LzmaDec_WriteRem()
467 dicPos++; in LzmaDec_WriteRem()
469 p->dicPos = dicPos; in LzmaDec_WriteRem()
481 if (limit - p->dicPos > rem) in LzmaDec_DecodeReal2()
482 limit2 = p->dicPos + rem; in LzmaDec_DecodeReal2()
489 while (p->dicPos < limit && p->buf < bufLimit && p->remainLen < kMatchSpecLenStart); in LzmaDec_DecodeReal2()
532 (p->dic[(p->dicPos == 0 ? p->dicBufSize : p->dicPos) - 1] >> (8 - p->prop.lc)))); in LzmaDec_TryDummy()
541 unsigned matchByte = p->dic[p->dicPos - p->reps[0] + in LzmaDec_TryDummy()
542 ((p->dicPos < p->reps[0]) ? p->dicBufSize : 0)]; in LzmaDec_TryDummy()
722 p->dicPos = 0; in LzmaDec_Init()
768 if (p->dicPos >= dicLimit) in LzmaDec_DecodeToDic()
868 SizeT inSizeCur = inSize, outSizeCur, dicPos; in LzmaDec_DecodeToBuf() local
871 if (p->dicPos == p->dicBufSize) in LzmaDec_DecodeToBuf()
872 p->dicPos = 0; in LzmaDec_DecodeToBuf()
873 dicPos = p->dicPos; in LzmaDec_DecodeToBuf()
874 if (outSize > p->dicBufSize - dicPos) in LzmaDec_DecodeToBuf()
881 outSizeCur = dicPos + outSize; in LzmaDec_DecodeToBuf()
889 outSizeCur = p->dicPos - dicPos; in LzmaDec_DecodeToBuf()
890 (void) memcpy(dest, p->dic + dicPos, outSizeCur); in LzmaDec_DecodeToBuf()
1019 (*destLen) = p.dicPos; in LzmaDecode()