/art/runtime/interpreter/ |
D | safe_math_test.cc | 29 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 …]
|
D | interpreter_common.h | 215 constexpr int32_t kMinInt = std::numeric_limits<int32_t>::min(); in DoIntDivide() 233 constexpr int32_t kMinInt = std::numeric_limits<int32_t>::min(); in DoIntRemainder() 251 const int64_t kMinLong = std::numeric_limits<int64_t>::min(); in DoLongDivide() 269 const int64_t kMinLong = std::numeric_limits<int64_t>::min(); in DoLongRemainder()
|
/art/test/082-inline-execute/src/ |
D | Main.java | 472 Math.min(1, 0); 473 Assert.assertEquals(Math.min(0, 0), 0); 474 Assert.assertEquals(Math.min(1, 0), 0); 475 Assert.assertEquals(Math.min(0, 1), 0); 476 Assert.assertEquals(Math.min(0, Integer.MAX_VALUE), 0); 477 Assert.assertEquals(Math.min(Integer.MIN_VALUE, 0), Integer.MIN_VALUE); 478 Assert.assertEquals(Math.min(Integer.MIN_VALUE, Integer.MAX_VALUE), Integer.MIN_VALUE); 492 Math.min(1L, 0L); 493 Assert.assertEquals(Math.min(0L, 0L), 0L); 494 Assert.assertEquals(Math.min(1L, 0L), 0L); [all …]
|
/art/runtime/base/ |
D | bit_utils_test.cc | 151 static_cast<int64_t>(std::numeric_limits<int32_t>::min()) - 1; 166 EXPECT_FALSE(IsInt<int32_t>(31, std::numeric_limits<int32_t>::min())); in TEST() 168 EXPECT_TRUE(IsInt<int32_t>(32, std::numeric_limits<int32_t>::min())); in TEST() 181 EXPECT_FALSE(IsInt<int64_t>(31, std::numeric_limits<int32_t>::min())); in TEST() 183 EXPECT_TRUE(IsInt<int64_t>(32, std::numeric_limits<int32_t>::min())); in TEST() 187 EXPECT_FALSE(IsInt<int64_t>(63, std::numeric_limits<int64_t>::min())); in TEST() 189 EXPECT_TRUE(IsInt<int64_t>(64, std::numeric_limits<int64_t>::min())); in TEST() 201 static_assert(!IsInt<31, int32_t>(std::numeric_limits<int32_t>::min()), "TestIsInt32#9"); 203 static_assert(IsInt<32, int32_t>(std::numeric_limits<int32_t>::min()), "TestIsInt32#11"); 214 static_assert(!IsInt<31, int64_t>(std::numeric_limits<int32_t>::min()), "TestIsInt64#9"); [all …]
|
D | stringpiece.cc | 38 size_type ret = std::min(length_ - pos, n); in copy() 53 int r = memcmp(ptr_, x.ptr_, std::min(length_, x.length_)); in compare() 72 if (s.length_ == 0) return std::min(ulen, pos); in rfind() 74 const char* last = ptr_ + std::min(ulen - s.length_, pos) + s.length_; in rfind() 81 for (int i = std::min(pos, static_cast<size_type>(length_ - 1)); in rfind()
|
D | casts.h | 94 (static_cast<intmax_t>(std::numeric_limits<Dest>::min()) <= in dchecked_integral_cast() 95 static_cast<intmax_t>(std::numeric_limits<Source>::min()) || in dchecked_integral_cast() 96 source >= static_cast<Source>(std::numeric_limits<Dest>::min())) && in dchecked_integral_cast()
|
D | hex_dump.cc | 71 size_t count = std::min(byte_count, 16 - gap); in Dump()
|
D | histogram-inl.h | 106 min_value_added_ = std::min(val, min_value_added_); in BucketiseValue() 127 max_value_added_ = std::numeric_limits<Value>::min(); in Reset()
|
/art/runtime/entrypoints/ |
D | math_entrypoints_test.cc | 29 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/runtime/arch/ |
D | memcmp16_test.cc | 101 size_t min = count1 < count2 ? count1 : count2; in CheckSeparate() local 105 for (size_t i = 0; i < min; ++i) { in CheckSeparate() 109 for (size_t i = min; i < count1; ++i) { in CheckSeparate() 112 for (size_t i = min; i < count2; ++i) { in CheckSeparate()
|
/art/compiler/jni/quick/x86_64/ |
D | calling_convention_x86_64.cc | 193 … - std::min(8U, itr_float_and_doubles_) // Float arguments passed through Xmm0..Xmm7 in CurrentParamStackOffset() 194 - std::min(6U, itr_args_ - itr_float_and_doubles_); // Integer arguments passed through GPR in CurrentParamStackOffset() 208 - std::min(8U, static_cast<unsigned int>(NumFloatOrDoubleArgs())) in NumberOfOutgoingStackArgs() 209 … - std::min(6U, static_cast<unsigned int>(NumArgs() - NumFloatOrDoubleArgs())); in NumberOfOutgoingStackArgs()
|
/art/test/053-wait-some/src/ |
D | Main.java | 65 long min = delay - epsilon; in doit() local 68 if (elapsed < min) { in doit()
|
/art/compiler/jni/quick/arm64/ |
D | calling_convention_arm64.cc | 256 - std::min(8u, itr_float_and_doubles_) in CurrentParamStackOffset() 257 - std::min(8u, (itr_args_ - itr_float_and_doubles_)); in CurrentParamStackOffset() 268 std::min(8u, static_cast<unsigned int>(NumFloatOrDoubleArgs())) - in NumberOfOutgoingStackArgs() 269 std::min(8u, static_cast<unsigned int>((all_args - NumFloatOrDoubleArgs()))); in NumberOfOutgoingStackArgs()
|
/art/cmdline/ |
D | cmdline_parse_result.h | 73 const T& min, in OutOfRange() 77 ", min: " + art::detail::ToStringAny(min) + in OutOfRange()
|
D | cmdline_types.h | 298 result < std::numeric_limits<int>::min() 718 T min, 723 if (value < min || value > max) { 724 CmdlineParseResult<T> out_of_range = CmdlineParseResult<T>::OutOfRange(value, min, max);
|
/art/test/082-inline-execute/src/junit/framework/ |
D | ComparisonCompactor.java | 50 int end= Math.min(fExpected.length(), fActual.length()); in findCommonPrefix() 72 int end= Math.min(fExpected.length() - fSuffix + 1 + fContextLength, fExpected.length()); in computeCommonSuffix()
|
/art/test/021-string2/src/junit/framework/ |
D | ComparisonCompactor.java | 50 int end= Math.min(fExpected.length(), fActual.length()); in findCommonPrefix() 72 int end= Math.min(fExpected.length() - fSuffix + 1 + fContextLength, fExpected.length()); in computeCommonSuffix()
|
/art/runtime/verifier/ |
D | reg_type_cache-inl.h | 47 const ConstantType& result = FromCat1Const(std::numeric_limits<jbyte>::min(), false); in ByteConstant() 60 const ConstantType& result = FromCat1Const(std::numeric_limits<jshort>::min(), false); in ShortConstant()
|
D | reg_type.cc | 401 if (val >= std::numeric_limits<jshort>::min() && in Dump() 415 if (val >= std::numeric_limits<jshort>::min() && in Dump() 428 if (val >= std::numeric_limits<jshort>::min() && in Dump() 441 if (val >= std::numeric_limits<jshort>::min() && in Dump()
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
D | TypeList.java | 58 int checkSize = Math.min(size, other.size); in comesBefore()
|
/art/cmdline/detail/ |
D | cmdline_parse_argument_detail.h | 214 [](size_t min, const TokenRange& cur) { in CompleteArgument() 215 return std::min(min, cur.Size()); in CompleteArgument()
|
/art/test/003-omnibus-opcodes/src/ |
D | FloatMath.java | 308 Main.assertTrue(approxEqual(Math.min(ff, -5.0f), -5.0f, 0.001f)); in jlmTests() 313 Main.assertTrue(approxEqual(Math.min(dd, -5.0), -5.0, 0.001)); in jlmTests()
|
/art/runtime/gc/accounting/ |
D | card_table.cc | 126 memset(start_card, 0, std::min(round_start, end_card) - start_card); in ClearCardRange()
|
D | card_table_test.cc | 109 const size_t delta = std::min(static_cast<size_t>(HeapLimit() - HeapBegin()), in TEST_F()
|
/art/test/454-get-vreg/ |
D | get_vreg_jni.cc | 91 CHECK_EQ(static_cast<int64_t>(value), std::numeric_limits<int64_t>::min()); in VisitFrame()
|