/art/runtime/gc/space/ |
D | bump_pointer_space-inl.h | 30 num_bytes = RoundUp(num_bytes, kAlignment); in Alloc() 47 num_bytes = RoundUp(num_bytes, kAlignment); in AllocThreadUnsafe() 93 *usable_size = RoundUp(num_bytes, kAlignment); in AllocationSizeNonvirtual()
|
D | malloc_space.cc | 88 *growth_limit = RoundUp(*growth_limit, kPageSize); in CreateMemMap() 89 *capacity = RoundUp(*capacity, kPageSize); in CreateMemMap() 123 growth_limit = RoundUp(growth_limit, kPageSize); in SetGrowthLimit() 166 SetEnd(reinterpret_cast<uint8_t*>(RoundUp(reinterpret_cast<uintptr_t>(End()), kPageSize))); in CreateZygoteSpace() 171 size_t size = RoundUp(Size(), kPageSize); in CreateZygoteSpace() 183 SetGrowthLimit(RoundUp(size, kPageSize)); in CreateZygoteSpace()
|
D | region_space-inl.h | 29 num_bytes = RoundUp(num_bytes, kAlignment); in Alloc() 147 *usable_size = RoundUp(num_bytes, kAlignment); in AllocationSizeNonvirtual() 150 *usable_size = RoundUp(num_bytes, kRegionSize); in AllocationSizeNonvirtual() 262 return reinterpret_cast<mirror::Object*>(RoundUp(position, kAlignment)); in GetNextObject() 271 size_t num_regs = RoundUp(num_bytes, kRegionSize) / kRegionSize; in AllocLarge()
|
D | bump_pointer_space.cc | 29 capacity = RoundUp(capacity, kPageSize); in Create() 93 return reinterpret_cast<mirror::Object*>(RoundUp(position, kAlignment)); in GetNextObject() 141 bytes = RoundUp(bytes, kAlignment); in AllocBlock()
|
/art/compiler/utils/ |
D | swap_space.cc | 106 size = RoundUp(size, 8U); in Alloc() 135 size_t next_part = std::max(RoundUp(min_size, kPageSize), RoundUp(kMininumMapSize, kPageSize)); in NewFileChunk() 165 size = RoundUp(size, 8U); in Free()
|
D | dex_cache_arrays_layout-inl.h | 79 return RoundUp(array_size, kObjectAlignment); in ArraySize()
|
/art/runtime/ |
D | image.cc | 51 CHECK_EQ(image_begin, RoundUp(image_begin, kPageSize)); in ImageHeader() 52 CHECK_EQ(oat_file_begin, RoundUp(oat_file_begin, kPageSize)); in ImageHeader() 53 CHECK_EQ(oat_data_begin, RoundUp(oat_data_begin, kPageSize)); in ImageHeader()
|
/art/runtime/gc/accounting/ |
D | bitmap.cc | 44 const size_t bitmap_size = RoundUp( in AllocateMemMap() 45 RoundUp(num_bits, kBitsPerBitmapWord) / kBitsPerBitmapWord * sizeof(uintptr_t), kPageSize); in AllocateMemMap()
|
/art/runtime/base/ |
D | scoped_arena_allocator.cc | 95 size_t rounded_bytes = RoundUp(bytes + kValgrindRedZoneBytes, 8); in AllocValgrind() 126 arena_stack_->top_ptr_ = mark_ptr_ + RoundUp(sizeof(ScopedArenaAllocator), 8); in Reset()
|
D | bit_utils.h | 115 static constexpr T RoundUp(T x, typename std::remove_reference<T>::type n) WARN_UNUSED; 118 static constexpr T RoundUp(T x, typename std::remove_reference<T>::type n) { in RoundUp() function 136 return reinterpret_cast<T*>(RoundUp(reinterpret_cast<uintptr_t>(x), n)); in AlignUp()
|
/art/compiler/jni/quick/x86/ |
D | calling_convention_x86.cc | 188 return RoundUp(frame_data_size + handle_scope_size + SizeOfReturnValue(), kStackAlignment); in FrameSize() 192 return RoundUp(NumberOfOutgoingStackArgs() * kFramePointerSize, kStackAlignment); in OutArgSize()
|
/art/compiler/jni/quick/arm/ |
D | calling_convention_arm.cc | 153 fpr_double_index = (std::max(fpr_double_index * 2, RoundUp(fpr_index, 2))) / 2; in EntrySpills() 264 return RoundUp(frame_data_size + handle_scope_size + SizeOfReturnValue(), kStackAlignment); in FrameSize() 268 return RoundUp(NumberOfOutgoingStackArgs() * kFramePointerSize + padding_, in OutArgSize()
|
/art/compiler/jni/quick/mips/ |
D | calling_convention_mips.cc | 156 return RoundUp(frame_data_size + handle_scope_size + SizeOfReturnValue(), kStackAlignment); in FrameSize() 160 return RoundUp(NumberOfOutgoingStackArgs() * kFramePointerSize + padding_, kStackAlignment); in OutArgSize()
|
/art/compiler/jni/quick/mips64/ |
D | calling_convention_mips64.cc | 157 return RoundUp(frame_data_size + handle_scope_size + SizeOfReturnValue(), kStackAlignment); in FrameSize() 161 return RoundUp(NumberOfOutgoingStackArgs() * kFramePointerSize, kStackAlignment); in OutArgSize()
|
/art/runtime/gc/allocator/ |
D | rosalloc.h | 200 return RoundUp(numOfSlots[size_bracket_idx_], 32) / 32; in NumberOfBitmapVectors() 329 return RoundUp(size, 16); in RoundToBracketSize() 341 return RoundUp(size, 16) / 16 - 1; in SizeToIndex() 353 size_t bracket_size = RoundUp(size, 16); in SizeToIndexAndBracketSize() 596 return RoundUp(bytes, kPageSize); in UsableSize()
|
D | dlmalloc.cc | 65 start = reinterpret_cast<void*>(art::RoundUp(reinterpret_cast<uintptr_t>(start), art::kPageSize)); in DlmallocMadviseCallback()
|
D | rosalloc.cc | 62 DCHECK_EQ(RoundUp(capacity, kPageSize), capacity); in RosAlloc() 63 DCHECK_EQ(RoundUp(max_capacity, kPageSize), max_capacity); in RosAlloc() 85 RoundUp(max_num_of_pages, kPageSize), in RosAlloc() 463 size_t num_pages = RoundUp(size, kPageSize) / kPageSize; in AllocLargeObject() 868 size_t num_vec = RoundUp(num_slots, 32) / 32; in Dump() 894 size_t num_vec = RoundUp(numOfSlots[idx], 32) / 32; in FreeSlot() 917 const size_t num_vec = RoundUp(num_slots, 32) / 32; in NumberOfFreeSlots() 937 const size_t num_vec = RoundUp(num_of_slots, 32) / 32; in MergeThreadLocalFreeBitMapToAllocBitMap() 1093 const size_t num_vec = RoundUp(num_slots, 32) / 32; in SetAllocBitMapBitsForInvalidSlots() 1125 size_t num_vec = RoundUp(num_slots, 32) / 32; in InspectAllSlots() [all …]
|
/art/compiler/jni/quick/x86_64/ |
D | calling_convention_x86_64.cc | 157 return RoundUp(frame_data_size + handle_scope_size + SizeOfReturnValue(), kStackAlignment); in FrameSize() 161 return RoundUp(NumberOfOutgoingStackArgs() * kFramePointerSize, kStackAlignment); in OutArgSize()
|
/art/runtime/arch/x86/ |
D | quick_method_frame_info_x86.h | 57 return RoundUp((POPCOUNT(X86CalleeSaveCoreSpills(type)) /* gprs */ + in X86CalleeSaveFrameSize()
|
/art/compiler/jni/quick/arm64/ |
D | calling_convention_arm64.cc | 214 return RoundUp(frame_data_size + handle_scope_size + SizeOfReturnValue(), kStackAlignment); in FrameSize() 218 return RoundUp(NumberOfOutgoingStackArgs() * kFramePointerSize, kStackAlignment); in OutArgSize()
|
/art/runtime/arch/x86_64/ |
D | quick_method_frame_info_x86_64.h | 54 return RoundUp((POPCOUNT(X86_64CalleeSaveCoreSpills(type)) /* gprs */ + in X86_64CalleeSaveFrameSize()
|
/art/runtime/arch/mips/ |
D | quick_method_frame_info_mips.h | 51 return RoundUp((POPCOUNT(MipsCalleeSaveCoreSpills(type)) /* gprs */ + in MipsCalleeSaveFrameSize()
|
/art/runtime/gc/ |
D | heap-inl.h | 73 byte_count = RoundUp(byte_count, space::BumpPointerSpace::kAlignment); in AllocObjectWithAllocator() 235 alloc_size = RoundUp(alloc_size, space::BumpPointerSpace::kAlignment); in TryToAllocate() 321 alloc_size = RoundUp(alloc_size, space::RegionSpace::kAlignment); in TryToAllocate()
|
/art/runtime/arch/arm/ |
D | quick_entrypoints_cc_arm.cc | 55 fpr_double_index = std::max(fpr_double_index, RoundUp(fpr_index, 2)); in quick_invoke_reg_setup()
|
/art/runtime/arch/mips64/ |
D | quick_method_frame_info_mips64.h | 63 return RoundUp((POPCOUNT(Mips64CalleeSaveCoreSpills(type)) /* gprs */ + in Mips64CalleeSaveFrameSize()
|