Home
last modified time | relevance | path

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

/art/runtime/
Dindirect_reference_table.h325 static constexpr size_t kKindBits = MinimumBitsToStore( variable
327 static constexpr uint32_t kKindMask = (1u << kKindBits) - 1;
331 DCHECK_LE(MinimumBitsToStore(table_index), BitSizeOf<uintptr_t>() - kSerialBits - kKindBits); in EncodeIndex()
332 return (static_cast<uintptr_t>(table_index) << kKindBits << kSerialBits); in EncodeIndex()
335 return static_cast<uint32_t>((uref >> kKindBits) >> kSerialBits); in DecodeIndex()
347 return serial << kKindBits; in EncodeSerial()
350 return static_cast<uint32_t>(uref >> kKindBits) & kShiftedSerialMask; in DecodeSerial()
Dstack_map.h383 static constexpr size_t kKindBits = 3; variable
387 static constexpr uint8_t kKindMask = (1 << kKindBits) - 1;
390 static constexpr size_t kValueOffset = kKindBits;
407 DCHECK(IsUint<kKindBits>(kind_integer_value)) << kind_integer_value; in MakeShortLocation()