Home
last modified time | relevance | path

Searched refs:USHRT_MAX (Results 1 – 25 of 75) sorted by relevance

123

/external/python/cpython2/Lib/test/
Dtest_structmembers.py8 SHRT_MAX, SHRT_MIN, USHRT_MAX, \
38 ts.T_USHORT = USHRT_MAX
39 self.assertEqual(ts.T_USHORT, USHRT_MAX)
103 ts.T_USHORT = USHRT_MAX+1
Dtest_poll.py169 from _testcapi import USHRT_MAX, INT_MAX, UINT_MAX
174 self.assertRaises(OverflowError, pollster.register, 0, USHRT_MAX + 1)
175 self.assertRaises(OverflowError, pollster.modify, 1, USHRT_MAX + 1)
Dtest_getargs2.py46 from _testcapi import UCHAR_MAX, USHRT_MAX, UINT_MAX, ULONG_MAX, INT_MAX, \
170 self.assertEqual(USHRT_MAX, getargs_H(-1))
172 self.assertEqual(USHRT_MAX, getargs_H(USHRT_MAX))
173 self.assertEqual(0, getargs_H(USHRT_MAX+1))
178 self.assertEqual(VERY_LARGE & USHRT_MAX, getargs_H(VERY_LARGE))
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_framebuffer.c63 assert(surface->width < USHRT_MAX); in update_framebuffer_size()
64 assert(surface->height < USHRT_MAX); in update_framebuffer_size()
208 if (framebuffer.width == USHRT_MAX) in st_update_framebuffer_state()
210 if (framebuffer.height == USHRT_MAX) in st_update_framebuffer_state()
/external/google-breakpad/src/processor/
Dbinarystream.cc88 if (str.length() > USHRT_MAX) { in operator <<()
90 *this << static_cast<uint16_t>(USHRT_MAX); in operator <<()
91 stream_.write(str.c_str(), USHRT_MAX); in operator <<()
/external/python/cpython3/Lib/test/
Dtest_structmembers.py8 SHRT_MAX, SHRT_MIN, USHRT_MAX, \
51 ts.T_USHORT = USHRT_MAX
52 self.assertEqual(ts.T_USHORT, USHRT_MAX)
140 ts.T_USHORT = USHRT_MAX+1
Dtest_devpoll.py132 from _testcapi import USHRT_MAX
137 self.assertRaises(OverflowError, pollster.register, 0, USHRT_MAX + 1)
138 self.assertRaises(OverflowError, pollster.modify, 1, USHRT_MAX + 1)
Dtest_poll.py169 from _testcapi import USHRT_MAX, INT_MAX, UINT_MAX
174 self.assertRaises(OverflowError, pollster.register, 0, USHRT_MAX + 1)
175 self.assertRaises(OverflowError, pollster.modify, 1, USHRT_MAX + 1)
Dtest_getargs2.py43 from _testcapi import UCHAR_MAX, USHRT_MAX, UINT_MAX, ULONG_MAX, INT_MAX, \
182 self.assertEqual(USHRT_MAX, getargs_H(-1))
184 self.assertEqual(USHRT_MAX, getargs_H(USHRT_MAX))
185 self.assertEqual(0, getargs_H(USHRT_MAX+1))
189 self.assertEqual(VERY_LARGE & USHRT_MAX, getargs_H(VERY_LARGE))
/external/clang/test/Headers/
Dlimits.cpp14 _Static_assert(SHRT_MAX == USHRT_MAX/2, "");
24 _Static_assert(USHRT_MAX == (unsigned short)~0ULL, "");
/external/libcxx/test/std/language.support/support.limits/c.limits/
Dclimits.pass.cpp50 #ifndef USHRT_MAX
51 #error USHRT_MAX not defined
/external/libcxx/test/std/depr/depr.c.headers/
Dlimits_h.pass.cpp50 #ifndef USHRT_MAX
51 #error USHRT_MAX not defined
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/
Dmax.pass.cpp47 test<char16_t>(USHRT_MAX); in main()
51 test<unsigned short>(USHRT_MAX); in main()
/external/clang/lib/Headers/
Dlimits.h47 #undef USHRT_MAX
71 #define USHRT_MAX (__SHRT_MAX__ *2 +1) macro
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/
D5-1-buildonly.c21 shmatt_t tmax = USHRT_MAX;
/external/ltp/testcases/kernel/syscalls/setreuid/
Dsetreuid06.c39 #define INVAL_USER (USHRT_MAX-2)
/external/u-boot/include/linux/
Dkernel.h7 #define USHRT_MAX ((u16)(~0U)) macro
8 #define SHRT_MAX ((s16)(USHRT_MAX>>1))
/external/e2fsprogs/intl/
Dgmo.h58 # if USHRT_MAX == UINT_MAX_32_BITS
/external/libcxx/include/
Dclimits28 USHRT_MAX
/external/freetype/include/freetype/config/
Dftstdlib.h62 #define FT_USHORT_MAX USHRT_MAX
/external/ltp/testcases/kernel/security/integrity/ima/src/
Dima_boot_aggregate.c100 #if MAX_EVENT_DATA_SIZE < USHRT_MAX in main()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_array.c50 EXTRACT_FUNC(GLushort, float, USHRT_MAX);
/external/toybox/toys/pending/
Dstty.c344 else if (!strcmp(arg, "rows")) set_size(1, get_arg(&i, 0, USHRT_MAX)); in do_stty()
346 set_size(0, get_arg(&i, 0, USHRT_MAX)); in do_stty()
/external/python/cpython2/Lib/plat-sunos5/
DTYPES.py216 USHRT_MAX = 65535 variable
/external/python/cpython3/Python/
Dstructmember.c173 if ((long_val > USHRT_MAX) || (long_val < 0)) in PyMember_SetOne()

123