| /freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | mem_map_base.h | 27 DCHECK(!isAllocated()); 34 DCHECK(isAllocated()); in unmap() 35 DCHECK((Addr == getBase()) || (Addr + Size == getBase() + getCapacity())); in unmap() 43 DCHECK(isAllocated()); 44 DCHECK((Addr >= getBase()) && (Addr + Size <= getBase() + getCapacity())); 51 DCHECK(isAllocated()); in setMemoryPermission() 52 DCHECK((Addr >= getBase()) && (Addr + Size <= getBase() + getCapacity())); in setMemoryPermission() 60 DCHECK(isAllocated()); in releasePagesToOS() 61 DCHECK((From >= getBase()) && (From + Size <= getBase() + getCapacity())); in releasePagesToOS() 67 DCHECK(isAllocated()); in releaseAndZeroPagesToOS() [all …]
|
| H A D | atomic_helpers.h | 64 DCHECK(!(reinterpret_cast<uptr>(A) % sizeof(*A))); in atomic_load() 72 DCHECK(!(reinterpret_cast<uptr>(A) % sizeof(*A))); in atomic_store() 81 DCHECK(!(reinterpret_cast<uptr>(A) % sizeof(*A))); in atomic_fetch_add() 88 DCHECK(!(reinterpret_cast<uptr>(A) % sizeof(*A))); in atomic_fetch_sub() 95 DCHECK(!(reinterpret_cast<uptr>(A) % sizeof(*A))); in atomic_fetch_and() 102 DCHECK(!(reinterpret_cast<uptr>(A) % sizeof(*A))); in atomic_fetch_or() 109 DCHECK(!(reinterpret_cast<uptr>(A) % sizeof(*A))); in atomic_exchange()
|
| H A D | fuchsia.cpp | 46 DCHECK(Data); in allocateVmar() 80 DCHECK(Flags & MAP_RESIZABLE); in map() 104 DCHECK(Data); in map() 123 DCHECK(Data); in map() 171 DCHECK(Data); in setMemoryPermission() 182 DCHECK(Data); in releasePagesToOS()
|
| H A D | common.h | 38 DCHECK(isPowerOfTwo(Boundary)); in roundUp() 46 DCHECK(isPowerOfTwo(Boundary)); in roundDown() 54 DCHECK(isPowerOfTwo(Alignment)); in isAligned() 77 DCHECK(Size); in roundUpPowerOfTwo() 92 DCHECK(isPowerOfTwo(X)); in getLog2()
|
| H A D | list.h | 106 DCHECK(!empty()); in pop_front() 115 DCHECK(!empty()); in insert() 126 DCHECK(!empty()); in extract() 199 DCHECK(!empty()); in pop_front()
|
| H A D | internal_defs.h | 126 #define DCHECK(A) CHECK(A) macro 134 #define DCHECK(A) \ macro
|
| H A D | tsd_exclusive.h | 56 DCHECK(!Initialized); in init() 71 DCHECK(Instance); in unmapTestOnly()
|
| H A D | stack_depot.h | 96 DCHECK(isPowerOfTwo(RingSz)); in init() 97 DCHECK(isPowerOfTwo(TabSz)); in init()
|
| H A D | bytemap.h | 20 void init() { DCHECK(Size == 0 || Map[0] == 0); } in init()
|
| H A D | tsd_shared.h | 51 DCHECK(!Initialized); in init() 138 DCHECK(TSD); in getTSDAndLock()
|
| H A D | tsd.h | 33 DCHECK(isAligned(reinterpret_cast<uptr>(this), alignof(ThisT))); in init()
|
| H A D | local_cache.h | 26 DCHECK(isEmpty()); 95 DCHECK(isEmpty()); in init()
|
| H A D | quarantine.h | 79 DCHECK(B); in enqueue() 177 DCHECK(isAligned(reinterpret_cast<uptr>(this), alignof(ThisT))); in init()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_atomic_msvc.h | 73 DCHECK(mo == memory_order_relaxed || mo == memory_order_consume || in atomic_load() 75 DCHECK(!((uptr)a % sizeof(*a))); in atomic_load() 90 DCHECK(mo == memory_order_relaxed || mo == memory_order_release || in atomic_store() 92 DCHECK(!((uptr)a % sizeof(*a))); in atomic_store() 108 DCHECK(!((uptr)a % sizeof(*a))); in atomic_fetch_add() 116 DCHECK(!((uptr)a % sizeof(*a))); in atomic_fetch_add() 129 DCHECK(!((uptr)a % sizeof(*a))); in atomic_fetch_sub() 137 DCHECK(!((uptr)a % sizeof(*a))); in atomic_fetch_sub() 150 DCHECK(!((uptr)a % sizeof(*a))); in atomic_exchange() 157 DCHECK(!((uptr)a % sizeof(*a))); in atomic_exchange() [all …]
|
| H A D | sanitizer_atomic_clang.h | 40 DCHECK(mo == memory_order_relaxed || mo == memory_order_consume || in atomic_load() 42 DCHECK(!((uptr)a % sizeof(*a))); in atomic_load() 48 DCHECK(mo == memory_order_relaxed || mo == memory_order_release || in atomic_store() 50 DCHECK(!((uptr)a % sizeof(*a))); in atomic_store() 57 DCHECK(!((uptr)a % sizeof(*a))); in atomic_fetch_add() 65 DCHECK(!((uptr)a % sizeof(*a))); in atomic_fetch_sub() 72 DCHECK(!((uptr)a % sizeof(*a))); in atomic_exchange()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_ilist.h | 109 DCHECK(next); in Remove() 110 DCHECK(prev); in Remove() 111 DCHECK(size_); in Remove() 147 DCHECK(n->prev_); in Prev() 154 DCHECK(n->next_); in Next()
|
| H A D | tsan_rtl_access.cpp | 21 DCHECK(size == 1 || size == 2 || size == 4 || size == 8); in TryTraceMemoryAccess() 84 DCHECK(res); in TraceMemoryAccessRange() 92 DCHECK(res); in TraceFunc() 107 DCHECK(type == EventType::kLock || type == EventType::kRLock); in TraceMutexLock() 527 DCHECK(IsShadowMem(p)); in ShadowSet() 528 DCHECK(IsShadowMem(end)); in ShadowSet() 598 DCHECK(thr->slot_locked); in MemoryRangeFreed() 676 DCHECK(IsAppMem(addr)); in MemoryAccessRangeT() 680 DCHECK(IsAppMem(addr + size - 1)); in MemoryAccessRangeT() 684 DCHECK(IsShadowMem(shadow_mem)); in MemoryAccessRangeT() [all …]
|
| H A D | tsan_sync.cpp | 87 DCHECK(idx & kFlagSync); in FreeRange() 198 DCHECK(idx & kFlagSync); in GetBlock() 206 DCHECK(!create || thr->slot_locked); in GetSync() 213 DCHECK(idx & kFlagSync); in GetSync()
|
| H A D | tsan_interceptors.h | 70 # define CHECK_REAL_FUNC(func) DCHECK(REAL(func))
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_poisoning.h | 41 DCHECK(!value || CanPoisonMemory()); in FastPoisonShadow() 78 DCHECK(CanPoisonMemory()); in FastPoisonShadowPartialRightRedzone()
|
| H A D | asan_fuchsia.cpp | 40 DCHECK(kLowShadowBeg != kDefaultShadowSentinel); in InitializeShadowMemory() 105 DCHECK(destructor == &PlatformTSDDtor); in AsanTSDInit()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/xray/ |
| H A D | xray_segmented_array.h | 353 DCHECK((Size == 0 && Head == &SentinelSegment && Head == Tail) || in AppendEmplace() 385 DCHECK((Size == 0 && Head == &SentinelSegment && Head == Tail) || in Append() 617 DCHECK( in trim() 620 DCHECK( in trim()
|
| H A D | xray_profile_collector.cpp | 186 DCHECK(!Record->Path.empty()); in populateRecords() 277 DCHECK(!ThreadTrie.FCT.getRoots().empty()); in serialize() 278 DCHECK(!ProfileRecords.empty()); in serialize()
|
| H A D | xray_fdr_logging.cpp | 189 DCHECK(internal_strcmp(__xray_log_get_current_mode(), "xray-fdr") == 0); in fdrIterator() 190 DCHECK(BQ->finalizing()); in fdrIterator() 364 DCHECK(BufferExtents <= B.Size); in fdrLoggingFlush()
|
| H A D | xray_fdr_controller.h | 74 DCHECK(hasSpace(sizeof(MetadataRecord) * 3)); in setupNewBuffer() 195 DCHECK(F.RecordKind == in rewindRecords()
|