Searched refs:ndistbits (Results 1 – 4 of 4) sorted by relevance
143 uint32_t ndistbits = 0; in BrotliCalculateDistanceCodeLimit() local156 while (tmp != 0) {ndistbits++; tmp = tmp >> 1;} in BrotliCalculateDistanceCodeLimit()158 ndistbits--; in BrotliCalculateDistanceCodeLimit()160 half = (offset >> ndistbits) & 1; in BrotliCalculateDistanceCodeLimit()162 group = ((ndistbits - 1) << 1) | half; in BrotliCalculateDistanceCodeLimit()173 ndistbits = (group >> 1) + 1; in BrotliCalculateDistanceCodeLimit()175 extra = (1u << ndistbits) - 1; in BrotliCalculateDistanceCodeLimit()177 start = (1u << (ndistbits + 1)) - 4; in BrotliCalculateDistanceCodeLimit()179 start += (group & 1) << ndistbits; in BrotliCalculateDistanceCodeLimit()
162 int ndistbits = log2floor(offset) - 1; in calculateDistanceAlphabetLimit() local163 int group = ((ndistbits - 1) << 1) | ((offset >> ndistbits) & 1); in calculateDistanceAlphabetLimit()
76 var /** number */ ndistbits = log2floor(offset) - 1;77 var /** number */ group = ((ndistbits - 1) << 1) | ((offset >> ndistbits) & 1);
1160 ndistbits = 1 + ((dcode - self.NDIRECT - 16) >> (self.NPOSTFIX + 1))1163 offset = ((2 + (hcode & 1)) << ndistbits) - 4