/third_party/node/deps/brotli/c/dec/ |
D | bit_reader.h | 64 BrotliBitReader* const br, uint32_t n_bits, uint32_t* val); 108 BrotliBitReader* const br, uint32_t n_bits) { in BrotliFillBitWindow() argument 110 if (!BROTLI_ALIGNED_READ && BROTLI_IS_CONSTANT(n_bits) && (n_bits <= 8)) { in BrotliFillBitWindow() 119 !BROTLI_ALIGNED_READ && BROTLI_IS_CONSTANT(n_bits) && (n_bits <= 16)) { in BrotliFillBitWindow() 137 if (!BROTLI_ALIGNED_READ && BROTLI_IS_CONSTANT(n_bits) && (n_bits <= 8)) { in BrotliFillBitWindow() 199 BrotliBitReader* const br, uint32_t n_bits) { in BrotliGetBits() argument 200 BrotliFillBitWindow(br, n_bits); in BrotliGetBits() 201 return (uint32_t)BrotliGetBitsUnmasked(br) & BitMask(n_bits); in BrotliGetBits() 207 BrotliBitReader* const br, uint32_t n_bits, uint32_t* val) { in BrotliSafeGetBits() argument 208 while (BrotliGetAvailableBits(br) < n_bits) { in BrotliSafeGetBits() [all …]
|
D | bit_reader.c | 58 uint32_t n_bits, uint32_t* val) { in BrotliSafeReadBits32Slow() argument 62 BROTLI_DCHECK(n_bits <= 32); in BrotliSafeReadBits32Slow() 63 BROTLI_DCHECK(n_bits > 24); in BrotliSafeReadBits32Slow() 66 !BrotliSafeReadBits(br, n_bits - 16, &high_val)) { in BrotliSafeReadBits32Slow()
|
/third_party/skia/third_party/externals/brotli/c/dec/ |
D | bit_reader.h | 64 BrotliBitReader* const br, uint32_t n_bits, uint32_t* val); 108 BrotliBitReader* const br, uint32_t n_bits) { in BrotliFillBitWindow() argument 110 if (!BROTLI_ALIGNED_READ && BROTLI_IS_CONSTANT(n_bits) && (n_bits <= 8)) { in BrotliFillBitWindow() 119 !BROTLI_ALIGNED_READ && BROTLI_IS_CONSTANT(n_bits) && (n_bits <= 16)) { in BrotliFillBitWindow() 137 if (!BROTLI_ALIGNED_READ && BROTLI_IS_CONSTANT(n_bits) && (n_bits <= 8)) { in BrotliFillBitWindow() 199 BrotliBitReader* const br, uint32_t n_bits) { in BrotliGetBits() argument 200 BrotliFillBitWindow(br, n_bits); in BrotliGetBits() 201 return (uint32_t)BrotliGetBitsUnmasked(br) & BitMask(n_bits); in BrotliGetBits() 207 BrotliBitReader* const br, uint32_t n_bits, uint32_t* val) { in BrotliSafeGetBits() argument 208 while (BrotliGetAvailableBits(br) < n_bits) { in BrotliSafeGetBits() [all …]
|
D | bit_reader.c | 58 uint32_t n_bits, uint32_t* val) { in BrotliSafeReadBits32Slow() argument 62 BROTLI_DCHECK(n_bits <= 32); in BrotliSafeReadBits32Slow() 63 BROTLI_DCHECK(n_bits > 24); in BrotliSafeReadBits32Slow() 66 !BrotliSafeReadBits(br, n_bits - 16, &high_val)) { in BrotliSafeReadBits32Slow()
|
/third_party/skia/third_party/externals/brotli/c/enc/ |
D | write_bits.h | 34 static BROTLI_INLINE void BrotliWriteBits(size_t n_bits, in BrotliWriteBits() argument 38 BROTLI_LOG(("WriteBits %2d 0x%08x%08x %10d\n", (int)n_bits, in BrotliWriteBits() 41 BROTLI_DCHECK((bits >> n_bits) == 0); in BrotliWriteBits() 42 BROTLI_DCHECK(n_bits <= 56); in BrotliWriteBits() 54 *pos += n_bits; in BrotliWriteBits() 64 for (bits_left_to_write = n_bits + bits_reserved_in_first_byte; in BrotliWriteBits() 71 *pos += n_bits; in BrotliWriteBits()
|
D | compress_fragment.c | 345 static void UpdateBits(size_t n_bits, uint32_t bits, size_t pos, in UpdateBits() argument 347 while (n_bits > 0) { in UpdateBits() 350 size_t n_changed_bits = BROTLI_MIN(size_t, n_bits, 8 - n_unchanged_bits); in UpdateBits() 358 n_bits -= n_changed_bits; in UpdateBits()
|
/third_party/node/deps/brotli/c/enc/ |
D | write_bits.h | 34 static BROTLI_INLINE void BrotliWriteBits(size_t n_bits, in BrotliWriteBits() argument 38 BROTLI_LOG(("WriteBits %2d 0x%08x%08x %10d\n", (int)n_bits, in BrotliWriteBits() 41 BROTLI_DCHECK((bits >> n_bits) == 0); in BrotliWriteBits() 42 BROTLI_DCHECK(n_bits <= 56); in BrotliWriteBits() 54 *pos += n_bits; in BrotliWriteBits() 64 for (bits_left_to_write = n_bits + bits_reserved_in_first_byte; in BrotliWriteBits() 71 *pos += n_bits; in BrotliWriteBits()
|
D | compress_fragment.c | 345 static void UpdateBits(size_t n_bits, uint32_t bits, size_t pos, in UpdateBits() argument 347 while (n_bits > 0) { in UpdateBits() 350 size_t n_changed_bits = BROTLI_MIN(size_t, n_bits, 8 - n_unchanged_bits); in UpdateBits() 358 n_bits -= n_changed_bits; in UpdateBits()
|
/third_party/mesa3d/src/util/tests/ |
D | fast_idiv_by_const_test.cpp | 273 unsigned n_bits = bounded ? util_logbase2_64(MAX2(n, 1)) + 1 : bits; in random_udiv_add_sat_test() local 276 util_compute_fast_udiv_info(d, n_bits, bits); in random_udiv_add_sat_test() 290 unsigned n_bits = bounded ? util_logbase2_64(MAX2(n, 1)) + 1: bits; in random_udiv_mul_add_test() local 293 util_compute_fast_udiv_info(d, n_bits, bits); in random_udiv_mul_add_test() 321 for (unsigned n_bits = 1; n_bits <= 8; n_bits++) { in TEST() local 323 util_compute_fast_udiv_info(d, n_bits, 8); in TEST() 325 for (unsigned n = 0; n < (1u << n_bits); n++) in TEST() 335 for (unsigned n_bits = 1; n_bits <= 8; n_bits++) { in TEST() local 337 util_compute_fast_udiv_info(d, n_bits, 8); in TEST() 339 for (unsigned n = 0; n < (1u << n_bits); n++) in TEST()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | wrgif.c | 48 #define MAXCODE(n_bits) (((code_int)1 << (n_bits)) - 1) argument 77 int n_bits; /* current number of bits/code */ member 141 dinfo->cur_bits += dinfo->n_bits; in output() 155 dinfo->n_bits++; in output() 156 if (dinfo->n_bits == MAX_LZW_BITS) in output() 159 dinfo->maxcode = MAXCODE(dinfo->n_bits); in output() 183 dinfo->n_bits = dinfo->init_bits; /* reset code size */ in clear_block() 184 dinfo->maxcode = MAXCODE(dinfo->n_bits); in clear_block() 193 dinfo->n_bits = dinfo->init_bits = i_bits; in compress_init() 194 dinfo->maxcode = MAXCODE(dinfo->n_bits); in compress_init()
|
/third_party/skia/third_party/externals/libwebp/src/utils/ |
D | bit_writer_utils.h | 126 void VP8LPutBitsInternal(VP8LBitWriter* const bw, uint32_t bits, int n_bits); 134 uint32_t bits, int n_bits) { in VP8LPutBits() argument 136 if (n_bits > 0) { in VP8LPutBits() 141 bw->used_ += n_bits; in VP8LPutBits() 144 VP8LPutBitsInternal(bw, bits, n_bits); in VP8LPutBits()
|
D | bit_writer_utils.c | 294 void VP8LPutBitsInternal(VP8LBitWriter* const bw, uint32_t bits, int n_bits) { in VP8LPutBitsInternal() argument 295 assert(n_bits <= 32); in VP8LPutBitsInternal() 298 if (n_bits > 0) { in VP8LPutBitsInternal() 303 if (used + n_bits >= VP8L_WRITER_MAX_BITS) { in VP8LPutBitsInternal() 308 n_bits -= shift; in VP8LPutBitsInternal() 310 assert(n_bits <= VP8L_WRITER_MAX_BITS); in VP8LPutBitsInternal() 330 bw->used_ = used + n_bits; in VP8LPutBitsInternal()
|
D | bit_reader_utils.c | 208 uint32_t VP8LReadBits(VP8LBitReader* const br, int n_bits) { in VP8LReadBits() argument 209 assert(n_bits >= 0); in VP8LReadBits() 211 if (!br->eos_ && n_bits <= VP8L_MAX_NUM_BIT_READ) { in VP8LReadBits() 212 const uint32_t val = VP8LPrefetchBits(br) & kBitMask[n_bits]; in VP8LReadBits() 213 const int new_bits = br->bit_pos_ + n_bits; in VP8LReadBits()
|
/third_party/mesa3d/src/mesa/main/ |
D | texcompress_bptc_tmp.h | 56 uint8_t n_bits; member 319 int n_bits) in extract_bits() argument 323 int n_bits_in_byte = MIN2(n_bits, 8 - bit_index); in extract_bits() 331 n_bits -= n_bits_in_byte; in extract_bits() 333 if (n_bits <= 0) in extract_bits() 339 n_bits_in_byte = MIN2(n_bits, 8); in extract_bits() 345 int n_bits) in expand_component() argument 350 return byte << (8 - n_bits) | (byte >> (2 * n_bits - 8)); in expand_component() 886 value = extract_bits(block, bit_offset, bitfield->n_bits); in extract_float_endpoints() 887 bit_offset += bitfield->n_bits; in extract_float_endpoints() [all …]
|
/third_party/node/deps/v8/src/diagnostics/loong64/ |
D | disasm-loong64.cc | 294 int n_bits = 2; in PrintPCOffs16() local 296 int target = ((offs << n_bits) << (32 - kOffsLowBits - n_bits)) >> in PrintPCOffs16() 297 (32 - kOffsLowBits - n_bits); in PrintPCOffs16() 304 int n_bits = 2; in PrintPCOffs21() local 307 ((offs << n_bits) << (32 - kOffsLowBits - kOffs21HighBits - n_bits)) >> in PrintPCOffs21() 308 (32 - kOffsLowBits - kOffs21HighBits - n_bits); in PrintPCOffs21() 315 int n_bits = 2; in PrintPCOffs26() local 318 ((offs << n_bits) << (32 - kOffsLowBits - kOffs26HighBits - n_bits)) >> in PrintPCOffs26() 319 (32 - kOffsLowBits - kOffs26HighBits - n_bits); in PrintPCOffs26()
|
/third_party/node/deps/v8/src/diagnostics/mips/ |
D | disasm-mips.cc | 96 void PrintPCImm16(Instruction* instr, int delta_pc, int n_bits); 103 void PrintPCImm21(Instruction* instr, int delta_pc, int n_bits); 106 void PrintPCImm26(Instruction* instr, int delta_pc, int n_bits); 326 void Decoder::PrintPCImm16(Instruction* instr, int delta_pc, int n_bits) { in PrintPCImm16() argument 331 delta_pc + (offset << n_bits))); in PrintPCImm16() 380 void Decoder::PrintPCImm21(Instruction* instr, int delta_pc, int n_bits) { in PrintPCImm21() argument 388 delta_pc + (imm21 << n_bits))); in PrintPCImm21() 412 void Decoder::PrintPCImm26(Instruction* instr, int delta_pc, int n_bits) { in PrintPCImm26() argument 420 delta_pc + (imm26 << n_bits))); in PrintPCImm26() 728 int n_bits = 0; in FormatOption() local [all …]
|
/third_party/node/deps/v8/src/diagnostics/mips64/ |
D | disasm-mips64.cc | 98 void PrintPCImm16(Instruction* instr, int delta_pc, int n_bits); 105 void PrintPCImm21(Instruction* instr, int delta_pc, int n_bits); 108 void PrintPCImm26(Instruction* instr, int delta_pc, int n_bits); 357 void Decoder::PrintPCImm16(Instruction* instr, int delta_pc, int n_bits) { in PrintPCImm16() argument 362 delta_pc + (offset << n_bits))); in PrintPCImm16() 411 void Decoder::PrintPCImm21(Instruction* instr, int delta_pc, int n_bits) { in PrintPCImm21() argument 419 delta_pc + (imm21 << n_bits))); in PrintPCImm21() 443 void Decoder::PrintPCImm26(Instruction* instr, int delta_pc, int n_bits) { in PrintPCImm26() argument 451 delta_pc + (imm26 << n_bits))); in PrintPCImm26() 769 int n_bits = 0; in FormatOption() local [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | wma.c | 397 int n_bits = 8; in ff_wma_get_large_val() local 400 n_bits += 8; in ff_wma_get_large_val() 402 n_bits += 8; in ff_wma_get_large_val() 404 n_bits += 7; in ff_wma_get_large_val() 407 return get_bits_long(gb, n_bits); in ff_wma_get_large_val()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_bignum_random.function | 277 size_t n_bits; 292 n_bits = mbedtls_mpi_core_bitlen(upper_bound, limbs); 298 if (n_bits <= 5) { 303 stats_len = n_bits; 326 for (b = 0; b < n_bits; b++) { 348 for (b = 0; b < n_bits; b++) { 358 if (statistically_safe_all_the_way || b != n_bits - 1) {
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
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()
|
D | radiotap_iter.h | 22 int n_bits; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
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()
|
D | radiotap_iter.h | 22 int n_bits; member
|
/third_party/mbedtls/library/ |
D | ecp_invasive.h | 71 int mbedtls_ecp_gen_privkey_mx(size_t n_bits,
|
D | bignum_core.c | 582 size_t n_bits = mbedtls_mpi_core_bitlen(N, limbs); in mbedtls_mpi_core_random() local 583 size_t n_bytes = (n_bits + 7) / 8; in mbedtls_mpi_core_random() 617 mbedtls_mpi_core_shift_r(X, limbs, 8 * n_bytes - n_bits); in mbedtls_mpi_core_random()
|