Home
last modified time | relevance | path

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

/art/runtime/gc/accounting/
Dspace_bitmap_test.cc127 size_t offset = RoundDown(r.next() % heap_capacity, kAlignment); in RunTest()
141 size_t offset = RoundDown(r.next() % heap_capacity, kAlignment); in RunTest()
143 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/base/
Dbit_utils.h105 static constexpr T RoundDown(T x, typename std::decay<T>::type n) WARN_UNUSED;
108 static constexpr T RoundDown(T x, typename std::decay<T>::type n) { in RoundDown() function
119 return RoundDown(x + n - 1, n); in RoundUp()
128 return reinterpret_cast<T*>(RoundDown(reinterpret_cast<uintptr_t>(x), n)); in AlignDown()
/art/runtime/gc/allocator/
Ddlmalloc.cc66 end = reinterpret_cast<void*>(art::RoundDown(reinterpret_cast<uintptr_t>(end), art::kPageSize)); in DlmallocMadviseCallback()
/art/compiler/
Doat_test.cc64 uintptr_t oat_code_aligned = RoundDown(reinterpret_cast<uintptr_t>(quick_oat_code), 2); in CheckMethod()
Dcommon_compiler_test.cc113 uintptr_t base = RoundDown(data, kPageSize); in MakeExecutable()
/art/runtime/gc/space/
Dimage_space.cc68 r = RoundDown(r, kPageSize); in ChooseRelocationOffsetDelta()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc1383 sp8 = reinterpret_cast<uint8_t*>(RoundDown(reinterpret_cast<uintptr_t>(sp8), kStackAlignment)); in LayoutCallStack()
1508 sp8 = reinterpret_cast<uint8_t*>(RoundDown(reinterpret_cast<uintptr_t>(sp8), kStackAlignment)); in LayoutCalleeSaveFrame()
/art/disassembler/
Ddisassembler_arm.cc431 uintptr_t pc = RoundDown(reinterpret_cast<intptr_t>(instr_ptr) + 4, 4); in DumpThumb2Literal()
/art/runtime/
Delf_file.cc1109 min_vaddr = RoundDown(min_vaddr, kPageSize); in GetLoadedSize()
/art/compiler/dex/quick/arm64/
Dint_arm64.cc1761 early_drop = RoundDown(early_drop, 16); in UnspillRegs()