Home
last modified time | relevance | path

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

/external/stlport/test/unit/
Dmacro_checks.cpp109 #if !defined (USHRT_MAX)
110 # error Missing USHRT_MAX definition.
113 #if (USHRT_MAX < 0)
114 # error Weird USHRT_MAX macro value.
/external/clang/lib/Headers/
Dlimits.h48 #undef USHRT_MAX
72 #define USHRT_MAX (__SHRT_MAX__ *2 +1) macro
/external/safe-iop/src/
Dsafe_iop.c273 a=1; b=USHRT_MAX; EXPECT_FALSE(safe_add(NULL, a, b)); in T_add_u16()
274 a=USHRT_MAX/2; b=a+2; EXPECT_FALSE(safe_add(NULL, a, b)); in T_add_u16()
275 a=USHRT_MAX/2; b=a; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_u16()
276 a=USHRT_MAX/2; b=a+1; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_u16()
278 a=0; b=USHRT_MAX; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_u16()
482 a=0; b=USHRT_MAX; EXPECT_FALSE(safe_sub(NULL, a, b)); in T_sub_u16()
483 a=USHRT_MAX-1; b=USHRT_MAX; EXPECT_FALSE(safe_sub(NULL, a, b)); in T_sub_u16()
484 a=USHRT_MAX; b=USHRT_MAX; EXPECT_TRUE(safe_sub(NULL, a, b)); in T_sub_u16()
698 a=USHRT_MAX-1; b=2; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_u16()
699 a=2; b=USHRT_MAX-1; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_u16()
[all …]
/external/dropbear/libtommath/mtest/
Dmpi-types.h9 #define MP_DIGIT_MAX USHRT_MAX
/external/webkit/Source/WebCore/rendering/
DInlineTextBox.h35 const unsigned short cNoTruncation = USHRT_MAX;
36 const unsigned short cFullTruncation = USHRT_MAX - 1;
/external/liblzf/
DlzfP.h170 # if USHRT_MAX == 65535
/external/e2fsprogs/intl/
Dgmo.h58 # if USHRT_MAX == UINT_MAX_32_BITS
/external/freetype/include/freetype/config/
Dftstdlib.h63 #define FT_USHORT_MAX USHRT_MAX
/external/svox/pico/lib/
Dpicoapi.h161 #if (USHRT_MAX == PICO_UINT16_MAX)
/external/qemu/audio/
Dmixeng.c87 #define IN_MAX USHRT_MAX
/external/qemu/distrib/zlib-1.2.3/
Dcrc32.c44 # if (USHRT_MAX == 0xffffffffUL)
/external/zlib/src/
Dzconf.h401 # if (USHRT_MAX == 0xffffffffUL)
Dzconf.h.in401 # if (USHRT_MAX == 0xffffffffUL)
Dzconf.h.cmakein403 # if (USHRT_MAX == 0xffffffffUL)
/external/zlib/
Dzconf.h401 # if (USHRT_MAX == 0xffffffffUL)
/external/libpcap/
Dpcap-linux.c956 #ifdef USHRT_MAX in pcap_setfilter_linux()
957 if (handle->fcode.bf_len > USHRT_MAX) { in pcap_setfilter_linux()
/external/stlport/stlport/stl/
D_limits.h229 : public _STLP_PRIV _Integer_limits<unsigned short, 0, USHRT_MAX, -1, true>
/external/srec/srec/crec/
Dsrec.c543 ASSERT(((float)current_best_cost + current_prune_delta) < (float)USHRT_MAX); in reprune_new_states()
621 ASSERT((float)current_best_cost + (float)current_prune_delta < (float)USHRT_MAX); in reprune_fsmnode_tokens()
1120 ASSERT(((float)current_best_cost + current_prune_delta) < (float)USHRT_MAX); in update_internal_hmm_states()
1650 ASSERT((float)cost + (float)current_prune_delta < (float)USHRT_MAX); in update_from_current_fsm_nodes_into_new_HMMs()
/external/safe-iop/include/
Dsafe_iop.h569 MAKE_UADD(u, 16, u_int16_t, USHRT_MAX)
602 MAKE_UMUL(u, 16, u_int16_t, USHRT_MAX)
/external/webkit/Source/JavaScriptCore/parser/
DLexer.cpp398 ASSERT(c <= USHRT_MAX); in record16()
/external/webkit/Source/WebKit/win/WebCoreSupport/
DWebChromeClient.cpp70 static const size_t maxFilePathsListSize = USHRT_MAX;
/external/chromium/testing/gtest/test/
Dgtest-printers_test.cc347 EXPECT_EQ("65535", Print(USHRT_MAX)); // uint16 in TEST()
/external/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGSDNodes.cpp580 assert(SU->NumRegDefsLeft < USHRT_MAX && "overflow is ok but unexpected"); in InitNumRegDefsLeft()
/external/libvpx/libvpx/third_party/googletest/src/test/
Dgtest-printers_test.cc347 EXPECT_EQ("65535", Print(USHRT_MAX)); // uint16 in TEST()
/external/gtest/test/
Dgtest-printers_test.cc347 EXPECT_EQ("65535", Print(USHRT_MAX)); // uint16 in TEST()