Home
last modified time | relevance | path

Searched refs:bit_pos (Results 1 – 11 of 11) sorted by relevance

/freebsd-14.2/contrib/googletest/googlemock/src/
H A Dgmock-internal-utils.cc232 int bit_pos = 0; in Base64Unescape() local
243 if (bit_pos == 0) { in Base64Unescape()
245 bit_pos = 6; in Base64Unescape()
247 dst |= static_cast<char>(src_bin >> (bit_pos - 2)); in Base64Unescape()
249 dst = static_cast<char>(src_bin << (10 - bit_pos)); in Base64Unescape()
250 bit_pos = (bit_pos + 6) % 8; in Base64Unescape()
/freebsd-14.2/contrib/xz/src/liblzma/simple/
H A Dia64.c33 uint32_t bit_pos = 5; in ia64_code() local
35 for (size_t slot = 0; slot < 3; ++slot, bit_pos += 41) { in ia64_code()
39 const size_t byte_pos = (bit_pos >> 3); in ia64_code()
40 const uint32_t bit_res = bit_pos & 0x7; in ia64_code()
/freebsd-14.2/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_dec_bcj.c204 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-14.2/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM64/
H A DEmulateInstructionARM64.cpp1169 integer bit_pos = UInt(b5:b40); in EmulateTBZ()
1177 uint32_t bit_pos = (Bit32(opcode, 31) << 6) | (Bits32(opcode, 23, 19)); in EmulateTBZ() local
1186 if (m_ignore_conditions || Bit32(operand, bit_pos) == bit_val) { in EmulateTBZ()
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/
H A DScalar.h75 bool SignExtend(uint32_t bit_pos);
/freebsd-14.2/sys/dev/ixl/
H A Dixl_pf_main.c3364 ixl_phy_type_string(u32 bit_pos, bool ext) in ixl_phy_type_string() argument
3411 if (ext && bit_pos > 7) return "Invalid_Ext"; in ixl_phy_type_string()
3412 if (bit_pos > 31) return "Invalid"; in ixl_phy_type_string()
3414 return (ext) ? ext_phy_types_str[bit_pos] : phy_types_str[bit_pos]; in ixl_phy_type_string()
4389 u8 bit_pos, int *is_set) in ixl_get_fec_config() argument
4408 *is_set = !!(abilities->fec_cfg_curr_mod_ext_info & bit_pos); in ixl_get_fec_config()
4414 u8 bit_pos, int set) in ixl_set_fec_config() argument
4423 config.fec_config = abilities->fec_cfg_curr_mod_ext_info & ~(bit_pos); in ixl_set_fec_config()
4425 config.fec_config |= bit_pos; in ixl_set_fec_config()
/freebsd-14.2/contrib/ldns/
H A Dhost2str.c870 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-14.2/sys/dev/cxgbe/cudbg/
H A Dcudbg_lib.c1728 int bit_pos = 0; in check_valid() local
1732 bit_pos = 176; in check_valid()
1735 bit_pos = 141; in check_valid()
1738 bit_pos = 89; in check_valid()
1741 index = bit_pos / 32; in check_valid()
1742 bit = bit_pos % 32; in check_valid()
/freebsd-14.2/sys/dev/vnic/
H A Dnicvf_queues.c123 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-14.2/sys/dev/cxgbe/
H A Dt4_filter.c1213 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-14.2/sys/contrib/dev/athk/ath12k/
H A Dmac.c2107 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()