/art/test/133-static-invoke-super/src/ |
D | Main.java | 12 public void testDirect(int max) { in testDirect() argument 13 for (int i = 0; i < max; ++i) { in testDirect() 14 getVarDirect(max); in testDirect() 17 public void testStatic(int max) { in testStatic() argument 18 for (int i = 0; i < max; ++i) { in testStatic() 19 getVar(max); in testStatic()
|
/art/test/082-inline-execute/src/ |
D | Main.java | 343 Assert.assertEquals(Math.max(0, 0), 0); 344 Assert.assertEquals(Math.max(1, 0), 1); 345 Assert.assertEquals(Math.max(0, 1), 1); 346 Assert.assertEquals(Math.max(0, Integer.MAX_VALUE), Integer.MAX_VALUE); 347 Assert.assertEquals(Math.max(Integer.MIN_VALUE, 0), 0); 348 Assert.assertEquals(Math.max(Integer.MIN_VALUE, Integer.MAX_VALUE), Integer.MAX_VALUE); 361 Assert.assertEquals(Math.max(0L, 0L), 0L); 362 Assert.assertEquals(Math.max(1L, 0L), 1L); 363 Assert.assertEquals(Math.max(0L, 1L), 1L); 364 Assert.assertEquals(Math.max(0L, Long.MAX_VALUE), Long.MAX_VALUE); [all …]
|
/art/runtime/entrypoints/ |
D | math_entrypoints_test.cc | 28 EXPECT_EQ(std::numeric_limits<int64_t>::max(), art_d2l(1.85e19)); in TEST_F() 40 EXPECT_EQ(std::numeric_limits<int64_t>::max(), art_f2l(1.85e19)); in TEST_F() 52 EXPECT_EQ(std::numeric_limits<int32_t>::max(), art_d2i(4.3e9)); in TEST_F() 64 EXPECT_EQ(std::numeric_limits<int32_t>::max(), art_f2i(4.3e9)); in TEST_F()
|
/art/test/053-wait-some/src/ |
D | Main.java | 66 long max = delay + epsilon; in doit() local 71 } else if (elapsed > max) { in doit() 73 + "elapsed=" + elapsed + " max=" + max); in doit()
|
/art/test/089-many-methods/ |
D | expected.txt | 2 trouble writing output: Too many field references: 131000; max is 65536.
|
/art/runtime/base/unix_file/ |
D | mapped_file.cc | 118 int64_t read_size = std::max(static_cast<int64_t>(0), in Read() 155 int64_t write_size = std::max(static_cast<int64_t>(0), in Write()
|
/art/runtime/gc/accounting/ |
D | space_bitmap.h | 101 void VisitRange(uintptr_t base, uintptr_t max, ObjectCallback* callback, void* arg) const; 144 uintptr_t max, SweepCallback* thunk, void* arg);
|
/art/runtime/ |
D | parsed_options.cc | 87 if (val <= std::numeric_limits<size_t>::max() / mul) { in ParseMemoryOption() 91 val = std::numeric_limits<size_t>::max() & ~(1024-1); in ParseMemoryOption() 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()
|
D | parsed_options.h | 124 bool ParseDouble(const std::string& option, char after_char, double min, double max,
|
D | atomic.h | 290 return std::numeric_limits<T>::max(); in PACKED()
|
D | utils.h | 63 if (std::numeric_limits<T>::max() < result) { in ParseUint() 77 if (result < std::numeric_limits<T>::min() || std::numeric_limits<T>::max() < result) { in ParseInt()
|
/art/runtime/base/ |
D | histogram-inl.h | 101 max_value_added_ = std::max(val, max_value_added_); in BucketiseValue() 122 min_value_added_ = std::numeric_limits<Value>::max(); in Reset()
|
D | bit_vector.cc | 309 unsigned int max = storage_size_; in GetHighestBitSet() local 310 for (int idx = max - 1; idx >= 0; idx--) { in GetHighestBitSet()
|
D | allocator.h | 80 max_bytes_used_[tag].StoreRelaxed(std::max(max_bytes_used_[tag].LoadRelaxed(), new_bytes)); in RegisterAllocation()
|
/art/test/003-omnibus-opcodes/src/ |
D | FloatMath.java | 309 Main.assertTrue(approxEqual(Math.max(ff, -5.0f), ff, 0.001f)); in jlmTests() 314 Main.assertTrue(approxEqual(Math.max(dd, -5.0), dd, 0.001)); in jlmTests()
|
D | IntMath.java | 567 Main.assertTrue(Math.max(ii, -5) == ii); in jlmTests() 572 Main.assertTrue(Math.max(ll, -5L) == ll); in jlmTests()
|
/art/runtime/verifier/ |
D | reg_type_cache.cc | 449 int32_t jchar_max = static_cast<int32_t>(std::numeric_limits<jchar>::max()); in CharConstant() 462 ConstantType& result = FromCat1Const(std::numeric_limits<jint>::max(), false); in IntConstant() 468 ConstantType& result = FromCat1Const(std::numeric_limits<jbyte>::max(), false); in PosByteConstant() 474 ConstantType& result = FromCat1Const(std::numeric_limits<jshort>::max(), false); in PosShortConstant()
|
D | reg_type.cc | 483 val <= std::numeric_limits<jshort>::max()) { in Dump() 497 val <= std::numeric_limits<jshort>::max()) { in Dump() 510 val <= std::numeric_limits<jshort>::max()) { in Dump() 523 val <= std::numeric_limits<jshort>::max()) { in Dump()
|
D | reg_type.h | 596 ConstantValue() <= std::numeric_limits<jchar>::max(); in IsConstantChar() 601 ConstantValue() <= std::numeric_limits<jbyte>::max(); in IsConstantByte() 606 ConstantValue() <= std::numeric_limits<jshort>::max(); in IsConstantShort()
|
/art/runtime/gc/space/ |
D | space.cc | 75 const size_t capacity = static_cast<size_t>(std::numeric_limits<uint32_t>::max()); in DiscontinuousSpace()
|
/art/compiler/utils/ |
D | scoped_arena_allocator.cc | 58 size_t allocation_size = std::max(Arena::kDefaultSize, rounded_bytes); in AllocateFromNextArena()
|
D | swap_space.cc | 135 size_t next_part = std::max(RoundUp(min_size, kPageSize), RoundUp(kMininumMapSize, kPageSize)); in NewFileChunk()
|
D | arena_allocator.cc | 256 Arena* new_arena = pool_->AllocArena(std::max(Arena::kDefaultSize, allocation_size)); in ObtainNewArenaForAllocation()
|
/art/runtime/gc/ |
D | heap.cc | 148 large_object_threshold_(std::numeric_limits<size_t>::max()), // Starts out disabled. in Heap() 159 concurrent_start_bytes_(std::numeric_limits<size_t>::max()), in Heap() 413 SetIdealFootprint(std::numeric_limits<size_t>::max()); in Heap() 414 concurrent_start_bytes_ = std::numeric_limits<size_t>::max(); in Heap() 698 const size_t num_threads = std::max(parallel_gc_threads_, conc_gc_threads_); in CreateThreadPool() 1840 … std::max(max_allowed_footprint_, kMinConcurrentRemainingBytes) - kMinConcurrentRemainingBytes; in ChangeCollector() 1842 concurrent_start_bytes_ = std::numeric_limits<size_t>::max(); in ChangeCollector() 2219 concurrent_start_bytes_ = std::numeric_limits<size_t>::max(); in CollectGarbageInternal() 2944 target_size = std::max(target_size, in GrowForUtilization() 2970 target_size = std::max(bytes_allocated, static_cast<uint64_t>(max_allowed_footprint_)); in GrowForUtilization() [all …]
|
/art/compiler/optimizing/ |
D | stack_map_stream.h | 85 stack_mask_max_ = std::max(stack_mask_max_, sp_mask->GetHighestBitSet()); in AddStackMapEntry()
|