Lines Matching defs:curMatch

873 static UInt32 * Hc_GetMatchesSpec(size_t lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son,

878 son[_cyclicBufferPos] = curMatch;
881 UInt32 delta = pos - curMatch;
886 curMatch = son[_cyclicBufferPos - delta + ((delta > _cyclicBufferPos) ? _cyclicBufferSize : 0)];
907 son[_cyclicBufferPos] = curMatch;
913 if (curMatch == 0)
915 // if (curMatch2 >= curMatch) return NULL;
916 delta = pos - curMatch;
921 curMatch = son[_cyclicBufferPos - delta + ((delta > _cyclicBufferPos) ? _cyclicBufferSize : 0)];
955 UInt32 * GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son,
965 // if (curMatch >= pos) { *ptr0 = *ptr1 = kEmptyHashValue; return NULL; }
971 if (cmCheck < curMatch)
974 const UInt32 delta = pos - curMatch;
1001 *ptr1 = curMatch;
1003 // if (curMatch2 >= curMatch) { *ptr0 = *ptr1 = kEmptyHashValue; return NULL; }
1004 // curMatch = curMatch2;
1005 curMatch = pair[1];
1011 *ptr0 = curMatch;
1012 curMatch = pair[0];
1018 while(--cutValue && cmCheck < curMatch);
1025 static void SkipMatchesSpec(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son,
1038 if (// curMatch >= pos || // failure
1039 cmCheck < curMatch)
1042 const UInt32 delta = pos - curMatch;
1063 *ptr1 = curMatch;
1064 curMatch = pair[1];
1070 *ptr0 = curMatch;
1071 curMatch = pair[0];
1077 while(--cutValue && cmCheck < curMatch);
1106 unsigned lenLimit; UInt32 hv; const Byte *cur; UInt32 curMatch; \
1113 #define MF_PARAMS(p) lenLimit, curMatch, p->pos, p->buffer, p->son, p->cyclicBufferPos, p->cyclicBufferSize, p->cutValue
1140 curMatch = p->hash[hv];
1149 curMatch = p->hash[hv];
1176 curMatch = (hash + kFix3HashSize)[hv];
1217 curMatch = (hash + kFix4HashSize)[hv];
1286 curMatch = (hash + kFix5HashSize)[hv];
1357 curMatch = (hash + kFix4HashSize)[hv];
1400 p->son[p->cyclicBufferPos] = curMatch;
1426 curMatch = (hash + kFix5HashSize)[hv];
1472 p->son[p->cyclicBufferPos] = curMatch;
1486 curMatch = p->hash[hv];
1497 curMatch = p->hash[hv];
1508 curMatch = p->hash[hv];
1522 curMatch = (hash + kFix3HashSize)[hv];
1537 curMatch = (hash + kFix4HashSize)[hv];
1553 curMatch = (hash + kFix5HashSize)[hv];
1579 UInt32 curMatch; \
1584 cur++; pos++; *son++ = curMatch; \
1598 curMatch = (hash + kFix4HashSize)[hv];
1613 curMatch = (hash + kFix5HashSize)[hv];
1628 curMatch = hash[hv];