Home
last modified time | relevance | path

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

12345678910>>...22

/external/chromium_org/third_party/WebKit/Source/wtf/
DSaturatedArithmeticTest.cpp51 EXPECT_EQ(INT_MAX - 1, saturatedAddition(INT_MAX - 1, 0)); in TEST()
52 EXPECT_EQ(INT_MAX, saturatedAddition(INT_MAX - 1, 1)); in TEST()
53 EXPECT_EQ(INT_MAX, saturatedAddition(INT_MAX - 1, 2)); in TEST()
54 EXPECT_EQ(INT_MAX - 1, saturatedAddition(0, INT_MAX - 1)); in TEST()
55 EXPECT_EQ(INT_MAX, saturatedAddition(1, INT_MAX - 1)); in TEST()
56 EXPECT_EQ(INT_MAX, saturatedAddition(2, INT_MAX - 1)); in TEST()
57 EXPECT_EQ(INT_MAX, saturatedAddition(INT_MAX - 1, INT_MAX - 1)); in TEST()
58 EXPECT_EQ(INT_MAX, saturatedAddition(INT_MAX, INT_MAX)); in TEST()
70 EXPECT_EQ(INT_MAX / 2 + 10000, saturatedAddition(INT_MAX / 2, 10000)); in TEST()
71 EXPECT_EQ(INT_MAX, saturatedAddition(INT_MAX / 2 + 1, INT_MAX / 2 + 1)); in TEST()
[all …]
/external/bison/lib/
Dmbswidth.c140 if (w > INT_MAX - width) in mbsnwidth()
150 if (width == INT_MAX) in mbsnwidth()
173 if (width == INT_MAX) in mbsnwidth()
181 if (width == INT_MAX) in mbsnwidth()
192 return INT_MAX; in mbsnwidth()
Dvsprintf.c52 lenbuf = (SIZE_MAX < INT_MAX ? SIZE_MAX : INT_MAX); in vsprintf()
70 if (len > INT_MAX) in vsprintf()
Dsprintf.c53 lenbuf = (SIZE_MAX < INT_MAX ? SIZE_MAX : INT_MAX); in sprintf()
73 if (len > INT_MAX) in sprintf()
/external/bison/src/
Dlocation.c40 unsigned int remaining_columns = INT_MAX - column; in add_column_width()
44 if (INT_MAX / 2 <= bufsize) in add_column_width()
45 return INT_MAX; in add_column_width()
51 return width <= remaining_columns ? column + width : INT_MAX; in add_column_width()
72 line += line < INT_MAX; in location_compute()
92 if (line == INT_MAX && loc->start.line != INT_MAX) in location_compute()
94 if (column == INT_MAX && loc->start.column != INT_MAX) in location_compute()
/external/chromium_org/base/strings/
Dstring_number_conversions_unittest.cc72 {INT_MAX, "2147483647"}, in TEST()
91 {INT_MAX, "2147483647"}, in TEST()
114 {"2147483647", INT_MAX, true}, in TEST()
131 {"2147483648", INT_MAX, false}, in TEST()
132 {"99999999999", INT_MAX, false}, in TEST()
177 {"2147483647", INT_MAX, true}, in TEST()
239 {"2147483647", INT_MAX, true}, in TEST()
304 {"2147483647", INT_MAX, true}, in TEST()
374 {"2147483647", INT_MAX, true}, in TEST()
441 {"7fffffff", INT_MAX, true}, in TEST()
[all …]
/external/clang/test/Analysis/
Dadditive-folding-range-constraints.c6 #define INT_MAX (UINT_MAX & (UINT_MAX >> 1)) macro
7 #define INT_MIN (-INT_MAX - 1)
165 int max = INT_MAX; in mixedComparisons9()
190 int max = INT_MAX; in mixedSignedness3()
197 int max = INT_MAX; in mixedSignedness4()
260 unsigned max = INT_MAX; in mixedSignedness13()
267 unsigned max = INT_MAX; in mixedSignedness14()
288 unsigned max = INT_MAX; in mixedSignedness17()
294 clang_analyzer_eval(a == INT_MAX); // expected-warning{{UNKNOWN}} in mixedSignedness17()
Dadditive-folding.cpp6 #define INT_MAX (UINT_MAX & (UINT_MAX >> 1)) macro
7 #define INT_MIN (-INT_MAX - 1)
145 int max = INT_MAX; in mixedWraparoundSanityCheck()
153 int max = INT_MAX; in mixedWraparoundLE_GT()
162 int max = INT_MAX; in mixedWraparoundGE_LT()
171 int max = INT_MAX; in mixedWraparoundEQ_NE()
/external/srec/srec/cfront/
Dsh_down.h82 if (scaled_val > INT_MAX) in fixed_point_convert()
83 return (INT_MAX); in fixed_point_convert()
87 if (scaled_val < -INT_MAX) in fixed_point_convert()
88 return (-INT_MAX); in fixed_point_convert()
/external/clang/test/Headers/
Dlimits.cpp10 _Static_assert(INT_MAX == -(INT_MIN+1), "");
15 _Static_assert(INT_MAX == UINT_MAX/2, "");
20 _Static_assert(INT_MIN == -INT_MAX-1, "");
/external/stlport/test/unit/
Dmacro_checks.cpp25 #if !defined (INT_MAX)
26 # error Missing INT_MAX definition.
33 #if !(INT_MIN < INT_MAX)
34 # error Weird INT_MIN or INT_MAX macro values.
/external/valgrind/main/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/qemu/audio/
Dnoaudio.c52 bytes = audio_MIN (bytes, INT_MAX); in no_run_out()
111 bytes = audio_MIN (bytes, INT_MAX); in no_run_in()
166 .max_voices_out = INT_MAX,
167 .max_voices_in = INT_MAX,
/external/libvpx/libvpx/vp8/encoder/
Dpickinter.c146 int best_rd = INT_MAX; in pick_intra4x4block()
237 *best_dist = INT_MAX; in pick_intra4x4mby_modes()
238 error = INT_MAX; in pick_intra4x4mby_modes()
264 int pred_error[4] = {0, 0, 0, 0}, best_error = INT_MAX; in pick_intra_mbuv_mode()
497 return INT_MAX; in evaluate_inter_mode()
583 int best_rd = INT_MAX; in vp8_pick_inter_mode()
585 int best_intra_rd = INT_MAX; in vp8_pick_inter_mode()
590 int bestsme = INT_MAX; in vp8_pick_inter_mode()
592 unsigned int sse = INT_MAX, best_rd_sse = INT_MAX; in vp8_pick_inter_mode()
594 unsigned int zero_mv_sse = INT_MAX, best_sse = INT_MAX; in vp8_pick_inter_mode()
[all …]
Drdopt.c285 if (cpi->sf.thresh_mult[i] < INT_MAX) in vp8_initialize_rd_consts()
291 x->rd_threshes[i] = INT_MAX; in vp8_initialize_rd_consts()
303 if (cpi->sf.thresh_mult[i] < (INT_MAX / q)) in vp8_initialize_rd_consts()
309 x->rd_threshes[i] = INT_MAX; in vp8_initialize_rd_consts()
643 int best_rd = INT_MAX; in rd_pick_intra4x4block()
760 return INT_MAX; in rd_pick_intra4x4mby_modes()
779 int best_rd = INT_MAX; in rd_pick_intra16x16mby_mode()
877 int best_rd = INT_MAX; in rd_pick_intra_mbuv_mode()
1156 int best_label_rd = INT_MAX; in rd_check_segment()
1184 int bestsme = INT_MAX; in rd_check_segment()
[all …]
/external/chromium_org/third_party/angle/src/compiler/translator/
DTypes.cpp182 if (arraySize > INT_MAX / totalSize) in getObjectSize()
183 totalSize = INT_MAX; in getObjectSize()
220 if (fieldSize > INT_MAX - size) in calculateObjectSize()
221 size = INT_MAX; in calculateObjectSize()
/external/chromium_org/chrome/browser/policy/
Dconfiguration_policy_handler_list_factory.cc670 INT_MAX, in BuildHandlerList()
676 INT_MAX, in BuildHandlerList()
682 INT_MAX, in BuildHandlerList()
685 key::kIdleDelayAC, prefs::kPowerAcIdleDelayMs, 0, INT_MAX, true)); in BuildHandlerList()
690 INT_MAX, in BuildHandlerList()
696 INT_MAX, in BuildHandlerList()
702 INT_MAX, in BuildHandlerList()
708 INT_MAX, in BuildHandlerList()
730 INT_MAX, in BuildHandlerList()
736 INT_MAX, in BuildHandlerList()
[all …]
/external/libxml2/
Dbuf.c60 if (buf->size < INT_MAX) buf->compat_size = buf->size; \
61 else buf->compat_size = INT_MAX; \
62 if (buf->use < INT_MAX) buf->compat_use = buf->use; \
63 else buf->compat_use = INT_MAX;
72 if (buf->compat_size < INT_MAX) \
75 if (buf->compat_use < INT_MAX) \
241 if (size < INT_MAX) { in xmlBufCreateStatic()
245 ret->compat_use = INT_MAX; in xmlBufCreateStatic()
246 ret->compat_size = INT_MAX; in xmlBufCreateStatic()
1178 if (buf->use > INT_MAX) { in xmlBufBackToBuffer()
[all …]
/external/chromium_org/sdch/open-vcdiff/src/
Daddrcache_test.cc155 VCDiffAddressCache int_max_cache(INT_MAX, INT_MAX); in TEST_F()
243 cache_.UpdateCache(INT_MAX); in TEST_F()
244 EXPECT_EQ(INT_MAX, cache_.NearAddress(0)); in TEST_F()
245 EXPECT_EQ(INT_MAX, cache_.SameAddress(INT_MAX % (256 * 3))); in TEST_F()
246 EXPECT_EQ(0, cache_.SameAddress((INT_MAX - 256) % (256 * 3))); in TEST_F()
247 EXPECT_EQ(0, cache_.SameAddress((INT_MAX - 512) % (256 * 3))); in TEST_F()
535 ManualEncodeVarint(INT_MAX); // offset will cause integer overflow in TEST_F()
/external/iproute2/include/linux/
Dnetfilter_ipv4.h67 NF_IP_PRI_CONNTRACK_CONFIRM = INT_MAX,
68 NF_IP_PRI_LAST = INT_MAX,
/external/iptables/include/linux/
Dnetfilter_ipv4.h64 NF_IP_PRI_CONNTRACK_CONFIRM = INT_MAX,
65 NF_IP_PRI_LAST = INT_MAX,
/external/kernel-headers/original/uapi/linux/
Dnetfilter_ipv4.h70 NF_IP_PRI_CONNTRACK_CONFIRM = INT_MAX,
71 NF_IP_PRI_LAST = INT_MAX,
/external/chromium_org/third_party/openmax_dl/dl/api/
Domxtypes.h87 OMX_Sts_MaximumEnumeration = INT_MAX /*Placeholder, forces enum of size OMX_INT*/
125 #elif INT_MAX == 0x7fff
143 #if INT_MAX == 0x7fffffff
/external/stlport/stlport/stl/
D_tempbuf.c39 if (__len > ptrdiff_t(INT_MAX / sizeof(_Tp))) in __get_temporary_buffer()
40 __len = INT_MAX / sizeof(_Tp); in __get_temporary_buffer()
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/
Drdopt.c284 if (cpi->sf.thresh_mult[i] < INT_MAX) in vp8_initialize_rd_consts()
290 x->rd_threshes[i] = INT_MAX; in vp8_initialize_rd_consts()
302 if (cpi->sf.thresh_mult[i] < (INT_MAX / q)) in vp8_initialize_rd_consts()
308 x->rd_threshes[i] = INT_MAX; in vp8_initialize_rd_consts()
642 int best_rd = INT_MAX; in rd_pick_intra4x4block()
759 return INT_MAX; in rd_pick_intra4x4mby_modes()
778 int best_rd = INT_MAX; in rd_pick_intra16x16mby_mode()
876 int best_rd = INT_MAX; in rd_pick_intra_mbuv_mode()
1155 int best_label_rd = INT_MAX; in rd_check_segment()
1183 int bestsme = INT_MAX; in rd_check_segment()
[all …]

12345678910>>...22