Searched refs:available_bits (Results 1 – 3 of 3) sorted by relevance
247 int available_bits = 0; in BasePowerOfTwo() local251 int current = (digit | (new_digit << available_bits)) & char_mask; in BasePowerOfTwo()253 int consumed_bits = bits_per_char - available_bits; in BasePowerOfTwo()255 available_bits = kDigitBits - consumed_bits; in BasePowerOfTwo()256 while (available_bits >= bits_per_char) { in BasePowerOfTwo()259 available_bits -= bits_per_char; in BasePowerOfTwo()264 int current = (digit | (msd << available_bits)) & char_mask; in BasePowerOfTwo()266 digit = msd >> (bits_per_char - available_bits); in BasePowerOfTwo()
378 uint32_t available_bits = BrotliGetAvailableBits(br); in SafeDecodeSymbol() local380 if (available_bits == 0) { in SafeDecodeSymbol()390 if (BROTLI_HC_FAST_LOAD_BITS(table) <= available_bits) { in SafeDecodeSymbol()398 if (available_bits <= HUFFMAN_TABLE_BITS) { in SafeDecodeSymbol()404 available_bits -= HUFFMAN_TABLE_BITS; in SafeDecodeSymbol()406 if (available_bits < BROTLI_HC_FAST_LOAD_BITS(table)) { in SafeDecodeSymbol()651 uint32_t available_bits; in SafeReadSymbolCodeLengths() local656 available_bits = BrotliGetAvailableBits(br); in SafeReadSymbolCodeLengths()657 if (available_bits != 0) { in SafeReadSymbolCodeLengths()662 if (BROTLI_HC_FAST_LOAD_BITS(p) > available_bits) { in SafeReadSymbolCodeLengths()[all …]