/external/brotli/c/enc/ |
H A D | write_bits.h | 39 static BROTLI_INLINE void BrotliWriteBits(size_t n_bits, argument 52 printf("WriteBits %2d 0x%016llx %10d\n", n_bits, bits, *pos); 54 assert((bits >> n_bits) == 0); 55 assert(n_bits <= 56); 58 *pos += n_bits; 66 for (bits_left_to_write = n_bits + bits_reserved_in_first_byte; 73 *pos += n_bits;
|
H A D | compress_fragment.c | 346 static void UpdateBits(size_t n_bits, uint32_t bits, size_t pos, argument 348 while (n_bits > 0) { 351 size_t n_changed_bits = BROTLI_MIN(size_t, n_bits, 8 - n_unchanged_bits); 359 n_bits -= n_changed_bits;
|
/external/brotli/c/dec/ |
H A D | bit_reader.h | 157 /* Guarantees that there are at least n_bits + 1 bits in accumulator. 159 n_bits should be in the range [1..24] for regular build. For portable 162 BrotliBitReader* const br, uint32_t n_bits) { 164 if (!BROTLI_ALIGNED_READ && IS_CONSTANT(n_bits) && (n_bits <= 8)) { 172 } else if (!BROTLI_ALIGNED_READ && IS_CONSTANT(n_bits) && (n_bits <= 16)) { 190 if (!BROTLI_ALIGNED_READ && IS_CONSTANT(n_bits) && (n_bits <= 8)) { 249 BrotliBitReader* const br, uint32_t n_bits) { 161 BrotliFillBitWindow( BrotliBitReader* const br, uint32_t n_bits) argument 248 BrotliGetBits( BrotliBitReader* const br, uint32_t n_bits) argument 256 BrotliSafeGetBits( BrotliBitReader* const br, uint32_t n_bits, uint32_t* val) argument 268 BrotliDropBits( BrotliBitReader* const br, uint32_t n_bits) argument 288 BrotliTakeBits( BrotliBitReader* const br, uint32_t n_bits, uint32_t* val) argument 298 BrotliReadBits( BrotliBitReader* const br, uint32_t n_bits) argument 318 BrotliSafeReadBits( BrotliBitReader* const br, uint32_t n_bits, uint32_t* val) argument [all...] |
/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/boringssl/src/crypto/fipsmodule/bn/ |
H A D | montgomery_inv.c | 172 unsigned n_bits = BN_num_bits(n); local 173 assert(n_bits != 0); 174 if (n_bits == 1) { 179 assert(p > n_bits); 180 if (!BN_set_bit(r, n_bits)) { 191 for (unsigned i = n_bits; i < p; ++i) {
|
/external/webp/src/utils/ |
H A D | bit_writer_utils.h | 126 void VP8LPutBitsInternal(VP8LBitWriter* const bw, uint32_t bits, int n_bits); 134 uint32_t bits, int n_bits) { 136 if (n_bits > 0) { 141 bw->used_ += n_bits; 144 VP8LPutBitsInternal(bw, bits, n_bits); 133 VP8LPutBits(VP8LBitWriter* const bw, uint32_t bits, int n_bits) argument
|
H A D | bit_writer_utils.c | 293 void VP8LPutBitsInternal(VP8LBitWriter* const bw, uint32_t bits, int n_bits) { argument 294 assert(n_bits <= 32); 297 if (n_bits > 0) { 302 if (used + n_bits >= VP8L_WRITER_MAX_BITS) { 307 n_bits -= shift; 309 assert(n_bits <= VP8L_WRITER_MAX_BITS); 329 bw->used_ = used + n_bits;
|
H A D | bit_reader_utils.c | 207 uint32_t VP8LReadBits(VP8LBitReader* const br, int n_bits) { argument 208 assert(n_bits >= 0); 209 // Flag an error if end_of_stream or n_bits is more than allowed limit. 210 if (!br->eos_ && n_bits <= VP8L_MAX_NUM_BIT_READ) { 211 const uint32_t val = VP8LPrefetchBits(br) & kBitMask[n_bits]; 212 const int new_bits = br->bit_pos_ + n_bits;
|
H A D | bit_reader_utils.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/linux-kselftest/tools/testing/selftests/bpf/ |
H A D | test_lpm_map.c | 31 size_t n_bits; member in struct:tlpm_node 37 size_t n_bits); 41 size_t n_bits) 46 n = (n_bits + 7) / 8; 49 node = tlpm_match(list, key, n_bits); 50 if (node && node->n_bits == n_bits) { 55 /* add new entry with @key/@n_bits to @list and return new head */ 61 node->n_bits = n_bits; 39 tlpm_add(struct tlpm_node *list, const uint8_t *key, size_t n_bits) argument 79 tlpm_match(struct tlpm_node *list, const uint8_t *key, size_t n_bits) argument 108 tlpm_delete(struct tlpm_node *list, const uint8_t *key, size_t n_bits) argument [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/libjpeg-turbo/ |
H A D | wrgif.c | 56 int n_bits; /* current number of bits/code */ member in struct:__anon11719 57 int maxcode; /* maximum code, given n_bits */ 75 #define MAXCODE(n_bits) ((1 << (n_bits)) - 1) 109 /* Emit a code of n_bits bits */ 113 dinfo->cur_bits += dinfo->n_bits; 150 dinfo->n_bits = i_bits; 151 dinfo->maxcode = MAXCODE(dinfo->n_bits); 167 * The given value must be less than n_bits wide.
|
/external/v8/src/mips/ |
H A 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); 296 // PC + delta_pc + (offset << n_bits) 297 void Decoder::PrintPCImm16(Instruction* instr, int delta_pc, int n_bits) { argument 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) { argument 366 delta_pc + (imm21 << n_bits))); 391 // PC + delta_pc + (offset << n_bits) 392 PrintPCImm26(Instruction* instr, int delta_pc, int n_bits) argument 573 int n_bits = 0; local 631 int n_bits = 0; local 662 int n_bits = 0; local [all...] |
/external/v8/src/mips64/ |
H A 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); 299 // PC + delta_pc + (offset << n_bits) 300 void Decoder::PrintPCImm16(Instruction* instr, int delta_pc, int n_bits) { argument 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) { argument 369 delta_pc + (imm21 << n_bits))); 395 // PC + delta_pc + (offset << n_bits) 396 PrintPCImm26(Instruction* instr, int delta_pc, int n_bits) argument 589 int n_bits = 0; local 647 int n_bits = 0; local 678 int n_bits = 0; local [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | texcompress_bptc.c | 59 uint8_t n_bits; member in struct:bptc_float_bitfield 322 int n_bits) 326 int n_bits_in_byte = MIN2(n_bits, 8 - bit_index); 334 n_bits -= n_bits_in_byte; 336 if (n_bits <= 0) 342 n_bits_in_byte = MIN2(n_bits, 8); 348 int n_bits) 353 return byte << (8 - n_bits) | (byte >> (2 * n_bits - 8)); 703 int n_bits) 320 extract_bits(const uint8_t *block, int offset, int n_bits) argument 347 expand_component(uint8_t byte, int n_bits) argument 702 sign_extend(int32_t value, int n_bits) argument 970 write_bits(struct bit_writer *writer, int n_bits, int value) argument [all...] |
/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 | 339 unsigned int n_bits = 0; 341 n_bits++; 344 return n_bits; 355 unsigned int n_bits = 0; 358 n_bits++; 361 return n_bits;
|
/external/valgrind/coregrind/m_gdbserver/ |
H A D | m_gdbserver.c | 1511 Int n_bits = VG_(strlen) (ws) - 2; local 1514 for (j = 0; j < n_bits; j++) { 1516 else if ('1' == parsews[j+2]) *szB |= (1 << (n_bits-j-1));
|
/external/vixl/test/aarch64/ |
H A D | test-simulator-aarch64.cc | 263 const unsigned n_bits = sizeof(Tn) * 8; local 270 n_bits); 293 n_bits / 4, 985 const unsigned n_bits = sizeof(Tn) * 8; local 992 n_bits); 1031 n_bits / 4, 1074 const unsigned n_bits = sizeof(Tn) * 8; local 1081 n_bits); 1102 n_bits / 4, 1142 const unsigned n_bits local 1235 const unsigned n_bits = sizeof(Tn) * 8; local [all...] |
/external/webp/src/enc/ |
H A D | vp8l_enc.c | 707 int n_bits) { 710 VP8LPutBits(bw, (bits << depth) | symbol, depth + n_bits); local 749 int bits, n_bits; local 753 VP8LPrefixEncode(v->len, &code, &n_bits, &bits); 754 WriteHuffmanCodeWithExtraBits(bw, codes, 256 + code, bits, n_bits); 760 VP8LPrefixEncode(distance, &code, &n_bits, &bits); 762 VP8LPutBits(bw, bits, n_bits); 702 WriteHuffmanCodeWithExtraBits( VP8LBitWriter* const bw, const HuffmanTreeCode* const code, int code_index, int bits, int n_bits) argument
|