/art/runtime/arch/arm64/ |
D | callee_save_frame_arm64.h | 102 return RoundUp((POPCOUNT(GetCoreSpills(type)) /* gprs */ + in GetFrameSize()
|
/art/libelffile/elf/ |
D | elf_builder.h | 125 header_.sh_addr = RoundUp(addr, align); in AllocateVirtualMemory() 533 CHECK(loaded_size_ == 0 || loaded_size_ == RoundUp(virtual_address_, kPageSize)) in End() 760 loaded_size_ = RoundUp(virtual_address_, kPageSize); in PrepareDynamicSection() 798 return stream_.Seek(RoundUp(stream_.Seek(0, kSeekCurrent), alignment), kSeekSet); in AlignFileOffset()
|
/art/runtime/gc/allocator/ |
D | rosalloc.cc | 67 DCHECK_EQ(RoundUp(capacity, kPageSize), capacity); in RosAlloc() 68 DCHECK_EQ(RoundUp(max_capacity, kPageSize), max_capacity); in RosAlloc() 95 RoundUp(max_num_of_pages, kPageSize), in RosAlloc() 467 size_t num_pages = RoundUp(size, kPageSize) / kPageSize; in AllocLargeObject() 1372 DCHECK_EQ(RoundUp(madvise_size, kPageSize), madvise_size); in Trim() 1498 DCHECK_EQ(RoundUp(new_capacity, kPageSize), new_capacity); in SetFootprintLimit() 1671 size_t fixed_header_size = RoundUp(Run::fixed_header_size(), sizeof(uint64_t)); in Initialize() 1800 CHECK_EQ(num_pages, RoundUp(obj_size + memory_tool_modifier, kPageSize) / kPageSize) in Verify() 2087 required_bytes = RoundUp(failed_alloc_bytes, kPageSize); in LogFragmentationAllocFailure()
|
/art/libartbase/base/ |
D | utils.cc | 138 uintptr_t next_page = RoundUp(start + 1, kPageSize); in FlushCpuCaches()
|
D | arena_allocator.cc | 226 size_t rounded_bytes = RoundUp(bytes + kMemoryToolRedZoneBytes, 8); in AllocWithMemoryTool()
|
D | bit_memory_region.h | 349 bit_offset_ += RoundUp(end, kBitsPerByte) - end; in ByteAlign()
|
/art/runtime/gc/accounting/ |
D | space_bitmap.cc | 42 return (RoundUp(capacity, kBytesCoveredPerWord) / kBytesCoveredPerWord) * sizeof(intptr_t); in ComputeBitmapSize()
|
/art/dexlayout/ |
D | dex_writer.h | 131 position_ = RoundUp(position_, alignment); in AlignTo()
|
D | dex_visualize.cc | 339 RoundUp(bytes, kPageSize) / kPageSize, in ShowDexSectionStatistics()
|
D | dexdiag.cc | 292 uint64_t end_page = RoundUp(start_address + dex_file_size, kPageSize) / kPageSize; in ProcessOneDexMapping()
|
D | compact_dex_writer.cc | 182 RoundUp(current_code_item_start, kPayloadInstructionRequiredAlignment) - in WriteCodeItem()
|
/art/runtime/jit/ |
D | jit.cc | 128 DCHECK_EQ(RoundUp(jit_options->warmup_threshold_, kJitThresholdStep), in CreateFromRuntimeArguments() 134 jit_options->compile_threshold_ = RoundUp(jit_options->compile_threshold_, kJitThresholdStep); in CreateFromRuntimeArguments() 139 jit_options->warmup_threshold_ = RoundUp(jit_options->warmup_threshold_, kJitThresholdStep); in CreateFromRuntimeArguments() 150 jit_options->osr_threshold_ = RoundUp(jit_options->osr_threshold_, kJitThresholdStep); in CreateFromRuntimeArguments() 853 RoundUp(dex_file->Size(), kPageSize), in Run()
|
D | jit_code_cache.cc | 382 return reinterpret_cast<uintptr_t>(code) - RoundUp(sizeof(OatQuickMethodHeader), alignment); in FromCodeToAllocation() 387 return reinterpret_cast<const void*>(alloc + RoundUp(sizeof(OatQuickMethodHeader), alignment)); in FromAllocationToCode() 974 size_t data_size = RoundUp(ComputeRootTableSize(number_of_roots) + stack_map_size, sizeof(void*)); in Reserve() 1581 size_t profile_info_size = RoundUp( in AddProfilingInfoInternal()
|
/art/runtime/mirror/ |
D | string.h | 85 return RoundUp(size, kObjectAlignment); in SizeOf()
|
D | string-alloc-inl.h | 174 size_t alloc_size = RoundUp(size, kObjectAlignment); in Alloc()
|
D | class-inl.h | 692 ? MemberOffset(RoundUp(super_class->GetObjectSize<kVerifyFlags>(), kHeapReferenceSize)) in GetFirstReferenceInstanceFieldOffset() 815 size = RoundUp(size + sizeof(uint32_t), static_cast<size_t>(pointer_size)); in ComputeClassSize()
|
/art/compiler/ |
D | common_compiler_test.cc | 108 uintptr_t limit = RoundUp(data + code_length, kPageSize); in MakeExecutable()
|
/art/runtime/ |
D | debugger.cc | 624 const size_t needed = ((RoundUp(length / ALLOCATION_UNIT_SIZE, 256) / 256) * 2) + 17; in AppendChunk() 731 const size_t size = RoundUp(obj->SizeOf(), kObjectAlignment); in DdmSendHeapSegments()
|
/art/libdexfile/dex/ |
D | dex_file-inl.h | 167 (RoundUp(reinterpret_cast<uintptr_t>(&code_item_end.Inst()), dex::TryItem::kAlignment)) + in GetTryItems()
|
D | test_dex_file_builder.h | 131 entry.second.data_offset = RoundUp(data_section_size, 4u); in Build()
|
/art/tools/hiddenapi/ |
D | hiddenapi.cc | 678 RoundUp(hiddenapi_class_data_.size(), kMapListAlignment) + sizeof(dex::MapItem); in Encode() 790 size_t len = RoundUp(offset_, alignment) - offset_; in InsertPadding()
|
/art/runtime/gc/collector/ |
D | mark_sweep.cc | 108 RoundUp(kSweepArrayChunkFreeSize * sizeof(mirror::Object*), kPageSize), in MarkSweep() 914 const size_t card_delta = RoundUp(address_range / thread_count + 1, in ScanGrayObjects() 1058 delta = RoundUp(delta, KB); in RecursiveMark()
|
D | concurrent_copying.cc | 147 RoundUp(kSweepArrayChunkFreeSize * sizeof(mirror::Object*), kPageSize), in ConcurrentCopying() 1128 size_t alloc_size = RoundUp(obj_size, space::RegionSpace::kAlignment); in AddLiveBytesAndScanRef() 2293 size_t alloc_size = RoundUp(obj_size, space::RegionSpace::kAlignment); in ProcessMarkStackRef() 2564 void* end = static_cast<char*>(start) + RoundUp(size, kPageSize); in CaptureRssAtPeak() 3285 size_t min_object_size = RoundUp(sizeof(mirror::Object), space::RegionSpace::kAlignment); in AllocateInSkippedBlock() 3358 ? RoundUp(obj_size, space::RegionSpace::kAlignment) in Copy() 3359 : RoundUp(obj_size, space::RegionSpace::kRegionSize); in Copy()
|
/art/runtime/gc/space/ |
D | image_space.cc | 105 r = RoundUp(r, kPageSize); in ChooseRelocationOffsetDelta() 341 uint8_t* current = Begin() + RoundUp(sizeof(ImageHeader), kObjectAlignment); in VerifyImageAllocations() 350 current += RoundUp(obj->SizeOf(), kObjectAlignment); in VerifyImageAllocations() 767 uint32_t expected_reservation_size = RoundUp(image_header.GetImageSize(), kPageSize); in InitAppImage() 902 RoundUp(sizeof(ImageHeader) + image_header.GetDataSize(), kPageSize); in Init() 961 RoundUp(image_objects.End(), gc::accounting::CardTable::kCardSize)); in Init() 1041 pos += RoundUp(object->SizeOf<kVerifyNone>(), kObjectAlignment); in RemapInternedStringDuplicates() 2972 pos += RoundUp(object->SizeOf<kVerifyNone>(), kObjectAlignment); in DoRelocateSpaces()
|
/art/imgdiag/ |
D | imgdiag.cc | 288 } while ((current_page_idx * kPageSize) < RoundUp(entry_address + size, kObjectAlignment)); in IsEntryOnDirtyPage() 1479 boot_map.end = RoundUp(boot_map.start + image_header.GetImageSize(), kPageSize); in DumpImageDiffMap() 1493 zygote_boot_map.end = RoundUp(zygote_boot_map.start + image_header.GetImageSize(), kPageSize); in DumpImageDiffMap()
|