Searched refs:bit_pos (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/googletest/googlemock/src/ |
H A D | gmock-internal-utils.cc | 233 int bit_pos = 0; in Base64Unescape() local 244 if (bit_pos == 0) { in Base64Unescape() 246 bit_pos = 6; in Base64Unescape() 248 dst |= static_cast<char>(src_bin >> (bit_pos - 2)); in Base64Unescape() 250 dst = static_cast<char>(src_bin << (10 - bit_pos)); in Base64Unescape() 251 bit_pos = (bit_pos + 6) % 8; in Base64Unescape()
|
/freebsd/sys/contrib/xz-embedded/linux/lib/xz/ |
H A D | xz_dec_bcj.c | 204 uint32_t bit_pos; in bcj_ia64() local 224 for (slot = 0, bit_pos = 5; slot < 3; ++slot, bit_pos += 41) { in bcj_ia64() 228 byte_pos = bit_pos >> 3; in bcj_ia64() 229 bit_res = bit_pos & 7; in bcj_ia64()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM64/ |
H A D | EmulateInstructionARM64.cpp | 1171 integer bit_pos = UInt(b5:b40); in EmulateTBZ() 1179 uint32_t bit_pos = (Bit32(opcode, 31) << 6) | (Bits32(opcode, 23, 19)); in EmulateTBZ() local 1188 if (m_ignore_conditions || Bit32(operand, bit_pos) == bit_val) { in EmulateTBZ()
|
/freebsd/sys/dev/ixl/ |
H A D | ixl_pf_main.c | 3312 ixl_phy_type_string(u32 bit_pos, bool ext) in ixl_phy_type_string() argument 3359 if (ext && bit_pos > 7) return "Invalid_Ext"; in ixl_phy_type_string() 3360 if (bit_pos > 31) return "Invalid"; in ixl_phy_type_string() 3362 return (ext) ? ext_phy_types_str[bit_pos] : phy_types_str[bit_pos]; in ixl_phy_type_string() 4337 u8 bit_pos, int *is_set) in ixl_get_fec_config() argument 4356 *is_set = !!(abilities->fec_cfg_curr_mod_ext_info & bit_pos); in ixl_get_fec_config() 4362 u8 bit_pos, int set) in ixl_set_fec_config() argument 4371 config.fec_config = abilities->fec_cfg_curr_mod_ext_info & ~(bit_pos); in ixl_set_fec_config() 4373 config.fec_config |= bit_pos; in ixl_set_fec_config()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | Scalar.h | 76 bool SignExtend(uint32_t bit_pos);
|
/freebsd/contrib/ldns/ |
H A D | host2str.c | 870 uint16_t bit_pos; in ldns_rdf2buffer_str_nsec_fmt() local 880 for (bit_pos = 0; bit_pos < (bitmap_length) * 8; bit_pos++) { in ldns_rdf2buffer_str_nsec_fmt() 881 if (! ldns_get_bit(&data[pos], bit_pos)) { in ldns_rdf2buffer_str_nsec_fmt() 884 type = 256 * (uint16_t) window_block_nr + bit_pos; in ldns_rdf2buffer_str_nsec_fmt()
|
/freebsd/sys/dev/cxgbe/cudbg/ |
H A D | cudbg_lib.c | 1727 int bit_pos = 0; in check_valid() local 1731 bit_pos = 176; in check_valid() 1734 bit_pos = 141; in check_valid() 1737 bit_pos = 89; in check_valid() 1740 index = bit_pos / 32; in check_valid() 1741 bit = bit_pos % 32; in check_valid()
|
/freebsd/sys/dev/vnic/ |
H A D | nicvf_queues.c | 123 uint64_t reg, int bit_pos, int bits, int val) in nicvf_poll_reg() argument 130 bit_mask = (bit_mask << bit_pos); in nicvf_poll_reg() 134 if (((reg_val & bit_mask) >> bit_pos) == val) in nicvf_poll_reg()
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_filter.c | 1213 set_tcb_tflag(struct adapter *sc, int tid, u_int bit_pos, u_int val, in set_tcb_tflag() argument 1217 return (set_tcb_field(sc, tid, W_TCB_T_FLAGS, 1ULL << bit_pos, in set_tcb_tflag() 1218 (uint64_t)val << bit_pos, no_reply)); in set_tcb_tflag()
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | mac.c | 2107 u32 bit_pos = IEEE80211_EHT_PPE_THRES_INFO_HEADER_SIZE, val; in ath12k_mac_set_eht_ppe_threshold() local 2124 val |= (((ppe_thres[bit_pos / 8] >> in ath12k_mac_set_eht_ppe_threshold() 2125 (bit_pos % 8)) & 0x1) << i); in ath12k_mac_set_eht_ppe_threshold() 2126 bit_pos++; in ath12k_mac_set_eht_ppe_threshold()
|