/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/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/ |
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) { 238 return (1 << n_bits) - 1; 263 cur_bits += n_bits; 275 maxcode = MAXCODE(n_bits = g_init_bits) [all...] |
/external/webp/src/utils/ |
bit_writer.h | 117 void VP8LPutBitsInternal(VP8LBitWriter* const bw, uint32_t bits, int n_bits); 125 uint32_t bits, int n_bits) { 127 if (n_bits > 0) { 132 bw->used_ += n_bits; 135 VP8LPutBitsInternal(bw, bits, n_bits);
|
bit_reader.c | 211 uint32_t VP8LReadBits(VP8LBitReader* const br, int n_bits) { 212 assert(n_bits >= 0); 213 // Flag an error if end_of_stream or n_bits is more than allowed limit. 214 if (!br->eos_ && n_bits <= VP8L_MAX_NUM_BIT_READ) { 215 const uint32_t val = VP8LPrefetchBits(br) & kBitMask[n_bits]; 216 const int new_bits = br->bit_pos_ + n_bits;
|
bit_writer.c | 266 void VP8LPutBitsInternal(VP8LBitWriter* const bw, uint32_t bits, int n_bits) { 267 assert(n_bits <= 32); 270 if (n_bits > 0) { 275 if (used + n_bits >= VP8L_WRITER_MAX_BITS) { 280 n_bits -= shift; 282 assert(n_bits <= VP8L_WRITER_MAX_BITS); 302 bw->used_ = used + n_bits;
|
bit_reader.h | 139 // Flags an error in case end_of_stream or n_bits is more than the allowed limit 142 uint32_t VP8LReadBits(VP8LBitReader* const br, int n_bits);
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
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/libjpeg-turbo/ |
wrgif.c | 55 int n_bits; /* current number of bits/code */ member in struct:__anon16712 56 int maxcode; /* maximum code, given n_bits */ 74 #define MAXCODE(n_bits) ((1 << (n_bits)) - 1) 108 /* Emit a code of n_bits bits */ 112 dinfo->cur_bits += dinfo->n_bits; 149 dinfo->n_bits = i_bits; 150 dinfo->maxcode = MAXCODE(dinfo->n_bits); 166 * The given value must be less than n_bits wide.
|
/external/opencv3/3rdparty/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;
|
/external/v8/src/mips/ |
disasm-mips.cc | 89 void PrintPCImm16(Instruction* instr, int delta_pc, int n_bits); 96 void PrintPCImm21(Instruction* instr, int delta_pc, int n_bits); 99 void PrintPCImm26(Instruction* instr, int delta_pc, int n_bits); 296 // PC + delta_pc + (offset << n_bits) 297 void Decoder::PrintPCImm16(Instruction* instr, int delta_pc, int n_bits) { 302 delta_pc + (offset << n_bits))); 357 // PC + delta_pc + (offset << n_bits) 358 void Decoder::PrintPCImm21(Instruction* instr, int delta_pc, int n_bits) { 366 delta_pc + (imm21 << n_bits))); 391 // PC + delta_pc + (offset << n_bits) 573 int n_bits = 0; local 631 int n_bits = 0; local 662 int n_bits = 0; local [all...] |
/external/wpa_supplicant_8/src/utils/ |
radiotap_iter.h | 22 int n_bits; member in struct:ieee80211_radiotap_namespace
|
/external/v8/src/mips64/ |
disasm-mips64.cc | 89 void PrintPCImm16(Instruction* instr, int delta_pc, int n_bits); 96 void PrintPCImm21(Instruction* instr, int delta_pc, int n_bits); 99 void PrintPCImm26(Instruction* instr, int delta_pc, int n_bits); 299 // PC + delta_pc + (offset << n_bits) 300 void Decoder::PrintPCImm16(Instruction* instr, int delta_pc, int n_bits) { 305 delta_pc + (offset << n_bits))); 360 // PC + delta_pc + (offset << n_bits) 361 void Decoder::PrintPCImm21(Instruction* instr, int delta_pc, int n_bits) { 369 delta_pc + (imm21 << n_bits))); 394 // PC + delta_pc + (offset << n_bits) 588 int n_bits = 0; local 646 int n_bits = 0; local 677 int n_bits = 0; local [all...] |
/external/dbus/dbus/ |
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_length (decoded)) [all...] |
/external/valgrind/cachegrind/ |
cg_branchpred.c | 87 #define N_BITS (N_HIST_BITS + N_IADD_BITS) 88 #define N_COUNTERS (1 << N_BITS)
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/ |
sbitmap.h | 88 unsigned int n_bits; /* Number of bits. */ member in struct:simple_bitmap_def 97 #define SBITMAP_SIZE(BITMAP) ((BITMAP)->n_bits)
|
/external/harfbuzz_ng/src/ |
hb-private.hh | 326 unsigned int n_bits = 0; 328 n_bits++; 331 return n_bits; 342 unsigned int n_bits = 0; 345 n_bits++; 348 return n_bits;
|