Lines Matching full:distance
33 Decode literal, length, and distance codes and write out the resulting
56 - The maximum input bits used by a length/distance pair is 15 bits for the
57 length code, 5 bits for the length extra, 15 bits for the distance code,
58 and 13 bits for the distance extra. This totals 48 bits, or six bytes.
62 - The maximum bytes that a single length/distance pair can output is 258
78 unsigned dmax; /* maximum distance from zlib header */
89 unsigned dmask; /* mask for first level of distance codes */
94 unsigned dist; /* match distance */
164 if (op & 16) { /* distance base */
178 strm->msg = (char *)"invalid distance too far back";
185 Tracevv((stderr, "inflate: distance %u\n", dist));
186 op = (unsigned)(out - beg); /* max distance in output */
188 op = dist - op; /* distance back in window */
190 strm->msg = (char *)"invalid distance too far back";
261 else if ((op & 64) == 0) { /* 2nd level distance code */
266 strm->msg = (char *)"invalid distance code";
309 - Special case for distance > 1 copies to do overlapped load and store copy