Searched refs:RoundUp (Results 1 - 25 of 51) sorted by relevance

123

/art/runtime/gc/space/
H A Dbump_pointer_space-inl.h28 num_bytes = RoundUp(num_bytes, kAlignment);
43 num_bytes = RoundUp(num_bytes, kAlignment);
88 *usable_size = RoundUp(num_bytes, kAlignment);
H A Dmalloc_space.cc88 *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 Dbump_pointer_space.cc29 capacity = RoundUp(capacity, kPageSize);
92 return reinterpret_cast<mirror::Object*>(RoundUp(position, kAlignment));
138 bytes = RoundUp(bytes, kAlignment);
/art/runtime/
H A Dimage.cc50 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 Dimage.h92 return RoundUp(image_size_, kPageSize);
H A Ddex_file-inl.h48 (RoundUp(reinterpret_cast<uintptr_t>(insns_end_), 4)) + offset;
H A Dutils.h182 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 Dquick_method_frame_info_x86.h38 return RoundUp((POPCOUNT(X86CalleeSaveCoreSpills(type)) /* gprs */ +
/art/compiler/jni/quick/x86/
H A Dcalling_convention_x86.cc132 return RoundUp(frame_data_size + handle_scope_size + SizeOfReturnValue(), kStackAlignment);
136 return RoundUp(NumberOfOutgoingStackArgs() * kFramePointerSize, kStackAlignment);
/art/runtime/arch/mips/
H A Dquick_method_frame_info_mips.h42 return RoundUp((POPCOUNT(MipsCalleeSaveCoreSpills(type)) /* gprs */ +
/art/runtime/gc/allocator/
H A Ddlmalloc.cc59 start = reinterpret_cast<void*>(art::RoundUp(reinterpret_cast<uintptr_t>(start), art::kPageSize));
H A Drosalloc.h194 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 Drosalloc.cc58 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 Dcalling_convention_arm.cc151 return RoundUp(frame_data_size + handle_scope_size + SizeOfReturnValue(), kStackAlignment);
155 return RoundUp(NumberOfOutgoingStackArgs() * kFramePointerSize + padding_,
/art/compiler/jni/quick/mips/
H A Dcalling_convention_mips.cc155 return RoundUp(frame_data_size + handle_scope_size + SizeOfReturnValue(), kStackAlignment);
159 return RoundUp(NumberOfOutgoingStackArgs() * kFramePointerSize + padding_, kStackAlignment);
/art/runtime/arch/x86_64/
H A Dquick_method_frame_info_x86_64.h53 return RoundUp((POPCOUNT(X86_64CalleeSaveCoreSpills(type)) /* gprs */ +
/art/compiler/
H A Delf_stripper.cc107 offset = RoundUp(offset, old_sh->sh_addralign);
H A Dimage_writer.cc213 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 Dscoped_arena_allocator.h70 size_t rounded_bytes = RoundUp(bytes, 8);
H A Dscoped_arena_allocator.cc95 size_t rounded_bytes = RoundUp(bytes + kValgrindRedZoneBytes, 8);
/art/compiler/jni/quick/arm64/
H A Dcalling_convention_arm64.cc203 return RoundUp(frame_data_size + handle_scope_size + SizeOfReturnValue(), kStackAlignment);
207 return RoundUp(NumberOfOutgoingStackArgs() * kFramePointerSize, kStackAlignment);
/art/compiler/jni/quick/x86_64/
H A Dcalling_convention_x86_64.cc155 return RoundUp(frame_data_size + handle_scope_size + SizeOfReturnValue(), kStackAlignment);
159 return RoundUp(NumberOfOutgoingStackArgs() * kFramePointerSize, kStackAlignment);
/art/runtime/arch/arm/
H A Dquick_method_frame_info_arm.h55 return RoundUp((POPCOUNT(ArmCalleeSaveCoreSpills(type)) /* gprs */ +
/art/runtime/arch/arm64/
H A Dquick_method_frame_info_arm64.h75 return RoundUp((POPCOUNT(Arm64CalleeSaveCoreSpills(type)) /* gprs */ +
/art/runtime/gc/
H A Dheap-inl.h61 byte_count = RoundUp(byte_count, space::BumpPointerSpace::kAlignment);
194 alloc_size = RoundUp(alloc_size, space::BumpPointerSpace::kAlignment);

Completed in 751 milliseconds

123