Home
last modified time | relevance | path

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

/art/libdexfile/dex/
Dcompact_offset_table.cc43 uint16_t bit_mask = *block; in GetOffset() local
45 bit_mask = (bit_mask << kBitsPerByte) | *block; in GetOffset()
47 if ((bit_mask & (1 << bit_index)) == 0) { in GetOffset()
53 size_t count = POPCOUNT(static_cast<uintptr_t>(bit_mask) << (kBitsPerIntPtrT - 1 - bit_index)); in GetOffset()
101 uint16_t bit_mask = 0u; in Build() local
104 bit_mask |= 1 << i; in Build()
108 out_data->push_back(static_cast<uint8_t>(bit_mask >> kBitsPerByte)); in Build()
109 out_data->push_back(static_cast<uint8_t>(bit_mask)); in Build()
/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()