Home
last modified time | relevance | path

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

/lighttpd1.4/src/ls-hpack/
H A Dlshpack.c703 unsigned bits_used = 0, adj; in lshpack_enc_huff_encode() local
726 bits_used += henc->lens; in lshpack_enc_huff_encode()
733 bits <<= sizeof(bits) * 8 - bits_used; in lshpack_enc_huff_encode()
734 bits_used = henc->lens - (sizeof(bits) * 8 - bits_used); in lshpack_enc_huff_encode()
735 bits |= henc->code >> bits_used; in lshpack_enc_huff_encode()
763 bits_used += cur_enc_code.bits; in lshpack_enc_huff_encode()
769 assert(bits_used > 0); in lshpack_enc_huff_encode()
770 if (0 == bits_used || bits_used >= sizeof(bits)*8) abort(); in lshpack_enc_huff_encode()
772 bits <<= sizeof(bits) * 8 - bits_used; in lshpack_enc_huff_encode()
773 bits_used = cur_enc_code.bits - (sizeof(bits) * 8 - bits_used); in lshpack_enc_huff_encode()
[all …]