Lines Matching refs:bits
289 static bool huffman_bits_compare(uint32_t bits, const struct decode_elem *entry) in huffman_bits_compare() argument
294 if (code == (bits & mask)) { in huffman_bits_compare()
301 static const struct decode_elem *huffman_decode_bits(uint32_t bits) in huffman_decode_bits() argument
304 if (huffman_bits_compare(bits, &decode_table[i])) { in huffman_decode_bits()
309 if (huffman_bits_compare(bits, &eos)) { in huffman_decode_bits()
337 uint32_t bits = 0; in http_hpack_huffman_decode() local
349 bits <<= bits_in_byte_left; in http_hpack_huffman_decode()
350 bits |= *encoded_buf & in http_hpack_huffman_decode()
356 bits <<= bits_needed; in http_hpack_huffman_decode()
357 bits |= (*encoded_buf >> in http_hpack_huffman_decode()
365 bits <<= bits_needed; in http_hpack_huffman_decode()
366 bits |= LSB_MASK(bits_needed); in http_hpack_huffman_decode()
379 decoded = huffman_decode_bits(bits); in http_hpack_huffman_decode()