Home
last modified time | relevance | path

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

/art/libartbase/base/
Dbit_utils.h391 inline static constexpr std::make_unsigned_t<T> MaskLeastSignificant(size_t bits) { in MaskLeastSignificant() function
421 const auto mask = MaskLeastSignificant<T>(width); in BitFieldClear()
453 const auto data_mask = MaskLeastSignificant<T2>(width); in BitFieldInsert()
487 static_cast<T>((val >> lsb) & MaskLeastSignificant<T>(width)); in BitFieldExtract()
495 const auto ones_negmask = ~MaskLeastSignificant<T>(width); in BitFieldExtract()
Dbit_utils_test.cc348 static_assert(MaskLeastSignificant(0) == 0b0, "TestMaskLeastSignificant#1");
349 static_assert(MaskLeastSignificant(1) == 0b1, "TestMaskLeastSignificant#2");
350 static_assert(MaskLeastSignificant(2) == 0b11, "TestMaskLeastSignificant#3");
351 static_assert(MaskLeastSignificant<uint8_t>(8) == 0xFF, "TestMaskLeastSignificant#4");
352 static_assert(MaskLeastSignificant<int8_t>(8) == 0xFF, "TestMaskLeastSignificant#5");
353 static_assert(MaskLeastSignificant<uint64_t>(63) == (std::numeric_limits<uint64_t>::max() >> 1u),
Dbit_string_test.cc143 EXPECT_EQ(MaskLeastSignificant(BitString::GetBitLengthTotalAtPosition(BitString::kCapacity)), in TEST()
Dbit_string.h50 DCHECK_EQ(0u, data & ~MaskLeastSignificant(bitlength_)) in BitStringChar()
/art/runtime/
Dsubtype_check_info.h307 return MaskLeastSignificant<BitString::StorageType>(bitlength); in GetEncodedPathToRootMask()
/art/compiler/optimizing/
Dintrinsics_arm64.cc2762 tst_mask = MaskLeastSignificant<uint64_t>(63); in GenIsInfinite()
2766 tst_mask = MaskLeastSignificant<uint32_t>(31); in GenIsInfinite()