Home
last modified time | relevance | path

Searched refs:UNLIKELY (Results 1 – 25 of 231) sorted by relevance

12345678910

/netbsd/external/lgpl3/gmp/dist/tests/devel/
H A Dsqrtrem_1_2.c85 if (UNLIKELY (x != (er != 0)) || UNLIKELY (*s != es) in check_all_values()
89 if (UNLIKELY (er == mer)) { in check_all_values()
106 if (UNLIKELY (x != (er != 0)) || UNLIKELY (*s != es) in check_all_values()
115 if (UNLIKELY (mer == 0)) in check_all_values()
171 if (UNLIKELY (x != (er != 0)) || UNLIKELY (*s != es) in check_some_values()
198 if (UNLIKELY (x != (er != 0)) || UNLIKELY (*s != es) in check_some_values()
227 if (UNLIKELY (x != (her?2:(er != 0))) || UNLIKELY (*s != es) in check_some_values()
281 if (UNLIKELY (x != (er != 0)) || UNLIKELY (*s != es) in check_corner_cases()
311 if (UNLIKELY (x != (er != 0)) || UNLIKELY (*s != es) in check_corner_cases()
341 if (UNLIKELY (x != (er != 0) * 2) || UNLIKELY (*s != es) in check_corner_cases()
[all …]
/netbsd/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_testlib.cc105 if (UNLIKELY(!thread_inited)) in malloc()
113 if (UNLIKELY(!thread_inited)) in free()
120 if (UNLIKELY(!thread_inited)) in calloc()
130 if (UNLIKELY(!thread_inited)) in realloc()
144 if (UNLIKELY(!thread_inited)) in memalign()
153 if (UNLIKELY(!thread_inited)) in posix_memalign()
161 if (UNLIKELY(!thread_inited)) in valloc()
/netbsd/external/lgpl3/gmp/dist/mpn/generic/
H A Dsbpi1_divappr_q.c88 if (UNLIKELY (n1 == d1) && np[1] == d0) in mpn_sbpi1_divappr_q()
106 if (UNLIKELY (cy != 0)) in mpn_sbpi1_divappr_q()
123 if (UNLIKELY (n1 >= (d1 & flag))) in mpn_sbpi1_divappr_q()
128 if (UNLIKELY (n1 != cy)) in mpn_sbpi1_divappr_q()
152 if (UNLIKELY (cy != 0)) in mpn_sbpi1_divappr_q()
167 if (UNLIKELY (n1 >= (d1 & flag))) in mpn_sbpi1_divappr_q()
172 if (UNLIKELY (n1 != cy)) in mpn_sbpi1_divappr_q()
H A Dsbpi1_div_q.c91 if (UNLIKELY (n1 == d1) && np[1] == d0) in mpn_sbpi1_div_q()
109 if (UNLIKELY (cy != 0)) in mpn_sbpi1_div_q()
126 if (UNLIKELY (n1 >= (d1 & flag))) in mpn_sbpi1_div_q()
131 if (UNLIKELY (n1 != cy)) in mpn_sbpi1_div_q()
155 if (UNLIKELY (cy != 0)) in mpn_sbpi1_div_q()
170 if (UNLIKELY (n1 >= (d1 & flag))) in mpn_sbpi1_div_q()
175 if (UNLIKELY (n1 != cy)) in mpn_sbpi1_div_q()
202 if (UNLIKELY (n1 < (dn & flag))) in mpn_sbpi1_div_q()
H A Dget_d.c154 if (UNLIKELY ((unsigned long) (GMP_NUMB_BITS * size) in mpn_get_d()
271 if (UNLIKELY (exp >= CONST_1024)) in mpn_get_d()
279 else if (UNLIKELY (exp <= CONST_NEG_1023)) in mpn_get_d()
340 if (UNLIKELY (exp >= 128)) in mpn_get_d()
347 else if (UNLIKELY (exp < -128)) in mpn_get_d()
/netbsd/external/gpl3/gcc/dist/libsanitizer/asan/
H A Dasan_malloc_linux.cc65 if (UNLIKELY(!CheckPosixMemalignAlignment(alignment))) in PosixMemalignFromLocalPool()
110 if (UNLIKELY(UseLocalPool())) { in ReallocFromLocalPool()
123 if (UNLIKELY(IsInDlsymAllocPool(ptr))) { in INTERCEPTOR()
133 if (UNLIKELY(IsInDlsymAllocPool(ptr))) in INTERCEPTOR()
140 if (UNLIKELY(UseLocalPool())) in INTERCEPTOR()
149 if (UNLIKELY(UseLocalPool())) in INTERCEPTOR()
158 if (UNLIKELY(IsInDlsymAllocPool(ptr))) in INTERCEPTOR()
160 if (UNLIKELY(UseLocalPool())) in INTERCEPTOR()
215 if (UNLIKELY(UseLocalPool())) in INTERCEPTOR()
/netbsd/sys/external/bsd/compiler_rt/dist/lib/asan/
H A Dasan_malloc_linux.cc67 if (UNLIKELY(!CheckPosixMemalignAlignment(alignment))) in PosixMemalignFromLocalPool()
112 if (UNLIKELY(UseLocalPool())) { in ReallocFromLocalPool()
125 if (UNLIKELY(IsInDlsymAllocPool(ptr))) { in INTERCEPTOR()
135 if (UNLIKELY(IsInDlsymAllocPool(ptr))) in INTERCEPTOR()
142 if (UNLIKELY(UseLocalPool())) in INTERCEPTOR()
151 if (UNLIKELY(UseLocalPool())) in INTERCEPTOR()
160 if (UNLIKELY(IsInDlsymAllocPool(ptr))) in INTERCEPTOR()
162 if (UNLIKELY(UseLocalPool())) in INTERCEPTOR()
217 if (UNLIKELY(UseLocalPool())) in INTERCEPTOR()
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/asan/
H A Dasan_malloc_linux.cc65 if (UNLIKELY(!CheckPosixMemalignAlignment(alignment))) in PosixMemalignFromLocalPool()
110 if (UNLIKELY(UseLocalPool())) { in ReallocFromLocalPool()
123 if (UNLIKELY(IsInDlsymAllocPool(ptr))) { in INTERCEPTOR()
133 if (UNLIKELY(IsInDlsymAllocPool(ptr))) in INTERCEPTOR()
140 if (UNLIKELY(UseLocalPool())) in INTERCEPTOR()
149 if (UNLIKELY(UseLocalPool())) in INTERCEPTOR()
158 if (UNLIKELY(IsInDlsymAllocPool(ptr))) in INTERCEPTOR()
160 if (UNLIKELY(UseLocalPool())) in INTERCEPTOR()
215 if (UNLIKELY(UseLocalPool())) in INTERCEPTOR()
/netbsd/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_allocator_local_cache.h43 if (UNLIKELY(c->count == 0)) { in Allocate()
44 if (UNLIKELY(!Refill(c, allocator, class_id))) in Allocate()
61 if (UNLIKELY(c->count == c->max_count)) in Deallocate()
108 if (UNLIKELY(!allocator->GetFromAllocator(&stats_, class_id, c->chunks, in Refill()
162 if (UNLIKELY(c->count == 0)) { in Allocate()
163 if (UNLIKELY(!Refill(c, allocator, class_id))) in Allocate()
180 if (UNLIKELY(c->count == c->max_count)) in Deallocate()
244 if (UNLIKELY(!b)) in Refill()
261 if (UNLIKELY(!b)) { in Drain()
H A Dsanitizer_posix.cc48 if (UNLIKELY(internal_iserror(res, &reserrno))) in MmapOrDie()
57 if (UNLIKELY(internal_iserror(res))) { in UnmapOrDie()
71 if (UNLIKELY(internal_iserror(res, &reserrno))) { in MmapOrDieOnFatalError()
89 if (UNLIKELY(!map_res)) in MmapAlignedOrDieOnFatalError()
111 if (UNLIKELY(internal_iserror(p, &reserrno))) in MmapNoReserveOrDie()
125 if (UNLIKELY(internal_iserror(p, &reserrno))) { in MmapFixedImpl()
H A Dsanitizer_allocator_primary32.h161 if (UNLIKELY(!PopulateFreeList(stat, c, sci, class_id))) in AllocateBatch()
292 if (UNLIKELY(!res)) in AllocateRegion()
317 if (UNLIKELY(!b)) in PopulateBatches()
334 if (UNLIKELY(!region)) in PopulateFreeList()
337 if (UNLIKELY(sci->rand_state == 0)) in PopulateFreeList()
351 if (UNLIKELY(!PopulateBatches(c, sci, class_id, &b, max_count, in PopulateFreeList()
358 if (UNLIKELY(!PopulateBatches(c, sci, class_id, &b, max_count, in PopulateFreeList()
/netbsd/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_allocator_local_cache.h45 if (UNLIKELY(c->count == 0)) { in Allocate()
46 if (UNLIKELY(!Refill(c, allocator, class_id))) in Allocate()
63 if (UNLIKELY(c->count == c->max_count)) in Deallocate()
110 if (UNLIKELY(!allocator->GetFromAllocator(&stats_, class_id, c->chunks, in Refill()
164 if (UNLIKELY(c->count == 0)) { in Allocate()
165 if (UNLIKELY(!Refill(c, allocator, class_id))) in Allocate()
182 if (UNLIKELY(c->count == c->max_count)) in Deallocate()
246 if (UNLIKELY(!b)) in Refill()
263 if (UNLIKELY(!b)) { in Drain()
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_allocator_local_cache.h43 if (UNLIKELY(c->count == 0)) { in Allocate()
44 if (UNLIKELY(!Refill(c, allocator, class_id))) in Allocate()
61 if (UNLIKELY(c->count == c->max_count)) in Deallocate()
108 if (UNLIKELY(!allocator->GetFromAllocator(&stats_, class_id, c->chunks, in Refill()
162 if (UNLIKELY(c->count == 0)) { in Allocate()
163 if (UNLIKELY(!Refill(c, allocator, class_id))) in Allocate()
180 if (UNLIKELY(c->count == c->max_count)) in Deallocate()
244 if (UNLIKELY(!b)) in Refill()
261 if (UNLIKELY(!b)) { in Drain()
H A Dsanitizer_posix.cc48 if (UNLIKELY(internal_iserror(res, &reserrno))) in MmapOrDie()
57 if (UNLIKELY(internal_iserror(res))) { in UnmapOrDie()
71 if (UNLIKELY(internal_iserror(res, &reserrno))) { in MmapOrDieOnFatalError()
89 if (UNLIKELY(!map_res)) in MmapAlignedOrDieOnFatalError()
111 if (UNLIKELY(internal_iserror(p, &reserrno))) in MmapNoReserveOrDie()
125 if (UNLIKELY(internal_iserror(p, &reserrno))) { in MmapFixedImpl()
/netbsd/sys/external/bsd/compiler_rt/dist/lib/xray/
H A Dxray_function_call_trie.h365 if (UNLIKELY(OverflowedFunctions)) { in enterFunction()
372 if (UNLIKELY(ShadowStack.empty())) { in enterFunction()
375 if (UNLIKELY(NewRoot == nullptr)) in enterFunction()
409 if (UNLIKELY(NewNode == nullptr)) in enterFunction()
503 if (UNLIKELY(NewRoot == nullptr)) in deepCopyInto()
506 if (UNLIKELY(O.Roots.Append(NewRoot) == nullptr)) in deepCopyInto()
523 if (UNLIKELY(NewNode == nullptr)) in deepCopyInto()
525 if (UNLIKELY(NP.NewNode->Callees.AppendEmplace(NewNode, Callee.FId) == in deepCopyInto()
528 if (UNLIKELY(DFSStack.AppendEmplace(Callee.NodePtr, NewNode) == in deepCopyInto()
562 if (UNLIKELY(TargetRoot == nullptr)) in mergeInto()
[all …]
/netbsd/external/lgpl3/gmp/dist/mpz/
H A Dpowm.c73 if (UNLIKELY (n == 0)) in mpz_powm()
81 if (UNLIKELY (es <= 0)) in mpz_powm()
95 if (UNLIKELY (! mpz_invert (new_b, b, m))) in mpz_powm()
107 if (UNLIKELY (bn == 0)) in mpz_powm()
117 if (UNLIKELY (en == 1 && ep[0] == 1)) in mpz_powm()
155 while (UNLIKELY (mp[0] == 0)) in mpz_powm()
H A Drealloc.c46 if (UNLIKELY (new_alloc > ULONG_MAX / GMP_NUMB_BITS)) in _mpz_realloc()
54 if (UNLIKELY (new_alloc > INT_MAX)) in _mpz_realloc()
71 if (UNLIKELY (ABSIZ (m) > new_alloc)) in _mpz_realloc()
H A Dstronglucas.c116 if (UNLIKELY (mpz_perfect_square_p (n))) in mpz_stronglucas()
137 if (UNLIKELY (D >= maxD)) in mpz_stronglucas()
142 if (UNLIKELY (tl == 0)) in mpz_stronglucas()
167 if (SIZ (V) == 0 || UNLIKELY (--b0 == 0)) in mpz_stronglucas()
H A Dpowm_sec.c51 if (UNLIKELY ((n == 0) || (mp[0] % 2 == 0))) in mpz_powm_sec()
55 if (UNLIKELY (es <= 0)) in mpz_powm_sec()
71 if (UNLIKELY (bn == 0)) in mpz_powm_sec()
/netbsd/sys/external/bsd/compiler_rt/dist/lib/lsan/
H A Dlsan_allocator.cc86 if (UNLIKELY(!p)) { in Allocate()
102 if (UNLIKELY(CheckForCallocOverflow(size, nmemb))) { in Calloc()
143 if (UNLIKELY(!CheckPosixMemalignAlignment(alignment))) { in lsan_posix_memalign()
149 if (UNLIKELY(!ptr)) in lsan_posix_memalign()
158 if (UNLIKELY(!CheckAlignedAllocAlignmentAndSize(alignment, size))) { in lsan_aligned_alloc()
168 if (UNLIKELY(!IsPowerOfTwo(alignment))) { in lsan_memalign()
200 if (UNLIKELY(CheckForPvallocOverflow(size, PageSize))) { in lsan_pvalloc()
/netbsd/external/gpl3/gcc/dist/libsanitizer/hwasan/
H A Dhwasan_allocator.cpp147 if (UNLIKELY(!allocated)) { in HwasanAllocate()
284 UNLIKELY((tag < kShadowAlignment || tag == pointer_tag) && tag != 0)); in HwasanDeallocate()
327 if (UNLIKELY(CheckForCallocOverflow(size, nmemb))) { in HwasanCalloc()
380 if (UNLIKELY(CheckForCallocOverflow(size, nmemb))) { in hwasan_reallocarray()
396 if (UNLIKELY(CheckForPvallocOverflow(size, PageSize))) { in hwasan_pvalloc()
408 if (UNLIKELY(!CheckAlignedAllocAlignmentAndSize(alignment, size))) { in hwasan_aligned_alloc()
418 if (UNLIKELY(!IsPowerOfTwo(alignment))) { in hwasan_memalign()
429 if (UNLIKELY(!CheckPosixMemalignAlignment(alignment))) { in hwasan_posix_memalign()
435 if (UNLIKELY(!ptr)) in hwasan_posix_memalign()
/netbsd/external/gpl3/gcc/dist/libsanitizer/lsan/
H A Dlsan_allocator.cc89 if (UNLIKELY(!p)) { in Allocate()
105 if (UNLIKELY(CheckForCallocOverflow(size, nmemb))) { in Calloc()
146 if (UNLIKELY(!CheckPosixMemalignAlignment(alignment))) { in lsan_posix_memalign()
152 if (UNLIKELY(!ptr)) in lsan_posix_memalign()
161 if (UNLIKELY(!CheckAlignedAllocAlignmentAndSize(alignment, size))) { in lsan_aligned_alloc()
171 if (UNLIKELY(!IsPowerOfTwo(alignment))) { in lsan_memalign()
203 if (UNLIKELY(CheckForPvallocOverflow(size, PageSize))) { in lsan_pvalloc()
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/lsan/
H A Dlsan_allocator.cc89 if (UNLIKELY(!p)) { in Allocate()
105 if (UNLIKELY(CheckForCallocOverflow(size, nmemb))) { in Calloc()
146 if (UNLIKELY(!CheckPosixMemalignAlignment(alignment))) { in lsan_posix_memalign()
152 if (UNLIKELY(!ptr)) in lsan_posix_memalign()
161 if (UNLIKELY(!CheckAlignedAllocAlignmentAndSize(alignment, size))) { in lsan_aligned_alloc()
171 if (UNLIKELY(!IsPowerOfTwo(alignment))) { in lsan_memalign()
203 if (UNLIKELY(CheckForPvallocOverflow(size, PageSize))) { in lsan_pvalloc()
/netbsd/sys/external/bsd/compiler_rt/dist/lib/msan/
H A Dmsan_allocator.cc163 if (UNLIKELY(!allocated)) { in MsanAllocate()
239 if (UNLIKELY(CheckForCallocOverflow(size, nmemb))) { in MsanCalloc()
279 if (UNLIKELY(CheckForPvallocOverflow(size, PageSize))) { in msan_pvalloc()
291 if (UNLIKELY(!CheckAlignedAllocAlignmentAndSize(alignment, size))) { in msan_aligned_alloc()
301 if (UNLIKELY(!IsPowerOfTwo(alignment))) { in msan_memalign()
312 if (UNLIKELY(!CheckPosixMemalignAlignment(alignment))) { in msan_posix_memalign()
318 if (UNLIKELY(!ptr)) in msan_posix_memalign()
/netbsd/external/lgpl3/gmp/dist/mpn/sparc64/
H A Dmod_1.c69 if (UNLIKELY (size_limbs == 0)) in mpn_mod_1_anynorm()
76 if (UNLIKELY (size_limbs == 1)) in mpn_mod_1_anynorm()
200 if (UNLIKELY ((b & GMP_NUMB_HIGHBIT) != 0)) in mpn_mod_1()
225 … else if (BELOW_THRESHOLD (n, MOD_1_2_TO_MOD_1_4_THRESHOLD) || UNLIKELY (b > GMP_NUMB_MASK / 4)) in mpn_mod_1()

12345678910