| /src/external/bsd/wpa/dist/src/utils/ |
| bitfield.c | 17 size_t max_bits; member in struct:bitfield 21 struct bitfield * bitfield_alloc(size_t max_bits) 25 bf = os_zalloc(sizeof(*bf) + (max_bits + 7) / 8); 29 bf->max_bits = max_bits; 42 if (bit >= bf->max_bits) 50 if (bit >= bf->max_bits) 58 if (bit >= bf->max_bits) 79 for (i = 0; i < (bf->max_bits + 7) / 8; i++) { 83 if (i == (bf->max_bits + 7) / 8 [all...] |
| /src/sys/arch/mips/cavium/dev/ |
| octeon_cib.c | 115 u_int max_bits; local 139 if (of_getprop_uint32(phandle, "cavium,max-bits", &max_bits) != 0) { 143 if (max_bits == 0 || max_bits > 64) { 148 sc->sc_intr = kmem_zalloc(sizeof(*sc->sc_intr) * max_bits, KM_SLEEP); 149 sc->sc_nintr = max_bits;
|
| /src/external/bsd/zstd/dist/doc/educational_decoder/ |
| zstd_decompress.c | 164 int max_bits; member in struct:__anon6218 1505 if (src->max_bits == 0) { 1510 const size_t size = (size_t)1 << src->max_bits; 1511 dst->max_bits = src->max_bits; 1804 *state = ((*state << bits) + rest) & (((u16)1 << dtable->max_bits) - 1); 1812 // Read in a full `dtable->max_bits` bits to initialize the state 1813 const u8 bits = dtable->max_bits; 1844 while (bit_offset > -dtable->max_bits) { 1855 // any data from the stream, so it should have "read" dtable->max_bits fro 1906 u8 max_bits = 0; local 1983 const int max_bits = highest_set_bit(weight_sum) + 1; local [all...] |
| /src/external/bsd/libarchive/dist/libarchive/ |
| archive_read_support_format_cab.c | 119 int max_bits; member in struct:lzx_dec::huffman 2761 int at_max_bits = at->max_bits; 2762 int lt_max_bits = lt->max_bits; 2763 int mt_max_bits = mt->max_bits; 2801 * maximum bits(mt.max_bits) but maybe 3062 if (!lzx_br_read_ahead(strm, br, ds->pt.max_bits)) 3064 rbits = lzx_br_bits(br, ds->pt.max_bits); 3091 ds->pt.bitlen[c]+1+ds->pt.max_bits)) 3098 rbits = lzx_br_bits(br, ds->pt.max_bits); 3179 hf->max_bits = maxbits [all...] |
| archive_read_support_format_lha.c | 115 int max_bits; member in struct:lzh_dec::huffman 2253 ds->pt.max_bits)) { 2260 rbits = lzh_br_bits(br, ds->pt.max_bits); 2331 int lt_max_bits = lt->max_bits, pt_max_bits = pt->max_bits; 2361 * maximum bits(lt.max_bits) but maybe 2656 hf->max_bits = 0; 2689 hf->max_bits = maxbits;
|
| /src/external/gpl3/gcc.old/dist/gcc/ |
| builtins.cc | 4011 int max_bits = floor_log2 (max_len); 4023 int tst_bits = (max_bits != min_bits ? max_bits 4027 bytes, to lower max_bits. In the unlikely case of a constant LEN 4050 max_bits = floor_log2 (max_len); 4052 tst_bits = (max_bits != min_bits ? max_bits 4060 power-of-two-sized from max_bits to ctz_len. */ 4062 if (max_bits >= 0) 4063 xlenest += ((HOST_WIDE_INT_1U << max_bits) * 4010 int max_bits = floor_log2 (max_len); local [all...] |