Searched refs:bit_mask (Results 1 – 3 of 3) sorted by relevance
41 uint16_t bit_mask = *block; in GetOffset() local43 bit_mask = (bit_mask << kBitsPerByte) | *block; in GetOffset()45 if ((bit_mask & (1 << bit_index)) == 0) { in GetOffset()51 size_t count = POPCOUNT(static_cast<uintptr_t>(bit_mask) << (kBitsPerIntPtrT - 1 - bit_index)); in GetOffset()99 uint16_t bit_mask = 0u; in Build() local102 bit_mask |= 1 << i; in Build()106 out_data->push_back(static_cast<uint8_t>(bit_mask >> kBitsPerByte)); in Build()107 out_data->push_back(static_cast<uint8_t>(bit_mask)); in Build()
227 uintptr_t bit_mask = static_cast<uintptr_t>(1) << (bit_idx % kNumSignalsPerKey); in GetHandlingSignal() local230 return result & bit_mask; in GetHandlingSignal()238 uintptr_t bit_mask = static_cast<uintptr_t>(1) << (bit_idx % kNumSignalsPerKey); in SetHandlingSignal() local242 bool ret = bitmap & bit_mask; in SetHandlingSignal()244 bitmap |= bit_mask; in SetHandlingSignal()246 bitmap &= ~bit_mask; in SetHandlingSignal()
144 ALWAYS_INLINE uint8_t* ComputeBitPointer(uintptr_t bit_offset, uint8_t* bit_mask) const { in ComputeBitPointer() argument146 *bit_mask = (1U << bit_remainder); in ComputeBitPointer()