Home
last modified time | relevance | path

Searched refs:isAligned (Results 1 – 25 of 49) sorted by relevance

12

/external/scudo/standalone/
Dwrappers_c_checks.h35 !isAligned(Size, Alignment); in checkAlignedAllocAlignmentAndSize()
42 !isAligned(Alignment, sizeof(void *)); in checkPosixMemalignAlignment()
Dcommon.h37 inline constexpr bool isAligned(uptr X, uptr Alignment) { in isAligned() function
Dcombined.h534 if (UNLIKELY(!isAligned(reinterpret_cast<uptr>(Ptr), MinAlignment)))
598 if (UNLIKELY(!isAligned(reinterpret_cast<uptr>(OldPtr), MinAlignment)))
843 if (!Ptr || !isAligned(reinterpret_cast<uptr>(Ptr), MinAlignment)) in isOwned()
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Dwrappers_c_checks.h35 !isAligned(Size, Alignment); in checkAlignedAllocAlignmentAndSize()
42 !isAligned(Alignment, sizeof(void *)); in checkPosixMemalignAlignment()
Dcommon.h37 inline constexpr bool isAligned(uptr X, uptr Alignment) { in isAligned() function
Dcombined.h493 if (UNLIKELY(!isAligned(reinterpret_cast<uptr>(Ptr), MinAlignment)))
550 if (UNLIKELY(!isAligned(reinterpret_cast<uptr>(OldPtr), MinAlignment)))
775 if (!Ptr || !isAligned(reinterpret_cast<uptr>(Ptr), MinAlignment)) in isOwned()
/external/llvm/lib/Analysis/
DLoads.cpp28 static bool isAligned(const Value *Base, const APInt &Offset, unsigned Align, in isAligned() function
45 static bool isAligned(const Value *Base, unsigned Align, const DataLayout &DL) { in isAligned() function
49 return isAligned(Base, Offset, Align, DL); in isAligned()
72 return isAligned(V, Align, DL); in isDereferenceableAndAlignedPointer()
/external/llvm-project/llvm/unittests/Support/
DAlignmentTest.cpp192 bool isAligned; in TEST() member
207 EXPECT_EQ(isAligned(A.getValue(), T.offset), T.isAligned); in TEST()
208 EXPECT_EQ(isAddrAligned(A.getValue(), T.forgedAddr()), T.isAligned); in TEST()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DAlignmentUtils.java41 public static boolean isAligned(int offset, int alignment) { in isAligned() method in AlignmentUtils
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DAlignment.h146 inline bool isAligned(Align Lhs, uint64_t SizeInBytes) { in isAligned() function
152 inline bool isAligned(MaybeAlign Lhs, uint64_t SizeInBytes) { in isAligned() function
159 return isAligned(Lhs, reinterpret_cast<uintptr_t>(Addr)); in isAddrAligned()
/external/llvm-project/llvm/lib/Analysis/
DLoads.cpp32 static bool isAligned(const Value *Base, const APInt &Offset, Align Alignment, in isAligned() function
77 return isAligned(V, Offset, Alignment, DL); in isDereferenceableAndAlignedPointer()
151 return isAligned(V, Offset, Alignment, DL); in isDereferenceableAndAlignedPointer()
/external/llvm-project/llvm/lib/Support/
DOptimizedStructLayout.cpp27 assert(isAligned(Field.Alignment, Field.Offset) && in checkValidLayout()
382 if (isAligned(FirstQueueToSearch->Alignment, LastEnd)) in performOptimizedStructLayout()
/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_allocator.cpp84 static inline bool isAligned(const void *Ptr) { in isAligned() function
294 if (!Chunk::isAligned(Ptr)) in isValidPointer()
464 if (UNLIKELY(!Chunk::isAligned(Ptr))) in deallocate()
505 if (UNLIKELY(!Chunk::isAligned(OldPtr))) in reallocate()
/external/pdfium/third_party/libtiff/
Dtif_fax3.c91 #define isAligned(p,t) ((((size_t)(p)) & (sizeof (t)-1)) == 0) macro
425 for (; n && !isAligned(cp, long); n--) in _TIFFFax3fillruns()
460 for (; n && !isAligned(cp, long); n--) in _TIFFFax3fillruns()
868 while (!isAligned(bp, long)) { in find0span()
930 while (!isAligned(bp, long)) { in find1span()
1008 !isAligned(tif->tif_rawcp, uint16)) in Fax3Encode1DRow()
1588 if (BitsAvail == 0 && !isAligned(cp, uint16)) in Fax3DecodeRLE()
/external/llvm-project/clang/lib/Format/
DWhitespaceManager.h53 unsigned StartOfTokenColumn, bool isAligned = false,
/external/llvm-project/llvm/include/llvm/Support/
DAlignment.h148 inline bool isAligned(Align Lhs, uint64_t SizeInBytes) { in isAligned() function
154 return isAligned(Lhs, reinterpret_cast<uintptr_t>(Addr)); in isAddrAligned()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoads.cpp39 static bool isAligned(const Value *Base, const APInt &Offset, Align Alignment, in isAligned() function
79 return isAligned(V, Offset, Alignment, DL); in isDereferenceableAndAlignedPointer()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsSERegisterInfo.cpp217 (!isIntN(OffsetBitSize, Offset) || !isAligned(OffsetAlign, Offset))) { in eliminateFI()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsSERegisterInfo.cpp217 (!isIntN(OffsetBitSize, Offset) || !isAligned(OffsetAlign, Offset))) { in eliminateFI()
/external/libchrome/mojo/public/js/lib/
Dvalidator.js238 if (!internal.isAligned(offset))
502 if (!internal.isAligned(offset))
Dcodec.js21 function isAligned(offset) { function
1090 internal.isAligned = isAligned;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDataLayout.cpp58 if (!isAligned(TyAlign, StructSize)) { in StructLayout()
72 if (!isAligned(StructAlignment, StructSize)) { in StructLayout()
/external/llvm-project/llvm/lib/IR/
DDataLayout.cpp59 if (!isAligned(TyAlign, StructSize)) { in StructLayout()
73 if (!isAligned(StructAlignment, StructSize)) { in StructLayout()
/external/llvm-project/llvm/tools/llvm-exegesis/lib/
DAssembler.cpp314 assert(isAligned(kFunctionAlignment, FunctionAddress) && in ExecutableFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DBranchRelaxation.cpp132 assert(isAligned(MBB.getAlignment(), BlockInfo[Num].Offset)); in INITIALIZE_PASS()

12