Searched refs:RoundDown (Results 1 – 11 of 11) sorted by relevance
/art/runtime/gc/accounting/ |
D | space_bitmap_test.cc | 127 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()
|
D | card_table_test.cc | 65 size_t offset = RoundDown(addr - heap_begin_, CardTable::kCardSize); in PseudoRandomCard()
|
/art/runtime/base/ |
D | bit_utils.h | 105 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/ |
D | dlmalloc.cc | 66 end = reinterpret_cast<void*>(art::RoundDown(reinterpret_cast<uintptr_t>(end), art::kPageSize)); in DlmallocMadviseCallback()
|
/art/compiler/ |
D | oat_test.cc | 64 uintptr_t oat_code_aligned = RoundDown(reinterpret_cast<uintptr_t>(quick_oat_code), 2); in CheckMethod()
|
D | common_compiler_test.cc | 113 uintptr_t base = RoundDown(data, kPageSize); in MakeExecutable()
|
/art/runtime/gc/space/ |
D | image_space.cc | 68 r = RoundDown(r, kPageSize); in ChooseRelocationOffsetDelta()
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 1383 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/ |
D | disassembler_arm.cc | 431 uintptr_t pc = RoundDown(reinterpret_cast<intptr_t>(instr_ptr) + 4, 4); in DumpThumb2Literal()
|
/art/runtime/ |
D | elf_file.cc | 1109 min_vaddr = RoundDown(min_vaddr, kPageSize); in GetLoadedSize()
|
/art/compiler/dex/quick/arm64/ |
D | int_arm64.cc | 1761 early_drop = RoundDown(early_drop, 16); in UnspillRegs()
|