Searched refs:AlignUp (Results 1 – 20 of 20) sorted by relevance
/art/libartbase/base/ |
D | safe_copy.cc | 60 src_iovs[iovecs_used].iov_len = AlignUp(cur, PAGE_SIZE) - cur; in SafeCopy()
|
D | malloc_arena_pool.cc | 55 memory_ = AlignUp(unaligned_memory_, ArenaAllocator::kArenaAlignment); in MallocArena()
|
D | bit_utils.h | 188 inline T* AlignUp(T* x, uintptr_t n) WARN_UNUSED; 191 inline T* AlignUp(T* x, uintptr_t n) { in AlignUp() function
|
D | mem_map.cc | 1228 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/ |
D | dex_file_layout.cc | 36 begin = AlignUp(begin, kPageSize); in MadviseLargestPageAlignedRegion()
|
D | dex_file_verifier.cc | 1597 AlignUp(reinterpret_cast<uint32_t*>(alloca((handlers_size + 1) * sizeof(uint32_t))), in CheckIntraCodeItem()
|
/art/runtime/gc/accounting/ |
D | card_table-inl.h | 64 uint8_t* const card_end = CardFromAddr(AlignUp(scan_end, kCardSize)); in Scan() 136 uint8_t* card_end = CardFromAddr(AlignUp(scan_end, kCardSize)); in ModifyCardsAtomic()
|
D | card_table_test.cc | 136 for (uint8_t* cur = start; cur < AlignUp(end, CardTable::kCardSize); in TEST_F()
|
D | mod_union_table.cc | 574 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()
|
D | mod_union_table_test.cc | 247 for (auto* ptr = space->Begin(); ptr < AlignUp(space->End(), CardTable::kCardSize); in RunTest()
|
/art/runtime/ |
D | string_builder_append.cc | 241 current_arg = AlignUp(current_arg, sizeof(int64_t)); in CalculateLengthWithFlag() 313 current_arg = AlignUp(current_arg, sizeof(int64_t)); in StoreData()
|
D | indirect_reference_table.cc | 448 auto* release_start = AlignUp(reinterpret_cast<uint8_t*>(&table_[top_index]), kPageSize); in Trim()
|
D | vdex_file.cc | 214 data = AlignUp(data, 4); in GetNextDexFileData()
|
/art/compiler/ |
D | exception_test.cc | 93 AlignUp(&fake_header_code_and_maps_[stack_maps_size + header_size], code_alignment); in SetUp()
|
/art/runtime/jit/ |
D | jit.cc | 640 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/ |
D | region_space-inl.h | 466 uint8_t* end_addr = AlignUp(reinterpret_cast<uint8_t*>(large_obj) + bytes_allocated, kRegionSize); in FreeLarge()
|
/art/runtime/gc/collector/ |
D | semi_space.cc | 396 size_t page_remain = AlignUp(byte_dest, kPageSize) - byte_dest; in CopyAvoidingDirtyingPages()
|
D | mark_sweep.cc | 908 card_end = AlignUp(card_end, accounting::CardTable::kCardSize); in ScanGrayObjects()
|
/art/imgdiag/ |
D | imgdiag.cc | 1225 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/ |
D | rosalloc.cc | 1367 uint8_t* madvise_begin = AlignUp(zero_begin, kPageSize); in Trim()
|