/external/bison/lib/ |
D | bitset.c | 39 bitset_bytes (enum bitset_type type, bitset_bindex n_bits) in bitset_bytes() argument 52 bytes = abitset_bytes (n_bits); in bitset_bytes() 56 bytes = lbitset_bytes (n_bits); in bitset_bytes() 60 bytes = ebitset_bytes (n_bits); in bitset_bytes() 64 bytes = vbitset_bytes (n_bits); in bitset_bytes() 74 bitset_init (bitset bset, bitset_bindex n_bits, enum bitset_type type) in bitset_init() argument 77 return bitset_stats_init (bset, n_bits, type); in bitset_init() 85 return abitset_init (bset, n_bits); in bitset_init() 88 return lbitset_init (bset, n_bits); in bitset_init() 91 return ebitset_init (bset, n_bits); in bitset_init() [all …]
|
D | bitsetv.c | 29 bitsetv_alloc (bitset_bindex n_vecs, bitset_bindex n_bits, in bitsetv_alloc() argument 38 bytes = bitset_bytes (type, n_bits); in bitsetv_alloc() 53 bitset_init (bsetv[i], n_bits, type); in bitsetv_alloc() 65 bitsetv_create (bitset_bindex n_vecs, bitset_bindex n_bits, unsigned int attr) in bitsetv_create() argument 69 type = bitset_type_choose (n_bits, attr); in bitsetv_create() 70 return bitsetv_alloc (n_vecs, n_bits, type); in bitsetv_create()
|
D | ebitset.c | 123 ebitset_resize (bitset src, bitset_bindex n_bits) in ebitset_resize() argument 128 if (n_bits == BITSET_NBITS_ (src)) in ebitset_resize() 129 return n_bits; in ebitset_resize() 132 newsize = EBITSET_N_ELTS (n_bits); in ebitset_resize() 174 BITSET_NBITS_ (src) = n_bits; in ebitset_resize() 175 return n_bits; in ebitset_resize() 569 bitset_bindex n_bits; in ebitset_list_reverse() local 585 n_bits = size * EBITSET_ELT_BITS; in ebitset_list_reverse() 588 if (rbitno >= n_bits) in ebitset_list_reverse() 593 bitno = n_bits - (rbitno + 1); in ebitset_list_reverse() [all …]
|
D | vbitset.c | 56 vbitset_resize (bitset src, bitset_bindex n_bits) in vbitset_resize() argument 61 if (n_bits == BITSET_NBITS_ (src)) in vbitset_resize() 62 return n_bits; in vbitset_resize() 65 newsize = VBITSET_N_WORDS (n_bits); in vbitset_resize() 110 BITSET_NBITS_ (src) = n_bits; in vbitset_resize() 111 return n_bits; in vbitset_resize() 175 bitset_bindex n_bits = BITSET_SIZE_ (src); local 182 if (rbitno >= n_bits) 187 bitno = n_bits - (rbitno + 1); 205 *next = n_bits - (bitoff + bitcnt); [all …]
|
D | bitset_stats.c | 679 bitset_stats_init (bitset bset, bitset_bindex n_bits, enum bitset_type type) in bitset_stats_init() argument 691 BITSET_NBITS_ (bset) = n_bits; in bitset_stats_init() 701 bytes = abitset_bytes (n_bits); in bitset_stats_init() 703 abitset_init (sbset, n_bits); in bitset_stats_init() 707 bytes = lbitset_bytes (n_bits); in bitset_stats_init() 709 lbitset_init (sbset, n_bits); in bitset_stats_init() 713 bytes = ebitset_bytes (n_bits); in bitset_stats_init() 715 ebitset_init (sbset, n_bits); in bitset_stats_init() 719 bytes = vbitset_bytes (n_bits); in bitset_stats_init() 721 vbitset_init (sbset, n_bits); in bitset_stats_init()
|
D | abitset.c | 152 bitset_bindex n_bits = BITSET_SIZE_ (src); in abitset_list_reverse() local 159 if (rbitno >= n_bits) in abitset_list_reverse() 164 bitno = n_bits - (rbitno + 1); in abitset_list_reverse() 182 *next = n_bits - (bitoff + bitcnt); in abitset_list_reverse() 193 *next = n_bits - (bitoff + 1); in abitset_list_reverse() 785 abitset_bytes (bitset_bindex n_bits) in abitset_bytes() argument 793 size = ABITSET_N_WORDS (n_bits); in abitset_bytes() 809 abitset_init (bitset bset, bitset_bindex n_bits) in abitset_init() argument 813 size = ABITSET_N_WORDS (n_bits); in abitset_init() 814 BITSET_NBITS_ (bset) = n_bits; in abitset_init()
|
D | lbitset.c | 579 bitset_bindex n_bits; in lbitset_list_reverse() local 585 n_bits = (elt->index + LBITSET_ELT_WORDS) * BITSET_WORD_BITS; in lbitset_list_reverse() 588 if (rbitno >= n_bits) in lbitset_list_reverse() 591 bitno = n_bits - (rbitno + 1); in lbitset_list_reverse() 638 *next = n_bits - (boffset + bcount); in lbitset_list_reverse() 654 *next = n_bits - (boffset + 1); in lbitset_list_reverse() 886 bitset_bindex n_bits; in lbitset_unused_clear() local 888 n_bits = BITSET_SIZE_ (dst); in lbitset_unused_clear() 889 last_bit = n_bits % LBITSET_ELT_BITS; in lbitset_unused_clear() 899 windex = n_bits / BITSET_WORD_BITS; in lbitset_unused_clear() [all …]
|
D | bbitset.h | 91 bitset_bindex n_bits; /* Number of bits. */ member 108 #define BITSET_NBITS_(SRC) (SRC)->b.n_bits
|
/external/jpeg/ |
D | wrgif.c | 53 int n_bits; /* current number of bits/code */ member 72 #define MAXCODE(n_bits) ((1 << (n_bits)) - 1) argument 110 dinfo->cur_bits += dinfo->n_bits; in output() 147 dinfo->n_bits = i_bits; in compress_init() 148 dinfo->maxcode = MAXCODE(dinfo->n_bits); in compress_init()
|
/external/bluetooth/glib/tests/ |
D | bit-test.c | 84 register guint n_bits = 0; in naive_bit_storage() local 88 n_bits++; in naive_bit_storage() 92 return n_bits; in naive_bit_storage()
|
/external/dbus/dbus/ |
D | dbus-sha.c | 560 int n_bits; in decode_compact_string() local 596 n_bits = 0; in decode_compact_string() 614 total_bits = n_bits + val; in decode_compact_string() 615 while (n_bits < total_bits) in decode_compact_string() 617 int byte_containing_next_bit = n_bits / 8; in decode_compact_string() 618 int bit_containing_next_bit = 7 - (n_bits % 8); in decode_compact_string() 638 ++n_bits; in decode_compact_string() 646 length_bytes = (n_bits / 8 + ((n_bits % 8) ? 1 : 0)); in decode_compact_string() 651 length_bytes, n_bits, _dbus_string_get_length (decoded)); in decode_compact_string()
|
/external/bluetooth/glib/glib/ |
D | gutils.h | 357 register guint n_bits = 0; in g_bit_storage() 361 n_bits++; in g_bit_storage() 365 return n_bits; in g_bit_storage()
|
/external/bison/ |
D | ChangeLog | 7605 * lib/abitset.c (struct abitset_struct.n_bits, abitset_small_list,
|