Lines Matching defs:scan

1459 	register Bytef *scan = s->window + s->strstart;	/* current string */
1479 register ush scan_start = *(ushf*)scan;
1480 register ush scan_end = *(ushf*)(scan+best_len-1);
1483 register Byte scan_end1 = scan[best_len-1];
1484 register Byte scan_end = scan[best_len];
1525 * It is not necessary to compare scan[2] and match[2]
1537 Assert(scan[2] == match[2], "scan[2]?");
1538 scan++, match++;
1540 } while (*(ushf *)(scan += 2) == *(ushf *)(match += 2) &&
1541 *(ushf *)(scan += 2) == *(ushf *)(match += 2) &&
1542 *(ushf *)(scan += 2) == *(ushf *)(match += 2) &&
1543 *(ushf *)(scan += 2) == *(ushf *)(match += 2) &&
1544 scan < strend);
1547 /* Here, scan <= window+strstart+257 */
1548 Assert(scan <= s->window+(unsigned)(s->window_size-1),
1549 "wild scan");
1550 if (*scan == *match) scan++;
1552 len = (MAX_MATCH - 1) - (int)(strend-scan);
1553 scan = strend - (MAX_MATCH-1);
1559 *match != *scan ||
1560 *++match != scan[1])
1567 * scan[2] and match[2] since they are always equal
1571 scan += 2, match++;
1572 Assert(*scan == *match, "match[2]?");
1580 } while (*++scan == *++match && *++scan == *++match &&
1581 *++scan == *++match && *++scan == *++match &&
1582 *++scan == *++match && *++scan == *++match &&
1583 *++scan == *++match && *++scan == *++match &&
1584 scan < strend);
1586 Assert(scan <= s->window+(unsigned)(s->window_size-1),
1587 "wild scan");
1589 len = MAX_MATCH - (int)(strend - scan);
1590 scan = strend - MAX_MATCH;
1599 scan_end = *(ushf*)(scan+best_len-1);
1601 scan_end1 = scan[best_len-1];
1602 scan_end = scan[best_len];
1622 register Bytef *scan = s->window + s->strstart; /* current string */
1642 if (match[0] != scan[0] || match[1] != scan[1])
1648 * is not necessary to compare scan[2] and match[2] since they
1652 scan += 2, match += 2;
1653 Assert(*scan == *match, "match[2]?");
1660 } while (*++scan == *++match && *++scan == *++match &&
1661 *++scan == *++match && *++scan == *++match &&
1662 *++scan == *++match && *++scan == *++match &&
1663 *++scan == *++match && *++scan == *++match &&
1664 scan < strend);
1666 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
1668 len = MAX_MATCH - (int)(strend - scan);