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/runtime/
Dmemory_region.h115 uint8_t bit_mask; in LoadBit() local
116 uint8_t byte = *ComputeBitPointer(bit_offset, &bit_mask); in LoadBit()
117 return byte & bit_mask; in LoadBit()
121 uint8_t bit_mask; in StoreBit() local
122 uint8_t* byte = ComputeBitPointer(bit_offset, &bit_mask); in StoreBit()
124 *byte |= bit_mask; in StoreBit()
126 *byte &= ~bit_mask; in StoreBit()
205 ALWAYS_INLINE uint8_t* ComputeBitPointer(uintptr_t bit_offset, uint8_t* bit_mask) const { in ComputeBitPointer() argument
207 *bit_mask = (1U << bit_remainder); in ComputeBitPointer()