| /mirbsd/src/kern/c/ |
| D | mirtime.c | 81 while (__predict_false(mjd->sec < 0)) { in timet2mjd() 87 if (__predict_false(mirtime_isleap(t))) in timet2mjd() 159 if (__predict_false(day == 146096)) { in mjd_explode() 174 if (__predict_false(day == 1460)) { in mjd_explode() 189 if (__predict_false(mon >= 10)) { in mjd_explode() 199 if (__predict_false(year < 1)) in mjd_explode() 232 if (__predict_false((day = tm->tm_year + 1900LL) < 0)) in mjd_implode() 244 while (__predict_false(mjd->sec < 0)) { in mjd_implode() 248 while (__predict_false(mjd->sec > 86400)) { in mjd_implode() 255 while (__predict_false(x < 0)) { in mjd_implode() [all …]
|
| D | optu8to16.c | 36 if (__predict_false(ps == NULL)) in optu8to16() 39 if (__predict_false((count = ps->count) == 3)) { in optu8to16() 46 if (__predict_false(n == 0)) { in optu8to16() 53 if (__predict_false(s == NULL)) { in optu8to16() 58 if (__predict_false(count)) { in optu8to16() 68 } else if (__predict_false(wc < 0xC2 || wc >= 0xF0)) { in optu8to16() 80 while (__predict_false(count)) { in optu8to16() 82 if (__predict_false(n-- == 0)) { in optu8to16() 94 if (__predict_false(((c = *s++ ^ 0x80) > 0x3F) || in optu8to16()
|
| D | optu16to8.c | 60 if (__predict_false(ps == NULL)) in _optu16to8() 71 if (__predict_false(s == NULL)) { in _optu16to8() 76 while (__predict_false(count)) { in _optu16to8() 81 if (__predict_false(wc > WCHAR_MAX)) { in _optu16to8() 97 while (__predict_false(count)) { in _optu16to8()
|
| D | strlfun.c | 79 #define __predict_false(exp) (exp) macro 98 if (__predict_false(dlen == 0 || dst[n] != NUL)) in fn_cat() 138 if (__predict_false(siz == 0)) in fn_cpy() 146 if (__predict_false(siz == 0)) { in fn_cpy()
|
| /mirbsd/src/lib/libc/i18n/ |
| D | wcsrtombs.c | 46 if (__predict_false(ps == NULL)) in wcsnrtombs() 63 if (__predict_false(wc > WCHAR_MAX)) { in wcsnrtombs() 87 while (__predict_false((count > 0) && ((len > 0) || (dst == NULL)))) { in wcsnrtombs() 96 if (__predict_false(wc == 0)) in wcsnrtombs()
|
| D | mbrtowc.c | 35 if (__predict_false(ps == NULL)) in mbrtowc() 37 if (__predict_false(dst == NULL)) in mbrtowc() 40 if (__predict_false(src == NULL)) { in mbrtowc()
|
| D | towctrans.c | 33 if (__predict_false(wc > WCHAR_MAX)) in towctrans() 36 if (__predict_false(charmap == NULL)) { in towctrans()
|
| D | iswctype.c | 39 if (__predict_false(wc > WCHAR_MAX)) in iswctype()
|
| D | mbsrtowcs.c | 49 if (__predict_false(ps == NULL)) in mbsnrtowcs()
|
| /mirbsd/src/sys/kern/ |
| D | kern_rwlock.c | 42 while (__predict_false(rwl->rwl_owner & RWLOCK_WRLOCK)) { in rw_enter_read() 56 while (__predict_false(rwl->rwl_owner != 0)) { in rw_enter_write() 77 if (__predict_false(owner & RWLOCK_WAIT)) in rw_exit_read() 91 if (__predict_false(owner & RWLOCK_WAIT)) in rw_exit_write()
|
| D | subr_pool.c | 258 if (__predict_false(pp->pr_entered_file != NULL)) { in pr_enter() 274 if (__predict_false(pp->pr_entered_file == NULL)) { in pr_leave() 639 if (__predict_false(curproc == NULL && /* doing_shutdown == 0 && XXX*/ in _pool_get() 670 if (__predict_false(pp->pr_nout > pp->pr_hardlimit)) { in _pool_get() 676 if (__predict_false(pp->pr_nout == pp->pr_hardlimit)) { in _pool_get() 748 if (__predict_false(v == NULL || ph == NULL)) { in _pool_get() 789 if (__predict_false((v = pi = TAILQ_FIRST(&ph->ph_itemlist)) == NULL)) { in _pool_get() 795 if (__predict_false(pp->pr_nitems == 0)) { in _pool_get() 809 if (__predict_false(pi->pi_magic != PI_MAGIC)) { in _pool_get() 825 if (__predict_false(pp->pr_nidle == 0)) in _pool_get() [all …]
|
| /mirbsd/src/sys/uvm/ |
| D | uvm_km.c | 496 if (__predict_false(uvm_map(map, &kva, size, obj, UVM_UNKNOWN_OFFSET, 539 if (__predict_false(pg == NULL)) { 639 if (__predict_false(uvm_map(map, &kva, size, uvm.kernel_object, 683 if (__predict_false(pg == NULL)) { 746 if (__predict_false(uvm_map(map, &kva, size, uvm.kernel_object, 841 if (__predict_false(pg == NULL)) { 849 if (__predict_false(va == 0)) 940 if (__predict_false(pg == NULL)) in uvm_km_page_init() 944 if (__predict_false(va == 0)) { in uvm_km_page_init() 992 if (__predict_false(pg == NULL)) in uvm_km_thread() [all …]
|
| D | uvm_map_i.h | 141 if (__predict_false(flags & VM_MAP_INTRSAFE)) {
|
| /mirbsd/src/sys/arch/i386/i386/ |
| D | powernow-k7.c | 126 if (__predict_false(aux == NULL)) in powernowhack_match() 154 if (__predict_false(!memcmp(ptr, "AMDK7PNOW!", 10))) { in powernowhack_match() 286 while (__predict_false((s->fid == 0) || (s->vid == 0))) in powernowhack_attach() 344 if (__predict_false(k7pnow_freq_table[i].frequency >= freq)) in k7_powernow_setperf()
|
| /mirbsd/src/sys/sys/ |
| D | cdefs.h | 166 #define __predict_false(exp) (exp) macro 169 #define __predict_false(exp) __builtin_expect(((exp) != 0), 0) macro 172 #define __predict_false(exp) ((exp) != 0) macro
|
| /mirbsd/src/bin/pax/.linked/ |
| D | strlfun.inc | 79 #define __predict_false(exp) (exp) 98 if (__predict_false(dlen == 0 || dst[n] != NUL)) 138 if (__predict_false(siz == 0)) 146 if (__predict_false(siz == 0)) {
|
| /mirbsd/src/lib/libc/stdlib/ |
| D | getprogname.c | 41 if (__predict_true(*__progname) || __predict_false(s == NULL)) in setprogname()
|
| /mirbsd/src/lib/libmbfun/ |
| D | optu8to16vis.c | 56 if (__predict_false(ps == NULL)) in optu8to16vis()
|
| /mirbsd/src/sys/arch/i386/include/ |
| D | intr.h | 126 if (__predict_false(splassert_ctl > 0)) { \
|
| /mirbsd/src/sys/arch/sparc/include/ |
| D | psl.h | 170 if (__predict_false(splassert_ctl > 0)) { \
|
| /mirbsd/src/lib/libc/time/ |
| D | localtime.c | 1712 if (__predict_false(!initialised)) { in mirtime_getleaps()
|
| /mirbsd/src/sys/dev/pci/ |
| D | if_stge.c | 1262 if (__predict_false(sc->sc_rxdiscard)) { in stge_rxintr()
|
| /mirbsd/src/sys/netinet/ |
| D | tcp_input.c | 3572 if (__predict_false(sc->sc_rxtshift == TCP_MAXRXTSHIFT)) {
|