/freebsd/sys/contrib/zstd/doc/educational_decoder/ |
H A D | zstd_decompress.c | 99 static inline u64 IO_read_bits(istream_t *const in, const int num_bits); 101 static inline void IO_rewind_bits(istream_t *const in, const int num_bits); 137 static inline u64 read_bits_LE(const u8 *src, const int num_bits, 163 u8 *num_bits; member 211 u8 *num_bits; member 1511 dst->num_bits = malloc(size); in HUF_copy_dtable() 1512 if (!dst->symbols || !dst->num_bits) { in HUF_copy_dtable() 1517 memcpy(dst->num_bits, src->num_bits, size); in HUF_copy_dtable() 1530 dst->num_bits = malloc(size); in FSE_copy_dtable() 1532 if (!dst->symbols || !dst->num_bits || !dst->new_state_base) { in FSE_copy_dtable() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_thread.cpp | 136 tag_t Thread::GenerateRandomTag(uptr num_bits) { in GenerateRandomTag() 137 DCHECK_GT(num_bits, 0); in GenerateRandomTag() 141 const uptr tag_mask = (1ULL << num_bits) - 1; in GenerateRandomTag() 150 random_buffer_ >>= num_bits; in GenerateRandomTag() 135 GenerateRandomTag(uptr num_bits) GenerateRandomTag() argument
|
H A D | hwasan_linux.cpp | 143 unsigned long num_bits = 0; in CanUseTaggingAbi() local 152 reinterpret_cast<uptr>(&num_bits)))) in CanUseTaggingAbi() 155 if (num_bits < kTagBits) in CanUseTaggingAbi()
|
H A D | hwasan_thread.h | 60 tag_t GenerateRandomTag(uptr num_bits = kTagBits);
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_recp.c | 50 recp->num_bits = BN_num_bits(d); in BN_RECP_CTX_set() 115 j = recp->num_bits << 1; in BN_div_recp() 132 if (!BN_rshift(a, m, recp->num_bits)) in BN_div_recp() 136 if (!BN_rshift(d, b, i - recp->num_bits)) in BN_div_recp()
|
H A D | bn_local.h | 276 int num_bits; member
|
/freebsd/usr.bin/gzip/ |
H A D | unlz.c | 173 lz_rd_decode(struct lz_range_decoder *rd, int num_bits) in lz_rd_decode() argument 177 for (int i = num_bits; i > 0; i--) { in lz_rd_decode() 219 lz_rd_decode_tree(struct lz_range_decoder *rd, int *bm, int num_bits) in lz_rd_decode_tree() argument 223 for (int i = 0; i < num_bits; i++) in lz_rd_decode_tree() 226 return symbol - (1 << num_bits); in lz_rd_decode_tree() 230 lz_rd_decode_tree_reversed(struct lz_range_decoder *rd, int *bm, int num_bits) in lz_rd_decode_tree_reversed() argument 232 unsigned symbol = lz_rd_decode_tree(rd, bm, num_bits); in lz_rd_decode_tree_reversed() 235 for (int i = 0; i < num_bits; i++) { in lz_rd_decode_tree_reversed()
|
/freebsd/sys/contrib/openzfs/module/icp/algs/edonr/ |
H A D | edonr.c | 260 uint64_t *data64, num_bits; in EdonRFinal() local 264 num_bits = state->bits_processed + state->unprocessed_bits; in EdonRFinal() 278 st_swap64(num_bits, data64 + 15); in EdonRFinal() 280 data64[15] = num_bits; in EdonRFinal() 287 st_swap64(num_bits, data64 + 31); in EdonRFinal() 289 data64[31] = num_bits; in EdonRFinal()
|
/freebsd/contrib/opencsd/decoder/source/ptm/ |
H A D | trc_pkt_proc_ptm.cpp | 1082 uint8_t num_bits = 0x7; // number of bits in the 1st byte (thumb); in extractAddress() local 1094 num_bits = 4; in extractAddress() 1098 num_bits = 5; in extractAddress() 1103 num_bits = 3; in extractAddress() 1109 num_bits = 7; in extractAddress() 1114 num_bits = 6; in extractAddress() 1121 total_bits += num_bits; in extractAddress()
|
/freebsd/sys/arm64/rockchip/ |
H A D | rk_pcie.c | 333 int num_bits, uint64_t pa) in rk_pcie_map_out_atu() argument 341 KASSERT(num_bits >= 7 && num_bits <= 63, in rk_pcie_map_out_atu() 342 ("Bit width of region is invalid: %d\n", num_bits)); in rk_pcie_map_out_atu() 343 KASSERT(max_size <= (1ULL << (num_bits + 1)), in rk_pcie_map_out_atu() 344 ("Bit width is invalid for given region[%d]: %d\n", idx, num_bits)); in rk_pcie_map_out_atu() 347 addr0 |= num_bits; in rk_pcie_map_out_atu() 380 rk_pcie_map_in_atu(struct rk_pcie_softc *sc, int idx, int num_bits, uint64_t pa) in rk_pcie_map_in_atu() argument 386 KASSERT(num_bits >= 7 && num_bits <= 63, in rk_pcie_map_in_atu() 387 ("Bit width of region is invalid: %d\n", num_bits)); in rk_pcie_map_in_atu() 390 addr0 |= num_bits; in rk_pcie_map_in_atu()
|
/freebsd/sys/contrib/alpine-hal/ |
H A D | al_hal_serdes_25g.c | 669 uint8_t num_bits = 0; in al_serdes_25g_eye_diag_run() local 687 num_bits = al_min_t(uint8_t, bits_left_curr_sample, bits_left_curr_byte); in al_serdes_25g_eye_diag_run() 689 buf[(y * x_samples) + x] <<= num_bits; in al_serdes_25g_eye_diag_run() 691 lsb = msb - num_bits + 1; in al_serdes_25g_eye_diag_run() 694 total_bits -= num_bits; in al_serdes_25g_eye_diag_run() 696 bits_left_curr_byte -= num_bits; in al_serdes_25g_eye_diag_run() 702 bits_left_curr_sample -= num_bits; in al_serdes_25g_eye_diag_run()
|
/freebsd/sys/dev/ice/ |
H A D | ice_bitops.h | 424 * @num_bits: number of bits to set 426 * This function sets bits in a bitmap from pos to (pos + num_bits) - 1. 431 ice_bitmap_set(ice_bitmap_t *dst, u16 pos, u16 num_bits) in ice_bitmap_set() argument 435 for (i = pos; i < pos + num_bits; i++) in ice_bitmap_set()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/API/ |
H A D | SBProcess.h | 518 SetAddressableBits(AddressMaskType type, uint32_t num_bits,
|
/freebsd/contrib/llvm-project/lldb/source/API/ |
H A D | SBProcess.cpp | 1397 void SBProcess::SetAddressableBits(AddressMaskType type, uint32_t num_bits, in SetAddressableBits() argument 1399 LLDB_INSTRUMENT_VA(this, type, num_bits, addr_range); in SetAddressableBits() 1401 SetAddressMask(type, AddressableBits::AddressableBitToMask(num_bits), in SetAddressableBits()
|
/freebsd/crypto/heimdal/lib/hx509/ |
H A D | crypto.c | 43 unsigned long num_bits; member 841 if (ctx->num_bits) in rsa_generate_private_key() 842 bits = ctx->num_bits; in rsa_generate_private_key() 1888 ctx->num_bits = bits; in _hx509_generate_private_key_bits()
|
/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | ValueObject.cpp | 1262 uint64_t num_bits = 0; in SetValueFromInteger() local 1264 num_bits = temp.value(); in SetValueFromInteger() 1265 SetValueFromInteger(llvm::APInt(num_bits, int_val), error); in SetValueFromInteger()
|
/freebsd/sys/netlink/ |
H A D | netlink_snl.h | 830 uint32_t num_bits; member
|