Lines Matching refs:m_lookahead
276 m_lookahead = 0;
350 assert(maxBlockSize > m_stringStart+m_lookahead);
351 unsigned int accepted = UnsignedMin(maxBlockSize-(m_stringStart+m_lookahead), length);
353 memcpy(m_byteBuffer + m_stringStart + m_lookahead, str, accepted);
354 m_lookahead += accepted;
360 assert(str+3 <= m_byteBuffer + m_stringStart + m_lookahead);
370 if (m_lookahead <= bestLength)
373 const byte *scan = m_byteBuffer + m_stringStart, *scanEnd = scan + STDMIN((unsigned int)MAX_MATCH, m_lookahead);
384 assert(scan + bestLength < m_byteBuffer + m_stringStart + m_lookahead);
426 m_stringStart += m_lookahead;
427 m_lookahead = 0;
433 while (m_lookahead > m_minLookahead)
435 while (m_dictionaryEnd < m_stringStart && m_dictionaryEnd+3 <= m_stringStart+m_lookahead)
453 m_lookahead -= m_previousLength-1;
462 m_lookahead--;
474 m_lookahead--;