Home
last modified time | relevance | path

Searched refs:bit_mask (Results 1 – 3 of 3) sorted by relevance

/art/libdexfile/dex/
Dcompact_offset_table.cc41 uint16_t bit_mask = *block; in GetOffset() local
43 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() local
102 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()
/art/sigchainlib/
Dsigchain.cc227 uintptr_t bit_mask = static_cast<uintptr_t>(1) << (bit_idx % kNumSignalsPerKey); in GetHandlingSignal() local
230 return result & bit_mask; in GetHandlingSignal()
238 uintptr_t bit_mask = static_cast<uintptr_t>(1) << (bit_idx % kNumSignalsPerKey); in SetHandlingSignal() local
242 bool ret = bitmap & bit_mask; in SetHandlingSignal()
244 bitmap |= bit_mask; in SetHandlingSignal()
246 bitmap &= ~bit_mask; in SetHandlingSignal()
/art/libartbase/base/
Dmemory_region.h144 ALWAYS_INLINE uint8_t* ComputeBitPointer(uintptr_t bit_offset, uint8_t* bit_mask) const { in ComputeBitPointer() argument
146 *bit_mask = (1U << bit_remainder); in ComputeBitPointer()