/external/mesa3d/src/util/tests/fast_urem_by_const/ |
D | fast_urem_by_const_test.cpp | 42 return UINT32_MAX - (rand() % 16); in rand_uint() 91 test_case(0, UINT32_MAX); in TEST() 92 test_case(UINT32_MAX, 1); in TEST() 93 test_case(1, UINT32_MAX); in TEST() 94 test_case(UINT32_MAX, UINT32_MAX); in TEST() 95 test_case(UINT32_MAX, UINT32_MAX - 1); in TEST() 96 test_case(UINT32_MAX - 1, UINT32_MAX - 1); in TEST() 97 test_case(UINT32_MAX - 2, UINT32_MAX - 1); in TEST()
|
/external/llvm-project/lldb/include/lldb/ |
D | lldb-defines.h | 30 #if !defined(UINT32_MAX) 31 #define UINT32_MAX 4294967295U macro 46 #define LLDB_GENERIC_ERROR UINT32_MAX 86 #define LLDB_INVALID_INDEX32 UINT32_MAX 87 #define LLDB_INVALID_IVAR_OFFSET UINT32_MAX 88 #define LLDB_INVALID_IMAGE_TOKEN UINT32_MAX 89 #define LLDB_INVALID_MODULE_VERSION UINT32_MAX 90 #define LLDB_INVALID_REGNUM UINT32_MAX 94 #define LLDB_INVALID_FRAME_ID UINT32_MAX 97 #define LLDB_INVALID_LINE_NUMBER UINT32_MAX
|
/external/FXdiv/test/ |
D | quotient.cc | 18 EXPECT_EQ(UINT32_MAX / UINT32_C(1), in TEST() 19 fxdiv_quotient_uint32_t(UINT32_MAX, in TEST() 21 EXPECT_EQ(UINT32_MAX / UINT32_MAX, in TEST() 22 fxdiv_quotient_uint32_t(UINT32_MAX, in TEST() 23 fxdiv_init_uint32_t(UINT32_MAX))); in TEST() 24 EXPECT_EQ((UINT32_MAX - 1) / UINT32_MAX, in TEST() 25 fxdiv_quotient_uint32_t(UINT32_MAX - 1, in TEST() 26 fxdiv_init_uint32_t(UINT32_MAX))); in TEST() 27 EXPECT_EQ(UINT32_MAX / (UINT32_MAX - 1), in TEST() 28 fxdiv_quotient_uint32_t(UINT32_MAX, in TEST() [all …]
|
D | multiply-high.cc | 8 EXPECT_EQ(UINT32_C(0), fxdiv_mulhi_uint32_t(UINT32_C(1), UINT32_MAX)); in TEST() 9 EXPECT_EQ(UINT32_C(0), fxdiv_mulhi_uint32_t(UINT32_MAX, UINT32_C(1))); in TEST() 11 EXPECT_EQ(UINT32_MAX - UINT32_C(1), fxdiv_mulhi_uint32_t(UINT32_MAX, UINT32_MAX)); in TEST()
|
/external/llvm-project/llvm/unittests/Support/ |
D | BranchProbabilityTest.cpp | 107 BP BigZero(0, UINT32_MAX); in TEST() 108 BP BigOne(UINT32_MAX, UINT32_MAX); in TEST() 150 EXPECT_EQ(O * UINT32_MAX, O); in TEST() 157 EXPECT_EQ(H / UINT32_MAX, Z); in TEST() 161 EXPECT_EQ(O / UINT32_MAX, Z); in TEST() 162 EXPECT_EQ(Min * UINT32_MAX, O); in TEST() 176 EXPECT_EQ(UINT32_MAX, BP(1, 1).scale(UINT32_MAX)); in TEST() 177 EXPECT_EQ(UINT32_MAX, BP(7, 7).scale(UINT32_MAX)); in TEST() 193 EXPECT_EQ(1u, BP(Two31, UINT32_MAX).scale(2)); in TEST() 194 EXPECT_EQ(Two31, BP(Two31, UINT32_MAX).scale(Two31 * 2)); in TEST() [all …]
|
D | ScaledNumberTest.cpp | 45 EXPECT_EQ(getRounded32(UINT32_MAX, 0, false), SP32(UINT32_MAX, 0)); in TEST() 46 EXPECT_EQ(getRounded32(UINT32_MAX, 0, true), SP32(1 << 31, 1)); in TEST() 51 EXPECT_EQ(getRounded64(UINT32_MAX, 0, false), SP64(UINT32_MAX, 0)); in TEST() 52 EXPECT_EQ(getRounded64(UINT32_MAX, 0, true), SP64(UINT64_C(1) << 32, 0)); in TEST() 58 const uint64_t Max32In64 = UINT32_MAX; in TEST() 61 EXPECT_EQ(getAdjusted32(UINT32_MAX), SP32(UINT32_MAX, 0)); in TEST() 62 EXPECT_EQ(getAdjusted32(Max32In64 << 1), SP32(UINT32_MAX, 1)); in TEST() 63 EXPECT_EQ(getAdjusted32(Max32In64 << 1, 1), SP32(UINT32_MAX, 2)); in TEST() 64 EXPECT_EQ(getAdjusted32(Max32In64 << 31), SP32(UINT32_MAX, 31)); in TEST() 65 EXPECT_EQ(getAdjusted32(Max32In64 << 32), SP32(UINT32_MAX, 32)); in TEST() [all …]
|
D | BlockFrequencyTest.cpp | 21 BranchProbability Prob(UINT32_MAX / 3, UINT32_MAX); in TEST() 32 BranchProbability Prob(UINT32_MAX, UINT32_MAX); in TEST() 54 BranchProbability Prob(UINT32_MAX / 2, UINT32_MAX); in TEST() 78 BranchProbability Prob(UINT32_MAX, UINT32_MAX); in TEST()
|
/external/llvm/unittests/Support/ |
D | BranchProbabilityTest.cpp | 108 BP BigZero(0, UINT32_MAX); in TEST() 109 BP BigOne(UINT32_MAX, UINT32_MAX); in TEST() 129 EXPECT_EQ(UINT32_MAX, BP(1, 1).scale(UINT32_MAX)); in TEST() 130 EXPECT_EQ(UINT32_MAX, BP(7, 7).scale(UINT32_MAX)); in TEST() 146 EXPECT_EQ(1u, BP(Two31, UINT32_MAX).scale(2)); in TEST() 147 EXPECT_EQ(Two31, BP(Two31, UINT32_MAX).scale(Two31 * 2)); in TEST() 148 EXPECT_EQ(9223372036854775807ULL, BP(Two31, UINT32_MAX).scale(UINT64_MAX)); in TEST() 152 BP(Two31 + 1, UINT32_MAX - 2).scale(UINT64_MAX)); in TEST() 159 EXPECT_EQ(UINT32_MAX, BP(1, 1).scaleByInverse(UINT32_MAX)); in TEST() 160 EXPECT_EQ(UINT32_MAX, BP(7, 7).scaleByInverse(UINT32_MAX)); in TEST() [all …]
|
D | ScaledNumberTest.cpp | 46 EXPECT_EQ(getRounded32(UINT32_MAX, 0, false), SP32(UINT32_MAX, 0)); in TEST() 47 EXPECT_EQ(getRounded32(UINT32_MAX, 0, true), SP32(1 << 31, 1)); in TEST() 52 EXPECT_EQ(getRounded64(UINT32_MAX, 0, false), SP64(UINT32_MAX, 0)); in TEST() 53 EXPECT_EQ(getRounded64(UINT32_MAX, 0, true), SP64(UINT64_C(1) << 32, 0)); in TEST() 59 const uint64_t Max32In64 = UINT32_MAX; in TEST() 62 EXPECT_EQ(getAdjusted32(UINT32_MAX), SP32(UINT32_MAX, 0)); in TEST() 63 EXPECT_EQ(getAdjusted32(Max32In64 << 1), SP32(UINT32_MAX, 1)); in TEST() 64 EXPECT_EQ(getAdjusted32(Max32In64 << 1, 1), SP32(UINT32_MAX, 2)); in TEST() 65 EXPECT_EQ(getAdjusted32(Max32In64 << 31), SP32(UINT32_MAX, 31)); in TEST() 66 EXPECT_EQ(getAdjusted32(Max32In64 << 32), SP32(UINT32_MAX, 32)); in TEST() [all …]
|
D | BlockFrequencyTest.cpp | 22 BranchProbability Prob(UINT32_MAX / 3, UINT32_MAX); in TEST() 33 BranchProbability Prob(UINT32_MAX, UINT32_MAX); in TEST() 55 BranchProbability Prob(UINT32_MAX / 2, UINT32_MAX); in TEST() 79 BranchProbability Prob(UINT32_MAX, UINT32_MAX); in TEST()
|
/external/cpuinfo/src/x86/linux/ |
D | init.c | 71 uint32_t last_core_id = UINT32_MAX, last_cluster_id = UINT32_MAX, last_package_id = UINT32_MAX; in cpuinfo_x86_count_objects() 72 uint32_t last_l1i_id = UINT32_MAX, last_l1d_id = UINT32_MAX; in cpuinfo_x86_count_objects() 73 uint32_t last_l2_id = UINT32_MAX, last_l3_id = UINT32_MAX, last_l4_id = UINT32_MAX; in cpuinfo_x86_count_objects() 349 …uint32_t processor_index = UINT32_MAX, core_index = UINT32_MAX, cluster_index = UINT32_MAX, packag… in cpuinfo_x86_linux_init() 350 …uint32_t l1i_index = UINT32_MAX, l1d_index = UINT32_MAX, l2_index = UINT32_MAX, l3_index = UINT32_… in cpuinfo_x86_linux_init() 352 …uint32_t last_apic_core_id = UINT32_MAX, last_apic_cluster_id = UINT32_MAX, last_apic_package_id =… in cpuinfo_x86_linux_init() 353 uint32_t last_l1i_id = UINT32_MAX, last_l1d_id = UINT32_MAX; in cpuinfo_x86_linux_init() 354 uint32_t last_l2_id = UINT32_MAX, last_l3_id = UINT32_MAX, last_l4_id = UINT32_MAX; in cpuinfo_x86_linux_init() 466 last_l1i_id = UINT32_MAX; in cpuinfo_x86_linux_init() 491 last_l1d_id = UINT32_MAX; in cpuinfo_x86_linux_init() [all …]
|
/external/llvm-project/lldb/source/Utility/ |
D | ArchSpec.cpp | 259 #define CPU_ANY (UINT32_MAX) 270 … llvm::MachO::CPU_TYPE_ARM, CPU_ANY, UINT32_MAX, UINT32_MAX}, 271 …lvm::MachO::CPU_TYPE_ARM, llvm::MachO::CPU_SUBTYPE_ARM_ALL, UINT32_MAX, SUBTYPE_MASK}, 272 …lvm::MachO::CPU_TYPE_ARM, llvm::MachO::CPU_SUBTYPE_ARM_V4T, UINT32_MAX, SUBTYPE_MASK}, 273 …lvm::MachO::CPU_TYPE_ARM, llvm::MachO::CPU_SUBTYPE_ARM_V4T, UINT32_MAX, SUBTYPE_MASK}, 274 …lvm::MachO::CPU_TYPE_ARM, llvm::MachO::CPU_SUBTYPE_ARM_V6, UINT32_MAX, SUBTYPE_MASK}, 275 …lvm::MachO::CPU_TYPE_ARM, llvm::MachO::CPU_SUBTYPE_ARM_V6M, UINT32_MAX, SUBTYPE_MASK}, 276 …lvm::MachO::CPU_TYPE_ARM, llvm::MachO::CPU_SUBTYPE_ARM_V5TEJ, UINT32_MAX, SUBTYPE_MASK}, 277 …lvm::MachO::CPU_TYPE_ARM, llvm::MachO::CPU_SUBTYPE_ARM_V5TEJ, UINT32_MAX, SUBTYPE_MASK}, 278 …lvm::MachO::CPU_TYPE_ARM, llvm::MachO::CPU_SUBTYPE_ARM_V5TEJ, UINT32_MAX, SUBTYPE_MASK}, [all …]
|
D | DataEncoder.cpp | 113 return UINT32_MAX; in PutU8() 125 return UINT32_MAX; in PutU16() 137 return UINT32_MAX; in PutU32() 149 return UINT32_MAX; in PutU64() 166 return UINT32_MAX; in PutUnsigned() 178 return UINT32_MAX; in PutData() 188 return UINT32_MAX; in PutCString()
|
/external/llvm-project/lldb/include/lldb/Utility/ |
D | ProcessInfo.h | 53 bool UserIDIsValid() const { return m_uid != UINT32_MAX; } in UserIDIsValid() 55 bool GroupIDIsValid() const { return m_gid != UINT32_MAX; } in GroupIDIsValid() 111 : ProcessInfo(), m_euid(UINT32_MAX), m_egid(UINT32_MAX), in ProcessInstanceInfo() 115 : ProcessInfo(name, arch, pid), m_euid(UINT32_MAX), m_egid(UINT32_MAX), in ProcessInstanceInfo() 120 m_euid = UINT32_MAX; in Clear() 121 m_egid = UINT32_MAX; in Clear() 129 bool EffectiveUserIDIsValid() const { return m_euid != UINT32_MAX; } in EffectiveUserIDIsValid() 131 bool EffectiveGroupIDIsValid() const { return m_egid != UINT32_MAX; } in EffectiveGroupIDIsValid()
|
/external/llvm-project/compiler-rt/test/ubsan/TestCases/ImplicitConversion/ |
D | integer-sign-change.c | 86 negative0_convert_unsigned_int_to_unsigned_int((uint32_t)UINT32_MAX); in test_negatives() 90 negative4_convert_unsigned_int_to_unsigned_char((uint32_t)UINT32_MAX); in test_negatives() 175 positive0_convert_unsigned_int_to_signed_int((uint32_t)UINT32_MAX); in test_positives() 177 positive1_convert_signed_int_to_unsigned_int((int32_t)UINT32_MAX); in test_positives() 179 positive2_convert_signed_int_to_unsigned_char((int32_t)UINT32_MAX); in test_positives() 187 positive6_convert_unsigned_int_to_signed_char((uint32_t)UINT32_MAX); in test_positives() 189 positive7_convert_signed_int_to_signed_char((int32_t)UINT32_MAX); in test_positives() 221 positive0_convert_unsigned_int_to_signed_int((uint32_t)UINT32_MAX); in test_positives() 223 positive1_convert_signed_int_to_unsigned_int((int32_t)UINT32_MAX); in test_positives() 230 positive5_convert_signed_char_to_unsigned_int((int8_t)UINT32_MAX); in test_positives()
|
/external/gptfdisk/ |
D | mbr.cc | 61 if (diskSize < UINT32_MAX) { // If the disk is under 2TiB in MakeProtectiveMBR() 64 partitions[0].SetLocation(UINT32_C(1), UINT32_MAX); in MakeProtectiveMBR() 91 if (diskSize < UINT32_MAX) { // If the disk is under 2TiB in OptimizeEESize() 94 partitions[i].SetLengthLBA(UINT32_MAX - partitions[i].GetStartLBA()); in OptimizeEESize() 112 if ((start64 < UINT32_MAX) && (length64 < UINT32_MAX)) { in DeleteByLocation()
|
/external/llvm-project/lld/MachO/ |
D | Symbols.h | 63 bool isInGot() const { return gotIndex != UINT32_MAX; } in isInGot() 66 bool isInStubs() const { return stubsIndex != UINT32_MAX; } in isInStubs() 71 uint32_t gotIndex = UINT32_MAX; 73 uint32_t stubsIndex = UINT32_MAX; 75 uint32_t symtabIndex = UINT32_MAX; 157 bool hasStubsHelper() const { return stubsHelperIndex != UINT32_MAX; } in hasStubsHelper() 162 uint32_t stubsHelperIndex = UINT32_MAX; 163 uint32_t lazyBindOffset = UINT32_MAX;
|
/external/llvm-project/llvm/lib/Support/ |
D | BranchProbability.cpp | 57 while (Denominator > UINT32_MAX) { in getBranchProbability() 80 uint64_t ProductLow = (Num & UINT32_MAX) * N; in scale() 84 uint32_t Lower32 = ProductLow & UINT32_MAX; in scale() 85 uint32_t Mid32Partial = ProductHigh & UINT32_MAX; in scale() 95 if (UpperQ > UINT32_MAX) in scale()
|
/external/llvm/lib/Support/ |
D | BranchProbability.cpp | 55 while (Denominator > UINT32_MAX) { in getBranchProbability() 78 uint64_t ProductLow = (Num & UINT32_MAX) * N; in scale() 82 uint32_t Lower32 = ProductLow & UINT32_MAX; in scale() 83 uint32_t Mid32Partial = ProductHigh & UINT32_MAX; in scale() 97 if (UpperQ > UINT32_MAX) in scale()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | BranchProbability.cpp | 57 while (Denominator > UINT32_MAX) { in getBranchProbability() 80 uint64_t ProductLow = (Num & UINT32_MAX) * N; in scale() 84 uint32_t Lower32 = ProductLow & UINT32_MAX; in scale() 85 uint32_t Mid32Partial = ProductHigh & UINT32_MAX; in scale() 95 if (UpperQ > UINT32_MAX) in scale()
|
/external/arm-trusted-firmware/include/lib/libc/ |
D | stdint.h | 26 #define UINT32_MAX UINT_MAX macro 42 #define UINT_LEAST32_MAX UINT32_MAX 50 #define UINT_FAST8_MAX UINT32_MAX 54 #define UINT_FAST16_MAX UINT32_MAX 58 #define UINT_FAST32_MAX UINT32_MAX
|
/external/capstone/include/windowsce/ |
D | stdint.h | 67 #define UINT32_MAX 0xffffffffui32 macro 80 #define UINT_LEAST32_MAX UINT32_MAX 92 #define UINT_FAST16_MAX UINT32_MAX 93 #define UINT_FAST32_MAX UINT32_MAX 98 #define UINTPTR_MAX UINT32_MAX
|
/external/llvm-project/lldb/source/Target/ |
D | ThreadSpec.cpp | 21 : m_index(UINT32_MAX), m_tid(LLDB_INVALID_THREAD_ID), m_name(), in ThreadSpec() 26 uint32_t index = UINT32_MAX; in CreateFromStructuredData() 58 if (m_index != UINT32_MAX) in SerializeToStructuredData() 87 if (m_index == UINT32_MAX) in IndexMatches() 129 return (m_index != UINT32_MAX || m_tid != LLDB_INVALID_THREAD_ID || in HasSpecification() 145 if (GetIndex() != UINT32_MAX) in GetDescription()
|
/external/iptables/extensions/ |
D | libxt_CONNMARK.c | 186 info->ctmask = UINT32_MAX; in connmark_tg_init() 187 info->nfmask = UINT32_MAX; in connmark_tg_init() 390 if (info->nfmask == UINT32_MAX && info->ctmask == UINT32_MAX) in connmark_tg_print() 399 if (info->ctmask == UINT32_MAX && info->nfmask == UINT32_MAX) in connmark_tg_print() 437 if (info->nfmask == UINT32_MAX && info->ctmask == UINT32_MAX) in connmark_tg_print_v2() 446 if (info->ctmask == UINT32_MAX && info->nfmask == UINT32_MAX) in connmark_tg_print_v2() 576 info->nfmask == UINT32_MAX) in connmark_tg_xlate() 583 info->nfmask == UINT32_MAX) in connmark_tg_xlate() 619 if (!(info->nfmask == UINT32_MAX && in connmark_tg_xlate_v2() 620 info->ctmask == UINT32_MAX)) { in connmark_tg_xlate_v2() [all …]
|
/external/llvm-project/lldb/source/Core/ |
D | SourceManager.cpp | 163 if (m_last_line != 0 && m_last_line != UINT32_MAX) in DisplaySourceLinesWithLineNumbersUsingLastFile() 182 m_last_line = UINT32_MAX; in DisplaySourceLinesWithLineNumbersUsingLastFile() 234 m_last_line = UINT32_MAX; in DisplaySourceLinesWithLineNumbersUsingLastFile() 279 if (m_last_line == UINT32_MAX) in DisplayMoreWithLineNumbers() 306 m_last_line, m_last_count, UINT32_MAX, column, "", s, bp_locs); in DisplayMoreWithLineNumbers() 463 return UINT32_MAX; in GetLineOffset() 472 return UINT32_MAX; in GetLineOffset() 497 if (end_offset == UINT32_MAX) in GetLineLength() 578 if (start_line_offset != UINT32_MAX) { in DisplaySourceLines() 581 if (end_line_offset == UINT32_MAX) in DisplaySourceLines() [all …]
|