Home
last modified time | relevance | path

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

1234567891011

/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/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/valgrind/coregrind/m_debuginfo/
Dlzodefs.h106 #if (UINT_MAX == LZO_0xffffL)
125 #if defined(_MSC_VER) && defined(M_I86HM) && (UINT_MAX == LZO_0xffffL)
129 #if (UINT_MAX == LZO_0xffffL)
198 #if (UINT_MAX == LZO_0xffffL)
306 # if (UINT_MAX == LZO_0xffffL)
309 # elif (UINT_MAX == LZO_0xffffffffL)
325 # if (UINT_MAX == LZO_0xffffL)
328 # elif (UINT_MAX == LZO_0xffffffffL)
335 # if (UINT_MAX == LZO_0xffffL)
338 # elif (UINT_MAX == LZO_0xffffffffL)
[all …]
Dlzoconf.h66 #if !defined(UCHAR_MAX) || !defined(UINT_MAX) || !defined(ULONG_MAX)
69 #if (USHRT_MAX < 1) || (UINT_MAX < 1) || (ULONG_MAX < 1)
89 # if (UINT_MAX < LZO_0xffffffffL)
130 # define LZO_UINT_MAX UINT_MAX
146 # if (UINT_MAX >= LZO_0xffffffffL)
149 # define LZO_UINT32_MAX UINT_MAX
193 # if (LZO_UINT_MAX <= UINT_MAX)
/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/libvncserver/common/
Dmd5.h57 # ifndef UINT_MAX
58 # define UINT_MAX UINT_MAX_32_BITS macro
61 # if UINT_MAX == UINT_MAX_32_BITS
Dlzodefs.h119 #if (UINT_MAX == LZO_0xffffL)
138 #if defined(_MSC_VER) && defined(M_I86HM) && (UINT_MAX == LZO_0xffffL)
142 #if (UINT_MAX == LZO_0xffffL)
211 #if (UINT_MAX == LZO_0xffffL)
344 # if (UINT_MAX == LZO_0xffffL)
347 # elif (UINT_MAX == LZO_0xffffffffL)
363 # if (UINT_MAX == LZO_0xffffL)
366 # elif (UINT_MAX == LZO_0xffffffffL)
373 # if (UINT_MAX == LZO_0xffffL)
376 # elif (UINT_MAX == LZO_0xffffffffL)
[all …]
/external/valgrind/none/tests/s390x/
Dlpr.c81 t32(INT_MAX); t32(INT_MIN); t32(UINT_MAX); in main()
85 t64(INT_MAX); t64(INT_MIN); t64(UINT_MAX); in main()
90 t3264(INT_MAX); t3264(INT_MIN); t3264(UINT_MAX); in main()
/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/mesa3d/src/mesa/state_tracker/
Dst_atom_framebuffer.c62 assert(surface->width < UINT_MAX); in update_framebuffer_size()
63 assert(surface->height < UINT_MAX); in update_framebuffer_size()
208 if (framebuffer->width == UINT_MAX) in update_framebuffer_state()
210 if (framebuffer->height == UINT_MAX) in update_framebuffer_state()
/external/syslinux/gpxe/src/arch/x86_64/include/
Dlimits.h31 #define UINT_MAX 4294967295U macro
40 #define UINT_MAX 4294967295U macro
/external/syslinux/gpxe/src/arch/i386/include/
Dlimits.h33 #define UINT_MAX 4294967295U macro
42 #define UINT_MAX 4294967295U macro
/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/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()
/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/syslinux/lzo/include/lzo/
Dlzodefs.h119 #if (UINT_MAX == LZO_0xffffL)
138 #if defined(_MSC_VER) && defined(M_I86HM) && (UINT_MAX == LZO_0xffffL)
142 #if (UINT_MAX == LZO_0xffffL)
211 #if (UINT_MAX == LZO_0xffffL)
344 # if (UINT_MAX == LZO_0xffffL)
347 # elif (UINT_MAX == LZO_0xffffffffL)
363 # if (UINT_MAX == LZO_0xffffL)
366 # elif (UINT_MAX == LZO_0xffffffffL)
373 # if (UINT_MAX == LZO_0xffffL)
376 # elif (UINT_MAX == LZO_0xffffffffL)
[all …]
/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/depr/depr.c.headers/
Dlimits_h.pass.cpp62 #ifndef UINT_MAX
63 #error UINT_MAX not defined
/external/libcxx/test/std/language.support/support.limits/c.limits/
Dclimits.pass.cpp62 #ifndef UINT_MAX
63 #error UINT_MAX not defined
/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/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/
Dmax.pass.cpp43 test<char32_t>(UINT_MAX); in main()
48 test<unsigned int>(UINT_MAX); in main()

1234567891011