Home
last modified time | relevance | path

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

/src/contrib/googletest/googlemock/src/
H A Dgmock-internal-utils.cc233 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()
/src/contrib/xz/src/liblzma/simple/
H A Dia64.c34 uint32_t bit_pos = 5; in ia64_code() local
36 for (size_t slot = 0; slot < 3; ++slot, bit_pos += 41) { in ia64_code()
40 const size_t byte_pos = (bit_pos >> 3); in ia64_code()
41 const uint32_t bit_res = bit_pos & 0x7; in ia64_code()
/src/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()
/src/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM64/
H A DEmulateInstructionARM64.cpp1171 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()
/src/sys/dev/aq/
H A Daq_main.c1047 int bit_pos = 0;
1053 bit_ffs_at(softc->vlan_tags, bit_pos, 4096, &vlan_tag);
1059 bit_pos = vlan_tag;
/src/contrib/llvm-project/lldb/include/lldb/Utility/
H A DScalar.h76 bool SignExtend(uint32_t bit_pos);
/src/sys/dev/ixl/
H A Dixl_pf_main.c3379 ixl_phy_type_string(u32 bit_pos, bool ext) in ixl_phy_type_string() argument
3426 if (ext && bit_pos > 7) return "Invalid_Ext"; in ixl_phy_type_string()
3427 if (bit_pos > 31) return "Invalid"; in ixl_phy_type_string()
3429 return (ext) ? ext_phy_types_str[bit_pos] : phy_types_str[bit_pos]; in ixl_phy_type_string()
4404 u8 bit_pos, int *is_set) in ixl_get_fec_config() argument
4423 *is_set = !!(abilities->fec_cfg_curr_mod_ext_info & bit_pos); in ixl_get_fec_config()
4429 u8 bit_pos, int set) in ixl_set_fec_config() argument
4438 config.fec_config = abilities->fec_cfg_curr_mod_ext_info & ~(bit_pos); in ixl_set_fec_config()
4440 config.fec_config |= bit_pos; in ixl_set_fec_config()
/src/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()
/src/sys/dev/cxgbe/cudbg/
H A Dcudbg_lib.c1730 int bit_pos = 0; in check_valid() local
1734 bit_pos = 176; in check_valid()
1737 bit_pos = 141; in check_valid()
1740 bit_pos = 89; in check_valid()
1743 index = bit_pos / 32; in check_valid()
1744 bit = bit_pos % 32; in check_valid()
/src/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()
/src/sys/dev/cxgbe/
H A Dt4_filter.c1423 set_tcb_tflag(struct adapter *sc, int tid, u_int bit_pos, u_int val, in set_tcb_tflag() argument
1427 return (set_tcb_field(sc, tid, W_TCB_T_FLAGS, 1ULL << bit_pos, in set_tcb_tflag()
1428 (uint64_t)val << bit_pos, no_reply)); in set_tcb_tflag()
/src/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()