Home
last modified time | relevance | path

Searched refs:IsUint (Results 1 – 18 of 18) 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.cc1898 CHECK(IsUint<32>(base_address)) << std::hex << base_address; in Fixup()
/art/compiler/optimizing/
Dcommon_arm64.h253 return IsUint<8>(value); in Arm64CanEncodeConstantAsImmediate()
Dloop_optimization.cc167 if (IsUint<8>(value)) { in IsZeroExtensionAndGet()
174 if (IsUint<16>(value)) { in IsZeroExtensionAndGet()
Dnodes.cc705 DCHECK(IsUint<1>(value)); in GetConstant()
/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.cc3818 CHECK(IsUint<8>(delta)); in EmitLabelLink()
/art/libdexfile/dex/
Ddex_file.cc632 CHECK(IsUint<16>(jval_.i)); in Next()
Ddex_file_verifier.cc2847 DCHECK(IsUint<16>(data_definer) || data_definer == kDexNoIndex) << data_definer; in CheckInterClassDefItem()
2863 DCHECK(IsUint<16>(defining_class) || defining_class == kDexNoIndex) << defining_class; in CheckInterClassDefItem()
2979 DCHECK(IsUint<16>(defining_class) || defining_class == kDexNoIndex) << defining_class; in CheckInterClassDataItem()
3046 DCHECK(IsUint<16>(defining_class) || defining_class == kDexNoIndex) << defining_class; in CheckInterAnnotationsDirectoryItem()
/art/runtime/verifier/
Dverifier_deps.cc669 DCHECK(IsUint<16>(vector.size())); in EncodeUint16SparseBitVector()
682 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()
/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()