Lines Matching full:distance
16 Decode literal, length, and distance codes and write out the resulting
39 - The maximum input bits used by a length/distance pair is 15 bits for the
40 length code, 5 bits for the length extra, 15 bits for the distance code,
41 and 13 bits for the distance extra. This totals 48 bits, or six bytes.
45 - The maximum bytes that a single length/distance pair can output is 258
58 unsigned dmax; /* maximum distance from zlib header */ in inflate_fast()
69 unsigned dmask; /* mask for first level of distance codes */ in inflate_fast()
74 unsigned dist; /* match distance */ in inflate_fast()
144 if (op & 16) { /* distance base */ in inflate_fast()
158 strm->msg = (char *)"invalid distance too far back"; in inflate_fast()
165 Tracevv((stderr, "inflate: distance %u\n", dist)); in inflate_fast()
166 op = (unsigned)(out - beg); /* max distance in output */ in inflate_fast()
168 op = dist - op; /* distance back in window */ in inflate_fast()
172 (char *)"invalid distance too far back"; in inflate_fast()
263 else if ((op & 64) == 0) { /* 2nd level distance code */ in inflate_fast()
268 strm->msg = (char *)"invalid distance code"; in inflate_fast()
311 - Special case for distance > 1 copies to do overlapped load and store copy