Home
last modified time | relevance | path

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

123456

/art/runtime/interpreter/
Dsafe_math_test.cc29 std::numeric_limits<int32_t>::min()); in TEST()
31 std::numeric_limits<int64_t>::min()); in TEST()
39 EXPECT_EQ(SafeAdd(std::numeric_limits<int32_t>::min() + 1, -1), in TEST()
40 std::numeric_limits<int32_t>::min()); in TEST()
41 EXPECT_EQ(SafeAdd(std::numeric_limits<int64_t>::min() + 1, -1), in TEST()
42 std::numeric_limits<int64_t>::min()); in TEST()
63 EXPECT_EQ(SafeSub(std::numeric_limits<int32_t>::min(), 1), in TEST()
65 EXPECT_EQ(SafeSub(std::numeric_limits<int64_t>::min(), 1), in TEST()
74 EXPECT_EQ(SafeSub(std::numeric_limits<int32_t>::min() + 1, 1), in TEST()
75 std::numeric_limits<int32_t>::min()); in TEST()
[all …]
/art/test/646-checker-simd-hadd/src/
DHaddShort.java49 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed()
75 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed_alt()
111 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned()
136 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed()
159 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed_alt()
186 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed_alt2()
215 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed_alt3()
253 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned()
292 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned_alt()
318 int min_length = Math.min(bo.length, b1.length); in halving_add_signed_constant()
[all …]
DHaddAltChar.java48 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned()
87 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_also_unsigned()
110 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned()
150 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_also_unsigned()
173 int min_length = Math.min(bo.length, b1.length); in halving_add_unsigned_constant()
210 int min_length = Math.min(bo.length, b1.length); in halving_add_also_unsigned_constant()
DHaddChar.java51 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned()
95 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_also_unsigned()
124 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned()
170 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_also_unsigned()
199 int min_length = Math.min(bo.length, b1.length); in halving_add_unsigned_constant()
243 int min_length = Math.min(bo.length, b1.length); in halving_add_also_unsigned_constant()
DHaddAltShort.java48 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed()
83 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned()
108 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed()
145 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned()
170 int min_length = Math.min(bo.length, b1.length); in halving_add_signed_constant()
204 int min_length = Math.min(bo.length, b1.length); in halving_add_unsigned_constant()
DHaddAltByte.java48 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed()
83 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned()
106 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed()
143 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned()
166 int min_length = Math.min(bo.length, b1.length); in halving_add_signed_constant()
200 int min_length = Math.min(bo.length, b1.length); in halving_add_unsigned_constant()
DHaddByte.java45 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed()
80 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned()
103 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed()
140 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned()
163 int min_length = Math.min(bo.length, b1.length); in halving_add_signed_constant()
197 int min_length = Math.min(bo.length, b1.length); in halving_add_unsigned_constant()
DHaddOther.java29 int min_length = Math.min(out.length, a.length); in test_no_hadd_short2short()
41 int min_length = Math.min(out.length, a.length); in test_no_hadd_short2short_logical()
53 int min_length = Math.min(out.length, a.length); in test_no_hadd_int2short()
67 int min_length = Math.min(out.length, a.length); in test_no_hadd_int2int()
82 int min_length = Math.min(out.length, Math.min(a.length, b.length)); in test_no_hadd_sum_casted()
94 int min_length = Math.min(out.length, Math.min(a.length, b.length)); in test_no_hadd_sum_casted_ints()
106 int min_length = Math.min(out.length, Math.min(a.length, b.length)); in test_no_hadd_sum_casted_plus_const()
/art/test/620-checker-bce-intrinsics/src/
DMain.java61 for (int i = 0; i < Math.min(a.length, b.length); i++) { in twoArrays()
77 for (int i = 0; i < Math.min(Math.min(a.length, b.length), c.length); i++) { in threeArrays()
94 for (int i = 0; i < Math.min(Math.min(a.length, b.length), Math.min(c.length, d.length)); i++) { in fourArrays()
111 int n = Math.min(4, a.length); in oneArrayWithCleanup()
133 int n = Math.min(a.length, b.length); in twoArraysWithCleanup()
156 int n = Math.min(a.length, Math.min(b.length, c.length)); in threeArraysWithCleanup()
175 int n = Math.min(a.length, b.length); in altLoopLogic()
/art/test/660-checker-simd-sad/src/
DSimdSadByte.java25 int min_length = Math.min(b1.length, b2.length); in sadByte2Byte()
34 int min_length = Math.min(b1.length, b2.length); in sadByte2ByteAlt()
45 int min_length = Math.min(b1.length, b2.length); in sadByte2ByteAlt2()
58 int min_length = Math.min(b1.length, b2.length); in sadByte2Short()
67 int min_length = Math.min(b1.length, b2.length); in sadByte2ShortAlt()
78 int min_length = Math.min(b1.length, b2.length); in sadByte2ShortAlt2()
113 int min_length = Math.min(b1.length, b2.length); in sadByte2Int()
144 int min_length = Math.min(b1.length, b2.length); in sadByte2IntAlt()
177 int min_length = Math.min(b1.length, b2.length); in sadByte2IntAlt2()
216 int min_length = Math.min(b1.length, b2.length); in sadByte2Long()
[all …]
DSimdSadChar.java27 int min_length = Math.min(s1.length, s2.length); in sadChar2Char()
36 int min_length = Math.min(s1.length, s2.length); in sadChar2CharAlt()
47 int min_length = Math.min(s1.length, s2.length); in sadChar2CharAlt2()
74 int min_length = Math.min(s1.length, s2.length); in sadChar2Int()
97 int min_length = Math.min(s1.length, s2.length); in sadChar2IntAlt()
122 int min_length = Math.min(s1.length, s2.length); in sadChar2IntAlt2()
152 int min_length = Math.min(s1.length, s2.length); in sadChar2Long()
180 int min_length = Math.min(s1.length, s2.length); in sadChar2LongAt1()
DSimdSadShort2.java27 int min_length = Math.min(s1.length, s2.length); in sadCastedChar2Short()
36 int min_length = Math.min(s1.length, s2.length); in sadCastedChar2ShortAlt()
47 int min_length = Math.min(s1.length, s2.length); in sadCastedChar2ShortAlt2()
98 int min_length = Math.min(s1.length, s2.length); in sadCastedChar2Int()
146 int min_length = Math.min(s1.length, s2.length); in sadCastedChar2IntAlt()
196 int min_length = Math.min(s1.length, s2.length); in sadCastedChar2IntAlt2()
254 int min_length = Math.min(s1.length, s2.length); in sadCastedChar2Long()
310 int min_length = Math.min(s1.length, s2.length); in sadCastedChar2LongAt1()
DSimdSadShort.java29 int min_length = Math.min(s1.length, s2.length); in sadShort2Short()
38 int min_length = Math.min(s1.length, s2.length); in sadShort2ShortAlt()
49 int min_length = Math.min(s1.length, s2.length); in sadShort2ShortAlt2()
84 int min_length = Math.min(s1.length, s2.length); in sadShort2Int()
115 int min_length = Math.min(s1.length, s2.length); in sadShort2IntAlt()
148 int min_length = Math.min(s1.length, s2.length); in sadShort2IntAlt2()
283 int min_length = Math.min(s1.length, s2.length); in sadShort2Long()
320 int min_length = Math.min(s1.length, s2.length); in sadShort2LongAt1()
DSimdSadInt.java43 int min_length = Math.min(x.length, y.length); in sadInt2Int()
69 int min_length = Math.min(x.length, y.length); in sadInt2IntAlt()
100 int min_length = Math.min(x.length, y.length); in sadInt2IntAlt2()
139 int min_length = Math.min(x.length, y.length); in sadInt2Long()
176 int min_length = Math.min(x.length, y.length); in sadInt2LongAt1()
DSimdSadLong.java47 int min_length = Math.min(x.length, y.length); in sadLong2Long()
74 int min_length = Math.min(x.length, y.length); in sadLong2LongAlt()
109 int min_length = Math.min(x.length, y.length); in sadLong2LongAlt2()
146 int min_length = Math.min(x.length, y.length); in sadLong2LongAt1()
/art/runtime/entrypoints/
Dmath_entrypoints_test.cc29 EXPECT_EQ(std::numeric_limits<int64_t>::min(), art_d2l(-1.85e19)); in TEST_F()
41 EXPECT_EQ(std::numeric_limits<int64_t>::min(), art_f2l(-1.85e19)); in TEST_F()
53 EXPECT_EQ(std::numeric_limits<int32_t>::min(), art_d2i(-4.3e9)); in TEST_F()
65 EXPECT_EQ(std::numeric_limits<int32_t>::min(), art_f2i(-4.3e9)); in TEST_F()
/art/compiler/optimizing/
Ddata_type.h161 return std::numeric_limits<bool>::min(); in MinValueOfIntegralType()
163 return std::numeric_limits<uint8_t>::min(); in MinValueOfIntegralType()
165 return std::numeric_limits<int8_t>::min(); in MinValueOfIntegralType()
167 return std::numeric_limits<uint16_t>::min(); in MinValueOfIntegralType()
169 return std::numeric_limits<int16_t>::min(); in MinValueOfIntegralType()
171 return std::numeric_limits<uint32_t>::min(); in MinValueOfIntegralType()
173 return std::numeric_limits<int32_t>::min(); in MinValueOfIntegralType()
175 return std::numeric_limits<uint64_t>::min(); in MinValueOfIntegralType()
177 return std::numeric_limits<int64_t>::min(); in MinValueOfIntegralType()
/art/test/082-inline-execute/src/
DMain.java487 Math.min(1, 0);
488 Assert.assertEquals(Math.min(0, 0), 0);
489 Assert.assertEquals(Math.min(1, 0), 0);
490 Assert.assertEquals(Math.min(0, 1), 0);
491 Assert.assertEquals(Math.min(0, Integer.MAX_VALUE), 0);
492 Assert.assertEquals(Math.min(Integer.MIN_VALUE, 0), Integer.MIN_VALUE);
493 Assert.assertEquals(Math.min(Integer.MIN_VALUE, Integer.MAX_VALUE), Integer.MIN_VALUE);
507 Math.min(1L, 0L);
508 Assert.assertEquals(Math.min(0L, 0L), 0L);
509 Assert.assertEquals(Math.min(1L, 0L), 0L);
[all …]
/art/libartbase/base/
Dbit_utils_test.cc178 static_cast<int64_t>(std::numeric_limits<int32_t>::min()) - 1;
193 EXPECT_FALSE(IsInt<int32_t>(31, std::numeric_limits<int32_t>::min())); in TEST()
195 EXPECT_TRUE(IsInt<int32_t>(32, std::numeric_limits<int32_t>::min())); in TEST()
208 EXPECT_FALSE(IsInt<int64_t>(31, std::numeric_limits<int32_t>::min())); in TEST()
210 EXPECT_TRUE(IsInt<int64_t>(32, std::numeric_limits<int32_t>::min())); in TEST()
214 EXPECT_FALSE(IsInt<int64_t>(63, std::numeric_limits<int64_t>::min())); in TEST()
216 EXPECT_TRUE(IsInt<int64_t>(64, std::numeric_limits<int64_t>::min())); in TEST()
228 static_assert(!IsInt<31, int32_t>(std::numeric_limits<int32_t>::min()), "TestIsInt32#9");
230 static_assert(IsInt<32, int32_t>(std::numeric_limits<int32_t>::min()), "TestIsInt32#11");
241 static_assert(!IsInt<31, int64_t>(std::numeric_limits<int32_t>::min()), "TestIsInt64#9");
[all …]
Dutils.h96 static constexpr uint32_t min() { return std::numeric_limits<uint32_t>::min(); } in min() function
106 static T GetRandomNumber(T min, T max) { in GetRandomNumber() argument
107 CHECK_LT(min, max); in GetRandomNumber()
108 std::uniform_int_distribution<T> dist(min, max); in GetRandomNumber()
/art/test/567-checker-builder-intrinsics/src/
DTestMinMax.java42 return Math.min(a, 20); in minI()
61 return Math.min(a, 20L); in minL()
113 return Math.min(a, 0); in minIntConstantZero()
123 return Math.min(a, 1); in minIntConstantOne()
133 return Math.min(a, -1); in minIntConstantMinusOne()
143 return Math.min(a, 0L); in minLongConstantZero()
153 return Math.min(a, 1L); in minLongConstantOne()
163 return Math.min(a, -1L); in minLongConstantMinusOne()
/art/test/574-irreducible-and-constant-area/src/
DMain.java33 Math.min(a, b); in $inline$foo()
39 Math.min(a, b); in $inline$foo()
/art/runtime/arch/
Dmemcmp16_test.cc102 size_t min = count1 < count2 ? count1 : count2; in CheckSeparate() local
106 for (size_t i = 0; i < min; ++i) { in CheckSeparate()
110 for (size_t i = min; i < count1; ++i) { in CheckSeparate()
113 for (size_t i = min; i < count2; ++i) { in CheckSeparate()
/art/tools/ahat/src/main/com/android/ahat/
DSubsetSelector.java72 int ivalue = Math.min(size, Integer.parseInt(value)); in getSelectedLimit()
77 return Math.min(kDefaultShown, size); in getSelectedLimit()
98 int more = Math.min(mLimit + kIncrAmount, all); in render()
/art/test/053-wait-some/src/
DMain.java65 long min = delay - epsilon; in doit() local
68 if (elapsed < min) { in doit()

123456