Home
last modified time | relevance | path

Searched refs:IsUint (Results 1 – 23 of 23) sorted by relevance

/art/libartbase/base/
Dbit_utils_test.cc252 static_assert(!IsUint<1, int32_t>(-1), "TestIsUint32#1");
253 static_assert(IsUint<1, int32_t>(0), "TestIsUint32#2");
254 static_assert(IsUint<1, int32_t>(1), "TestIsUint32#3");
255 static_assert(!IsUint<1, int32_t>(2), "TestIsUint32#4");
256 static_assert(!IsUint<4, int32_t>(-1), "TestIsUint32#5");
257 static_assert(IsUint<4, int32_t>(0), "TestIsUint32#6");
258 static_assert(IsUint<4, int32_t>(15), "TestIsUint32#7");
259 static_assert(!IsUint<4, int32_t>(16), "TestIsUint32#8");
260 static_assert(!IsUint<30, int32_t>(std::numeric_limits<int32_t>::max()), "TestIsUint32#9");
261 static_assert(IsUint<31, int32_t>(std::numeric_limits<int32_t>::max()), "TestIsUint32#10");
[all …]
Dbit_utils.h277 constexpr bool IsUint(T value) { in IsUint() function
298 : IsUint<kBits>(value < 0 in IsAbsoluteUint()
/art/compiler/
Dcompiled_method.h91 DCHECK(IsUint<BitFieldType::size>(static_cast<uintptr_t>(value))); in SetPackedField()
/art/dex2oat/dex/
Ddex_to_dex_compiler.cc438 if (fast_path && !is_volatile && IsUint<16>(field_offset.Int32Value())) { in CompileInstanceFieldAccess()
486 DCHECK(IsUint<16>(vtable_idx)); in CompileInvokeVirtual()
/art/compiler/linker/
Dlinker_patch.h253 DCHECK(IsUint<24>(literal_offset)); in LinkerPatch()
/art/runtime/
Dintern_table_test.cc83 ASSERT_TRUE(IsUint<32>(table.set_.hashfn_(str))); in TEST_F()
Delf_file.cc1897 CHECK(IsUint<32>(base_address)) << std::hex << base_address; in Fixup()
Dclass_linker.cc6517 if (!IsUint<16>(num_virtual_methods)) { in LinkVirtualMethods()
6716 if (!IsUint<16>(actual_count)) { in LinkVirtualMethods()
6733 if (!IsUint<16>(num_virtual_methods)) { in LinkVirtualMethods()
/art/compiler/optimizing/
Dcommon_arm64.h253 return IsUint<8>(value); in Arm64CanEncodeConstantAsImmediate()
Dloop_optimization.cc168 if (IsUint<8>(value)) { in IsZeroExtensionAndGet()
175 if (IsUint<16>(value)) { in IsZeroExtensionAndGet()
Dcode_generator_arm_vixl.cc1373 if (!left_low.IsLow() || !IsUint<8>(value_low)) { in GenerateLongTestConstant()
1773 ret = IsUint<8>(Low32Bits(value)) && IsUint<8>(High32Bits(value)); in CanEncodeConstantAs8BitImmediate()
1775 ret = IsUint<8>(Int32ConstantFrom(constant)); in CanEncodeConstantAs8BitImmediate()
7524 } else if (IsUint<16>(path_to_root)) { in GenerateBitstringTypeCheckCompare()
Dnodes.cc704 DCHECK(IsUint<1>(value)); in GetConstant()
Dnodes.h2527 DCHECK(IsUint<BitFieldType::size>(static_cast<uintptr_t>(value))); in SetPackedField()
5767 DCHECK(IsUint<1>(x)) << x; in Compute()
Dcode_generator_x86_64.cc7602 } else if (IsUint<32>(value)) { in Load64BitValue()
/art/compiler/utils/arm/
Dassembler_arm_vixl.cc119 if (IsUint<12>(immediate) && update_flags != vixl::aarch32::SetFlags) { in ShifterOperandCanHold()
/art/compiler/utils/x86/
Dassembler_x86.h45 bool is_uint8() const { return IsUint<8>(value_); } in is_uint8()
47 bool is_uint16() const { return IsUint<16>(value_); } in is_uint16()
Dassembler_x86.cc3825 CHECK(IsUint<8>(delta)); in EmitLabelLink()
/art/libdexfile/dex/
Ddex_file.cc632 CHECK(IsUint<16>(jval_.i)); in Next()
Ddex_file_verifier.cc2843 DCHECK(IsUint<16>(data_definer) || data_definer == kDexNoIndex) << data_definer; in CheckInterClassDefItem()
2859 DCHECK(IsUint<16>(defining_class) || defining_class == kDexNoIndex) << defining_class; in CheckInterClassDefItem()
2975 DCHECK(IsUint<16>(defining_class) || defining_class == kDexNoIndex) << defining_class; in CheckInterClassDataItem()
3042 DCHECK(IsUint<16>(defining_class) || defining_class == kDexNoIndex) << defining_class; in CheckInterAnnotationsDirectoryItem()
/art/runtime/verifier/
Dverifier_deps.cc677 DCHECK(IsUint<16>(vector.size())); in EncodeUint16SparseBitVector()
694 DCHECK(IsUint<16>(vector->size())); in DecodeUint16SparseBitVector()
/art/compiler/utils/x86_64/
Dassembler_x86_64.h52 bool is_uint8() const { return IsUint<8>(value_); } in is_uint8()
54 bool is_uint16() const { return IsUint<16>(value_); } in is_uint16()
Dassembler_x86_64.cc5210 CHECK(IsUint<8>(delta)); in EmitLabelLink()
/art/dex2oat/linker/arm/
Drelative_patcher_thumb2_test.cc78 if (IsUint<16>(insn)) { in InsertInsn()
113 std::count_if(insns.begin(), insns.end(), [](uint32_t x) { return IsUint<16>(x); }); in RawCode()