Home
last modified time | relevance | path

Searched refs:UINT_MAX (Results 1 – 25 of 330) sorted by relevance

12345678910>>...14

/external/clang/test/Analysis/
Dadditive-folding.cpp5 #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 …]
Dadditive-folding-range-constraints.c5 #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 …]
Dindex-type.c5 #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/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_binning.c58 for (i = 0; subtable[i].start != UINT_MAX; i++) { in si_find_bin_size()
101 { UINT_MAX, 0, 0 }, in si_get_color_bin_size()
110 { UINT_MAX, 0, 0 }, in si_get_color_bin_size()
118 { UINT_MAX, 0, 0 }, in si_get_color_bin_size()
130 { UINT_MAX, 0, 0 }, in si_get_color_bin_size()
139 { UINT_MAX, 0, 0 }, in si_get_color_bin_size()
149 { UINT_MAX, 0, 0 }, in si_get_color_bin_size()
162 { UINT_MAX, 0, 0 }, in si_get_color_bin_size()
173 { UINT_MAX, 0, 0 }, in si_get_color_bin_size()
184 { UINT_MAX, 0, 0 }, in si_get_color_bin_size()
[all …]
/external/python/cpython2/Lib/test/
Dtest_ucn.py16 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))
Dtest_structmembers.py9 INT_MAX, INT_MIN, UINT_MAX, \
46 ts.T_UINT = UINT_MAX
47 self.assertEqual(ts.T_UINT, UINT_MAX)
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZHazardRecognizer.cpp87 LastFPdOpCycleIdx = UINT_MAX; in Reset()
154 if (CriticalResourceIdx != UINT_MAX && in nextGroup()
157 CriticalResourceIdx = UINT_MAX; in nextGroup()
238 if (CriticalResourceIdx != UINT_MAX) in dumpProcResourceCounters()
249 if (LastFPdOpCycleIdx != UINT_MAX) in dumpState()
257 CriticalResourceIdx = UINT_MAX; in clearProcResCounters()
303 (CriticalResourceIdx == UINT_MAX || in EmitInstruction()
370 if (LastFPdOpCycleIdx == UINT_MAX) in isFPdOpPreferred_distance()
395 else if (CriticalResourceIdx != UINT_MAX) { in resourcesCost()
/external/e2fsprogs/intl/
Dgmo.h51 #ifndef UINT_MAX
52 # define UINT_MAX UINT_MAX_32_BITS macro
55 #if UINT_MAX == UINT_MAX_32_BITS
/external/vboot_reference/firmware/lib/
Dvboot_audio.c19 #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/
Dtest_ucn.py18 from _testcapi import INT_MAX, PY_SSIZE_T_MAX, UINT_MAX
20 INT_MAX = PY_SSIZE_T_MAX = UINT_MAX = 2**64 - 1
225 @support.bigmemtest(size=UINT_MAX + 1, memuse=2 + 1, dry_run=False)
228 x = b'\\N{SPACE' + b'x' * (UINT_MAX + 1) + b'}'
229 self.assertEqual(len(x), len(b'\\N{SPACE}') + (UINT_MAX + 1))
Dtest_structmembers.py9 INT_MAX, INT_MIN, UINT_MAX, \
59 ts.T_UINT = UINT_MAX
60 self.assertEqual(ts.T_UINT, UINT_MAX)
/external/swiftshader/src/OpenGL/compiler/
DAnalyzeCallDepth.cpp73 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()
DCompiler.cpp71 MaxCallStackDepth = UINT_MAX; in ShBuiltInResources()
76 maxCallStackDepth(UINT_MAX) in TCompiler()
222 else if(depth == UINT_MAX) in validateCallDepth()
/external/python/cpython2/Modules/
Dzlibmodule.c136 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/jsoncpp/test/data/
Dtest_real_08.json2 // same as UINT_MAX in base 10 and digit less than UINT_MAX's last digit in
Dtest_real_08.expected2 // same as UINT_MAX in base 10 and digit less than UINT_MAX's last digit in
/external/linux-kselftest/tools/testing/selftests/sysctl/
Dsysctl.sh94 if [ -z $UINT_MAX ]; then
95 UINT_MAX=$(getconf UINT_MAX)
444 TEST_STR="$UINT_MAX"
457 TEST_STR=$(($UINT_MAX+1))
/external/python/cpython3/Modules/
Dzlibmodule.c136 zst->avail_in = (uInt)Py_MIN((size_t)*remains, UINT_MAX); in arrange_input_buffer()
171 zst->avail_out = (uInt)Py_MIN((size_t)(length - occupied), UINT_MAX); in arrange_output_buffer_with_maximum()
457 if (zdict->buf != NULL && (size_t)zdict->len > UINT_MAX) { in zlib_compressobj_impl()
518 if ((size_t)zdict_buf.len > UINT_MAX) { in set_inflate_zdict()
1187 while ((size_t)len > UINT_MAX) { in zlib_adler32_impl()
1188 value = adler32(value, buf, UINT_MAX); in zlib_adler32_impl()
1189 buf += (size_t) UINT_MAX; in zlib_adler32_impl()
1190 len -= (size_t) UINT_MAX; in zlib_adler32_impl()
1228 while ((size_t)len > UINT_MAX) { in zlib_crc32_impl()
1229 value = crc32(value, buf, UINT_MAX); in zlib_crc32_impl()
[all …]
/external/ltp/testcases/kernel/device-drivers/block/block_dev_kernel/
Dltp_block_dev.c229 prk_info("Test Case 5: register_blkdev() with major=%u\n", UINT_MAX); in tc05()
231 major = register_blkdev(UINT_MAX, BLK_DEV_NAME); in tc05()
235 unregister_blkdev(UINT_MAX, BLK_DEV_NAME); in tc05()
238 UINT_MAX, major); in tc05()
/external/ltp/testcases/kernel/syscalls/alarm/
Dalarm02.c25 {"UINT_MAX/2", UINT_MAX/2},
26 {"UINT_MAX/4", UINT_MAX/4},
/external/clang/test/Headers/
Dlimits.cpp15 _Static_assert(INT_MAX == UINT_MAX/2, "");
25 _Static_assert(UINT_MAX == (unsigned int)~0ULL, "");
/external/libcxx/test/std/language.support/support.limits/c.limits/
Dclimits.pass.cpp62 #ifndef UINT_MAX
63 #error UINT_MAX not defined
/external/libcxx/test/std/depr/depr.c.headers/
Dlimits_h.pass.cpp62 #ifndef UINT_MAX
63 #error UINT_MAX not defined
/external/v8/src/inspector/
Dstring-16.h49 String16 substring(size_t pos, size_t len = UINT_MAX) const {
55 size_t reverseFind(const String16& str, size_t start = UINT_MAX) const {
59 size_t reverseFind(UChar c, size_t start = UINT_MAX) const {
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/
Dmax.pass.cpp48 test<char32_t>(UINT_MAX); in main()
53 test<unsigned int>(UINT_MAX); in main()

12345678910>>...14