/external/clang/test/Analysis/ |
D | additive-folding.cpp | 5 #define UINT_MAX (~0U) macro 6 #define INT_MAX (UINT_MAX & (UINT_MAX >> 1)) 44 if (a == UINT_MAX) { in eq_ne() 46 clang_analyzer_eval(a-1 == UINT_MAX-1); // expected-warning{{TRUE}} in eq_ne() 49 clang_analyzer_eval(a-1 != UINT_MAX-1); // expected-warning{{TRUE}} in eq_ne() 75 if (a >= UINT_MAX) in baselineGE() 76 clang_analyzer_eval(a == UINT_MAX); // expected-warning{{TRUE}} in baselineGE() 78 clang_analyzer_eval(a != UINT_MAX); // expected-warning{{TRUE}} in baselineGE() 82 if (a < UINT_MAX) in baselineLT() 83 clang_analyzer_eval(a != UINT_MAX); // expected-warning{{TRUE}} in baselineLT() [all …]
|
D | additive-folding-range-constraints.c | 5 #define UINT_MAX (~0U) macro 6 #define INT_MAX (UINT_MAX & (UINT_MAX >> 1)) 15 clang_analyzer_eval(a < UINT_MAX-1); // expected-warning{{TRUE}} in smallAdjustmentGT() 17 clang_analyzer_eval(a == UINT_MAX-1 || a == UINT_MAX); // expected-warning{{TRUE}} in smallAdjustmentGT() 22 clang_analyzer_eval(a < UINT_MAX-1 || a == UINT_MAX); // expected-warning{{TRUE}} in smallAdjustmentGE() 24 clang_analyzer_eval(a == UINT_MAX-1); // expected-warning{{TRUE}} in smallAdjustmentGE() 29 clang_analyzer_eval(a == 0 || a == UINT_MAX); // expected-warning{{TRUE}} in smallAdjustmentLT() 34 clang_analyzer_eval(a == 0 || a == 1 || a == UINT_MAX); // expected-warning{{TRUE}} in smallAdjustmentLE() 42 if (a-2 > UINT_MAX-1) in largeAdjustmentGT() 49 if (a-2 >= UINT_MAX-1) in largeAdjustmentGE() [all …]
|
D | index-type.c | 5 #define UINT_MAX (~0u) macro 9 #define X86_ARRAY_SIZE (UINT_MAX/2 + 4) 13 char *ptr = arr + UINT_MAX/2; in testIndexTooBig() 24 char *ptr = arr + UINT_MAX/2; in testIndexOverflow64()
|
/external/llvm-project/clang/test/Analysis/ |
D | additive-folding.cpp | 5 #define UINT_MAX (~0U) macro 6 #define INT_MAX (UINT_MAX & (UINT_MAX >> 1)) 44 if (a == UINT_MAX) { in eq_ne() 46 clang_analyzer_eval(a-1 == UINT_MAX-1); // expected-warning{{TRUE}} in eq_ne() 49 clang_analyzer_eval(a-1 != UINT_MAX-1); // expected-warning{{TRUE}} in eq_ne() 75 if (a >= UINT_MAX) in baselineGE() 76 clang_analyzer_eval(a == UINT_MAX); // expected-warning{{TRUE}} in baselineGE() 78 clang_analyzer_eval(a != UINT_MAX); // expected-warning{{TRUE}} in baselineGE() 82 if (a < UINT_MAX) in baselineLT() 83 clang_analyzer_eval(a != UINT_MAX); // expected-warning{{TRUE}} in baselineLT() [all …]
|
D | additive-folding-range-constraints.c | 5 #define UINT_MAX (~0U) macro 6 #define INT_MAX (UINT_MAX & (UINT_MAX >> 1)) 15 clang_analyzer_eval(a < UINT_MAX-1); // expected-warning{{TRUE}} in smallAdjustmentGT() 17 clang_analyzer_eval(a == UINT_MAX-1 || a == UINT_MAX); // expected-warning{{TRUE}} in smallAdjustmentGT() 22 clang_analyzer_eval(a < UINT_MAX-1 || a == UINT_MAX); // expected-warning{{TRUE}} in smallAdjustmentGE() 24 clang_analyzer_eval(a == UINT_MAX-1); // expected-warning{{TRUE}} in smallAdjustmentGE() 29 clang_analyzer_eval(a == 0 || a == UINT_MAX); // expected-warning{{TRUE}} in smallAdjustmentLT() 34 clang_analyzer_eval(a == 0 || a == 1 || a == UINT_MAX); // expected-warning{{TRUE}} in smallAdjustmentLE() 42 if (a-2 > UINT_MAX-1) in largeAdjustmentGT() 49 if (a-2 >= UINT_MAX-1) in largeAdjustmentGE() [all …]
|
D | constraint_manager_negate_difference.c | 8 #define UINT_MAX (~UINT_MIN) macro 9 #define UINT_MID (UINT_MAX / 2 + 1) 10 #define INT_MAX (UINT_MAX & (UINT_MAX >> 1)) 11 #define INT_MIN (UINT_MAX & ~(UINT_MAX >> 1)) 140 if (m - n == UINT_MAX) { in negate_unsigned_max() 148 clang_analyzer_eval(n - m == UINT_MAX); // expected-warning{{TRUE}} in negate_unsigned_one() 149 clang_analyzer_eval(n - m < UINT_MAX); // expected-warning{{FALSE}} in negate_unsigned_one()
|
D | index-type.c | 5 #define UINT_MAX (~0u) macro 9 #define X86_ARRAY_SIZE (UINT_MAX/2 + 4) 13 char *ptr = arr + UINT_MAX/2; in testIndexTooBig() 24 char *ptr = arr + UINT_MAX/2; in testIndexOverflow64()
|
D | constant-folding.c | 3 #define UINT_MAX (~0U) macro 4 #define INT_MAX (int)(UINT_MAX & (UINT_MAX >> 1)) 5 #define INT_MIN (int)(UINT_MAX & ~(UINT_MAX >> 1))
|
/external/linux-kselftest/tools/testing/selftests/bpf/verifier/ |
D | jmp32.c | 208 BPF_JMP32_IMM(BPF_JGE, BPF_REG_7, UINT_MAX - 1, 1), 218 .data64 = { UINT_MAX, } 221 .data64 = { UINT_MAX - 1, } 233 BPF_LD_IMM64(BPF_REG_8, UINT_MAX | 1ULL << 32), 245 .data64 = { UINT_MAX, } 251 .data64 = { (UINT_MAX - 1) | 2ULL << 32, } 276 BPF_JMP32_IMM(BPF_JGT, BPF_REG_7, UINT_MAX - 1, 1), 286 .data64 = { UINT_MAX, } 289 .data64 = { UINT_MAX - 1, } 301 BPF_LD_IMM64(BPF_REG_8, (UINT_MAX - 1) | 1ULL << 32), [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_ucn.py | 16 from _testcapi import INT_MAX, PY_SSIZE_T_MAX, UINT_MAX 18 INT_MAX = PY_SSIZE_T_MAX = UINT_MAX = 2**64 - 1 148 @unittest.skipUnless(UINT_MAX < sys.maxint, "needs UINT_MAX < sys.maxint") 149 @test_support.bigmemtest(minsize=UINT_MAX + 1, 157 x = b'\\N{SPACE' + b'x' * int(UINT_MAX + 1) + b'}' 158 self.assertEqual(len(x), len(b'\\N{SPACE}') + (UINT_MAX + 1))
|
/external/llvm-project/llvm/lib/Target/SystemZ/ |
D | SystemZHazardRecognizer.cpp | 86 LastFPdOpCycleIdx = UINT_MAX; in Reset() 158 if (CriticalResourceIdx != UINT_MAX && in nextGroup() 161 CriticalResourceIdx = UINT_MAX; in nextGroup() 242 if (CriticalResourceIdx != UINT_MAX) in dumpProcResourceCounters() 253 if (LastFPdOpCycleIdx != UINT_MAX) in dumpState() 261 CriticalResourceIdx = UINT_MAX; in clearProcResCounters() 307 (CriticalResourceIdx == UINT_MAX || in EmitInstruction() 374 if (LastFPdOpCycleIdx == UINT_MAX) in isFPdOpPreferred_distance() 399 else if (CriticalResourceIdx != UINT_MAX) { in resourcesCost()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZHazardRecognizer.cpp | 86 LastFPdOpCycleIdx = UINT_MAX; in Reset() 158 if (CriticalResourceIdx != UINT_MAX && in nextGroup() 161 CriticalResourceIdx = UINT_MAX; in nextGroup() 242 if (CriticalResourceIdx != UINT_MAX) in dumpProcResourceCounters() 253 if (LastFPdOpCycleIdx != UINT_MAX) in dumpState() 261 CriticalResourceIdx = UINT_MAX; in clearProcResCounters() 307 (CriticalResourceIdx == UINT_MAX || in EmitInstruction() 374 if (LastFPdOpCycleIdx == UINT_MAX) in isFPdOpPreferred_distance() 399 else if (CriticalResourceIdx != UINT_MAX) { in resourcesCost()
|
/external/e2fsprogs/intl/ |
D | gmo.h | 51 #ifndef UINT_MAX 52 # define UINT_MAX UINT_MAX_32_BITS macro 55 #if UINT_MAX == UINT_MAX_32_BITS
|
/external/arm-trusted-firmware/plat/rockchip/common/ |
D | params_setup.c | 25 static struct bl_aux_gpio_info rst_gpio = { .index = UINT_MAX } ; 26 static struct bl_aux_gpio_info poweroff_gpio = { .index = UINT_MAX }; 179 if (rst_gpio.index == UINT_MAX) in plat_get_rockchip_gpio_reset() 187 if (poweroff_gpio.index == UINT_MAX) in plat_get_rockchip_gpio_poweroff()
|
/external/vboot_reference/firmware/lib/ |
D | vboot_audio.c | 19 #ifndef UINT_MAX 20 #define UINT_MAX 4294967295U /* 0xffffffff */ macro 112 if ((sizeof(VbDevMusicNote) > UINT_MAX / hdr->count) || in VbGetDevMusicNotes() 114 UINT_MAX - hdr->count * sizeof(VbDevMusicNote))) { in VbGetDevMusicNotes() 167 if (hdr->count > (UINT_MAX / sizeof(VbDevMusicNote) - 1)) { in VbGetDevMusicNotes()
|
/external/python/cpython3/Lib/test/ |
D | test_ucn.py | 17 from _testcapi import INT_MAX, PY_SSIZE_T_MAX, UINT_MAX 19 INT_MAX = PY_SSIZE_T_MAX = UINT_MAX = 2**64 - 1 228 @support.bigmemtest(size=UINT_MAX + 1, memuse=2 + 1, dry_run=False) 231 x = b'\\N{SPACE' + b'x' * (UINT_MAX + 1) + b'}' 232 self.assertEqual(len(x), len(b'\\N{SPACE}') + (UINT_MAX + 1))
|
/external/jsoncpp/test/data/ |
D | legacy_test_real_08.expected | 2 // same as UINT_MAX in base 10 and digit less than UINT_MAX's last digit in
|
D | legacy_test_real_08.json | 2 // same as UINT_MAX in base 10 and digit less than UINT_MAX's last digit in
|
/external/swiftshader/src/OpenGL/compiler/ |
D | AnalyzeCallDepth.cpp | 73 return UINT_MAX; in analyzeCallDepth() 84 if(calleeDepth != UINT_MAX) ++calleeDepth; in analyzeCallDepth() 232 if(depth != UINT_MAX) ++depth; in analyzeCallDepth() 237 if(globalDepth != UINT_MAX) ++globalDepth; in analyzeCallDepth()
|
/external/python/cpython2/Modules/ |
D | zlibmodule.c | 136 if ((size_t)*remains > UINT_MAX) { in arrange_input_buffer() 137 zst->avail_in = UINT_MAX; in arrange_input_buffer() 175 if ((size_t)(length - occupied) > UINT_MAX) { in arrange_output_buffer_with_maximum() 176 zst->avail_out = UINT_MAX; in arrange_output_buffer_with_maximum() 1012 while ((size_t)len > UINT_MAX) { in PyZlib_adler32() 1013 adler32val = adler32(adler32val, buf, UINT_MAX); in PyZlib_adler32() 1014 buf += (size_t) UINT_MAX; in PyZlib_adler32() 1015 len -= (size_t) UINT_MAX; in PyZlib_adler32() 1044 while ((size_t)len > UINT_MAX) { in PyZlib_crc32() 1045 crc32val = crc32(crc32val, buf, UINT_MAX); in PyZlib_crc32() [all …]
|
/external/clang/test/Headers/ |
D | limits.cpp | 15 _Static_assert(INT_MAX == UINT_MAX/2, ""); 25 _Static_assert(UINT_MAX == (unsigned int)~0ULL, "");
|
/external/ltp/testcases/kernel/syscalls/alarm/ |
D | alarm02.c | 25 {"UINT_MAX/2", UINT_MAX/2}, 26 {"UINT_MAX/4", UINT_MAX/4},
|
/external/llvm-project/clang/test/Headers/ |
D | limits.cpp | 15 _Static_assert(INT_MAX == UINT_MAX/2, ""); 25 _Static_assert(UINT_MAX == (unsigned int)~0ULL, "");
|
/external/libcxx/test/std/depr/depr.c.headers/ |
D | limits_h.pass.cpp | 62 #ifndef UINT_MAX 63 #error UINT_MAX not defined
|
/external/llvm-project/libcxx/test/std/language.support/support.limits/c.limits/ |
D | climits.pass.cpp | 63 #ifndef UINT_MAX 64 #error UINT_MAX not defined
|