Home
last modified time | relevance | path

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

/art/libartbase/base/
Dsafe_copy.cc60 src_iovs[iovecs_used].iov_len = AlignUp(cur, PAGE_SIZE) - cur; in SafeCopy()
Dmalloc_arena_pool.cc55 memory_ = AlignUp(unaligned_memory_, ArenaAllocator::kArenaAlignment); in MallocArena()
Dbit_utils.h188 inline T* AlignUp(T* x, uintptr_t n) WARN_UNUSED;
191 inline T* AlignUp(T* x, uintptr_t n) { in AlignUp() function
Dmem_map.cc1228 uint8_t* const page_begin = AlignUp(mem_begin, kPageSize); in ZeroAndReleasePages()
1261 uint8_t* aligned_base_begin = AlignUp(base_begin, size); in AlignBy()
/art/libdexfile/dex/
Ddex_file_layout.cc36 begin = AlignUp(begin, kPageSize); in MadviseLargestPageAlignedRegion()
Ddex_file_verifier.cc1597 AlignUp(reinterpret_cast<uint32_t*>(alloca((handlers_size + 1) * sizeof(uint32_t))), in CheckIntraCodeItem()
/art/runtime/gc/accounting/
Dcard_table-inl.h64 uint8_t* const card_end = CardFromAddr(AlignUp(scan_end, kCardSize)); in Scan()
136 uint8_t* card_end = CardFromAddr(AlignUp(scan_end, kCardSize)); in ModifyCardsAtomic()
Dcard_table_test.cc136 for (uint8_t* cur = start; cur < AlignUp(end, CardTable::kCardSize); in TEST_F()
Dmod_union_table.cc574 for (uint8_t* addr = space_->Begin(); addr < AlignUp(space_->End(), CardTable::kCardSize); in Dump()
586 for (uint8_t* addr = space_->Begin(); addr < AlignUp(space_->End(), CardTable::kCardSize); in SetCards()
597 for (uint8_t* addr = space_->Begin(); addr < AlignUp(space_->End(), CardTable::kCardSize); in SetCards()
Dmod_union_table_test.cc247 for (auto* ptr = space->Begin(); ptr < AlignUp(space->End(), CardTable::kCardSize); in RunTest()
/art/runtime/
Dstring_builder_append.cc241 current_arg = AlignUp(current_arg, sizeof(int64_t)); in CalculateLengthWithFlag()
313 current_arg = AlignUp(current_arg, sizeof(int64_t)); in StoreData()
Dindirect_reference_table.cc448 auto* release_start = AlignUp(reinterpret_cast<uint8_t*>(&table_[top_index]), kPageSize); in Trim()
Dvdex_file.cc214 data = AlignUp(data, 4); in GetNextDexFileData()
/art/compiler/
Dexception_test.cc93 AlignUp(&fake_header_code_and_maps_[stack_maps_size + header_size], code_alignment); in SetUp()
/art/runtime/jit/
Djit.cc640 uint8_t* page_start = AlignUp(header.GetImageBegin() + section.Offset(), kPageSize); in NotifyZygoteCompilationDone()
699 uint8_t* page_start = AlignUp(header.GetImageBegin() + section.Offset(), kPageSize); in NotifyZygoteCompilationDone()
727 uint8_t* page_start = AlignUp(header.GetImageBegin() + section.Offset(), kPageSize); in NotifyZygoteCompilationDone()
1077 uint8_t* page_start = AlignUp(header.GetImageBegin() + section.Offset(), kPageSize); in MapBootImageMethods()
1239 uint8_t* page_start = AlignUp(header.GetImageBegin() + section.Offset(), kPageSize); in CreateThreadPool()
/art/runtime/gc/space/
Dregion_space-inl.h466 uint8_t* end_addr = AlignUp(reinterpret_cast<uint8_t*>(large_obj) + bytes_allocated, kRegionSize); in FreeLarge()
/art/runtime/gc/collector/
Dsemi_space.cc396 size_t page_remain = AlignUp(byte_dest, kPageSize) - byte_dest; in CopyAvoidingDirtyingPages()
Dmark_sweep.cc908 card_end = AlignUp(card_end, accounting::CardTable::kCardSize); in ScanGrayObjects()
/art/imgdiag/
Dimgdiag.cc1225 const uint8_t* image_end = AlignUp(image_begin + image_header.GetImageSize(), kPageSize); in Init()
1514 const uint8_t* image_end = AlignUp(image_end_unaligned, kPageSize); in DumpImageDiffMap()
/art/runtime/gc/allocator/
Drosalloc.cc1367 uint8_t* madvise_begin = AlignUp(zero_begin, kPageSize); in Trim()