Lines Matching refs:dist
306 int ZLIB_INTERNAL _tr_tally(deflate_state *s, unsigned dist, unsigned lc);
314 #define d_code(dist) \
315 ((dist) < 256 ? _dist_code[dist] : _dist_code[256+((dist)>>7)])
316 /* Mapping from a distance to a distance code. dist is the distance - 1 and
342 ush dist = (ush)(distance); \
343 s->d_buf[s->sym_next] = dist; \
345 dist--; \
347 s->dyn_dtree[d_code(dist)].Freq++; \
361 ush dist = (ush)(distance); \
362 s->sym_buf[s->sym_next++] = (uch)dist; \
363 s->sym_buf[s->sym_next++] = (uch)(dist >> 8); \
365 dist--; \
367 s->dyn_dtree[d_code(dist)].Freq++; \