/art/runtime/ |
D | thread_android.cc | 42 IsAlignedParam(old_ss.ss_sp, gPageSize) && in MadviseAwayAlternateSignalStack() 43 IsAlignedParam(old_ss.ss_size, gPageSize)) { in MadviseAwayAlternateSignalStack()
|
D | nterp_helpers.cc | 160 DCHECK(IsAlignedParam(kStackAlignment, pointer_size)); in NterpGetFrameSizeWithoutPadding() 161 DCHECK(IsAlignedParam(NterpGetFrameEntrySize(isa), pointer_size)); in NterpGetFrameSizeWithoutPadding() 162 DCHECK(IsAlignedParam(kVRegSize * 2, pointer_size)); in NterpGetFrameSizeWithoutPadding()
|
/art/libartbase/base/ |
D | mem_map_test.cc | 740 if (IsAlignedParam(base0, 2 * page_size)) { in TEST_F() 741 ASSERT_FALSE(IsAlignedParam(base1, 2 * page_size)); in TEST_F() 742 ASSERT_FALSE(IsAlignedParam(base2, 2 * page_size)); in TEST_F() 743 ASSERT_TRUE(IsAlignedParam(base3, 2 * page_size)); in TEST_F() 744 ASSERT_TRUE(IsAlignedParam(end3, 2 * page_size)); in TEST_F() 746 ASSERT_TRUE(IsAlignedParam(base1, 2 * page_size)); in TEST_F() 747 ASSERT_TRUE(IsAlignedParam(base2, 2 * page_size)); in TEST_F() 748 ASSERT_FALSE(IsAlignedParam(base3, 2 * page_size)); in TEST_F() 749 ASSERT_FALSE(IsAlignedParam(end3, 2 * page_size)); in TEST_F() 758 EXPECT_TRUE(IsAlignedParam(m0.Begin(), 2 * page_size)); in TEST_F() [all …]
|
D | bit_utils.h | 216 inline bool IsAlignedParam(T x, int n) { in IsAlignedParam() function 221 inline bool IsAlignedParam(T* x, int n) { in IsAlignedParam() function 222 return IsAlignedParam(reinterpret_cast<const uintptr_t>(x), n); in IsAlignedParam() 232 CHECK(::art::IsAlignedParam(value, alignment)) << reinterpret_cast<const void*>(value) 235 DCHECK(::art::IsAlignedParam(value, alignment)) << reinterpret_cast<const void*>(value)
|
D | mem_map.cc | 1251 DCHECK(IsAlignedParam(begin, GetPageSize())); in TryReadable() 1252 DCHECK(IsAlignedParam(end, GetPageSize())); in TryReadable() 1268 DCHECK(IsAlignedParam(page_begin, page_size)); in ClearMemory() 1269 DCHECK(IsAlignedParam(page_begin + size, page_size)); in ClearMemory() 1353 if (IsAlignedParam(reinterpret_cast<uintptr_t>(base_begin_), alignment) && in AlignBy() 1354 (!align_both_ends || IsAlignedParam(base_size_, alignment))) { in AlignBy()
|
D | zip_archive.cc | 54 return IsAlignedParam(zip_entry_->offset, static_cast<int>(alignment)); in IsAlignedTo()
|
/art/libdexfile/dex/ |
D | compact_dex_utils.h | 30 while (!IsAlignedParam(dest->size(), alignment)) { in AlignmentPadVector()
|
D | dex_file_verifier.cc | 608 if (alignment != 0 && !IsAlignedParam(offset, alignment)) { in CheckValidOffsetAndSize() 3021 if (!IsAlignedParam(item->annotations_off_, 4)) { in CheckInterClassDefItem()
|
/art/runtime/oat/ |
D | oat_quick_method_header.h | 59 DCHECK(IsAlignedParam(code, GetInstructionSetCodeAlignment(kRuntimeISA)) || in FromCodePointer() 60 IsAlignedParam(header, GetInstructionSetCodeAlignment(kRuntimeISA))) in FromCodePointer()
|
D | oat_file.cc | 672 if (!IsAlignedParam(bss_begin_, MemMap::GetPageSize()) || in Setup() 673 !IsAlignedParam(bss_methods_, static_cast<size_t>(pointer_size)) || in Setup() 674 !IsAlignedParam(bss_roots_, static_cast<size_t>(pointer_size)) || in Setup()
|
/art/compiler/utils/arm64/ |
D | assembler_arm64.cc | 116 if (!IsAlignedParam(offset, 2 * size) && registers.GetCount() % 2 != 0) { in SpillRegisters() 142 if (!IsAlignedParam(offset, 2 * size) && registers.GetCount() % 2 != 0) { in UnspillRegisters()
|
D | jni_macro_assembler_arm64.cc | 408 IsAlignedParam(dest.GetFrameOffset().SizeValue(), dest.GetSize()) && in MoveArguments() 483 IsAlignedParam(src.GetFrameOffset().SizeValue(), src.GetSize()) && in MoveArguments()
|
/art/runtime/jit/ |
D | jit_memory_region.cc | 279 CHECK(IsAlignedParam(data_capacity, gPageSize)); in Initialize() 307 DCHECK(IsAlignedParam(data_space_footprint, gPageSize)); in SetFootprintLimit()
|
/art/runtime/gc/collector/ |
D | mark_compact.cc | 520 if (!IsAlignedParam(moving_space_begin, moving_space_alignment)) { in MarkCompact() 1813 DCHECK(IsAlignedParam(pre_compact_page, gPageSize)); in SlideBlackPage() 1841 DCHECK(IsAlignedParam(src_addr, gPageSize)); in SlideBlackPage() 2109 DCHECK(IsAlignedParam(addr, gPageSize)); in ZeropageIoctl() 2123 DCHECK(IsAlignedParam(uffd_zeropage.zeropage, gPageSize)); in ZeropageIoctl() 2173 DCHECK(IsAlignedParam(uffd_copy.copy, gPageSize)); in CopyIoctl() 2462 DCHECK(IsAlignedParam(pre_compact_page, gPageSize)); in CompactMovingSpace() 3605 DCHECK(IsAlignedParam(unused_space_begin, gPageSize)); in ConcurrentlyProcessMovingPage() 3703 DCHECK(IsAlignedParam(pre_compact_page, gPageSize)); in ConcurrentlyProcessMovingPage() 4191 DCHECK(IsAlignedParam(conc_compaction_termination_page_, gPageSize)); in CompactionPhase() [all …]
|
D | concurrent_copying.cc | 1221 if (kIsDebugBuild && (!IsAlignedParam(ref, space::LargeObjectSpace::ObjectAlignment()) || in TestAndSetMarkBitForRef() 1250 if (kIsDebugBuild && (!IsAlignedParam(ref, space::LargeObjectSpace::ObjectAlignment()) || in TestMarkBitmapForRef() 2308 if (!IsAlignedParam(to_ref, space::LargeObjectSpace::ObjectAlignment())) { in ProcessMarkStackRef() 2660 DCHECK(IsAlignedParam(region_space_->Limit(), gPageSize)); in CaptureRssAtPeak() 2667 DCHECK(IsAlignedParam(heap_->non_moving_space_->Limit(), gPageSize)); in CaptureRssAtPeak() 2687 DCHECK(IsAlignedParam(map.BaseSize(), gPageSize)); in CaptureRssAtPeak() 3683 if (!IsAlignedParam(ref, space::LargeObjectSpace::ObjectAlignment())) { in MarkNonMoving()
|
D | mark_sweep.cc | 444 !IsAlignedParam(obj, space::LargeObjectSpace::ObjectAlignment()) || in operator ()()
|
/art/runtime/base/ |
D | gc_visited_arena_pool.cc | 92 if (IsAlignedParam(obj_begin, gPageSize)) { in SetFirstObject()
|
/art/libartbase/base/unix_file/ |
D | fd_file.cc | 625 if (!art::IsAlignedParam(current_offset, fs_blocksize)) { in Copy()
|
D | fd_file_test.cc | 463 if (art::IsAlignedParam(copy_start_offset, blocksize)) { in TEST_F()
|
/art/runtime/gc/space/ |
D | region_space.cc | 83 if (IsAlignedParam(mem_map.Begin(), kRegionSize)) { in CreateMemMap()
|
/art/dex2oat/linker/ |
D | image_writer.cc | 2428 DCHECK(!IsAlignedParam(object_size, region_size)); in FinalizeBinSlotOffsets()
|
/art/compiler/utils/riscv64/ |
D | assembler_riscv64_test.cc | 343 DCHECK(IsAlignedParam(size, nop_size)); in EmitNops()
|
D | assembler_riscv64.cc | 7204 DCHECK(IsAlignedParam(branch_length, alignment)); in FinalizeLabeledBranch()
|