Lines Matching refs:match
246 const BYTE *match; in LZ4_compress_generic() local
265 match = LZ4_getPositionOnHash(h, in LZ4_compress_generic()
270 if (match < (const BYTE *)source) { in LZ4_compress_generic()
284 ? (match < lowRefLimit) in LZ4_compress_generic()
288 : (match + MAX_DISTANCE < ip)) in LZ4_compress_generic()
289 || (LZ4_read32(match + refDelta) in LZ4_compress_generic()
294 while (((ip > anchor) & (match + refDelta > lowLimit)) in LZ4_compress_generic()
295 && (unlikely(ip[-1] == match[refDelta - 1]))) { in LZ4_compress_generic()
297 match--; in LZ4_compress_generic()
331 LZ4_writeLE16(op, (U16)(ip - match)); in LZ4_compress_generic()
342 match += refDelta; in LZ4_compress_generic()
343 limit = ip + (dictEnd - match); in LZ4_compress_generic()
349 match + MINMATCH, limit); in LZ4_compress_generic()
363 match + MINMATCH, matchlimit); in LZ4_compress_generic()
401 match = LZ4_getPosition(ip, dictPtr->hashTable, in LZ4_compress_generic()
405 if (match < (const BYTE *)source) { in LZ4_compress_generic()
416 if (((dictIssue == dictSmall) ? (match >= lowRefLimit) : 1) in LZ4_compress_generic()
417 && (match + MAX_DISTANCE >= ip) in LZ4_compress_generic()
418 && (LZ4_read32(match + refDelta) == LZ4_read32(ip))) { in LZ4_compress_generic()
569 const BYTE *match; in LZ4_compress_destSize_generic() local
588 match = LZ4_getPositionOnHash(h, ctx->hashTable, in LZ4_compress_destSize_generic()
598 : (match + MAX_DISTANCE < ip)) in LZ4_compress_destSize_generic()
599 || (LZ4_read32(match) != LZ4_read32(ip))); in LZ4_compress_destSize_generic()
604 && (match > lowLimit) in LZ4_compress_destSize_generic()
605 && (unlikely(ip[-1] == match[-1]))) { in LZ4_compress_destSize_generic()
607 match--; in LZ4_compress_destSize_generic()
637 LZ4_writeLE16(op, (U16)(ip - match)); op += 2; in LZ4_compress_destSize_generic()
642 match + MINMATCH, matchlimit); in LZ4_compress_destSize_generic()
674 match = LZ4_getPosition(ip, ctx->hashTable, tableType, base); in LZ4_compress_destSize_generic()
677 if ((match + MAX_DISTANCE >= ip) in LZ4_compress_destSize_generic()
678 && (LZ4_read32(match) == LZ4_read32(ip))) { in LZ4_compress_destSize_generic()