Lines Matching refs:match

97 local  void check_match OF((deflate_state *s, IPos start, IPos match,
1068 register Bytef *match; /* matched string */ local
1111 match = s->window + cur_match;
1125 if (*(ushf*)(match+best_len-1) != scan_end ||
1126 *(ushf*)match != scan_start) continue;
1137 Assert(scan[2] == match[2], "scan[2]?");
1138 scan++, match++;
1140 } while (*(ushf*)(scan+=2) == *(ushf*)(match+=2) &&
1141 *(ushf*)(scan+=2) == *(ushf*)(match+=2) &&
1142 *(ushf*)(scan+=2) == *(ushf*)(match+=2) &&
1143 *(ushf*)(scan+=2) == *(ushf*)(match+=2) &&
1149 if (*scan == *match) scan++;
1156 if (match[best_len] != scan_end ||
1157 match[best_len-1] != scan_end1 ||
1158 *match != *scan ||
1159 *++match != scan[1]) continue;
1167 scan += 2, match++;
1168 Assert(*scan == *match, "match[2]?");
1174 } while (*++scan == *++match && *++scan == *++match &&
1175 *++scan == *++match && *++scan == *++match &&
1176 *++scan == *++match && *++scan == *++match &&
1177 *++scan == *++match && *++scan == *++match &&
1216 register Bytef *match; /* matched string */ local
1229 match = s->window + cur_match;
1233 if (match[0] != scan[0] || match[1] != scan[1]) return MIN_MATCH-1;
1241 scan += 2, match += 2;
1242 Assert(*scan == *match, "match[2]?");
1248 } while (*++scan == *++match && *++scan == *++match &&
1249 *++scan == *++match && *++scan == *++match &&
1250 *++scan == *++match && *++scan == *++match &&
1251 *++scan == *++match && *++scan == *++match &&
1270 local void check_match(s, start, match, length) in check_match() argument
1272 IPos start, match;
1276 if (zmemcmp(s->window + match,
1279 start, match, length);
1281 fprintf(stderr, "%c%c", s->window[match++], s->window[start++]);
1286 fprintf(stderr,"\\[%d,%d]", start-match, length);
1291 # define check_match(s, start, match, length) argument