Home
last modified time | relevance | path

Searched refs:MaxInt (Results 1 – 15 of 15) 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.h314 constexpr T MaxInt(size_t bits) { in MaxInt() function
321 ? ((bits == 1u) ? 0 : static_cast<T>(MaxInt<unsigned_type>(bits - 1))) in MaxInt()
332 ? ((bits == 1u) ? -1 : static_cast<T>(-1) - MaxInt<T>(bits)) in MinInt()
457 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.h145 DCHECK_LE(value, MaxInt<size_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.h57 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/optimizing/
Dregister_allocator.cc144 : MaxInt<uint32_t>(num_core_registers_); in GetRegisterMask()
147 : MaxInt<uint32_t>(num_fp_registers_); in GetRegisterMask()
184 : MaxInt<uint32_t>(number_of_registers); in ValidateIntervals()
Dcode_generator_arm_vixl.cc2437 uint32_t extra_regs = MaxInt<uint32_t>(core_spills_offset / kArmWordSize); in GenerateFrameEntry()
2477 __ Push(RegisterList(MaxInt<uint32_t>(fp_spills_offset / kArmWordSize))); in GenerateFrameEntry()
2527 uint32_t extra_regs = MaxInt<uint32_t>(core_spills_offset / kArmWordSize) << r2.GetCode(); in GenerateFrameExit()
/art/runtime/jni/
Dlocal_reference_table.h171 return MaxInt<uint32_t>(kFieldNextFreeBits); in FreeListEnd()
382 static_assert(kFreeListEnd == MaxInt<uint32_t>(kFieldFirstFreeSize));
/art/compiler/utils/
Dassembler_test.h952 for (uint64_t i = MinInt<uint64_t>(imm_bits); i <= MaxInt<uint64_t>(imm_bits); i++) {
956 for (int64_t i = MinInt<int64_t>(imm_bits); i <= MaxInt<int64_t>(imm_bits); i++) {
963 i <= MaxInt<uint64_t>(kMaxBitsExhaustiveTest);
968 uint64_t j = (MaxInt<uint64_t>(kMaxBitsExhaustiveTest) + 1) +
969 ((MaxInt<uint64_t>(imm_bits) -
970 (MaxInt<uint64_t>(kMaxBitsExhaustiveTest) + 1))
983 i <= MaxInt<int64_t>(kMaxBitsExhaustiveTest);
988 int64_t j = (MaxInt<int64_t>(kMaxBitsExhaustiveTest) + 1) +
989 ((MaxInt<int64_t>(imm_bits) - (MaxInt<int64_t>(kMaxBitsExhaustiveTest) + 1))
/art/runtime/oat/
Dstack_map.h488 uint8_t varint = (*code_info_data) & MaxInt<uint8_t>(kVarintBits); in HasFlag()
/art/compiler/utils/riscv64/
Dassembler_riscv64.h77 MaxInt<Riscv64ExtensionMask>(enum_cast<>(Riscv64Extension::kLast) + 1);
Dassembler_riscv64.cc7765 if (imm == dchecked_integral_cast<int64_t>(MaxInt<uint64_t>(64 - shamt))) { in LoadImmediate()
7779 int32_t shifted_out = dchecked_integral_cast<int32_t>(MaxInt<uint32_t>(shamt)); in LoadImmediate()