• Home
  • Raw
  • Download

Lines Matching refs:dicPos

146   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()
408 ptrdiff_t src = (ptrdiff_t)pos - (ptrdiff_t)dicPos; in LzmaDec_DecodeReal()
410 dicPos += curLen; in LzmaDec_DecodeReal()
425 dic[dicPos++] = dic[pos]; in LzmaDec_DecodeReal()
434 while (dicPos < limit && buf < bufLimit); in LzmaDec_DecodeReal()
443 p->dicPos = dicPos; in LzmaDec_DecodeReal()
459 SizeT dicPos = p->dicPos; in LzmaDec_WriteRem() local
463 if (limit - dicPos < len) in LzmaDec_WriteRem()
464 len = (unsigned)(limit - dicPos); in LzmaDec_WriteRem()
473 dic[dicPos] = dic[(dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0)]; in LzmaDec_WriteRem()
474 dicPos++; in LzmaDec_WriteRem()
476 p->dicPos = dicPos; in LzmaDec_WriteRem()
488 if (limit - p->dicPos > rem) in LzmaDec_DecodeReal2()
489 limit2 = p->dicPos + rem; in LzmaDec_DecodeReal2()
496 while (p->dicPos < limit && p->buf < bufLimit && p->remainLen < kMatchSpecLenStart); in LzmaDec_DecodeReal2()
539 (p->dic[(p->dicPos == 0 ? p->dicBufSize : p->dicPos) - 1] >> (8 - p->prop.lc)))); in LzmaDec_TryDummy()
548 unsigned matchByte = p->dic[p->dicPos - p->reps[0] + in LzmaDec_TryDummy()
549 ((p->dicPos < p->reps[0]) ? p->dicBufSize : 0)]; in LzmaDec_TryDummy()
729 p->dicPos = 0; in LzmaDec_Init()
775 if (p->dicPos >= dicLimit) in LzmaDec_DecodeToDic()
873 SizeT inSizeCur = inSize, outSizeCur, dicPos; in LzmaDec_DecodeToBuf() local
876 if (p->dicPos == p->dicBufSize) in LzmaDec_DecodeToBuf()
877 p->dicPos = 0; in LzmaDec_DecodeToBuf()
878 dicPos = p->dicPos; in LzmaDec_DecodeToBuf()
879 if (outSize > p->dicBufSize - dicPos) in LzmaDec_DecodeToBuf()
886 outSizeCur = dicPos + outSize; in LzmaDec_DecodeToBuf()
894 outSizeCur = p->dicPos - dicPos; in LzmaDec_DecodeToBuf()
895 memcpy(dest, p->dic + dicPos, outSizeCur); in LzmaDec_DecodeToBuf()
1022 (*destLen) = p.dicPos; in LzmaDecode()