Home
last modified time | relevance | path

Searched refs:RoundUp (Results 51 – 75 of 97) sorted by relevance

1234

/art/runtime/arch/arm64/
Dcallee_save_frame_arm64.h102 return RoundUp((POPCOUNT(GetCoreSpills(type)) /* gprs */ + in GetFrameSize()
/art/libelffile/elf/
Delf_builder.h125 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/
Drosalloc.cc67 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/
Dutils.cc138 uintptr_t next_page = RoundUp(start + 1, kPageSize); in FlushCpuCaches()
Darena_allocator.cc226 size_t rounded_bytes = RoundUp(bytes + kMemoryToolRedZoneBytes, 8); in AllocWithMemoryTool()
Dbit_memory_region.h349 bit_offset_ += RoundUp(end, kBitsPerByte) - end; in ByteAlign()
/art/runtime/gc/accounting/
Dspace_bitmap.cc42 return (RoundUp(capacity, kBytesCoveredPerWord) / kBytesCoveredPerWord) * sizeof(intptr_t); in ComputeBitmapSize()
/art/dexlayout/
Ddex_writer.h131 position_ = RoundUp(position_, alignment); in AlignTo()
Ddex_visualize.cc339 RoundUp(bytes, kPageSize) / kPageSize, in ShowDexSectionStatistics()
Ddexdiag.cc292 uint64_t end_page = RoundUp(start_address + dex_file_size, kPageSize) / kPageSize; in ProcessOneDexMapping()
Dcompact_dex_writer.cc182 RoundUp(current_code_item_start, kPayloadInstructionRequiredAlignment) - in WriteCodeItem()
/art/runtime/jit/
Djit.cc128 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()
Djit_code_cache.cc382 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/
Dstring.h85 return RoundUp(size, kObjectAlignment); in SizeOf()
Dstring-alloc-inl.h174 size_t alloc_size = RoundUp(size, kObjectAlignment); in Alloc()
Dclass-inl.h692 ? 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/
Dcommon_compiler_test.cc108 uintptr_t limit = RoundUp(data + code_length, kPageSize); in MakeExecutable()
/art/runtime/
Ddebugger.cc624 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/
Ddex_file-inl.h167 (RoundUp(reinterpret_cast<uintptr_t>(&code_item_end.Inst()), dex::TryItem::kAlignment)) + in GetTryItems()
Dtest_dex_file_builder.h131 entry.second.data_offset = RoundUp(data_section_size, 4u); in Build()
/art/tools/hiddenapi/
Dhiddenapi.cc678 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/
Dmark_sweep.cc108 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()
Dconcurrent_copying.cc147 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/
Dimage_space.cc105 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/
Dimgdiag.cc288 } 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()

1234