Lines Matching defs:match
67 * An automatic detection macro will be added to match your case within future versions of the library.
557 const BYTE* match;
564 /* Find a match */
573 match = LZ4_getPositionOnHash(h, ctx, tableType, base);
576 if (match<(const BYTE*)source)
590 } while ( ((dictIssue==dictSmall) ? (match < lowRefLimit) : 0)
591 || ((tableType==byU16) ? 0 : (match + MAX_DISTANCE < ip))
592 || (LZ4_read32(match+refDelta) != LZ4_read32(ip)) );
596 while ((ip>anchor) && (match+refDelta > lowLimit) && (unlikely(ip[-1]==match[refDelta-1]))) { ip--; match--; }
620 LZ4_writeLE16(op, (U16)(ip-match)); op+=2;
629 match += refDelta;
630 limit = ip + (dictEnd-match);
632 matchLength = LZ4_count(ip+MINMATCH, match+MINMATCH, limit);
643 matchLength = LZ4_count(ip+MINMATCH, match+MINMATCH, matchlimit);
669 match = LZ4_getPosition(ip, ctx, tableType, base);
672 if (match<(const BYTE*)source)
684 if ( ((dictIssue==dictSmall) ? (match>=lowRefLimit) : 1)
685 && (match+MAX_DISTANCE>=ip)
686 && (LZ4_read32(match+refDelta)==LZ4_read32(ip)) )
986 const BYTE* match;
1027 match = cpy - LZ4_readLE16(ip); ip+=2;
1028 if ((checkOffset) && (unlikely(match < lowLimit))) goto _output_error; /* Error : offset outside destination buffer */
1046 if ((dict==usingExtDict) && (match < lowPrefix))
1050 if (length <= (size_t)(lowPrefix-match))
1052 /* match can be copied as a single segment from external dictionary */
1053 match = dictEnd - (lowPrefix-match);
1054 memcpy(op, match, length);
1059 /* match encompass external dictionary and current segment */
1060 size_t copySize = (size_t)(lowPrefix-match);
1081 if (unlikely((op-match)<8))
1083 const size_t dec64 = dec64table[op-match];
1084 op[0] = match[0];
1085 op[1] = match[1];
1086 op[2] = match[2];
1087 op[3] = match[3];
1088 match += dec32table[op-match];
1089 LZ4_copy4(op+4, match);
1090 op += 8; match -= dec64;
1091 } else { LZ4_copy8(op, match); op+=8; match+=8; }
1098 LZ4_wildCopy(op, match, oend-8);
1099 match += (oend-8) - op;
1102 while (op<cpy) *op++ = *match++;
1105 LZ4_wildCopy(op, match, cpy);