Home
last modified time | relevance | path

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

/art/libartbase/base/
Dmem_map_test.cc727 if (IsAlignedParam(base0, 2 * page_size)) { in TEST_F()
728 ASSERT_FALSE(IsAlignedParam(base1, 2 * page_size)); in TEST_F()
729 ASSERT_FALSE(IsAlignedParam(base2, 2 * page_size)); in TEST_F()
730 ASSERT_TRUE(IsAlignedParam(base3, 2 * page_size)); in TEST_F()
731 ASSERT_TRUE(IsAlignedParam(end3, 2 * page_size)); in TEST_F()
733 ASSERT_TRUE(IsAlignedParam(base1, 2 * page_size)); in TEST_F()
734 ASSERT_TRUE(IsAlignedParam(base2, 2 * page_size)); in TEST_F()
735 ASSERT_FALSE(IsAlignedParam(base3, 2 * page_size)); in TEST_F()
736 ASSERT_FALSE(IsAlignedParam(end3, 2 * page_size)); in TEST_F()
745 EXPECT_TRUE(IsAlignedParam(m0.Begin(), 2 * page_size)); in TEST_F()
[all …]
Dsafe_copy.cc59 if (!IsAlignedParam(cur, PAGE_SIZE)) { in SafeCopy()
Dbit_utils.h207 inline bool IsAlignedParam(T x, int n) { in IsAlignedParam() function
212 inline bool IsAlignedParam(T* x, int n) { in IsAlignedParam() function
213 return IsAlignedParam(reinterpret_cast<const uintptr_t>(x), n); in IsAlignedParam()
223 CHECK(::art::IsAlignedParam(value, alignment)) << reinterpret_cast<const void*>(value)
226 DCHECK(::art::IsAlignedParam(value, alignment)) << reinterpret_cast<const void*>(value)
Dzip_archive.cc54 return IsAlignedParam(zip_entry_->offset, static_cast<int>(alignment)); in IsAlignedTo()
Dmem_map.cc1238 if (IsAlignedParam(reinterpret_cast<uintptr_t>(base_begin_), size) && in AlignBy()
1239 IsAlignedParam(base_size_, size)) { in AlignBy()
/art/libdexfile/dex/
Dcompact_dex_utils.h30 while (!IsAlignedParam(dest->size(), alignment)) { in AlignmentPadVector()
Ddex_file_verifier.cc290 if (alignment != 0 && !IsAlignedParam(offset, alignment)) { in CheckValidOffsetAndSize()
2557 if (!IsAlignedParam(item->annotations_off_, 4)) { in CheckInterClassDefItem()
/art/runtime/
Doat_quick_method_header.h43 DCHECK(IsAlignedParam(code, GetInstructionSetAlignment(kRuntimeISA)) || in FromCodePointer()
44 IsAlignedParam(header, GetInstructionSetAlignment(kRuntimeISA))) in FromCodePointer()
Doat_file.cc521 !IsAlignedParam(bss_methods_, static_cast<size_t>(pointer_size)) || in Setup()
522 !IsAlignedParam(bss_roots_, static_cast<size_t>(pointer_size)) || in Setup()
/art/compiler/utils/arm64/
Dassembler_arm64.cc121 if (!IsAlignedParam(offset, 2 * size) && registers.GetCount() % 2 != 0) { in SpillRegisters()
147 if (!IsAlignedParam(offset, 2 * size) && registers.GetCount() % 2 != 0) { in UnspillRegisters()
/art/dexlayout/
Dcompact_dex_writer.cc126 if (deduped_offset != Deduper::kDidNotDedupe && IsAlignedParam(deduped_offset, alignment_)) { in ~ScopedDataSectionItem()
165 if (!IsAlignedParam(current_code_item_start, kPayloadInstructionRequiredAlignment) || in WriteCodeItem()
/art/runtime/gc/space/
Dregion_space.cc83 if (IsAlignedParam(mem_map.Begin(), kRegionSize)) { in CreateMemMap()
/art/runtime/jit/
Djit_code_cache.cc1460 DCHECK(IsAlignedParam(data_space_footprint, kPageSize)); in SetFootprintLimit()