Lines Matching defs:match
164 const BYTE* match;
168 /* HC4 match finder */
177 match = base + matchIndex;
178 if (*(match+ml) == *(ip+ml)
179 && (LZ4_read32(match) == LZ4_read32(ip)))
181 size_t mlt = LZ4_count(ip+MINMATCH, match+MINMATCH, iLimit) + MINMATCH;
182 if (mlt > ml) { ml = mlt; *matchpos = match; }
187 match = dictBase + matchIndex;
188 if (LZ4_read32(match) == LZ4_read32(ip))
193 mlt = LZ4_count(ip+MINMATCH, match+MINMATCH, vLimit) + MINMATCH;
222 const BYTE* match;
228 /* First Match */
237 match = base + matchIndex;
238 if (*(iLowLimit + longest) == *(match - delta + longest))
239 if (LZ4_read32(match) == LZ4_read32(ip))
242 const BYTE* tmpMatch = match;
243 const BYTE* const matchEnd = ip + MINMATCH + LZ4_count(ip+MINMATCH, match+MINMATCH, iHighLimit);
257 match = dictBase + matchIndex;
258 if (LZ4_read32(match) == LZ4_read32(ip))
264 mlt = LZ4_count(ip+MINMATCH, match+MINMATCH, vLimit) + MINMATCH;
267 while ((ip+back > iLowLimit) && (matchIndex+back > lowLimit) && (ip[back-1] == match[back-1])) back--;
291 const BYTE* const match,
299 if (debug) printf("literal : %u -- match : %u -- offset : %u\n", (U32)(*ip - *anchor), (U32)matchLength, (U32)(*ip-match));
314 LZ4_writeLE16(*op, (U16)(*ip-match)); *op += 2;
385 if (ml2 == ml) /* No better match */
402 if ((start2 - ip) < 3) /* First Match too small : removed */
436 if (ml3 == ml2) /* No better match : 2 sequences to encode */
447 if (start3 < ip+ml+3) /* Not enough space for match 2 : remove it */
628 ctxPtr->nextToUpdate = ctxPtr->dictLimit; /* match referencing will resume from there */