Home
last modified time | relevance | path

Searched refs:BITS_IN_BYTE_POWER_OF_TWO (Results 1 - 2 of 2) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/mem/
H A Drunslots.cpp134 uintptr_t arrayIndex = bitIndex >> BITS_IN_BYTE_POWER_OF_TWO; in MarkAsOccupied()
135 uintptr_t bitInArrayElement = bitIndex & ((1U << BITS_IN_BYTE_POWER_OF_TWO) - 1U); in MarkAsOccupied()
145 uintptr_t arrayIndex = bitIndex >> BITS_IN_BYTE_POWER_OF_TWO; in MarkAsFree()
146 uintptr_t bitInArrayElement = bitIndex & ((1U << BITS_IN_BYTE_POWER_OF_TWO) - 1U); in MarkAsFree()
155 ToVoidPtr(ToUintPtr(this) + (((arrayIndex << BITS_IN_BYTE_POWER_OF_TWO) + bit) in BitMapToSlot()
188 uintptr_t arrayIndex = bitIndex >> BITS_IN_BYTE_POWER_OF_TWO; in IsLive()
189 uintptr_t bitInArrayElement = bitIndex & ((1U << BITS_IN_BYTE_POWER_OF_TWO) - 1U); in IsLive()
H A Drunslots.h196 for (size_t bit = 0; bit < (1U << BITS_IN_BYTE_POWER_OF_TWO); bit++) { in IterateOverOccupiedSlots()
247 static constexpr size_t BITS_IN_BYTE_POWER_OF_TWO = 3U; member in ark::mem::RunSlots
249 (RUNSLOTS_SIZE >> (SlotsSizes::SLOT_MIN_SIZE_BYTES_POWER_OF_TWO)) >> BITS_IN_BYTE_POWER_OF_TWO;

Completed in 2 milliseconds