Home
last modified time | relevance | path

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

/art/libartbase/base/
Dbit_string_test.cc75 … MakeBitStringChar(i, MaxInt<BitStringChar::StorageType>(BitString::kBitSizeAtPosition[i]))); in MakeBitStringMax()
127 MaxInt<uint32_t>(12), in TEST()
128 MaxInt<uint32_t>(4), in TEST()
129 MaxInt<uint32_t>(11), in TEST()
149 return MaxInt<BitString::StorageType>(BitString::kBitSizeAtPosition[kPos]); in MaxForPos()
Dbit_utils.h305 constexpr T MaxInt(size_t bits) { in MaxInt() function
312 ? ((bits == 1u) ? 0 : static_cast<T>(MaxInt<unsigned_type>(bits - 1))) in MaxInt()
323 ? ((bits == 1u) ? -1 : static_cast<T>(-1) - MaxInt<T>(bits)) in MinInt()
448 DCHECK_GE(MaxInt<T2>(width), data) << "Data out of range [too large] for bitwidth"; in BitFieldInsert()
Dbit_string.h97 StorageType maximimum_data = MaxInt<StorageType>(bitlength_); in MaximumValue()
Dbit_table_test.cc148 uint64_t bitmap = value & MaxInt<uint64_t>(bit_length); in TEST()
Dbit_memory_region.h134 DCHECK_LE(value, MaxInt<uint32_t>(bit_length)); in StoreBits()
/art/runtime/
Dsubtype_check_info_test.cc75 … MakeBitStringChar(i, MaxInt<BitStringChar::StorageType>(BitString::kBitSizeAtPosition[i]))); in MakeBitStringMax()
267 EXPECT_EQ(MaxInt<StorageType>(LenForPos()), sci.GetEncodedPathToRoot()); in TEST_F()
286 EXPECT_EQ(MAKE_ENCODED_PATH(MaxInt<BitString::StorageType>(12), 0b1111, 0b0), in TEST_F()
288 EXPECT_EQ(MAKE_ENCODED_PATH(MaxInt<BitString::StorageType>(12), 0b1111, 0b11111111111), in TEST_F()
296 EXPECT_EQ(MAKE_ENCODED_PATH(MaxInt<BitString::StorageType>(12), 0b1111, 0b0), in TEST_F()
298 EXPECT_EQ(MAKE_ENCODED_PATH(MaxInt<BitString::StorageType>(12), 0b1111, 0b0), in TEST_F()
307 EXPECT_EQ(MAKE_ENCODED_PATH(MaxInt<BitString::StorageType>(12), 0b0000, 0b0), in TEST_F()
392 if (cur_next == MaxInt<BitString::StorageType>(BitString::kBitSizeAtPosition[0u])) { in TEST_F()
Dsubtype_check_test.cc815 return MaxInt<size_t>(BitString::kBitSizeAtPosition[depth - 1]); in MaxWidthCutOff()
/art/compiler/utils/
Dassembler_test.h855 for (uint64_t i = MinInt<uint64_t>(imm_bits); i <= MaxInt<uint64_t>(imm_bits); i++) {
859 for (int64_t i = MinInt<int64_t>(imm_bits); i <= MaxInt<int64_t>(imm_bits); i++) {
866 i <= MaxInt<uint64_t>(kMaxBitsExhaustiveTest);
871 uint64_t j = (MaxInt<uint64_t>(kMaxBitsExhaustiveTest) + 1) +
872 ((MaxInt<uint64_t>(imm_bits) -
873 (MaxInt<uint64_t>(kMaxBitsExhaustiveTest) + 1))
886 i <= MaxInt<int64_t>(kMaxBitsExhaustiveTest);
891 int64_t j = (MaxInt<int64_t>(kMaxBitsExhaustiveTest) + 1) +
892 ((MaxInt<int64_t>(imm_bits) - (MaxInt<int64_t>(kMaxBitsExhaustiveTest) + 1))