• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/archival/

Lines Matching refs:strstart

260 	unsigned strstart;	/* start of string to insert */
530 * Updates strstart and lookahead, and sets eofile if end of input file.
531 * IN assertion: lookahead < MIN_LOOKAHEAD && strstart + lookahead > 0
539 unsigned more = WINDOW_SIZE - G1.lookahead - G1.strstart;
546 /* Very unlikely, but possible on 16 bit machine if strstart == 0
550 } else if (G1.strstart >= WSIZE + MAX_DIST) {
558 G1.strstart -= WSIZE; /* we now have strstart >= MAX_DIST: */
577 n = file_read(G1.window + G1.strstart + G1.lookahead, more);
593 * string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1
603 uch *scan = G1.window + G1.strstart; /* current string */
607 IPos limit = G1.strstart > (IPos) MAX_DIST ? G1.strstart - (IPos) MAX_DIST : 0;
618 uch *strend = G1.window + G1.strstart + MAX_MATCH;
626 Assert(G1.strstart <= WINDOW_SIZE - MIN_LOOKAHEAD, "insufficient lookahead");
629 Assert(cur_match < G1.strstart, "no future");
649 * the 256th check will be made at strstart+258.
1515 ulg in_length = (ulg) G1.strstart - G1.block_start;
1695 * IN assertion: strstart is set to the end of the current match. */
1701 (ulg)G1.strstart - G1.block_start, \
1728 /* Insert the string window[strstart .. strstart+2] in the
1731 INSERT_STRING(G1.strstart, hash_head);
1740 && G1.strstart - hash_head <= MAX_DIST
1752 if (match_length == MIN_MATCH && G1.strstart - G1.match_start > TOO_FAR) {
1763 check_match(G1.strstart - 1, prev_match, G1.prev_length);
1764 flush = ct_tally(G1.strstart - 1 - prev_match, G1.prev_length - MIN_MATCH);
1767 * strstart-1 and strstart are already inserted.
1772 G1.strstart++;
1773 INSERT_STRING(G1.strstart, hash_head);
1774 /* strstart never exceeds WSIZE-MAX_MATCH, so there are
1782 G1.strstart++;
1785 G1.block_start = G1.strstart;
1792 Tracevv((stderr, "%c", G1.window[G1.strstart - 1]));
1793 if (ct_tally(0, G1.window[G1.strstart - 1])) {
1795 G1.block_start = G1.strstart;
1797 G1.strstart++;
1804 G1.strstart++;
1807 Assert(G1.strstart <= G1.isize && lookahead <= G1.isize, "a bit too far");
1818 ct_tally(0, G1.window[G1.strstart - 1]);
1852 G1.strstart = 0;