/external/bison/lib/ |
H A D | bitset.c | 39 bitset_bytes (enum bitset_type type, bitset_bindex n_bits) argument 52 bytes = abitset_bytes (n_bits); 56 bytes = lbitset_bytes (n_bits); 60 bytes = ebitset_bytes (n_bits); 64 bytes = vbitset_bytes (n_bits); 74 bitset_init (bitset bset, bitset_bindex n_bits, enum bitset_type type) argument 77 return bitset_stats_init (bset, n_bits, type); 85 return abitset_init (bset, n_bits); 88 return lbitset_init (bset, n_bits); 91 return ebitset_init (bset, n_bits); 134 bitset_alloc(bitset_bindex n_bits, enum bitset_type type) argument 153 bitset_obstack_alloc(struct obstack *bobstack, bitset_bindex n_bits, enum bitset_type type) argument 171 bitset_create(bitset_bindex n_bits, unsigned int attr) argument [all...] |
H A D | bitsetv.c | 29 bitsetv_alloc (bitset_bindex n_vecs, bitset_bindex n_bits, argument 38 bytes = bitset_bytes (type, n_bits); 53 bitset_init (bsetv[i], n_bits, type); 65 bitsetv_create (bitset_bindex n_vecs, bitset_bindex n_bits, unsigned int attr) argument 69 type = bitset_type_choose (n_bits, attr); 70 return bitsetv_alloc (n_vecs, n_bits, type);
|
H A D | ebitset.c | 123 ebitset_resize (bitset src, bitset_bindex n_bits) argument 128 if (n_bits == BITSET_NBITS_ (src)) 129 return n_bits; 132 newsize = EBITSET_N_ELTS (n_bits); 174 BITSET_NBITS_ (src) = n_bits; 175 return n_bits; 569 bitset_bindex n_bits; local 585 n_bits = size * EBITSET_ELT_BITS; 588 if (rbitno >= n_bits) 593 bitno = n_bits 839 bitset_bindex n_bits; local 1336 ebitset_init(bitset bset, bitset_bindex n_bits) argument [all...] |
H A D | vbitset.c | 56 vbitset_resize (bitset src, bitset_bindex n_bits) argument 61 if (n_bits == BITSET_NBITS_ (src)) 62 return n_bits; 65 newsize = VBITSET_N_WORDS (n_bits); 110 BITSET_NBITS_ (src) = n_bits; 111 return n_bits; 175 bitset_bindex n_bits = BITSET_SIZE_ (src); local 182 if (rbitno >= n_bits) 187 bitno = n_bits - (rbitno + 1); 205 *next = n_bits [all...] |
H A D | abitset.c | 152 bitset_bindex n_bits = BITSET_SIZE_ (src); local 159 if (rbitno >= n_bits) 164 bitno = n_bits - (rbitno + 1); 182 *next = n_bits - (bitoff + bitcnt); 193 *next = n_bits - (bitoff + 1); 785 abitset_bytes (bitset_bindex n_bits) argument 793 size = ABITSET_N_WORDS (n_bits); 809 abitset_init (bitset bset, bitset_bindex n_bits) argument 813 size = ABITSET_N_WORDS (n_bits); 814 BITSET_NBITS_ (bset) = n_bits; [all...] |
H A D | bitset_stats.c | 677 bitset_stats_init (bitset bset, bitset_bindex n_bits, enum bitset_type type) argument 689 BITSET_NBITS_ (bset) = n_bits; 699 bytes = abitset_bytes (n_bits); 701 abitset_init (sbset, n_bits); 705 bytes = lbitset_bytes (n_bits); 707 lbitset_init (sbset, n_bits); 711 bytes = ebitset_bytes (n_bits); 713 ebitset_init (sbset, n_bits); 717 bytes = vbitset_bytes (n_bits); 719 vbitset_init (sbset, n_bits); [all...] |
H A D | lbitset.c | 580 bitset_bindex n_bits; local 586 n_bits = (elt->index + LBITSET_ELT_WORDS) * BITSET_WORD_BITS; 589 if (rbitno >= n_bits) 592 bitno = n_bits - (rbitno + 1); 639 *next = n_bits - (boffset + bcount); 655 *next = n_bits - (boffset + 1); 887 bitset_bindex n_bits; local 889 n_bits = BITSET_SIZE_ (dst); 890 last_bit = n_bits % LBITSET_ELT_BITS; 900 windex = n_bits / BITSET_WORD_BIT [all...] |
H A D | bbitset.h | 93 bitset_bindex n_bits; /* Number of bits. */ member in struct:bbitset_struct 110 #define BITSET_NBITS_(SRC) (SRC)->b.n_bits
|
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/ |
H A D | LZWEncoder.java | 46 int n_bits; // number of bits/code field in class:LZWEncoder 50 int maxcode; // maximum code, given n_bits 88 // code: A n_bits-bit integer. If == -1, then EOF. This assumes 89 // that n_bits =< wordsize - 1. 159 n_bits = g_init_bits; 160 maxcode = MAXCODE(n_bits); 237 final int MAXCODE(int n_bits) { argument 238 return (1 << n_bits) - 1; 263 cur_bits += n_bits; 275 maxcode = MAXCODE(n_bits [all...] |
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | radiotap_iter.h | 22 int n_bits; member in struct:ieee80211_radiotap_namespace
|
H A D | radiotap.c | 48 .n_bits = sizeof(rtap_namespace_sizes) / sizeof(rtap_namespace_sizes[0]), 268 iterator->_arg_index >= iterator->current_namespace->n_bits) {
|
/external/wpa_supplicant_8/src/utils/ |
H A D | radiotap_iter.h | 22 int n_bits; member in struct:ieee80211_radiotap_namespace
|
H A D | radiotap.c | 48 .n_bits = sizeof(rtap_namespace_sizes) / sizeof(rtap_namespace_sizes[0]), 268 iterator->_arg_index >= iterator->current_namespace->n_bits) {
|
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | radiotap_iter.h | 22 int n_bits; member in struct:ieee80211_radiotap_namespace
|
H A D | radiotap.c | 48 .n_bits = sizeof(rtap_namespace_sizes) / sizeof(rtap_namespace_sizes[0]), 268 iterator->_arg_index >= iterator->current_namespace->n_bits) {
|
/external/webp/src/utils/ |
H A D | bit_writer.c | 252 void VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits) { argument 253 assert(n_bits <= 32); 255 assert(bw->used_ + n_bits <= 2 * VP8L_WRITER_MAX_BITS); 256 if (n_bits > 0) { 262 if (used + n_bits >= VP8L_WRITER_MAX_BITS) { 267 n_bits -= shift; 269 assert(n_bits <= VP8L_WRITER_MAX_BITS); 290 bw->used_ = used + n_bits;
|
H A D | bit_reader.c | 194 uint32_t VP8LReadBits(VP8LBitReader* const br, int n_bits) { argument 195 assert(n_bits >= 0); 196 // Flag an error if end_of_stream or n_bits is more than allowed limit. 197 if (!br->eos_ && n_bits <= VP8L_MAX_NUM_BIT_READ) { 199 (uint32_t)(br->val_ >> br->bit_pos_) & kBitMask[n_bits]; 200 const int new_bits = br->bit_pos_ + n_bits;
|
H A D | bit_reader.h | 134 // Flags an error in case end_of_stream or n_bits is more than the allowed limit 137 uint32_t VP8LReadBits(VP8LBitReader* const br, int n_bits);
|
H A D | bit_writer.h | 112 void VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits);
|
/external/jpeg/ |
H A D | wrgif.c | 53 int n_bits; /* current number of bits/code */ member in struct:__anon6532 54 int maxcode; /* maximum code, given n_bits */ 72 #define MAXCODE(n_bits) ((1 << (n_bits)) - 1) 106 /* Emit a code of n_bits bits */ 110 dinfo->cur_bits += dinfo->n_bits; 147 dinfo->n_bits = i_bits; 148 dinfo->maxcode = MAXCODE(dinfo->n_bits); 164 * The given value must be less than n_bits wide.
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_bitvector_test.cc | 119 uptr n_bits = ((uptr)my_rand() % bv.size()) + 1; local 121 EXPECT_TRUE(n_bits > 0 && n_bits <= bv.size()); 123 for (uptr i = 0; i < n_bits; i++) {
|
/external/harfbuzz_ng/src/ |
H A D | hb-private.hh | 284 unsigned int n_bits = 0; 286 n_bits++; 289 return n_bits; 300 unsigned int n_bits = 0; 303 n_bits++; 306 return n_bits;
|
/external/webp/src/enc/ |
H A D | vp8l.c | 458 int bits, n_bits; local 461 VP8LPrefixEncode(v->len, &code, &n_bits, &bits); 463 VP8LWriteBits(bw, n_bits, bits); 466 VP8LPrefixEncode(distance, &code, &n_bits, &bits); 468 VP8LWriteBits(bw, n_bits, bits);
|
/external/valgrind/coregrind/m_gdbserver/ |
H A D | m_gdbserver.c | 1461 Int n_bits = VG_(strlen) (ws) - 2; local 1464 for (j = 0; j < n_bits; j++) { 1466 else if ('1' == parsews[j+2]) *szB |= (1 << (n_bits-j-1));
|
/external/vixl/test/ |
H A D | test-simulator-a64.cc | 250 const unsigned n_bits = sizeof(Tn) * 8; local 253 reinterpret_cast<uintptr_t>(results), d_bits, n_bits); 274 name, n_bits / 4, static_cast<uint64_t>(inputs[n]), 907 const unsigned n_bits = sizeof(Tn) * 8; local 910 reinterpret_cast<uintptr_t>(results), d_bits, n_bits); 948 name, n_bits / 4, static_cast<uint64_t>(inputs[n]), 984 const unsigned n_bits = sizeof(Tn) * 8; local 988 reinterpret_cast<uintptr_t>(results), d_bits, n_bits); 1008 name, n_bits / 4, static_cast<uint64_t>(inputs[n]), 1041 const unsigned n_bits local 1121 const unsigned n_bits = sizeof(Tn) * 8; local [all...] |