Home
last modified time | relevance | path

Searched refs:INT_MAX (Results 1 – 25 of 529) 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/chromium_org/content/browser/renderer_host/p2p/
Dsocket_host_unittest.cc155 int start_pos = INT_MAX, rtp_length = INT_MAX; in TEST()
160 EXPECT_EQ(INT_MAX, start_pos); in TEST()
161 EXPECT_EQ(INT_MAX, rtp_length); in TEST()
167 EXPECT_EQ(INT_MAX, start_pos); in TEST()
168 EXPECT_EQ(INT_MAX, rtp_length); in TEST()
175 int start_pos = INT_MAX, rtp_length = INT_MAX; in TEST()
180 EXPECT_EQ(INT_MAX, start_pos); in TEST()
181 EXPECT_EQ(INT_MAX, rtp_length); in TEST()
187 EXPECT_EQ(INT_MAX, start_pos); in TEST()
188 EXPECT_EQ(INT_MAX, rtp_length); 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 {"2147483647", INT_MAX, true}, in TEST()
108 {"2147483648", INT_MAX, false}, in TEST()
109 {"99999999999", INT_MAX, false}, in TEST()
154 {"2147483647", INT_MAX, true}, in TEST()
216 {"2147483647", INT_MAX, true}, in TEST()
281 {"2147483647", INT_MAX, true}, in TEST()
352 {"2147483647", INT_MAX, true}, in TEST()
419 {"7fffffff", INT_MAX, true}, in TEST()
421 {"80000000", INT_MAX, false}, // Overflow test. 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 …]
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/
Dpickinter.c147 int best_rd = INT_MAX; in pick_intra4x4block()
238 *best_dist = INT_MAX; in pick_intra4x4mby_modes()
239 error = INT_MAX; in pick_intra4x4mby_modes()
265 int pred_error[4] = {0, 0, 0, 0}, best_error = INT_MAX; in pick_intra_mbuv_mode()
498 return INT_MAX; in evaluate_inter_mode()
584 int best_rd = INT_MAX; in vp8_pick_inter_mode()
586 int best_intra_rd = INT_MAX; in vp8_pick_inter_mode()
591 int bestsme = INT_MAX; in vp8_pick_inter_mode()
593 unsigned int sse = INT_MAX, best_rd_sse = INT_MAX; in vp8_pick_inter_mode()
595 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/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/chrome/browser/policy/
Dconfiguration_policy_handler_list_factory.cc655 INT_MAX, in BuildHandlerList()
661 INT_MAX, in BuildHandlerList()
667 INT_MAX, in BuildHandlerList()
670 key::kIdleDelayAC, prefs::kPowerAcIdleDelayMs, 0, INT_MAX, true)); in BuildHandlerList()
675 INT_MAX, in BuildHandlerList()
681 INT_MAX, in BuildHandlerList()
687 INT_MAX, in BuildHandlerList()
693 INT_MAX, in BuildHandlerList()
715 INT_MAX, in BuildHandlerList()
721 INT_MAX, in BuildHandlerList()
[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/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/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

12345678910>>...22