Lines Matching refs:lookahead
144 size_t lookahead = (1 << 18);
145 if (lookahead > inSize)
146 lookahead = (size_t)inSize;
147 res = inStream->Look((void *)inStream, (const void **)&inBuf, &lookahead);
152 SizeT inProcessed = (SizeT)lookahead, dicPos = state.dicPos;
155 lookahead -= inProcessed;
161 if (state.dicBufSize != outSize || lookahead != 0 ||
194 size_t lookahead = (1 << 18);
195 if (lookahead > inSize)
196 lookahead = (size_t)inSize;
197 res = inStream->Look((void *)inStream, (const void **)&inBuf, &lookahead);
202 SizeT inProcessed = (SizeT)lookahead, dicPos = state.decoder.dicPos;
205 lookahead -= inProcessed;
211 if (state.decoder.dicBufSize != outSize || lookahead != 0 ||