Searched refs:MAX_DIST (Results 1 – 25 of 28) sorted by relevance
12
127 limit = next->strstart > MAX_DIST(s) ? next->strstart - MAX_DIST(s) : 0; in fizzle_matches()211 if (hash_head != 0 && s->strstart - hash_head <= MAX_DIST(s)) { in deflate_medium()244 if (hash_head != 0 && s->strstart - hash_head <= MAX_DIST(s)) { in deflate_medium()
90 limit = strstart > MAX_DIST(s) ? (Pos)(strstart - MAX_DIST(s)) : 0; in LONGEST_MATCH()
47 if (hash_head != 0 && s->strstart - hash_head <= MAX_DIST(s)) { in deflate_fast()
48 Assert((uint16_t)dist < (uint16_t)MAX_DIST(s) && in zng_tr_tally_dist()
90 if (dist > 0 && dist < MAX_DIST(s)) { in deflate_quick()
51 …hash_head != NIL && s->prev_length < s->max_lazy_match && s->strstart - hash_head <= MAX_DIST(s)) { in deflate_slow()
370 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) macro
54 #define MAX_DIST (16*1024) macro393 dist_data = calloc(sizeof(dist_data[0]), MAX_DIST); in netem_parse_opt()394 dist_size = get_distribution(*argv, dist_data, MAX_DIST); in netem_parse_opt()521 if (addattr_l(n, MAX_DIST * sizeof(dist_data[0]), in netem_parse_opt()
1085 IPos limit = s->strstart > (IPos)MAX_DIST(s) ?1086 s->strstart - (IPos)MAX_DIST(s) : NIL;1344 if (s->strstart >= wsize+MAX_DIST(s)) {1493 Assert(s->strstart < s->w_size+MAX_DIST(s) ||1517 if (s->strstart - (uInt)s->block_start >= MAX_DIST(s)) {1564 if (hash_head != NIL && s->strstart - hash_head <= MAX_DIST(s)) {1664 s->strstart - hash_head <= MAX_DIST(s)) {
283 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) macro
64 if (s->strstart >= wsize+MAX_DIST(s)) { in fill_window_sse()
284 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) macro
1291 IPos limit = s->strstart > (IPos)MAX_DIST(s) ?1292 s->strstart - (IPos)MAX_DIST(s) : NIL;1586 if (s->strstart >= wsize+MAX_DIST(s)) {1932 if (hash_head != NIL && s->strstart - hash_head <= MAX_DIST(s)) {2038 s->strstart - hash_head <= MAX_DIST(s)) {
1029 Assert((ush)dist < (ush)MAX_DIST(s) &&
289 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) macro
1246 IPos limit = s->strstart > (IPos)MAX_DIST(s) ?1247 s->strstart - (IPos)MAX_DIST(s) : NIL;1510 if (s->strstart >= wsize+MAX_DIST(s)) {1856 if (hash_head != NIL && s->strstart - hash_head <= MAX_DIST(s)) {1962 s->strstart - hash_head <= MAX_DIST(s)) {
1028 Assert((ush)dist < (ush)MAX_DIST(s) &&
923 + if (s->strstart >= wsize+MAX_DIST(s)) {927 + s->strstart -= wsize; /* we now have strstart >= MAX_DIST */970 + * strstart <= WSIZE+MAX_DIST-1 && lookahead <= MIN_LOOKAHEAD - 1 &&972 + * => more >= window_size - (MIN_LOOKAHEAD-1 + WSIZE + MAX_DIST-1)