Home
last modified time | relevance | path

Searched refs:RoundDown (Results 1 – 23 of 23) 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.cc124 RoundDown(std::numeric_limits<uint16_t>::max(), kJitSamplesBatchSize); in CreateFromRuntimeArguments()
Djit_code_cache.cc436 initial_capacity = RoundDown(initial_capacity, 2 * kPageSize); in InitializeState()
437 max_capacity = RoundDown(max_capacity, 2 * kPageSize); in InitializeState()
/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/libartbase/base/
Dutils.cc88 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/runtime/gc/allocator/
Ddlmalloc.cc73 end = reinterpret_cast<void*>(art::RoundDown(reinterpret_cast<uintptr_t>(end), art::kPageSize)); in DlmallocMadviseCallback()
/art/disassembler/
Ddisassembler_arm.cc155 RoundDown(disasm_->GetCodeAddress(), vixl::aarch32::kRegSizeInBytes) + offset; in PrintLiteral()
Ddisassembler_mips.cc633 uintptr_t ptr = RoundDown(reinterpret_cast<uintptr_t>(instr_ptr), 8); in Dump()
/art/dex2oat/linker/arm/
Drelative_patcher_arm_base.cc83 max_next_offset_ = RoundDown(next_thunk.MaxNextOffset() - CodeSize(), alignment); in MakeSpaceBefore()
524 return RoundDown(patch_offset + MaxPositiveDisplacement(key), in CalculateMaxNextOffset()
Drelative_patcher_thumb2_test.cc578 uint32_t thunk_offset = RoundDown(method_after_thunk_header_offset - thunk_size, kArmAlignment); in TEST_F()
/art/runtime/mirror/
Dstring-alloc-inl.h183 const size_t max_length = RoundDown(max_alloc_length, kObjectAlignment / block_size); in Alloc()
/art/compiler/
Dcommon_compiler_test.cc96 uintptr_t base = RoundDown(data, kPageSize); in MakeExecutable()
/art/dex2oat/linker/
Doat_writer_test.cc77 uintptr_t oat_code_aligned = RoundDown(reinterpret_cast<uintptr_t>(quick_oat_code), 2); in CheckMethod()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc1884 sp8 = reinterpret_cast<uint8_t*>(RoundDown(reinterpret_cast<uintptr_t>(sp8), kStackAlignment)); in LayoutCallStack()
2010 sp8 = reinterpret_cast<uint8_t*>(RoundDown(reinterpret_cast<uintptr_t>(sp8), kStackAlignment)); in LayoutCalleeSaveFrame()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc749 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.cc1142 RoundDown(static_cast<uintptr_t>(Context::kBadGprBase), kPageSize); in Init()
/art/openjdkjvmti/
DOpenjdkJvmTi.cc1048 copy_size = art::RoundDown(copy_size, sizeof(void*)); in SetEventCallbacks()
/art/runtime/gc/space/
Dimage_space.cc95 r = RoundDown(r, kPageSize); in ChooseRelocationOffsetDelta()
/art/compiler/utils/mips64/
Dassembler_mips64.cc2794 offset_location = RoundDown(offset_location, sizeof(uint64_t)); in GetOffset()
/art/compiler/utils/mips/
Dassembler_mips.cc4595 int32_t loaded_offset = RoundDown(offset, kMipsDoublewordSize); in AdjustBaseAndOffset()