Searched refs:IsAlignedParam (Results 1 – 12 of 12) sorted by relevance
/art/libartbase/base/ |
D | mem_map_test.cc | 727 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 …]
|
D | safe_copy.cc | 59 if (!IsAlignedParam(cur, PAGE_SIZE)) { in SafeCopy()
|
D | bit_utils.h | 207 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)
|
D | zip_archive.cc | 54 return IsAlignedParam(zip_entry_->offset, static_cast<int>(alignment)); in IsAlignedTo()
|
D | mem_map.cc | 1238 if (IsAlignedParam(reinterpret_cast<uintptr_t>(base_begin_), size) && in AlignBy() 1239 IsAlignedParam(base_size_, size)) { in AlignBy()
|
/art/libdexfile/dex/ |
D | compact_dex_utils.h | 30 while (!IsAlignedParam(dest->size(), alignment)) { in AlignmentPadVector()
|
D | dex_file_verifier.cc | 290 if (alignment != 0 && !IsAlignedParam(offset, alignment)) { in CheckValidOffsetAndSize() 2557 if (!IsAlignedParam(item->annotations_off_, 4)) { in CheckInterClassDefItem()
|
/art/runtime/ |
D | oat_quick_method_header.h | 43 DCHECK(IsAlignedParam(code, GetInstructionSetAlignment(kRuntimeISA)) || in FromCodePointer() 44 IsAlignedParam(header, GetInstructionSetAlignment(kRuntimeISA))) in FromCodePointer()
|
D | oat_file.cc | 521 !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/ |
D | assembler_arm64.cc | 121 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/ |
D | compact_dex_writer.cc | 126 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/ |
D | region_space.cc | 83 if (IsAlignedParam(mem_map.Begin(), kRegionSize)) { in CreateMemMap()
|