/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 | 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 | 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 | 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 …]
|
D | bbitset.h | 93 bitset_bindex n_bits; /* Number of bits. */ member 110 #define BITSET_NBITS_(SRC) (SRC)->b.n_bits
|
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/ |
D | LZWEncoder.java | 46 int n_bits; // number of bits/code field in LZWEncoder 159 n_bits = g_init_bits; in compress() 160 maxcode = MAXCODE(n_bits); in compress() 237 final int MAXCODE(int n_bits) { in MAXCODE() argument 238 return (1 << n_bits) - 1; in MAXCODE() 263 cur_bits += n_bits; in output() 275 maxcode = MAXCODE(n_bits = g_init_bits); in output() 278 ++n_bits; in output() 279 if (n_bits == maxbits) in output() 282 maxcode = MAXCODE(n_bits); in output()
|
/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 | 194 uint32_t VP8LReadBits(VP8LBitReader* const br, int n_bits) { in VP8LReadBits() argument 195 assert(n_bits >= 0); in VP8LReadBits() 197 if (!br->eos_ && n_bits <= VP8L_MAX_NUM_BIT_READ) { in VP8LReadBits() 199 (uint32_t)(br->val_ >> br->bit_pos_) & kBitMask[n_bits]; in VP8LReadBits() 200 const int new_bits = br->bit_pos_ + n_bits; in VP8LReadBits()
|
D | bit_writer.h | 112 void VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits);
|
D | bit_reader.h | 137 uint32_t VP8LReadBits(VP8LBitReader* const br, int 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/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/harfbuzz_ng/src/ |
D | hb-private.hh | 284 unsigned int n_bits = 0; in _hb_bit_storage() 286 n_bits++; in _hb_bit_storage() 289 return n_bits; in _hb_bit_storage() 300 unsigned int n_bits = 0; in _hb_ctz() 303 n_bits++; in _hb_ctz() 306 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]), 268 iterator->_arg_index >= iterator->current_namespace->n_bits) { in ieee80211_radiotap_iterator_next()
|
/external/webp/src/enc/ |
D | vp8l.c | 458 int bits, n_bits; in StoreImageToBitMask() local 461 VP8LPrefixEncode(v->len, &code, &n_bits, &bits); in StoreImageToBitMask() 463 VP8LWriteBits(bw, n_bits, bits); in StoreImageToBitMask() 466 VP8LPrefixEncode(distance, &code, &n_bits, &bits); in StoreImageToBitMask() 468 VP8LWriteBits(bw, n_bits, bits); in StoreImageToBitMask()
|
/external/vixl/test/ |
D | test-simulator-a64.cc | 250 const unsigned n_bits = sizeof(Tn) * 8; in Test1Op() local 253 reinterpret_cast<uintptr_t>(results), d_bits, n_bits); in Test1Op() 274 name, n_bits / 4, static_cast<uint64_t>(inputs[n]), in Test1Op() 907 const unsigned n_bits = sizeof(Tn) * 8; in TestFPToS() local 910 reinterpret_cast<uintptr_t>(results), d_bits, n_bits); in TestFPToS() 948 name, n_bits / 4, static_cast<uint64_t>(inputs[n]), in TestFPToS() 984 const unsigned n_bits = sizeof(Tn) * 8; in TestFPToU() local 988 reinterpret_cast<uintptr_t>(results), d_bits, n_bits); in TestFPToU() 1008 name, n_bits / 4, static_cast<uint64_t>(inputs[n]), in TestFPToU() 1041 const unsigned n_bits = sizeof(Tn) * 8; in TestFPToFixedS() local [all …]
|
/external/valgrind/coregrind/m_gdbserver/ |
D | m_gdbserver.c | 1461 Int n_bits = VG_(strlen) (ws) - 2; in VG_() local 1464 for (j = 0; j < n_bits; j++) { in VG_() 1466 else if ('1' == parsews[j+2]) *szB |= (1 << (n_bits-j-1)); in VG_()
|
/external/bison/ |
D | ChangeLog-2012 | 15866 * lib/abitset.c (struct abitset_struct.n_bits, abitset_small_list,
|