Home
last modified time | relevance | path

Searched refs:AlignUp (Results 1 – 19 of 19) sorted by relevance

/art/runtime/base/
Dsafe_copy.cc58 src_iovs[iovecs_used].iov_len = AlignUp(cur, PAGE_SIZE) - cur; in SafeCopy()
Dbit_utils.h174 inline T* AlignUp(T* x, uintptr_t n) WARN_UNUSED;
177 inline T* AlignUp(T* x, uintptr_t n) { in AlignUp() function
Darena_allocator.cc209 memory_ = AlignUp(unaligned_memory_, ArenaAllocator::kArenaAlignment); in MallocArena()
/art/runtime/gc/accounting/
Dcard_table-inl.h62 uint8_t* const card_end = CardFromAddr(AlignUp(scan_end, kCardSize)); in Scan()
142 uint8_t* card_end = CardFromAddr(AlignUp(scan_end, kCardSize)); in ModifyCardsAtomic()
Dcard_table_test.cc135 for (uint8_t* cur = start; cur < AlignUp(end, CardTable::kCardSize); in TEST_F()
Dmod_union_table.cc573 for (uint8_t* addr = space_->Begin(); addr < AlignUp(space_->End(), CardTable::kCardSize); in Dump()
585 for (uint8_t* addr = space_->Begin(); addr < AlignUp(space_->End(), CardTable::kCardSize); in SetCards()
596 for (uint8_t* addr = space_->Begin(); addr < AlignUp(space_->End(), CardTable::kCardSize); in SetCards()
Dmod_union_table_test.cc246 for (auto* ptr = space->Begin(); ptr < AlignUp(space->End(), CardTable::kCardSize); in RunTest()
/art/runtime/
Dvdex_file.cc140 data = AlignUp(data, 4); in GetNextDexFileData()
Dindirect_reference_table.cc439 auto* release_start = AlignUp(reinterpret_cast<uint8_t*>(&table_[top_index]), kPageSize); in Trim()
Dmem_map.cc1004 uint8_t* const page_begin = AlignUp(mem_begin, kPageSize); in ZeroAndReleasePages()
1032 uint8_t* aligned_base_begin = AlignUp(base_begin, size); in AlignBy()
Dutils.cc945 begin = AlignUp(begin, kPageSize); in MadviseLargestPageAlignedRegion()
Dclass_linker.cc2005 uint8_t* section_begin = AlignUp(space->Begin() + dex_cache_section.Offset(), kPageSize); in AddImageSpace()
/art/runtime/gc/space/
Dregion_space.cc419 uint8_t* end_addr = AlignUp(reinterpret_cast<uint8_t*>(large_obj) + bytes_allocated, kRegionSize); in FreeLarge()
Dimage_space.cc1680 oat_file_end_tmp = AlignUp(oat_file_end_addr, kPageSize); in LoadBootImage()
/art/runtime/gc/collector/
Dsemi_space.cc483 size_t page_remain = AlignUp(byte_dest, kPageSize) - byte_dest; in CopyAvoidingDirtyingPages()
Dmark_sweep.cc883 card_end = AlignUp(card_end, accounting::CardTable::kCardSize); in ScanGrayObjects()
/art/imgdiag/
Dimgdiag.cc1415 const uint8_t* image_end = AlignUp(image_end_unaligned, kPageSize); in DumpImageDiffMap()
/art/runtime/gc/allocator/
Drosalloc.cc1365 uint8_t* madvise_begin = AlignUp(zero_begin, kPageSize); in Trim()
/art/runtime/gc/
Dheap.cc3191 end = AlignUp(end, accounting::CardTable::kCardSize); in ProcessCards()