Home
last modified time | relevance | path

Searched refs:IsAlignedParam (Results 1 – 23 of 23) sorted by relevance

/art/runtime/
Dthread_android.cc42 IsAlignedParam(old_ss.ss_sp, gPageSize) && in MadviseAwayAlternateSignalStack()
43 IsAlignedParam(old_ss.ss_size, gPageSize)) { in MadviseAwayAlternateSignalStack()
Dnterp_helpers.cc160 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/
Dmem_map_test.cc740 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 …]
Dbit_utils.h216 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)
Dmem_map.cc1251 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()
Dzip_archive.cc54 return IsAlignedParam(zip_entry_->offset, static_cast<int>(alignment)); in IsAlignedTo()
/art/libdexfile/dex/
Dcompact_dex_utils.h30 while (!IsAlignedParam(dest->size(), alignment)) { in AlignmentPadVector()
Ddex_file_verifier.cc608 if (alignment != 0 && !IsAlignedParam(offset, alignment)) { in CheckValidOffsetAndSize()
3021 if (!IsAlignedParam(item->annotations_off_, 4)) { in CheckInterClassDefItem()
/art/runtime/oat/
Doat_quick_method_header.h59 DCHECK(IsAlignedParam(code, GetInstructionSetCodeAlignment(kRuntimeISA)) || in FromCodePointer()
60 IsAlignedParam(header, GetInstructionSetCodeAlignment(kRuntimeISA))) in FromCodePointer()
Doat_file.cc672 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/
Dassembler_arm64.cc116 if (!IsAlignedParam(offset, 2 * size) && registers.GetCount() % 2 != 0) { in SpillRegisters()
142 if (!IsAlignedParam(offset, 2 * size) && registers.GetCount() % 2 != 0) { in UnspillRegisters()
Djni_macro_assembler_arm64.cc408 IsAlignedParam(dest.GetFrameOffset().SizeValue(), dest.GetSize()) && in MoveArguments()
483 IsAlignedParam(src.GetFrameOffset().SizeValue(), src.GetSize()) && in MoveArguments()
/art/runtime/jit/
Djit_memory_region.cc279 CHECK(IsAlignedParam(data_capacity, gPageSize)); in Initialize()
307 DCHECK(IsAlignedParam(data_space_footprint, gPageSize)); in SetFootprintLimit()
/art/runtime/gc/collector/
Dmark_compact.cc520 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 …]
Dconcurrent_copying.cc1221 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()
Dmark_sweep.cc444 !IsAlignedParam(obj, space::LargeObjectSpace::ObjectAlignment()) || in operator ()()
/art/runtime/base/
Dgc_visited_arena_pool.cc92 if (IsAlignedParam(obj_begin, gPageSize)) { in SetFirstObject()
/art/libartbase/base/unix_file/
Dfd_file.cc625 if (!art::IsAlignedParam(current_offset, fs_blocksize)) { in Copy()
Dfd_file_test.cc463 if (art::IsAlignedParam(copy_start_offset, blocksize)) { in TEST_F()
/art/runtime/gc/space/
Dregion_space.cc83 if (IsAlignedParam(mem_map.Begin(), kRegionSize)) { in CreateMemMap()
/art/dex2oat/linker/
Dimage_writer.cc2428 DCHECK(!IsAlignedParam(object_size, region_size)); in FinalizeBinSlotOffsets()
/art/compiler/utils/riscv64/
Dassembler_riscv64_test.cc343 DCHECK(IsAlignedParam(size, nop_size)); in EmitNops()
Dassembler_riscv64.cc7204 DCHECK(IsAlignedParam(branch_length, alignment)); in FinalizeLabeledBranch()