Lines Matching full:ndist
647 * lengths (ndist), then they are treated as one long list of nlen + ndist
666 int nlen, ndist, ncode; /* number of lengths in descriptor */
684 ndist = bits(s, 5) + 1;
686 if (nlen > MAXLCODES || ndist > MAXDCODES)
702 while (index < nlen + ndist) {
721 if (index + symbol > nlen + ndist)
738 err = construct(&distcode, lengths + nlen, ndist);
739 if (err && (err < 0 || ndist != distcode.count[0] + distcode.count[1]))