Home
last modified time | relevance | path

Searched refs:MAX_DIST (Results 1 – 25 of 28) sorted by relevance

12

/external/rust/crates/libz-sys/src/zlib-ng/
Ddeflate_medium.c127 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()
Dmatch_tpl.h90 limit = strstart > MAX_DIST(s) ? (Pos)(strstart - MAX_DIST(s)) : 0; in LONGEST_MATCH()
Ddeflate_fast.c47 if (hash_head != 0 && s->strstart - hash_head <= MAX_DIST(s)) { in deflate_fast()
Ddeflate_p.h48 Assert((uint16_t)dist < (uint16_t)MAX_DIST(s) && in zng_tr_tally_dist()
Ddeflate_quick.c90 if (dist > 0 && dist < MAX_DIST(s)) { in deflate_quick()
Ddeflate_slow.c51 …hash_head != NIL && s->prev_length < s->max_lazy_match && s->strstart - hash_head <= MAX_DIST(s)) { in deflate_slow()
Ddeflate.h370 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) macro
/external/iproute2/tc/
Dq_netem.c54 #define MAX_DIST (16*1024) macro
393 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()
/external/libwebsockets/win32port/zlib/
Ddeflate.c1085 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)) {
Ddeflate.h283 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) macro
/external/zlib/
Dfill_window_sse.c64 if (s->strstart >= wsize+MAX_DIST(s)) { in fill_window_sse()
Ddeflate.h284 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) macro
Ddeflate.c1291 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)) {
Dtrees.c1029 Assert((ush)dist < (ush)MAX_DIST(s) &&
/external/angle/third_party/zlib/
Dfill_window_sse.c64 if (s->strstart >= wsize+MAX_DIST(s)) { in fill_window_sse()
Ddeflate.h284 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) macro
Ddeflate.c1291 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)) {
Dtrees.c1029 Assert((ush)dist < (ush)MAX_DIST(s) &&
/external/rust/crates/libz-sys/src/zlib/
Ddeflate.h289 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) macro
Ddeflate.c1246 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)) {
Dtrees.c1028 Assert((ush)dist < (ush)MAX_DIST(s) &&
/external/python/cpython2/Modules/zlib/
Ddeflate.h289 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) macro
Ddeflate.c1246 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)) {
/external/zlib/patches/
D0001-simd.patch923 + 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)
/external/angle/third_party/zlib/patches/
D0001-simd.patch923 + 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)

12