Home | History | Annotate | Download | only in zlib

Lines Matching refs:MAX_MATCH

338      * time through here.  WIN_INIT is set to MAX_MATCH since the longest match
339 * routines allow scanning to strstart + MAX_MATCH, ignoring lookahead.
1369 register Bytef *strend = s->window + s->strstart + MAX_MATCH - 1;
1373 register Bytef *strend = s->window + s->strstart + MAX_MATCH;
1378 /* The code is optimized for HASH_BITS >= 8 and MAX_MATCH-2 multiple of 16.
1381 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
1407 #if (defined(UNALIGNED_OK) && MAX_MATCH == 258)
1419 * at strstart + 257. If MAX_MATCH-2 is not a multiple of 8, it is
1438 len = (MAX_MATCH - 1) - (int)(strend - scan);
1439 scan = strend - (MAX_MATCH-1);
1470 len = MAX_MATCH - (int)(strend - scan);
1471 scan = strend - MAX_MATCH;
1502 register Bytef *strend = s->window + s->strstart + MAX_MATCH;
1504 /* The code is optimized for HASH_BITS >= 8 and MAX_MATCH-2 multiple of 16.
1507 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
1541 len = MAX_MATCH - (int)(strend - scan);
1819 * at the end of the input file. We need MAX_MATCH bytes
1868 /* strstart never exceeds WSIZE-MAX_MATCH, so there are
1919 * at the end of the input file. We need MAX_MATCH bytes
2047 * at the end of the input file. We need MAX_MATCH bytes
2050 if (s->lookahead <= MAX_MATCH) {
2052 if (s->lookahead <= MAX_MATCH && flush == Z_NO_FLUSH) {
2064 strend = s->window + s->strstart + MAX_MATCH;
2071 s->match_length = MAX_MATCH - (uInt)(strend - scan);