Lines Matching refs:dicPos
229 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()
547 Byte *dest = dic + dicPos; in LZMA_DECODE_REAL()
548 ptrdiff_t src = (ptrdiff_t)pos - (ptrdiff_t)dicPos; in LZMA_DECODE_REAL()
550 dicPos += (SizeT)curLen; in LZMA_DECODE_REAL()
559 dic[dicPos++] = dic[pos]; in LZMA_DECODE_REAL()
568 while (dicPos < limit && buf < bufLimit); in LZMA_DECODE_REAL()
576 p->dicPos = dicPos; in LZMA_DECODE_REAL()
593 SizeT dicPos = p->dicPos; in LzmaDec_WriteRem() local
597 SizeT rem = limit - dicPos; in LzmaDec_WriteRem()
609 dic[dicPos] = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)]; in LzmaDec_WriteRem()
610 dicPos++; in LzmaDec_WriteRem()
612 p->dicPos = dicPos; in LzmaDec_WriteRem()
632 if (limit - p->dicPos > rem) in LzmaDec_DecodeReal2()
633 limit2 = p->dicPos + rem; in LzmaDec_DecodeReal2()
647 while (p->dicPos < limit && p->buf < bufLimit && p->remainLen < kMatchSpecLenStart); in LzmaDec_DecodeReal2()
686 (p->dic[(p->dicPos == 0 ? p->dicBufSize : p->dicPos) - 1] >> (8 - p->prop.lc)))); in LzmaDec_TryDummy()
695 unsigned matchByte = p->dic[p->dicPos - p->reps[0] + in LzmaDec_TryDummy()
696 (p->dicPos < p->reps[0] ? p->dicBufSize : 0)]; in LzmaDec_TryDummy()
870 p->dicPos = 0; in LzmaDec_Init()
922 if (p->dicPos >= dicLimit) in LzmaDec_DecodeToDic()
1029 SizeT inSizeCur = inSize, outSizeCur, dicPos; in LzmaDec_DecodeToBuf() local
1032 if (p->dicPos == p->dicBufSize) in LzmaDec_DecodeToBuf()
1033 p->dicPos = 0; in LzmaDec_DecodeToBuf()
1034 dicPos = p->dicPos; in LzmaDec_DecodeToBuf()
1035 if (outSize > p->dicBufSize - dicPos) in LzmaDec_DecodeToBuf()
1042 outSizeCur = dicPos + outSize; in LzmaDec_DecodeToBuf()
1050 outSizeCur = p->dicPos - dicPos; in LzmaDec_DecodeToBuf()
1051 memcpy(dest, p->dic + dicPos, outSizeCur); in LzmaDec_DecodeToBuf()
1180 *destLen = p.dicPos; in LzmaDecode()