Home
last modified time | relevance | path

Searched refs:available_bits (Results 1 – 3 of 3) sorted by relevance

/third_party/node/deps/v8/src/bigint/
Dtostring.cc247 int available_bits = 0; in BasePowerOfTwo() local
251 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()
/third_party/node/deps/brotli/c/dec/
Ddecode.c378 uint32_t available_bits = BrotliGetAvailableBits(br); in SafeDecodeSymbol() local
380 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() local
656 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 …]
/third_party/skia/third_party/externals/brotli/c/dec/
Ddecode.c378 uint32_t available_bits = BrotliGetAvailableBits(br); in SafeDecodeSymbol() local
380 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() local
656 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 …]