HomeSort by relevance Sort by last modified time
    Searched full:n_bits (Results 1 - 25 of 47) sorted by null

1 2

  /external/bison/lib/
bitset.c 39 bitset_bytes (enum bitset_type type, bitset_bindex n_bits)
52 bytes = abitset_bytes (n_bits);
56 bytes = lbitset_bytes (n_bits);
60 bytes = ebitset_bytes (n_bits);
64 bytes = vbitset_bytes (n_bits);
72 /* Initialise bitset BSET of TYPE for N_BITS. */
74 bitset_init (bitset bset, bitset_bindex n_bits, enum bitset_type type)
77 return bitset_stats_init (bset, n_bits, type);
85 return abitset_init (bset, n_bits);
88 return lbitset_init (bset, n_bits);
    [all...]
bitsetv.c 26 /* Create a vector of N_VECS bitsets, each of N_BITS, and of
29 bitsetv_alloc (bitset_bindex n_vecs, bitset_bindex n_bits,
38 bytes = bitset_bytes (type, n_bits);
53 bitset_init (bsetv[i], n_bits, type);
62 /* Create a vector of N_VECS bitsets, each of N_BITS, and with
65 bitsetv_create (bitset_bindex n_vecs, bitset_bindex n_bits, unsigned int attr)
69 type = bitset_type_choose (n_bits, attr);
70 return bitsetv_alloc (n_vecs, n_bits, type);
bitsetv.h 27 /* Create a vector of N_VECS bitsets, each of N_BITS, and of
31 /* Create a vector of N_VECS bitsets, each of N_BITS, and with
ebitset.c 123 ebitset_resize (bitset src, bitset_bindex n_bits)
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 - (rbitno + 1)
839 bitset_bindex n_bits; local
    [all...]
vbitset.c 56 vbitset_resize (bitset src, bitset_bindex n_bits)
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 - (bitoff + bitcnt)
    [all...]
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)
793 size = ABITSET_N_WORDS (n_bits);
809 abitset_init (bitset bset, bitset_bindex n_bits)
813 size = ABITSET_N_WORDS (n_bits);
814 BITSET_NBITS_ (bset) = n_bits;
    [all...]
bitset_stats.c 677 bitset_stats_init (bitset bset, bitset_bindex n_bits, enum bitset_type type)
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...]
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_BITS
    [all...]
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/pixman/pixman/
pixman-edge-imp.h 50 #if N_BITS == 1
65 #if N_BITS == 1
83 #if N_BITS == 1
136 lxs = RENDER_SAMPLES_X (lx, N_BITS);
137 rxs = RENDER_SAMPLES_X (rx, N_BITS);
148 ADD_ALPHA (N_X_FRAC(N_BITS) - lxs);
152 ADD_ALPHA (N_X_FRAC(N_BITS));
164 #if N_BITS > 1
165 if (pixman_fixed_frac (y) != Y_FRAC_LAST(N_BITS))
169 y += STEP_Y_SMALL(N_BITS);
    [all...]
pixman-utils.c 75 float_to_unorm (float f, int n_bits)
84 u = f * (1 << n_bits);
85 u -= (u >> n_bits);
91 unorm_to_float (uint16_t u, int n_bits)
93 uint32_t m = ((1 << n_bits) - 1);
180 pixman_float_to_unorm (float f, int n_bits)
182 return float_to_unorm (f, n_bits);
186 pixman_unorm_to_float (uint16_t u, int n_bits)
188 return unorm_to_float (u, n_bits);
pixman-edge.c 70 #define N_BITS 4
102 #undef N_BITS
109 #define N_BITS 1
115 #undef N_BITS
  /external/jpeg/
wrgif.c 53 int n_bits; /* current number of bits/code */ member in struct:__anon19667
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/
wrgif.c 53 int n_bits; /* current number of bits/code */ member in struct:__anon24932
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/chromium_org/third_party/libwebp/utils/
bit_reader.c 188 uint32_t VP8LReadBits(VP8LBitReader* const br, int n_bits) {
189 assert(n_bits >= 0);
190 // Flag an error if end_of_stream or n_bits is more than allowed limit.
191 if (!br->eos_ && n_bits < MAX_NUM_BIT_READ) {
193 (uint32_t)(br->val_ >> br->bit_pos_) & kBitMask[n_bits];
194 const int new_bits = br->bit_pos_ + n_bits;
bit_writer.c 239 void VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits) {
240 if (n_bits < 1) return;
249 bw->bit_pos_ += n_bits;
255 const int bits_left_to_write = n_bits - 8 + bits_reserved_in_first_byte;
267 assert(n_bits <= 25);
269 bw->bit_pos_ += n_bits;
bit_writer.h 117 void VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits);
bit_reader.h 310 // Flags an error in case end_of_stream or n_bits is more than allowed limit.
312 uint32_t VP8LReadBits(VP8LBitReader* const br, int n_bits);
  /external/webp/src/utils/
bit_reader.c 188 uint32_t VP8LReadBits(VP8LBitReader* const br, int n_bits) {
189 assert(n_bits >= 0);
190 // Flag an error if end_of_stream or n_bits is more than allowed limit.
191 if (!br->eos_ && n_bits < MAX_NUM_BIT_READ) {
193 (uint32_t)(br->val_ >> br->bit_pos_) & kBitMask[n_bits];
194 const int new_bits = br->bit_pos_ + n_bits;
bit_writer.c 239 void VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits) {
240 if (n_bits < 1) return;
249 bw->bit_pos_ += n_bits;
255 const int bits_left_to_write = n_bits - 8 + bits_reserved_in_first_byte;
267 assert(n_bits <= 25);
269 bw->bit_pos_ += n_bits;
bit_writer.h 117 void VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits);
bit_reader.h 310 // Flags an error in case end_of_stream or n_bits is more than allowed limit.
312 uint32_t VP8LReadBits(VP8LBitReader* const br, int n_bits);
  /external/valgrind/main/cachegrind/
cg_branchpred.c 85 #define N_BITS (N_HIST_BITS + N_IADD_BITS)
86 #define N_COUNTERS (1 << N_BITS)
  /external/chromium_org/third_party/harfbuzz-ng/src/
hb-private.hh 236 register unsigned int n_bits = 0;
238 n_bits++;
241 return n_bits;
252 register unsigned int n_bits = 0;
255 n_bits++;
258 return n_bits;
  /external/harfbuzz_ng/src/
hb-private.hh 233 register unsigned int n_bits = 0;
235 n_bits++;
238 return n_bits;
249 register unsigned int n_bits = 0;
252 n_bits++;
255 return n_bits;

Completed in 3138 milliseconds

1 2