/external/bison/lib/ |
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 | 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 | 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 | 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 | bitset_stats.c | 679 bitset_stats_init (bitset bset, bitset_bindex n_bits, enum bitset_type type) argument 691 BITSET_NBITS_ (bset) = n_bits; 701 bytes = abitset_bytes (n_bits); 703 abitset_init (sbset, n_bits); 707 bytes = lbitset_bytes (n_bits); 709 lbitset_init (sbset, n_bits); 713 bytes = ebitset_bytes (n_bits); 715 ebitset_init (sbset, n_bits); 719 bytes = vbitset_bytes (n_bits); 721 vbitset_init (sbset, n_bits); [all...] |
H A D | lbitset.c | 579 bitset_bindex n_bits; local 585 n_bits = (elt->index + LBITSET_ELT_WORDS) * BITSET_WORD_BITS; 588 if (rbitno >= n_bits) 591 bitno = n_bits - (rbitno + 1); 638 *next = n_bits - (boffset + bcount); 654 *next = n_bits - (boffset + 1); 886 bitset_bindex n_bits; local 888 n_bits = BITSET_SIZE_ (dst); 889 last_bit = n_bits % LBITSET_ELT_BITS; 899 windex = n_bits / BITSET_WORD_BIT [all...] |
H A D | bbitset.h | 91 bitset_bindex n_bits; /* Number of bits. */ member in struct:bbitset_struct 108 #define BITSET_NBITS_(SRC) (SRC)->b.n_bits
|
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...] |
/external/webp/src/utils/ |
H A D | bit_reader.c | 189 uint32_t VP8LReadBits(VP8LBitReader* const br, int n_bits) { argument 191 assert(n_bits >= 0); 192 // Flag an error if end_of_stream or n_bits is more than allowed limit. 193 if (!br->eos_ && n_bits < MAX_NUM_BIT_READ) { 196 if ((br->bit_pos_ + n_bits) >= 64) { 198 if ((br->bit_pos_ + n_bits) > 64) return val; 201 val = (br->val_ >> br->bit_pos_) & kBitMask[n_bits]; 202 br->bit_pos_ += n_bits;
|
H A D | bit_writer.c | 237 void VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits) { argument 238 if (n_bits < 1) return; 247 bw->bit_pos_ += n_bits; 253 const int bits_left_to_write = n_bits - 8 + bits_reserved_in_first_byte; 265 assert(n_bits <= 25); 267 bw->bit_pos_ += n_bits;
|
/external/jpeg/ |
H A D | wrgif.c | 53 int n_bits; /* current number of bits/code */ member in struct:__anon6606 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/qemu/distrib/jpeg-6b/ |
H A D | wrgif.c | 53 int n_bits; /* current number of bits/code */ member in struct:__anon10460 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/dbus/dbus/ |
H A D | dbus-sha.c | 560 int n_bits; local 596 n_bits = 0; 614 total_bits = n_bits + val; 615 while (n_bits < total_bits) 617 int byte_containing_next_bit = n_bits / 8; 618 int bit_containing_next_bit = 7 - (n_bits % 8); 638 ++n_bits; 646 length_bytes = (n_bits / 8 + ((n_bits % 8) ? 1 : 0)); 651 length_bytes, n_bits, _dbus_string_get_lengt [all...] |
/external/valgrind/main/coregrind/m_gdbserver/ |
H A D | m_gdbserver.c | 1295 Int n_bits = VG_(strlen) (ws) - 2; local 1298 for (j = 0; j < n_bits; j++) { 1300 else if ('1' == parsews[j+2]) *szB |= (1 << (n_bits-j-1));
|
/external/webp/src/enc/ |
H A D | vp8l.c | 443 int bits, n_bits; local 446 PrefixEncode(v->len, &code, &n_bits, &bits); 448 VP8LWriteBits(bw, n_bits, bits); 451 PrefixEncode(distance, &code, &n_bits, &bits); 453 VP8LWriteBits(bw, n_bits, bits);
|