/art/runtime/jit/ |
D | jit-inl.h | 47 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()
|
D | jit.cc | 124 RoundDown(std::numeric_limits<uint16_t>::max(), kJitSamplesBatchSize); in CreateFromRuntimeArguments()
|
D | jit_code_cache.cc | 436 initial_capacity = RoundDown(initial_capacity, 2 * kPageSize); in InitializeState() 437 max_capacity = RoundDown(max_capacity, 2 * kPageSize); in InitializeState()
|
/art/runtime/gc/accounting/ |
D | space_bitmap_test.cc | 169 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()
|
D | card_table_test.cc | 65 size_t offset = RoundDown(addr - heap_begin_, CardTable::kCardSize); in PseudoRandomCard()
|
/art/libartbase/base/ |
D | utils.cc | 88 CHECK_EQ(RoundDown(start, kPageSize), RoundDown(limit - 1, kPageSize)) << "range spans pages"; in TouchAndFlushCacheLinesWithinPage()
|
D | bit_utils.h | 162 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/ |
D | dlmalloc.cc | 73 end = reinterpret_cast<void*>(art::RoundDown(reinterpret_cast<uintptr_t>(end), art::kPageSize)); in DlmallocMadviseCallback()
|
/art/disassembler/ |
D | disassembler_arm.cc | 155 RoundDown(disasm_->GetCodeAddress(), vixl::aarch32::kRegSizeInBytes) + offset; in PrintLiteral()
|
D | disassembler_mips.cc | 633 uintptr_t ptr = RoundDown(reinterpret_cast<uintptr_t>(instr_ptr), 8); in Dump()
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_arm_base.cc | 83 max_next_offset_ = RoundDown(next_thunk.MaxNextOffset() - CodeSize(), alignment); in MakeSpaceBefore() 524 return RoundDown(patch_offset + MaxPositiveDisplacement(key), in CalculateMaxNextOffset()
|
D | relative_patcher_thumb2_test.cc | 578 uint32_t thunk_offset = RoundDown(method_after_thunk_header_offset - thunk_size, kArmAlignment); in TEST_F()
|
/art/runtime/mirror/ |
D | string-alloc-inl.h | 183 const size_t max_length = RoundDown(max_alloc_length, kObjectAlignment / block_size); in Alloc()
|
/art/compiler/ |
D | common_compiler_test.cc | 96 uintptr_t base = RoundDown(data, kPageSize); in MakeExecutable()
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 77 uintptr_t oat_code_aligned = RoundDown(reinterpret_cast<uintptr_t>(quick_oat_code), 2); in CheckMethod()
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 1884 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/ |
D | relative_patcher_arm64_test.cc | 749 uint32_t thunk_offset = RoundDown(method_after_thunk_header_offset - thunk_size, kArm64Alignment); in TEST_F()
|
/art/runtime/ |
D | elf_file.cc | 1060 min_vaddr = RoundDown(min_vaddr, kPageSize); in GetLoadedAddressRange()
|
D | runtime.cc | 1142 RoundDown(static_cast<uintptr_t>(Context::kBadGprBase), kPageSize); in Init()
|
/art/openjdkjvmti/ |
D | OpenjdkJvmTi.cc | 1048 copy_size = art::RoundDown(copy_size, sizeof(void*)); in SetEventCallbacks()
|
/art/runtime/gc/space/ |
D | image_space.cc | 95 r = RoundDown(r, kPageSize); in ChooseRelocationOffsetDelta()
|
/art/compiler/utils/mips64/ |
D | assembler_mips64.cc | 2794 offset_location = RoundDown(offset_location, sizeof(uint64_t)); in GetOffset()
|
/art/compiler/utils/mips/ |
D | assembler_mips.cc | 4595 int32_t loaded_offset = RoundDown(offset, kMipsDoublewordSize); in AdjustBaseAndOffset()
|