Searched refs:RoundDown (Results 1 – 20 of 20) sorted by relevance
/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_memory_region.cc | 54 initial_capacity_ = RoundDown(initial_capacity, 2 * kPageSize); in Initialize() 55 max_capacity_ = RoundDown(max_capacity, 2 * kPageSize); in Initialize()
|
D | jit.cc | 147 RoundDown(kJitMaxThreshold, kJitThresholdStep); in CreateFromRuntimeArguments() 158 RoundDown(kJitMaxThreshold, kJitThresholdStep)); in CreateFromRuntimeArguments()
|
/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/runtime/gc/allocator/ |
D | dlmalloc.cc | 73 end = reinterpret_cast<void*>(art::RoundDown(reinterpret_cast<uintptr_t>(end), art::kPageSize)); in DlmallocMadviseCallback()
|
/art/libartbase/base/ |
D | utils.cc | 90 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/disassembler/ |
D | disassembler_arm.cc | 155 RoundDown(disasm_->GetCodeAddress(), vixl::aarch32::kRegSizeInBytes) + offset; in PrintLiteral()
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_arm_base.cc | 83 max_next_offset_ = RoundDown(next_thunk.MaxNextOffset() - CodeSize(), alignment); in MakeSpaceBefore() 537 return RoundDown(patch_offset + MaxPositiveDisplacement(key), in CalculateMaxNextOffset()
|
D | relative_patcher_thumb2_test.cc | 579 uint32_t thunk_offset = RoundDown(method_after_thunk_header_offset - thunk_size, kArmAlignment); in TEST_F()
|
/art/compiler/ |
D | common_compiler_test.cc | 107 uintptr_t base = RoundDown(data, kPageSize); in MakeExecutable()
|
/art/runtime/mirror/ |
D | string-alloc-inl.h | 184 const size_t max_length = RoundDown(max_alloc_length, kObjectAlignment / block_size); in Alloc()
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 78 uintptr_t oat_code_aligned = RoundDown(reinterpret_cast<uintptr_t>(quick_oat_code), 2); in CheckMethod()
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 750 uint32_t thunk_offset = RoundDown(method_after_thunk_header_offset - thunk_size, kArm64Alignment); in TEST_F()
|
/art/runtime/ |
D | elf_file.cc | 1059 min_vaddr = RoundDown(min_vaddr, kPageSize); in GetLoadedAddressRange()
|
D | runtime.cc | 1213 RoundDown(static_cast<uintptr_t>(Context::kBadGprBase), kPageSize); in Init()
|
/art/openjdkjvmti/ |
D | OpenjdkJvmTi.cc | 1018 copy_size = art::RoundDown(copy_size, sizeof(void*)); in SetEventCallbacks()
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 1737 sp8 = reinterpret_cast<uint8_t*>(RoundDown(reinterpret_cast<uintptr_t>(sp8), kStackAlignment)); in LayoutStackArgs()
|
/art/runtime/gc/space/ |
D | image_space.cc | 107 r = RoundDown(r, kPageSize); in ChooseRelocationOffsetDelta()
|