Home
last modified time | relevance | path

Searched refs:UINT32_MAX (Results 1 – 25 of 147) sorted by relevance

123456

/external/llvm/unittests/Support/
DBranchProbabilityTest.cpp108 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 …]
DScaledNumberTest.cpp46 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 …]
DBlockFrequencyTest.cpp22 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/bison/lib/
Dinttypes.in.h161 # ifdef UINT32_MAX
167 # ifdef UINT32_MAX
173 # ifdef UINT32_MAX
179 # ifdef UINT32_MAX
345 # if UINT_FAST8_MAX > UINT32_MAX
353 # if UINT_FAST8_MAX > UINT32_MAX
361 # if UINT_FAST8_MAX > UINT32_MAX
369 # if UINT_FAST8_MAX > UINT32_MAX
393 # if UINT_FAST16_MAX > UINT32_MAX
401 # if UINT_FAST16_MAX > UINT32_MAX
[all …]
Dbitrotate.h57 return ((x << n) | (x >> (32 - n))) & UINT32_MAX; in rotl32()
66 return ((x >> n) | (x << (32 - n))) & UINT32_MAX; in rotr32()
/external/bison/darwin-lib/
Dinttypes.h473 # ifdef UINT32_MAX
479 # ifdef UINT32_MAX
485 # ifdef UINT32_MAX
491 # ifdef UINT32_MAX
657 # if UINT_FAST8_MAX > UINT32_MAX
665 # if UINT_FAST8_MAX > UINT32_MAX
673 # if UINT_FAST8_MAX > UINT32_MAX
681 # if UINT_FAST8_MAX > UINT32_MAX
705 # if UINT_FAST16_MAX > UINT32_MAX
713 # if UINT_FAST16_MAX > UINT32_MAX
[all …]
Dstdint.h369 #undef UINT32_MAX
372 #define UINT32_MAX 4294967295U macro
410 #define UINT_LEAST32_MAX UINT32_MAX
495 # define UINTMAX_MAX UINT32_MAX
/external/bison/linux-lib/
Dinttypes.h473 # ifdef UINT32_MAX
479 # ifdef UINT32_MAX
485 # ifdef UINT32_MAX
491 # ifdef UINT32_MAX
657 # if UINT_FAST8_MAX > UINT32_MAX
665 # if UINT_FAST8_MAX > UINT32_MAX
673 # if UINT_FAST8_MAX > UINT32_MAX
681 # if UINT_FAST8_MAX > UINT32_MAX
705 # if UINT_FAST16_MAX > UINT32_MAX
713 # if UINT_FAST16_MAX > UINT32_MAX
[all …]
/external/gptfdisk/
Dmbr.cc62 if (diskSize < UINT32_MAX) { // If the disk is under 2TiB in MakeProtectiveMBR()
65 partitions[0].SetLocation(UINT32_C(1), UINT32_MAX); in MakeProtectiveMBR()
92 if (diskSize < UINT32_MAX) { // If the disk is under 2TiB in OptimizeEESize()
95 partitions[i].SetLengthLBA(UINT32_MAX - partitions[i].GetStartLBA()); in OptimizeEESize()
113 if ((start64 < UINT32_MAX) && (length64 < UINT32_MAX)) { in DeleteByLocation()
Dmbrpart.cc160 if (start > UINT32_MAX) in SetStartLBA()
167 if (length > UINT32_MAX) in SetLengthLBA()
179 if ((start > UINT32_MAX) || (length > UINT32_MAX)) { in SetLocation()
193 ((lengthLBA == diskSize - 1) || (lengthLBA == UINT32_MAX))) { in SetLocation()
/external/llvm/lib/Support/
DBranchProbability.cpp55 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/llvm/include/llvm/Support/
DBranchProbability.h37 static const uint32_t UnknownN = UINT32_MAX;
228 if (Sum > UINT32_MAX) { in normalizeEdgeWeights()
231 assert(Sum / UINT32_MAX < UINT32_MAX && in normalizeEdgeWeights()
233 uint32_t Scale = Sum / UINT32_MAX + 1; in normalizeEdgeWeights()
248 if (Sum + ZeroWeightNum > UINT32_MAX) { in normalizeEdgeWeights()
255 uint64_t ScalingFactor = (UINT32_MAX - ZeroWeightNum) / Sum; in normalizeEdgeWeights()
DDataTypes.h92 #define UINT32_MAX 4294967295U macro
140 #ifndef UINT32_MAX
141 # define UINT32_MAX 4294967295U macro
/external/opencv3/3rdparty/include/
Dmsc_stdint.h113 #define UINT32_MAX _UI32_MAX macro
127 #define UINT_LEAST32_MAX UINT32_MAX
141 #define UINT_FAST32_MAX UINT32_MAX
152 # define UINTPTR_MAX UINT32_MAX
/external/libvncserver/compat/msvc/
Dstdint.h142 #define UINT32_MAX _UI32_MAX macro
156 #define UINT_LEAST32_MAX UINT32_MAX
170 #define UINT_FAST32_MAX UINT32_MAX
181 # define UINTPTR_MAX UINT32_MAX
/external/jemalloc/include/msvc_compat/C99/
Dstdint.h142 #define UINT32_MAX _UI32_MAX macro
156 #define UINT_LEAST32_MAX UINT32_MAX
170 #define UINT_FAST32_MAX UINT32_MAX
181 # define UINTPTR_MAX UINT32_MAX
/external/mesa3d/include/c99/
Dstdint.h142 #define UINT32_MAX _UI32_MAX macro
156 #define UINT_LEAST32_MAX UINT32_MAX
170 #define UINT_FAST32_MAX UINT32_MAX
181 # define UINTPTR_MAX UINT32_MAX
/external/iptables/extensions/
Dlibxt_CONNMARK.c133 info->ctmask = UINT32_MAX; in connmark_tg_init()
134 info->nfmask = UINT32_MAX; in connmark_tg_init()
270 if (info->nfmask == UINT32_MAX && info->ctmask == UINT32_MAX) in connmark_tg_print()
279 if (info->ctmask == UINT32_MAX && info->nfmask == UINT32_MAX) in connmark_tg_print()
Dlibxt_SET.c286 info->timeout = UINT32_MAX; in set_target_init_v2()
311 if (!xtables_strtoui(optarg, NULL, &timeout, 0, UINT32_MAX - 1)) in set_target_parse_v2()
314 "or out of range 0-%u", UINT32_MAX - 1); in set_target_parse_v2()
331 if (info->timeout != UINT32_MAX) in set_target_print_v2()
344 if (info->timeout != UINT32_MAX) in set_target_save_v2()
Dlibxt_hashlimit.c157 r = cost ? UINT32_MAX / cost : UINT32_MAX; in cost_to_bytes()
165 return UINT32_MAX / (r+1); in bytes_to_cost()
188 if (!xtables_strtoul(burst, &end, &v, 1, UINT32_MAX) || in parse_burst()
193 if (v > UINT32_MAX) in parse_burst()
196 "(max %umb).", burst, UINT32_MAX/1024/1024); in parse_burst()
216 if (tmp > UINT32_MAX) in parse_bytes()
219 (unsigned long long)tmp, UINT32_MAX); in parse_bytes()
Dlibxt_owner.c149 else if (!xtables_strtoui(cb->arg, NULL, &id, 0, UINT32_MAX - 1)) in owner_mt_parse_v0()
159 else if (!xtables_strtoui(cb->arg, NULL, &id, 0, UINT32_MAX - 1)) in owner_mt_parse_v0()
196 else if (!xtables_strtoui(cb->arg, NULL, &id, 0, UINT32_MAX - 1)) in owner_mt6_parse_v0()
206 else if (!xtables_strtoui(cb->arg, NULL, &id, 0, UINT32_MAX - 1)) in owner_mt6_parse_v0()
232 if (!xtables_strtoui(s, &end, from, 0, UINT32_MAX - 1)) in owner_parse_range()
236 if (!xtables_strtoui(end + 1, &end, to, 0, UINT32_MAX - 1)) in owner_parse_range()
Dlibxt_LED.c62 else if (!xtables_strtoui(cb->arg, NULL, &led->delay, 0, UINT32_MAX)) in LED_parse()
65 UINT32_MAX); in LED_parse()
/external/llvm/include/llvm/Transforms/
DInstrumentation.h162 return MaxCount < UINT32_MAX ? 1 : MaxCount / UINT32_MAX + 1; in calculateCountScale()
171 assert(Scaled <= UINT32_MAX && "overflow 32-bits"); in scaleBranchCount()
/external/llvm/test/CodeGen/X86/
Dswitch-edge-weight.ll36 ; BB#0 to BB#5: [1134, UINT32_MAX] (25 = 20 + 5)
46 ; BB#5 to BB#6: [1134, UINT32_MAX] - {1140} (15 = 10 + 5)
51 ; BB#6 to BB#2: [1134, UINT32_MAX] - {1134, 1140} (5)
103 ; BB#0 to BB#6: {0} + [15, UINT32_MAX] (5)
164 ; BB#0 to BB#6: [0, 9] + [15, UINT32_MAX] {10}
217 ; BB#0 to BB#6: [0, 110] + [116, UINT32_MAX] (20)
274 ; BB#0 to BB#6: [10, UINT32_MAX] (15)
/external/icu/icu4c/source/common/unicode/
Dumachine.h191 #ifndef UINT32_MAX
193 # define UINT32_MAX ((uint32_t)(4294967295U)) macro

123456