Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/utils/
H A Dbitfield.c17 size_t max_bits; member
21 struct bitfield * bitfield_alloc(size_t max_bits) in bitfield_alloc() argument
25 bf = os_zalloc(sizeof(*bf) + (max_bits + 7) / 8); in bitfield_alloc()
29 bf->max_bits = max_bits; in bitfield_alloc()
42 if (bit >= bf->max_bits) in bitfield_set()
50 if (bit >= bf->max_bits) in bitfield_clear()
58 if (bit >= bf->max_bits) in bitfield_is_set()
79 for (i = 0; i < (bf->max_bits + 7) / 8; i++) { in bitfield_get_first_zero()
83 if (i == (bf->max_bits + 7) / 8) in bitfield_get_first_zero()
86 if (i >= bf->max_bits) in bitfield_get_first_zero()
H A Dbitfield.h14 struct bitfield * bitfield_alloc(size_t max_bits);
/freebsd/contrib/llvm-project/libc/src/__support/FPUtil/generic/
H A Dadd_sub.h141 InFPBits max_bits(cpp::max(x_abs, y_abs)); in add_or_sub()
146 if (max_bits.is_subnormal()) { in add_or_sub()
150 result_mant = max_bits.get_mantissa() + min_bits.get_mantissa(); in add_or_sub()
152 result_mant = max_bits.get_mantissa() - min_bits.get_mantissa(); in add_or_sub()
156 InStorageType max_mant = max_bits.get_explicit_mantissa() << GUARD_BITS_LEN; in add_or_sub()
159 int alignment = (max_bits.get_biased_exponent() - max_bits.is_normal()) - in add_or_sub()
183 int result_exp = max_bits.get_explicit_exponent() - RESULT_FRACTION_LEN; in add_or_sub()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_cab.c119 int max_bits; member
2773 int at_max_bits = at->max_bits; in lzx_decode_blocks()
2774 int lt_max_bits = lt->max_bits; in lzx_decode_blocks()
2775 int mt_max_bits = mt->max_bits; in lzx_decode_blocks()
3074 if (!lzx_br_read_ahead(strm, br, ds->pt.max_bits)) in lzx_read_bitlen()
3076 rbits = lzx_br_bits(br, ds->pt.max_bits); in lzx_read_bitlen()
3103 ds->pt.bitlen[c]+1+ds->pt.max_bits)) in lzx_read_bitlen()
3110 rbits = lzx_br_bits(br, ds->pt.max_bits); in lzx_read_bitlen()
3191 hf->max_bits = maxbits; in lzx_make_huffman_table()
H A Darchive_read_support_format_lha.c115 int max_bits; member
2260 ds->pt.max_bits)) { in lzh_read_blocks()
2267 rbits = lzh_br_bits(br, ds->pt.max_bits); in lzh_read_blocks()
2338 int lt_max_bits = lt->max_bits, pt_max_bits = pt->max_bits; in lzh_decode_blocks()
2663 hf->max_bits = 0; in lzh_make_fake_table()
2696 hf->max_bits = maxbits; in lzh_make_huffman_table()
/freebsd/contrib/tcsh/
H A Dcomplete.tcsh815 complete compress c/-/"(c f v b)"/ n/-b/x:'<max_bits>'/ n/*/f:^*.Z/