Searched refs:MaxInt (Results 1 – 10 of 10) sorted by relevance
/art/libartbase/base/ |
D | bit_string_test.cc | 75 … 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()
|
D | bit_utils.h | 305 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()
|
D | bit_string.h | 97 StorageType maximimum_data = MaxInt<StorageType>(bitlength_); in MaximumValue()
|
D | bit_table_test.cc | 148 uint64_t bitmap = value & MaxInt<uint64_t>(bit_length); in TEST()
|
D | bit_memory_region.h | 143 DCHECK_LE(value, MaxInt<uint32_t>(bit_length)); in StoreBits()
|
/art/runtime/ |
D | subtype_check_info_test.cc | 75 … 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()
|
D | string_builder_append.h | 56 static constexpr uint32_t kArgMask = MaxInt<uint32_t>(kBitsPerArg);
|
D | subtype_check_test.cc | 815 return MaxInt<size_t>(BitString::kBitSizeAtPosition[depth - 1]); in MaxWidthCutOff()
|
/art/compiler/utils/ |
D | assembler_test.h | 809 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/ |
D | code_generator_arm_vixl.cc | 2207 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()
|