/freebsd-12-stable/sys/contrib/zstd/contrib/pzstd/utils/ |
H A D | Likely.h | 20 #undef UNLIKELY macro 24 #define UNLIKELY(x) (__builtin_expect((x), 0)) macro 27 #define UNLIKELY(x) (x) macro
|
H A D | Range.h | 106 if (UNLIKELY(n > size())) { 113 if (UNLIKELY(n > size())) { 120 if (UNLIKELY(first > size())) {
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/scudo/ |
H A D | scudo_tsd_exclusive.inc | 38 if (UNLIKELY(ScudoThreadState != ThreadInitialized)) {
|
H A D | scudo_allocator.cpp | 147 if (UNLIKELY(NewUnpackedHeader->Checksum != 168 if (UNLIKELY(!atomic_compare_exchange_strong( 184 if (UNLIKELY(Header.State != ChunkQuarantine)) 277 if (UNLIKELY(!GetRandom(reinterpret_cast<void *>(&Cookie), sizeof(Cookie), 291 if (UNLIKELY(!Ptr)) 306 if (UNLIKELY(GuardedAlloc.shouldSample())) { 312 if (UNLIKELY(Alignment > MaxAlignment)) { 317 if (UNLIKELY(Alignment < MinAlignment)) 324 if (UNLIKELY(Size >= MaxAllowedMallocSize) || 325 UNLIKELY(AlignedSiz [all...] |
H A D | scudo_tsd_exclusive.cpp | 57 if (UNLIKELY(MinimalInit))
|
H A D | scudo_allocator_secondary.h | 79 if (UNLIKELY(Alignment > MinAlignment)) 88 if (UNLIKELY(ReservedBeg == ~static_cast<uptr>(0))) 104 if (UNLIKELY(Alignment > MinAlignment)) {
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_malloc_local.h | 35 if (UNLIKELY(EarlyMalloc())) { \ 43 #define IS_FROM_LOCAL_POOL(ptr) UNLIKELY(IsFromLocalPool(ptr))
|
H A D | asan_malloc_linux.cpp | 66 if (UNLIKELY(!CheckPosixMemalignAlignment(alignment))) 111 if (UNLIKELY(UseLocalPool())) { 124 if (UNLIKELY(IsInDlsymAllocPool(ptr))) { 134 if (UNLIKELY(IsInDlsymAllocPool(ptr))) 141 if (UNLIKELY(UseLocalPool())) 150 if (UNLIKELY(UseLocalPool())) 159 if (UNLIKELY(IsInDlsymAllocPool(ptr))) 161 if (UNLIKELY(UseLocalPool())) 224 if (UNLIKELY(UseLocalPool()))
|
H A D | asan_interceptors_memintrinsics.h | 83 if (UNLIKELY(!asan_inited)) return internal_memcpy(to, from, size); \ 101 if (UNLIKELY(!asan_inited)) return internal_memset(block, c, size); \ 114 if (UNLIKELY(!asan_inited)) return internal_memmove(to, from, size); \
|
/freebsd-12-stable/sys/dev/vmware/vmci/ |
H A D | vmci_kernel_defs.h | 23 #define UNLIKELY(_exp) __predict_false(_exp) macro
|
/freebsd-12-stable/contrib/gcclibs/libmudflap/ |
H A D | mf-impl.h | 268 #define UNLIKELY(e) (__builtin_expect (!!(e), 0)) macro 275 do { if (UNLIKELY (__mf_opts.verbose_trace)) { \ 280 do { if (UNLIKELY (__mf_opts.trace_mf_calls)) { \ 286 do { if (UNLIKELY (__mf_opts.verbose_trace)) { \ 291 do { if (UNLIKELY (__mf_opts.trace_mf_calls)) { \ 375 if (UNLIKELY (size > 0 && __MF_CACHE_MISS_P (value, size))) \ 380 if (UNLIKELY (__mf_starting_p)) \ 384 else if (UNLIKELY (__mf_get_state () == reentrant)) \ 390 else if (UNLIKELY (__mf_get_state () == in_malloc)) \
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_interceptors.cpp | 109 if (!ptr || UNLIKELY(IsInDlsymAllocPool(ptr))) return; 115 if (!ptr || UNLIKELY(IsInDlsymAllocPool(ptr))) return; 139 if (UNLIKELY(!hwasan_inited)) 147 if (UNLIKELY(IsInDlsymAllocPool(ptr))) { 151 if (UNLIKELY(!hwasan_inited)) { 170 if (UNLIKELY(!hwasan_init_is_running)) 172 if (UNLIKELY(!hwasan_inited))
|
H A D | hwasan_checks.h | 86 if (UNLIKELY(!PossiblyShortTagMatches(mem_tag, p, 1 << LogSize))) { 104 if (UNLIKELY(ptr_tag != *t)) { 112 if (UNLIKELY(tail_sz != 0 &&
|
H A D | hwasan_new_delete.cpp | 35 if (!nothrow && UNLIKELY(!res)) ReportOutOfMemory(size, &stack);\
|
H A D | hwasan_allocator.cpp | 124 if (UNLIKELY(!allocated)) { 256 if (UNLIKELY(CheckForCallocOverflow(size, nmemb))) { 307 if (UNLIKELY(CheckForCallocOverflow(size, nmemb))) { 323 if (UNLIKELY(CheckForPvallocOverflow(size, PageSize))) { 335 if (UNLIKELY(!CheckAlignedAllocAlignmentAndSize(alignment, size))) { 345 if (UNLIKELY(!IsPowerOfTwo(alignment))) { 356 if (UNLIKELY(!CheckPosixMemalignAlignment(alignment))) { 362 if (UNLIKELY(!ptr))
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_allocator_local_cache.h | 37 if (UNLIKELY(c->count == 0)) { 38 if (UNLIKELY(!Refill(c, allocator, class_id))) 55 if (UNLIKELY(c->count == c->max_count)) 102 if (UNLIKELY(!allocator->GetFromAllocator(&stats_, class_id, c->chunks, 156 if (UNLIKELY(c->count == 0)) { 157 if (UNLIKELY(!Refill(c, allocator, class_id))) 174 if (UNLIKELY(c->count == c->max_count)) 238 if (UNLIKELY(!b)) 255 if (UNLIKELY(!b)) {
|
H A D | sanitizer_allocator_checks.h | 31 if (UNLIKELY(!ptr))
|
H A D | sanitizer_allocator_size_class_map.h | 149 if (UNLIKELY(class_id == kBatchClassID)) 159 if (UNLIKELY(size > kMaxSize)) 172 if (UNLIKELY(size == 0))
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | combined.h | 60 if (UNLIKELY(Header.State != Chunk::State::Quarantined)) 83 if (UNLIKELY(!Ptr)) 103 if (UNLIKELY(Header.State != Chunk::State::Allocated)) 133 if (UNLIKELY(!getRandom(&Cookie, sizeof(Cookie)))) 204 if (UNLIKELY(GuardedAlloc.shouldSample())) { 212 if (UNLIKELY(Alignment > MaxAlignment)) { 231 if (UNLIKELY(Size >= MaxAllowedMallocSize)) { 255 if (UNLIKELY(!Block)) { 264 if (UNLIKELY(ZeroContents && ClassId)) 272 if (UNLIKELY(UnalignedUserPt [all...] |
H A D | wrappers_c_checks.h | 24 if (UNLIKELY(!Ptr))
|
H A D | fuchsia.cpp | 43 if (UNLIKELY(Status != ZX_OK)) { 81 if (UNLIKELY(Status != ZX_OK)) { 105 if (UNLIKELY(Status != ZX_OK)) { 128 if (UNLIKELY(Status != ZX_OK)) 175 if (UNLIKELY(!Buffer || !Length || Length > MaxRandomLength))
|
H A D | internal_defs.h | 43 #define UNLIKELY(X) __builtin_expect(!!(X), 0) macro 73 if (UNLIKELY(!(Expr))) { \ 88 if (UNLIKELY(!(V1 Op V2))) { \
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_allocator.cpp | 92 if (UNLIKELY(!p)) { 108 if (UNLIKELY(CheckForCallocOverflow(size, nmemb))) { 149 if (UNLIKELY(!CheckPosixMemalignAlignment(alignment))) { 155 if (UNLIKELY(!ptr)) 164 if (UNLIKELY(!CheckAlignedAllocAlignmentAndSize(alignment, size))) { 174 if (UNLIKELY(!IsPowerOfTwo(alignment))) { 197 if (UNLIKELY(CheckForCallocOverflow(size, nmemb))) { 217 if (UNLIKELY(CheckForPvallocOverflow(size, PageSize))) {
|
/freebsd-12-stable/contrib/llvm-project/openmp/runtime/src/ |
H A D | ompt-internal.h | 116 #define UNLIKELY(x) (x) macro 119 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_allocator.cpp | 159 if (UNLIKELY(!allocated)) { 235 if (UNLIKELY(CheckForCallocOverflow(size, nmemb))) { 270 if (UNLIKELY(CheckForCallocOverflow(size, nmemb))) { 285 if (UNLIKELY(CheckForPvallocOverflow(size, PageSize))) { 297 if (UNLIKELY(!CheckAlignedAllocAlignmentAndSize(alignment, size))) { 307 if (UNLIKELY(!IsPowerOfTwo(alignment))) { 318 if (UNLIKELY(!CheckPosixMemalignAlignment(alignment))) { 324 if (UNLIKELY(!ptr))
|