Lines Matching defs:ndistbits
143 uint32_t ndistbits = 0;
156 while (tmp != 0) {ndistbits++; tmp = tmp >> 1;}
158 ndistbits--;
160 half = (offset >> ndistbits) & 1;
162 group = ((ndistbits - 1) << 1) | half;
172 /* After group was decremented, ndistbits and half must be recalculated. */
173 ndistbits = (group >> 1) + 1;
175 extra = (1u << ndistbits) - 1;
176 /* Calculate region start. NB: ndistbits >= 1. */
177 start = (1u << (ndistbits + 1)) - 4;
179 start += (group & 1) << ndistbits;