Lines Matching refs:bufLimit
70 #define NORMALIZE_CHECK if (range < kTopValue) { if (buf >= bufLimit) return DUMMY_INPUT_EOF; range <<= 8; code = (code << 8) | (*buf++); }
206 It decodes additional LZMA-symbols while (p->buf < bufLimit && dicPos < limit),
207 RangeCoder is still without last normalization when (p->buf < bufLimit) is being checked.
208 But if (p->buf < bufLimit), the caller provided at least (LZMA_REQUIRED_INPUT_MAX + 1) bytes for
209 next iteration before limit (bufLimit + LZMA_REQUIRED_INPUT_MAX),
211 So that function never reads bufLimit [LZMA_REQUIRED_INPUT_MAX] byte.
229 int Z7_FASTCALL LZMA_DECODE_REAL(CLzmaDec *p, SizeT limit, const Byte *bufLimit);
234 int Z7_FASTCALL LZMA_DECODE_REAL(CLzmaDec *p, SizeT limit, const Byte *bufLimit)
593 while (dicPos < limit && buf < bufLimit);
686 static int Z7_FASTCALL LzmaDec_DecodeReal2(CLzmaDec *p, SizeT limit, const Byte *bufLimit)
695 int res = LZMA_DECODE_REAL(p, limit, bufLimit);
719 const Byte *bufLimit = *bufOut;
1041 const Byte *bufLimit;
1078 bufLimit = src;
1082 bufLimit = src + inSize - LZMA_REQUIRED_INPUT_MAX;
1087 int res = LzmaDec_DecodeReal2(p, dicLimit, bufLimit);
1160 // we decode one symbol from (p->tempBuf) here, so the (bufLimit) is equal to (p->buf)