Lines Matching refs:match
122 const BYTE *match;
138 * 2) Further if the match length is 4..18, copy 18 bytes
160 * prepare for match copying, decode full info.
163 length = token & ML_MASK; /* match length */
166 match = op - offset;
167 assert(match <= op); /* check overflow */
172 (dict == withPrefix64k || match >= lowPrefix)) {
173 /* Copy the match. */
174 LZ4_memcpy(op + 0, match + 0, 8);
175 LZ4_memcpy(op + 8, match + 8, 8);
176 LZ4_memcpy(op + 16, match + 16, 2);
184 * is ready. Propel it right to the point of match
276 * can't proceed with reading an offset for following match.
290 match = op - offset;
296 if ((checkOffset) && (unlikely(match + dictSize < lowPrefix))) {
335 /* match starting within external dictionary */
336 if ((dict == usingExtDict) && (match < lowPrefix)) {
344 if (length <= (size_t)(lowPrefix - match)) {
346 * match fits entirely within external
349 memmove(op, dictEnd - (lowPrefix - match),
354 * match stretches into both external
357 size_t const copySize = (size_t)(lowPrefix - match);
377 /* copy match within block */
388 const BYTE * const matchEnd = match + mlen;
394 *op++ = *match++;
396 LZ4_memcpy(op, match, mlen);
405 op[0] = match[0];
406 op[1] = match[1];
407 op[2] = match[2];
408 op[3] = match[3];
409 match += inc32table[offset];
410 LZ4_memcpy(op + 4, match, 4);
411 match -= dec64table[offset];
413 LZ4_copy8(op, match);
414 match += 8;
431 LZ4_wildCopy(op, match, oCopyLimit);
432 match += oCopyLimit - op;
436 *op++ = *match++;
438 LZ4_copy8(op, match);
440 LZ4_wildCopy(op + 8, match + 8, cpy);