/art/runtime/gc/space/ |
H A D | bump_pointer_space-inl.h | 28 num_bytes = RoundUp(num_bytes, kAlignment); 43 num_bytes = RoundUp(num_bytes, kAlignment); 88 *usable_size = RoundUp(num_bytes, kAlignment);
|
H A D | malloc_space.cc | 88 *growth_limit = RoundUp(*growth_limit, kPageSize); 89 *capacity = RoundUp(*capacity, kPageSize); 123 growth_limit = RoundUp(growth_limit, kPageSize); 166 SetEnd(reinterpret_cast<byte*>(RoundUp(reinterpret_cast<uintptr_t>(End()), kPageSize))); 171 size_t size = RoundUp(Size(), kPageSize); 182 SetGrowthLimit(RoundUp(size, kPageSize));
|
H A D | bump_pointer_space.cc | 29 capacity = RoundUp(capacity, kPageSize); 92 return reinterpret_cast<mirror::Object*>(RoundUp(position, kAlignment)); 138 bytes = RoundUp(bytes, kAlignment);
|
/art/runtime/ |
H A D | image.cc | 50 CHECK_EQ(image_begin, RoundUp(image_begin, kPageSize)); 51 CHECK_EQ(oat_file_begin, RoundUp(oat_file_begin, kPageSize)); 52 CHECK_EQ(oat_data_begin, RoundUp(oat_data_begin, kPageSize));
|
H A D | image.h | 92 return RoundUp(image_size_, kPageSize);
|
H A D | dex_file-inl.h | 48 (RoundUp(reinterpret_cast<uintptr_t>(insns_end_), 4)) + offset;
|
H A D | utils.h | 182 static constexpr T RoundUp(T x, typename TypeIdentity<T>::type n) WARN_UNUSED; 185 static constexpr T RoundUp(T x, typename TypeIdentity<T>::type n) { function in namespace:art 203 return reinterpret_cast<T*>(RoundUp(reinterpret_cast<uintptr_t>(x), n));
|
/art/runtime/arch/x86/ |
H A D | quick_method_frame_info_x86.h | 38 return RoundUp((POPCOUNT(X86CalleeSaveCoreSpills(type)) /* gprs */ +
|
/art/compiler/jni/quick/x86/ |
H A D | calling_convention_x86.cc | 132 return RoundUp(frame_data_size + handle_scope_size + SizeOfReturnValue(), kStackAlignment); 136 return RoundUp(NumberOfOutgoingStackArgs() * kFramePointerSize, kStackAlignment);
|
/art/runtime/arch/mips/ |
H A D | quick_method_frame_info_mips.h | 42 return RoundUp((POPCOUNT(MipsCalleeSaveCoreSpills(type)) /* gprs */ +
|
/art/runtime/gc/allocator/ |
H A D | dlmalloc.cc | 59 start = reinterpret_cast<void*>(art::RoundUp(reinterpret_cast<uintptr_t>(start), art::kPageSize));
|
H A D | rosalloc.h | 194 return RoundUp(numOfSlots[size_bracket_idx_], 32) / 32; 310 return RoundUp(size, 16); 322 return RoundUp(size, 16) / 16 - 1; 334 size_t bracket_size = RoundUp(size, 16); 544 return RoundUp(bytes, kPageSize);
|
H A D | rosalloc.cc | 58 DCHECK_EQ(RoundUp(capacity, kPageSize), capacity); 59 DCHECK_EQ(RoundUp(max_capacity, kPageSize), max_capacity); 80 page_map_mem_map_.reset(MemMap::MapAnonymous("rosalloc page map", NULL, RoundUp(max_num_of_pages, kPageSize), 455 size_t num_pages = RoundUp(size, kPageSize) / kPageSize; 838 size_t num_vec = RoundUp(num_slots, 32) / 32; 880 const size_t num_words = RoundUp(numOfSlots[idx], 32) / 32; 902 size_t num_vec = RoundUp(numOfSlots[idx], 32) / 32; 926 const size_t num_vec = RoundUp(num_of_slots, 32) / 32; 1091 const size_t num_vec = RoundUp(num_slots, 32) / 32; 1122 size_t num_vec = RoundUp(num_slot [all...] |
/art/compiler/jni/quick/arm/ |
H A D | calling_convention_arm.cc | 151 return RoundUp(frame_data_size + handle_scope_size + SizeOfReturnValue(), kStackAlignment); 155 return RoundUp(NumberOfOutgoingStackArgs() * kFramePointerSize + padding_,
|
/art/compiler/jni/quick/mips/ |
H A D | calling_convention_mips.cc | 155 return RoundUp(frame_data_size + handle_scope_size + SizeOfReturnValue(), kStackAlignment); 159 return RoundUp(NumberOfOutgoingStackArgs() * kFramePointerSize + padding_, kStackAlignment);
|
/art/runtime/arch/x86_64/ |
H A D | quick_method_frame_info_x86_64.h | 53 return RoundUp((POPCOUNT(X86_64CalleeSaveCoreSpills(type)) /* gprs */ +
|
/art/compiler/ |
H A D | elf_stripper.cc | 107 offset = RoundUp(offset, old_sh->sh_addralign);
|
H A D | image_writer.cc | 213 image_end_ += RoundUp(object->SizeOf(), 8); // 64-bit alignment 232 size_t length = RoundUp(Runtime::Current()->GetHeap()->GetTotalMemory(), kPageSize); 541 image_end_ += RoundUp(sizeof(ImageHeader), 8); // 64-bit-alignment 553 const byte* oat_file_begin = image_begin_ + RoundUp(image_end_, kPageSize); 561 const size_t bitmap_bytes = RoundUp(image_end_, heap_bytes_per_bitmap_byte) / 565 RoundUp(image_end_, kPageSize), 566 RoundUp(bitmap_bytes, kPageSize),
|
/art/compiler/utils/ |
H A D | scoped_arena_allocator.h | 70 size_t rounded_bytes = RoundUp(bytes, 8);
|
H A D | scoped_arena_allocator.cc | 95 size_t rounded_bytes = RoundUp(bytes + kValgrindRedZoneBytes, 8);
|
/art/compiler/jni/quick/arm64/ |
H A D | calling_convention_arm64.cc | 203 return RoundUp(frame_data_size + handle_scope_size + SizeOfReturnValue(), kStackAlignment); 207 return RoundUp(NumberOfOutgoingStackArgs() * kFramePointerSize, kStackAlignment);
|
/art/compiler/jni/quick/x86_64/ |
H A D | calling_convention_x86_64.cc | 155 return RoundUp(frame_data_size + handle_scope_size + SizeOfReturnValue(), kStackAlignment); 159 return RoundUp(NumberOfOutgoingStackArgs() * kFramePointerSize, kStackAlignment);
|
/art/runtime/arch/arm/ |
H A D | quick_method_frame_info_arm.h | 55 return RoundUp((POPCOUNT(ArmCalleeSaveCoreSpills(type)) /* gprs */ +
|
/art/runtime/arch/arm64/ |
H A D | quick_method_frame_info_arm64.h | 75 return RoundUp((POPCOUNT(Arm64CalleeSaveCoreSpills(type)) /* gprs */ +
|
/art/runtime/gc/ |
H A D | heap-inl.h | 61 byte_count = RoundUp(byte_count, space::BumpPointerSpace::kAlignment); 194 alloc_size = RoundUp(alloc_size, space::BumpPointerSpace::kAlignment);
|