Home
last modified time | relevance | path

Searched refs:MaxInt (Results 1 – 10 of 10) 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.h143 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()
Dstring_builder_append.h56 static constexpr uint32_t kArgMask = MaxInt<uint32_t>(kBitsPerArg);
Dsubtype_check_test.cc815 return MaxInt<size_t>(BitString::kBitSizeAtPosition[depth - 1]); in MaxWidthCutOff()
/art/compiler/utils/
Dassembler_test.h809 for (uint64_t i = MinInt<uint64_t>(imm_bits); i <= MaxInt<uint64_t>(imm_bits); i++) {
813 for (int64_t i = MinInt<int64_t>(imm_bits); i <= MaxInt<int64_t>(imm_bits); i++) {
820 i <= MaxInt<uint64_t>(kMaxBitsExhaustiveTest);
825 uint64_t j = (MaxInt<uint64_t>(kMaxBitsExhaustiveTest) + 1) +
826 ((MaxInt<uint64_t>(imm_bits) -
827 (MaxInt<uint64_t>(kMaxBitsExhaustiveTest) + 1))
840 i <= MaxInt<int64_t>(kMaxBitsExhaustiveTest);
845 int64_t j = (MaxInt<int64_t>(kMaxBitsExhaustiveTest) + 1) +
846 ((MaxInt<int64_t>(imm_bits) - (MaxInt<int64_t>(kMaxBitsExhaustiveTest) + 1))
/art/compiler/optimizing/
Dcode_generator_arm_vixl.cc2207 uint32_t extra_regs = MaxInt<uint32_t>(core_spills_offset / kArmWordSize); in GenerateFrameEntry()
2247 __ Push(RegisterList(MaxInt<uint32_t>(fp_spills_offset / kArmWordSize))); in GenerateFrameEntry()
2297 uint32_t extra_regs = MaxInt<uint32_t>(core_spills_offset / kArmWordSize) << r2.GetCode(); in GenerateFrameExit()