/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 | 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 | 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 | 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.h | 117 void VP8LPutBitsInternal(VP8LBitWriter* const bw, uint32_t bits, int n_bits); 125 uint32_t bits, int n_bits) { in VP8LPutBits() argument 127 if (n_bits > 0) { in VP8LPutBits() 132 bw->used_ += n_bits; in VP8LPutBits() 135 VP8LPutBitsInternal(bw, bits, n_bits); in VP8LPutBits()
|
D | bit_writer.c | 266 void VP8LPutBitsInternal(VP8LBitWriter* const bw, uint32_t bits, int n_bits) { in VP8LPutBitsInternal() argument 267 assert(n_bits <= 32); in VP8LPutBitsInternal() 270 if (n_bits > 0) { in VP8LPutBitsInternal() 275 if (used + n_bits >= VP8L_WRITER_MAX_BITS) { in VP8LPutBitsInternal() 280 n_bits -= shift; in VP8LPutBitsInternal() 282 assert(n_bits <= VP8L_WRITER_MAX_BITS); in VP8LPutBitsInternal() 302 bw->used_ = used + n_bits; in VP8LPutBitsInternal()
|
D | bit_reader.c | 211 uint32_t VP8LReadBits(VP8LBitReader* const br, int n_bits) { in VP8LReadBits() argument 212 assert(n_bits >= 0); in VP8LReadBits() 214 if (!br->eos_ && n_bits <= VP8L_MAX_NUM_BIT_READ) { in VP8LReadBits() 215 const uint32_t val = VP8LPrefetchBits(br) & kBitMask[n_bits]; in VP8LReadBits() 216 const int new_bits = br->bit_pos_ + n_bits; in VP8LReadBits()
|
D | bit_reader.h | 142 uint32_t VP8LReadBits(VP8LBitReader* const br, int n_bits);
|
/external/opencv3/3rdparty/libwebp/utils/ |
D | bit_writer.c | 239 void VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits) { in VP8LWriteBits() argument 240 if (n_bits < 1) return; in VP8LWriteBits() 249 bw->bit_pos_ += n_bits; in VP8LWriteBits() 255 const int bits_left_to_write = n_bits - 8 + bits_reserved_in_first_byte; in VP8LWriteBits() 267 assert(n_bits <= 25); in VP8LWriteBits() 269 bw->bit_pos_ += n_bits; in VP8LWriteBits()
|
D | bit_reader.c | 188 uint32_t VP8LReadBits(VP8LBitReader* const br, int n_bits) { in VP8LReadBits() argument 189 assert(n_bits >= 0); in VP8LReadBits() 191 if (!br->eos_ && n_bits < MAX_NUM_BIT_READ) { in VP8LReadBits() 193 (uint32_t)(br->val_ >> br->bit_pos_) & kBitMask[n_bits]; in VP8LReadBits() 194 const int new_bits = br->bit_pos_ + n_bits; in VP8LReadBits()
|
D | bit_writer.h | 117 void VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits);
|
/external/libjpeg-turbo/ |
D | wrgif.c | 55 int n_bits; /* current number of bits/code */ member 74 #define MAXCODE(n_bits) ((1 << (n_bits)) - 1) argument 112 dinfo->cur_bits += dinfo->n_bits; in output() 149 dinfo->n_bits = i_bits; in compress_init() 150 dinfo->maxcode = MAXCODE(dinfo->n_bits); in compress_init()
|
/external/v8/src/mips/ |
D | 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); 297 void Decoder::PrintPCImm16(Instruction* instr, int delta_pc, int n_bits) { in PrintPCImm16() argument 302 delta_pc + (offset << n_bits))); in PrintPCImm16() 358 void Decoder::PrintPCImm21(Instruction* instr, int delta_pc, int n_bits) { in PrintPCImm21() argument 366 delta_pc + (imm21 << n_bits))); in PrintPCImm21() 392 void Decoder::PrintPCImm26(Instruction* instr, int delta_pc, int n_bits) { in PrintPCImm26() argument 400 delta_pc + (imm26 << n_bits))); in PrintPCImm26() 573 int n_bits = 0; in FormatOption() local [all …]
|
/external/v8/src/mips64/ |
D | 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); 300 void Decoder::PrintPCImm16(Instruction* instr, int delta_pc, int n_bits) { in PrintPCImm16() argument 305 delta_pc + (offset << n_bits))); in PrintPCImm16() 361 void Decoder::PrintPCImm21(Instruction* instr, int delta_pc, int n_bits) { in PrintPCImm21() argument 369 delta_pc + (imm21 << n_bits))); in PrintPCImm21() 395 void Decoder::PrintPCImm26(Instruction* instr, int delta_pc, int n_bits) { in PrintPCImm26() argument 403 delta_pc + (imm26 << n_bits))); in PrintPCImm26() 588 int n_bits = 0; in FormatOption() local [all …]
|
/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/dbus/dbus/ |
D | dbus-sha.c | 560 int n_bits; in decode_compact_string() local 596 n_bits = 0; in decode_compact_string() 614 total_bits = n_bits + val; in decode_compact_string() 615 while (n_bits < total_bits) in decode_compact_string() 617 int byte_containing_next_bit = n_bits / 8; in decode_compact_string() 618 int bit_containing_next_bit = 7 - (n_bits % 8); in decode_compact_string() 638 ++n_bits; in decode_compact_string() 646 length_bytes = (n_bits / 8 + ((n_bits % 8) ? 1 : 0)); in decode_compact_string() 651 length_bytes, n_bits, _dbus_string_get_length (decoded)); in decode_compact_string()
|
/external/harfbuzz_ng/src/ |
D | hb-private.hh | 326 unsigned int n_bits = 0; in _hb_bit_storage() 328 n_bits++; in _hb_bit_storage() 331 return n_bits; in _hb_bit_storage() 342 unsigned int n_bits = 0; in _hb_ctz() 345 n_bits++; in _hb_ctz() 348 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 | 673 int n_bits) { in WriteHuffmanCodeWithExtraBits() argument 676 VP8LPutBits(bw, (bits << depth) | symbol, depth + n_bits); in WriteHuffmanCodeWithExtraBits() 715 int bits, n_bits; in StoreImageToBitMask() local 719 VP8LPrefixEncode(v->len, &code, &n_bits, &bits); in StoreImageToBitMask() 720 WriteHuffmanCodeWithExtraBits(bw, codes, 256 + code, bits, n_bits); in StoreImageToBitMask() 726 VP8LPrefixEncode(distance, &code, &n_bits, &bits); in StoreImageToBitMask() 728 VP8LPutBits(bw, bits, n_bits); in StoreImageToBitMask()
|