Home
last modified time | relevance | path

Searched refs:RoundDown (Results 1 – 20 of 20) sorted by relevance

/art/runtime/jit/
Djit-inl.h47 uint32_t old_batch = RoundDown(old_count, kJitSamplesBatchSize); // Clear lower bits. in AddSamples()
48 uint32_t new_batch = RoundDown(new_count, kJitSamplesBatchSize); // Clear lower bits. in AddSamples()
Djit_memory_region.cc54 initial_capacity_ = RoundDown(initial_capacity, 2 * kPageSize); in Initialize()
55 max_capacity_ = RoundDown(max_capacity, 2 * kPageSize); in Initialize()
Djit.cc146 RoundDown(kJitMaxThreshold, kJitThresholdStep); in CreateFromRuntimeArguments()
157 RoundDown(kJitMaxThreshold, kJitThresholdStep)); in CreateFromRuntimeArguments()
/art/runtime/gc/accounting/
Dspace_bitmap_test.cc169 size_t offset = RoundDown(r.next() % heap_capacity, kAlignment); in RunTest()
180 const size_t offset = RoundDown(r.next() % heap_capacity, kAlignment); in RunTest()
182 const size_t end = offset + RoundDown(r.next() % (remain + 1), kAlignment); in RunTest()
Dcard_table_test.cc65 size_t offset = RoundDown(addr - heap_begin_, CardTable::kCardSize); in PseudoRandomCard()
/art/runtime/gc/allocator/
Ddlmalloc.cc73 end = reinterpret_cast<void*>(art::RoundDown(reinterpret_cast<uintptr_t>(end), art::kPageSize)); in DlmallocMadviseCallback()
/art/libartbase/base/
Dutils.cc90 CHECK_EQ(RoundDown(start, kPageSize), RoundDown(limit - 1, kPageSize)) << "range spans pages"; in TouchAndFlushCacheLinesWithinPage()
Dbit_utils.h162 constexpr T RoundDown(T x, typename Identity<T>::type n) WARN_UNUSED;
165 constexpr T RoundDown(T x, typename Identity<T>::type n) { in RoundDown() function
175 return RoundDown(x + n - 1, n); in RoundUp()
184 return reinterpret_cast<T*>(RoundDown(reinterpret_cast<uintptr_t>(x), n)); in AlignDown()
/art/disassembler/
Ddisassembler_arm.cc155 RoundDown(disasm_->GetCodeAddress(), vixl::aarch32::kRegSizeInBytes) + offset; in PrintLiteral()
/art/dex2oat/linker/arm/
Drelative_patcher_arm_base.cc83 max_next_offset_ = RoundDown(next_thunk.MaxNextOffset() - CodeSize(), alignment); in MakeSpaceBefore()
537 return RoundDown(patch_offset + MaxPositiveDisplacement(key), in CalculateMaxNextOffset()
Drelative_patcher_thumb2_test.cc579 uint32_t thunk_offset = RoundDown(method_after_thunk_header_offset - thunk_size, kArmAlignment); in TEST_F()
/art/compiler/
Dcommon_compiler_test.cc96 uintptr_t base = RoundDown(data, kPageSize); in MakeExecutable()
/art/runtime/mirror/
Dstring-alloc-inl.h184 const size_t max_length = RoundDown(max_alloc_length, kObjectAlignment / block_size); in Alloc()
/art/dex2oat/linker/
Doat_writer_test.cc78 uintptr_t oat_code_aligned = RoundDown(reinterpret_cast<uintptr_t>(quick_oat_code), 2); in CheckMethod()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc750 uint32_t thunk_offset = RoundDown(method_after_thunk_header_offset - thunk_size, kArm64Alignment); in TEST_F()
/art/runtime/
Delf_file.cc1060 min_vaddr = RoundDown(min_vaddr, kPageSize); in GetLoadedAddressRange()
Druntime.cc1214 RoundDown(static_cast<uintptr_t>(Context::kBadGprBase), kPageSize); in Init()
/art/openjdkjvmti/
DOpenjdkJvmTi.cc1018 copy_size = art::RoundDown(copy_size, sizeof(void*)); in SetEventCallbacks()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc1763 sp8 = reinterpret_cast<uint8_t*>(RoundDown(reinterpret_cast<uintptr_t>(sp8), kStackAlignment)); in LayoutStackArgs()
/art/runtime/gc/space/
Dimage_space.cc107 r = RoundDown(r, kPageSize); in ChooseRelocationOffsetDelta()