/art/test/082-inline-execute/src/ |
D | Main.java | 334 Assert.assertEquals(Math.min(0, 0), 0); 335 Assert.assertEquals(Math.min(1, 0), 0); 336 Assert.assertEquals(Math.min(0, 1), 0); 337 Assert.assertEquals(Math.min(0, Integer.MAX_VALUE), 0); 338 Assert.assertEquals(Math.min(Integer.MIN_VALUE, 0), Integer.MIN_VALUE); 339 Assert.assertEquals(Math.min(Integer.MIN_VALUE, Integer.MAX_VALUE), Integer.MIN_VALUE); 352 Assert.assertEquals(Math.min(0L, 0L), 0L); 353 Assert.assertEquals(Math.min(1L, 0L), 0L); 354 Assert.assertEquals(Math.min(0L, 1L), 0L); 355 Assert.assertEquals(Math.min(0L, Long.MAX_VALUE), 0L); [all …]
|
/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/base/ |
D | stringpiece.cc | 29 int ret = std::min(length_ - pos, n); in copy() 45 int r = memcmp(ptr_, x.ptr_, std::min(length_, x.length_)); in compare() 64 if (s.length_ == 0) return std::min(ulen, pos); in rfind() 66 const char* last = ptr_ + std::min(ulen - s.length_, pos) + s.length_; in rfind() 73 for (int i = std::min(pos, static_cast<size_type>(length_ - 1)); in rfind()
|
D | hex_dump.cc | 71 size_t count = std::min(byte_count, 16 - gap); in Dump()
|
D | histogram-inl.h | 102 min_value_added_ = std::min(val, min_value_added_); in BucketiseValue() 123 max_value_added_ = std::numeric_limits<Value>::min(); in Reset()
|
D | stringpiece.h | 193 std::min(x.size(), y.size()));
|
D | bit_vector.cc | 223 for (; idx < std::min(not_in_size, union_with_size); idx++) { in UnionIfNotIn()
|
/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/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/x86_64/ |
D | calling_convention_x86_64.cc | 191 … - std::min(8U, itr_float_and_doubles_) // Float arguments passed through Xmm0..Xmm7 in CurrentParamStackOffset() 192 - std::min(6U, itr_args_ - itr_float_and_doubles_); // Integer arguments passed through GPR in CurrentParamStackOffset() 206 - std::min(8U, static_cast<unsigned int>(NumFloatOrDoubleArgs())) in NumberOfOutgoingStackArgs() 207 … - std::min(6U, static_cast<unsigned int>(NumArgs() - NumFloatOrDoubleArgs())); in NumberOfOutgoingStackArgs()
|
/art/compiler/jni/quick/arm64/ |
D | calling_convention_arm64.cc | 245 - std::min(8u, itr_float_and_doubles_) in CurrentParamStackOffset() 246 - std::min(8u, (itr_args_ - itr_float_and_doubles_)); in CurrentParamStackOffset() 257 std::min(8u, static_cast<unsigned int>(NumFloatOrDoubleArgs())) - in NumberOfOutgoingStackArgs() 258 std::min(8u, static_cast<unsigned int>((all_args - NumFloatOrDoubleArgs()))); in NumberOfOutgoingStackArgs()
|
/art/runtime/base/unix_file/ |
D | mapped_file.cc | 119 std::min(byte_count, file_size_ - offset)); in Read() 156 std::min(byte_count, file_size_ - offset)); in Write()
|
D | string_file.cc | 46 const int64_t available_bytes = std::min(byte_count, GetLength() - offset); in Read()
|
/art/runtime/interpreter/ |
D | interpreter_common.h | 208 const int32_t kMinInt = std::numeric_limits<int32_t>::min(); in DoIntDivide() 226 const int32_t kMinInt = std::numeric_limits<int32_t>::min(); in DoIntRemainder() 244 const int64_t kMinLong = std::numeric_limits<int64_t>::min(); in DoLongDivide() 262 const int64_t kMinLong = std::numeric_limits<int64_t>::min(); in DoLongRemainder()
|
/art/test/082-inline-execute/src/junit/framework/ |
D | ComparisonFailure.java | 34 int end= Math.min(fExpected.length(), fActual.length()); in getMessage()
|
/art/test/021-string2/src/junit/framework/ |
D | ComparisonFailure.java | 34 int end= Math.min(fExpected.length(), fActual.length()); in getMessage()
|
/art/runtime/ |
D | parsed_options.h | 124 bool ParseDouble(const std::string& option, char after_char, double min, double max,
|
D | dex_file.cc | 730 int32_t min = 0; in FindTryItem() local 733 while (min <= max) { in FindTryItem() 734 int32_t mid = min + ((max - min) / 2); in FindTryItem() 743 min = mid + 1; in FindTryItem()
|
D | parsed_options.cc | 899 double min, double max, double* parsed_value) { in ParseDouble() argument 911 sane_val = iss.eof() && (value >= min) && (value <= max); in ParseDouble() 915 sane_val = *end == '\0' && value >= min && value <= max; in ParseDouble()
|
/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()
|
D | IntMath.java | 566 Main.assertTrue(Math.min(ii, -5) == -5); in jlmTests() 571 Main.assertTrue(Math.min(ll, -5L) == -5L); in jlmTests()
|
/art/runtime/gc/accounting/ |
D | card_table_test.cc | 106 const size_t delta = std::min(static_cast<size_t>(HeapLimit() - HeapBegin()), 8U * kCardSize); in TEST_F()
|
/art/compiler/utils/ |
D | assembler.cc | 85 size_t new_capacity = std::min(old_capacity * 2, old_capacity + 1 * MB); in ExtendCapacity()
|
/art/runtime/verifier/ |
D | reg_type.cc | 482 if (val >= std::numeric_limits<jshort>::min() && in Dump() 496 if (val >= std::numeric_limits<jshort>::min() && in Dump() 509 if (val >= std::numeric_limits<jshort>::min() && in Dump() 522 if (val >= std::numeric_limits<jshort>::min() && in Dump()
|
/art/runtime/gc/collector/ |
D | mark_sweep.cc | 743 const size_t mark_stack_delta = std::min(CardScanTask::kMaxSize / 2, in ScanGrayObjects() 765 size_t card_increment = std::min(card_delta, addr_remaining); in ScanGrayObjects() 768 size_t mark_stack_increment = std::min(mark_stack_delta, mark_stack_remaining); in ScanGrayObjects() 1169 const size_t chunk_size = std::min(mark_stack_->Size() / thread_count + 1, in ProcessMarkStackParallel() 1174 const size_t delta = std::min(static_cast<size_t>(end - it), chunk_size); in ProcessMarkStackParallel()
|