/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 | 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 | bitset_stats.c | 677 bitset_stats_init (bitset bset, bitset_bindex n_bits, enum bitset_type type) in bitset_stats_init() argument 689 BITSET_NBITS_ (bset) = n_bits; in bitset_stats_init() 699 bytes = abitset_bytes (n_bits); in bitset_stats_init() 701 abitset_init (sbset, n_bits); in bitset_stats_init() 705 bytes = lbitset_bytes (n_bits); in bitset_stats_init() 707 lbitset_init (sbset, n_bits); in bitset_stats_init() 711 bytes = ebitset_bytes (n_bits); in bitset_stats_init() 713 ebitset_init (sbset, n_bits); in bitset_stats_init() 717 bytes = vbitset_bytes (n_bits); in bitset_stats_init() 719 vbitset_init (sbset, n_bits); in bitset_stats_init()
|
D | lbitset.c | 580 bitset_bindex n_bits; in lbitset_list_reverse() local 586 n_bits = (elt->index + LBITSET_ELT_WORDS) * BITSET_WORD_BITS; in lbitset_list_reverse() 589 if (rbitno >= n_bits) in lbitset_list_reverse() 592 bitno = n_bits - (rbitno + 1); in lbitset_list_reverse() 639 *next = n_bits - (boffset + bcount); in lbitset_list_reverse() 655 *next = n_bits - (boffset + 1); in lbitset_list_reverse() 887 bitset_bindex n_bits; in lbitset_unused_clear() local 889 n_bits = BITSET_SIZE_ (dst); in lbitset_unused_clear() 890 last_bit = n_bits % LBITSET_ELT_BITS; in lbitset_unused_clear() 900 windex = n_bits / BITSET_WORD_BITS; in lbitset_unused_clear() [all …]
|
/external/chromium_org/third_party/brotli/src/brotli/enc/ |
D | write_bits.h | 50 inline void WriteBits(int n_bits, in WriteBits() argument 55 printf("WriteBits %2d 0x%016llx %10d\n", n_bits, bits, *pos); in WriteBits() 67 *pos += n_bits; in WriteBits() 74 for (int bits_left_to_write = n_bits - 8 + bits_reserved_in_first_byte; in WriteBits() 81 *pos += n_bits; in WriteBits()
|
/external/pixman/pixman/ |
D | pixman-utils.c | 75 float_to_unorm (float f, int n_bits) in float_to_unorm() argument 84 u = f * (1 << n_bits); in float_to_unorm() 85 u -= (u >> n_bits); in float_to_unorm() 91 unorm_to_float (uint16_t u, int n_bits) in unorm_to_float() argument 93 uint32_t m = ((1 << n_bits) - 1); in unorm_to_float() 180 pixman_float_to_unorm (float f, int n_bits) in pixman_float_to_unorm() argument 182 return float_to_unorm (f, n_bits); in pixman_float_to_unorm() 186 pixman_unorm_to_float (uint16_t u, int n_bits) in pixman_unorm_to_float() argument 188 return unorm_to_float (u, n_bits); in pixman_unorm_to_float()
|
/external/chromium_org/third_party/brotli/src/brotli/dec/ |
D | bit_reader.h | 66 uint32_t n_bits = val - br->bit_pos_; in BrotliSetBitPos() local 67 const uint32_t bval = (uint32_t)(br->val_ >> br->bit_pos_) & kBitMask[n_bits]; in BrotliSetBitPos() 69 (br->pos_ << 3) + br->bit_pos_ - 64, n_bits, bval); in BrotliSetBitPos() 159 BrotliBitReader* const br, int n_bits) { in BrotliReadBits() argument 162 val = (uint32_t)(br->val_ >> br->bit_pos_) & kBitMask[n_bits]; in BrotliReadBits() 165 (br->pos_ << 3) + br->bit_pos_ - 64, n_bits, val); in BrotliReadBits() 167 br->bit_pos_ += (uint32_t)n_bits; in BrotliReadBits()
|
/external/webp/src/utils/ |
D | bit_writer.c | 252 void VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits) { in VP8LWriteBits() argument 253 assert(n_bits <= 32); in VP8LWriteBits() 255 assert(bw->used_ + n_bits <= 2 * VP8L_WRITER_MAX_BITS); in VP8LWriteBits() 256 if (n_bits > 0) { in VP8LWriteBits() 262 if (used + n_bits >= VP8L_WRITER_MAX_BITS) { in VP8LWriteBits() 267 n_bits -= shift; in VP8LWriteBits() 269 assert(n_bits <= VP8L_WRITER_MAX_BITS); in VP8LWriteBits() 290 bw->used_ = used + n_bits; in VP8LWriteBits()
|
D | bit_reader.c | 205 uint32_t VP8LReadBits(VP8LBitReader* const br, int n_bits) { in VP8LReadBits() argument 206 assert(n_bits >= 0); in VP8LReadBits() 208 if (!br->eos_ && n_bits <= VP8L_MAX_NUM_BIT_READ) { in VP8LReadBits() 210 (uint32_t)(br->val_ >> br->bit_pos_) & kBitMask[n_bits]; in VP8LReadBits() 211 const int new_bits = br->bit_pos_ + n_bits; in VP8LReadBits()
|
D | bit_reader.h | 134 uint32_t VP8LReadBits(VP8LBitReader* const br, int n_bits);
|
D | bit_writer.h | 112 void VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits);
|
/external/chromium_org/third_party/libwebp/utils/ |
D | bit_writer.c | 252 void VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits) { in VP8LWriteBits() argument 253 assert(n_bits <= 32); in VP8LWriteBits() 255 assert(bw->used_ + n_bits <= 2 * VP8L_WRITER_MAX_BITS); in VP8LWriteBits() 256 if (n_bits > 0) { in VP8LWriteBits() 262 if (used + n_bits >= VP8L_WRITER_MAX_BITS) { in VP8LWriteBits() 267 n_bits -= shift; in VP8LWriteBits() 269 assert(n_bits <= VP8L_WRITER_MAX_BITS); in VP8LWriteBits() 290 bw->used_ = used + n_bits; in VP8LWriteBits()
|
D | bit_reader.c | 205 uint32_t VP8LReadBits(VP8LBitReader* const br, int n_bits) { in VP8LReadBits() argument 206 assert(n_bits >= 0); in VP8LReadBits() 208 if (!br->eos_ && n_bits <= VP8L_MAX_NUM_BIT_READ) { in VP8LReadBits() 210 (uint32_t)(br->val_ >> br->bit_pos_) & kBitMask[n_bits]; in VP8LReadBits() 211 const int new_bits = br->bit_pos_ + n_bits; in VP8LReadBits()
|
D | bit_reader.h | 134 uint32_t VP8LReadBits(VP8LBitReader* const br, int n_bits);
|
/external/qemu/distrib/jpeg-6b/ |
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/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/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_bitvector_test.cc | 119 uptr n_bits = ((uptr)my_rand() % bv.size()) + 1; in TestBitVector() local 121 EXPECT_TRUE(n_bits > 0 && n_bits <= bv.size()); in TestBitVector() 123 for (uptr i = 0; i < n_bits; i++) { in TestBitVector()
|
/external/vixl/test/ |
D | test-simulator-a64.cc | 230 const unsigned n_bits = sizeof(Tn) * 8; in Test1Op() local 233 reinterpret_cast<uintptr_t>(results), d_bits, n_bits); in Test1Op() 254 name, n_bits / 4, static_cast<uint64_t>(inputs[n]), in Test1Op() 822 const unsigned n_bits = sizeof(Tn) * 8; in TestFPToS() local 825 reinterpret_cast<uintptr_t>(results), d_bits, n_bits); in TestFPToS() 855 name, n_bits / 4, static_cast<uint64_t>(inputs[n]), in TestFPToS() 891 const unsigned n_bits = sizeof(Tn) * 8; in TestFPToU() local 894 reinterpret_cast<uintptr_t>(results), d_bits, n_bits); in TestFPToU() 914 name, n_bits / 4, static_cast<uint64_t>(inputs[n]), in TestFPToU()
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
D | hb-private.hh | 236 unsigned int n_bits = 0; in _hb_bit_storage() 238 n_bits++; in _hb_bit_storage() 241 return n_bits; in _hb_bit_storage() 252 unsigned int n_bits = 0; in _hb_ctz() 255 n_bits++; in _hb_ctz() 258 return n_bits; in _hb_ctz()
|
/external/harfbuzz_ng/src/ |
D | hb-private.hh | 245 unsigned int n_bits = 0; in _hb_bit_storage() 247 n_bits++; in _hb_bit_storage() 250 return n_bits; in _hb_bit_storage() 261 unsigned int n_bits = 0; in _hb_ctz() 264 n_bits++; in _hb_ctz() 267 return n_bits; in _hb_ctz()
|
/external/wpa_supplicant_8/src/utils/ |
D | radiotap_iter.h | 22 int n_bits; member
|
D | radiotap.c | 48 .n_bits = sizeof(rtap_namespace_sizes) / sizeof(rtap_namespace_sizes[0]), 265 iterator->_arg_index >= iterator->current_namespace->n_bits) { in ieee80211_radiotap_iterator_next()
|