Home
last modified time | relevance | path

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

/art/runtime/
Dindirect_reference_table.h338 static constexpr size_t kKindBits = MinimumBitsToStore( variable
340 static constexpr uint32_t kKindMask = (1u << kKindBits) - 1;
344 DCHECK_LE(MinimumBitsToStore(table_index), BitSizeOf<uintptr_t>() - kSerialBits - kKindBits); in EncodeIndex()
345 return (static_cast<uintptr_t>(table_index) << kKindBits << kSerialBits); in EncodeIndex()
348 return static_cast<uint32_t>((uref >> kKindBits) >> kSerialBits); in DecodeIndex()
360 return serial << kKindBits; in EncodeSerial()
363 return static_cast<uint32_t>(uref >> kKindBits) & kShiftedSerialMask; in DecodeSerial()