• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppdump/

Lines Matching refs:lookahead

279     uInt lookahead;              /* number of valid bytes ahead in window */
398 /* Minimum amount of lookahead, except at the end of the input file.
487 /* Minimum amount of lookahead, except at the end of the input file.
782 if (strm->avail_in != 0 || state->lookahead != 0 ||
918 s->lookahead = 0;
978 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
998 * lookahead only every 4th comparison; the 128th check will be made
1001 * to check more often for insufficient lookahead.
1036 /* We check for insufficient lookahead only every 8th comparison;
1100 * Fill the window when the lookahead becomes insufficient.
1101 * Updates strstart and lookahead.
1103 * IN assertion: lookahead < MIN_LOOKAHEAD
1118 more = (unsigned)(s->window_size -(ulg)s->lookahead -(ulg)s->strstart);
1121 if (more == 0 && s->strstart == 0 && s->lookahead == 0) {
1125 * and lookahead == 1 (input done one byte at time)
1129 /* If the window is almost full and there is insufficient lookahead,
1169 * strstart <= WSIZE+MAX_DIST-1 && lookahead <= MIN_LOOKAHEAD - 1 &&
1170 * more == window_size - lookahead - strstart
1175 * strstart + s->lookahead <= input_size => more >= MIN_LOOKAHEAD.
1181 n = read_buf(s->strm, (charf *)s->window + s->strstart + s->lookahead,
1183 s->lookahead += n;
1186 if (s->lookahead >= MIN_MATCH) {
1197 } while (s->lookahead < MIN_LOOKAHEAD && s->strm->avail_in != 0);
1236 /* Make sure that we always have enough lookahead, except
1241 if (s->lookahead < MIN_LOOKAHEAD) {
1243 if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) return 1;
1245 if (s->lookahead == 0) break; /* flush the current block */
1251 if (s->lookahead >= MIN_MATCH) {
1268 if (s->match_length > s->lookahead) s->match_length = s->lookahead;
1276 s->lookahead -= s->match_length;
1282 s->lookahead >= MIN_MATCH) {
1300 /* If lookahead < MIN_MATCH, ins_h is garbage, but it does not
1308 s->lookahead--;
1331 /* Make sure that we always have enough lookahead, except
1336 if (s->lookahead < MIN_LOOKAHEAD) {
1338 if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) return 1;
1340 if (s->lookahead == 0) break; /* flush the current block */
1346 if (s->lookahead >= MIN_MATCH) {
1365 if (s->match_length > s->lookahead) s->match_length = s->lookahead;
1381 uInt max_insert = s->strstart + s->lookahead - MIN_MATCH;
1391 * enough lookahead, the last two strings are not inserted in
1394 s->lookahead -= s->prev_length-1;
1417 s->lookahead--;
1425 s->lookahead--;
1756 s->last_eob_len = 8; /* enough lookahead for inflate */
2249 * Send one empty static block to give enough lookahead for inflate.
2251 * The current inflate code requires 9 bits of lookahead. If the EOB
2253 * may have only 5+3 bits of lookahead to decode this EOB.
2264 * (10 - bi_valid) bits. The lookahead for the EOB of the previous
2579 s->last_eob_len = 8; /* enough lookahead for inflate */
3451 bl = 9; /* must be <= 9 for lookahead assumptions */
3452 bd = 6; /* must be <= 9 for lookahead assumptions */