| /freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_allocator_secondary.h | 102 CHECK(IsAligned(map_beg, page_size_)); in Allocate() 108 CHECK(IsAligned(res, alignment)); in Allocate() 109 CHECK(IsAligned(res, page_size_)); in Allocate() 176 if (!IsAligned(reinterpret_cast<uptr>(p), page_size_)) { in GetMetaData() 178 CHECK(IsAligned(reinterpret_cast<uptr>(p), page_size_)); in GetMetaData() 297 CHECK(IsAligned(p, page_size_)); in GetHeader() 305 CHECK(IsAligned((uptr)h, page_size_)); in GetUser()
|
| H A D | sanitizer_stacktrace.cc | 84 IsAligned((uptr)frame, sizeof(*frame)) && in FastUnwindStack() 92 !IsAligned((uptr)caller_frame, sizeof(uhwptr))) in FastUnwindStack()
|
| H A D | sanitizer_stacktrace_sparc.cc | 40 IsAligned((uptr)frame, sizeof(*frame)) && in FastUnwindStack()
|
| H A D | sanitizer_win.cc | 170 if (IsAligned(mapped_addr, alignment)) in MmapAlignedOrDieOnFatalError() 180 (mapped_addr == 0 || !IsAligned(mapped_addr, alignment)); in MmapAlignedOrDieOnFatalError()
|
| H A D | sanitizer_posix.cc | 96 if (!IsAligned(res, alignment)) { in MmapAlignedOrDieOnFatalError()
|
| H A D | sanitizer_allocator_primary32.h | 294 CHECK(IsAligned(res, kRegionSize)); in AllocateRegion()
|
| H A D | sanitizer_common.h | 407 INLINE bool IsAligned(uptr a, uptr alignment) { in IsAligned() function
|
| H A D | sanitizer_linux.cc | 182 CHECK(IsAligned(offset, 4096)); in internal_mmap()
|
| /freebsd-12.1/contrib/compiler-rt/lib/hwasan/ |
| H A D | hwasan_poisoning.cc | 23 CHECK(IsAligned(p, kShadowAlignment)); in TagMemoryAligned() 24 CHECK(IsAligned(size, kShadowAlignment)); in TagMemoryAligned()
|
| H A D | hwasan_allocator.cc | 387 CHECK(IsAligned((uptr)ptr, alignment)); in hwasan_posix_memalign()
|
| /freebsd-12.1/contrib/compiler-rt/lib/scudo/ |
| H A D | scudo_allocator_secondary.h | 92 DCHECK(IsAligned(ReservedBeg, PageSize)); in Allocate() 106 if (!IsAligned(UserBeg, Alignment)) { in Allocate()
|
| H A D | scudo_allocator.cpp | 79 return IsAligned(reinterpret_cast<uptr>(Ptr), MinAlignment); in isAligned() 352 if (UNLIKELY(!IsAligned(UserPtr, Alignment))) { in allocate()
|
| /freebsd-12.1/contrib/llvm/utils/TableGen/ |
| H A D | X86FoldTablesEmitter.cpp | 102 bool IsAligned = false; member in __anon7deb7ac00111::X86FoldTablesEmitter::X86FoldTableEntry 120 if (E.IsAligned) in operator <<() 484 Result.IsAligned = true; in addEntryWithFlags() 491 Result.IsAligned = true; in addEntryWithFlags()
|
| /freebsd-12.1/contrib/compiler-rt/lib/asan/ |
| H A D | asan_poisoning.cc | 82 CHECK(IsAligned(end, SHADOW_GRANULARITY)); in AsanPoisonOrUnpoisonIntraObjectRedzone() 83 if (!IsAligned(ptr, SHADOW_GRANULARITY)) { in AsanPoisonOrUnpoisonIntraObjectRedzone() 368 IsAligned(beg, granularity))) { in __sanitizer_annotate_contiguous_container()
|
| H A D | asan_mac.cc | 97 CHECK(IsAligned(shadow_start, alignment)); in FindDynamicShadowStart()
|
| H A D | asan_win.cc | 236 CHECK(IsAligned(shadow_start, alignment)); in FindDynamicShadowStart()
|
| H A D | asan_allocator.cc | 438 CHECK(IsAligned(needed_size, min_alignment)); in Allocate() 479 if (!IsAligned(user_beg, alignment)) in Allocate() 950 CHECK(IsAligned((uptr)ptr, alignment)); in asan_posix_memalign()
|
| H A D | asan_errors.cc | 321 if (!IsAligned(beg, granularity)) in Print()
|
| /freebsd-12.1/contrib/compiler-rt/lib/lsan/ |
| H A D | lsan_allocator.cc | 152 CHECK(IsAligned((uptr)ptr, alignment)); in lsan_posix_memalign()
|
| /freebsd-12.1/contrib/compiler-rt/lib/msan/ |
| H A D | msan_allocator.cc | 321 CHECK(IsAligned((uptr)ptr, alignment)); in msan_posix_memalign()
|
| /freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_mman.cc | 263 CHECK(IsAligned((uptr)ptr, align)); in user_posix_memalign()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelDAGToDAG.cpp | 1322 auto IsAligned = [LogAlign] (uint64_t V) -> bool { in SelectAnyImmediate() local 1331 if (!IsAligned(V)) in SelectAnyImmediate() 1351 if (LogAlign > 2 || !IsAligned(cast<BlockAddressSDNode>(N)->getOffset())) in SelectAnyImmediate() 1366 auto IsAligned = [LogAlign] (uint64_t V) -> bool { in SelectGlobalAddress() local 1382 if (!IsAligned(Const->getZExtValue())) in SelectGlobalAddress()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaExprCXX.cpp | 1761 bool IsAligned = false; in isUnavailableAlignedAllocationFunction() local 1762 if (FD.isReplaceableGlobalAllocationFunction(&IsAligned) && IsAligned) in isUnavailableAlignedAllocationFunction() 2313 auto IsAligned = [](OverloadCandidate &C) { in resolveAllocationOverload() local 2317 auto IsUnaligned = [&](OverloadCandidate &C) { return !IsAligned(C); }; in resolveAllocationOverload() 2323 R.getNameLoc(), IsAligned); in resolveAllocationOverload()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | Decl.cpp | 2818 bool FunctionDecl::isReplaceableGlobalAllocationFunction(bool *IsAligned) const { in isReplaceableGlobalAllocationFunction() 2865 if (IsAligned) in isReplaceableGlobalAllocationFunction() 2866 *IsAligned = true; in isReplaceableGlobalAllocationFunction()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | Decl.h | 2187 bool isReplaceableGlobalAllocationFunction(bool *IsAligned = nullptr) const;
|