/haiku/src/system/libroot/posix/glibc/iconv/ |
H A D | skeleton.c | 343 else if (__builtin_expect (strcmp (step->__to_name, CHARSET_NAME), 0) == 0) in gconv_init() 412 if (__builtin_expect (do_flush, 0)) in FUNCTION_NAME() 463 if (__builtin_expect (outerr != outbuf, 0)) in FUNCTION_NAME() 506 unsigned char *outbuf = (__builtin_expect (outbufstart == NULL, 1) in FUNCTION_NAME() 576 if (__builtin_expect (status, __GCONV_OK) != __GCONV_OK) in FUNCTION_NAME() 606 if (__builtin_expect (!unaligned, 1)) in FUNCTION_NAME() 637 if (__builtin_expect (outbufstart != NULL, 0)) in FUNCTION_NAME() 655 if (__builtin_expect (data->__flags & __GCONV_IS_LAST, 0)) in FUNCTION_NAME() 668 if (__builtin_expect (outbuf > outstart, 1)) in FUNCTION_NAME() 679 if (__builtin_expect (outerr != outbuf, 0)) in FUNCTION_NAME() [all …]
|
H A D | loop.c | 274 && __builtin_expect (inptr + MIN_NEEDED_INPUT > inend, 0)) in FCTNAME() 282 && __builtin_expect (outptr + MIN_NEEDED_OUTPUT > outend, 0)) in FCTNAME() 284 && __builtin_expect (outptr >= outend, 0))) in FCTNAME() 362 if (__builtin_expect (inptr + (MIN_NEEDED_INPUT - inlen) > inend, 0)) in SINGLE() 405 if (__builtin_expect (inptr != bytebuf, 1)) in SINGLE()
|
H A D | gconv_simple.c | 55 if (__builtin_expect(*inptr > '\x7f', 0)) { \ 88 if (__builtin_expect(*((const uint32_t*)inptr) > 0x7f, 0)) { \
|
/haiku/src/system/libroot/posix/glibc/stdio-common/ |
H A D | tmpnam.c | 42 if (__builtin_expect(__path_search(tmpbuf, L_tmpnam, NULL, NULL, 0), 0)) in tmpnam() 45 if (__builtin_expect(__gen_tempname(tmpbuf, __GT_NOCREATE), 0)) in tmpnam()
|
H A D | tempname.c | 110 if (__builtin_expect (value == UINT64_C (0), 0)) \
|
H A D | vfprintf.c | 1083 if (__builtin_expect (string_malloced, 0)) \ in vfprintf() 1254 if (__builtin_expect (string_malloced, 0)) \ in vfprintf() 1594 if (__builtin_expect (workstart != NULL, 0)) in vfprintf() 1893 if (__builtin_expect (workstart != NULL, 0)) in vfprintf() 1905 if (__builtin_expect (workstart != NULL, 0)) in vfprintf()
|
/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | filedoalloc.c | 98 if (__builtin_expect (_IO_cleanup_registration_needed != NULL, 0)) 103 if (fp->_fileno >= 0 && __builtin_expect (_IO_SYSSTAT (fp, &st), 0) >= 0)
|
H A D | iogetline.c | 66 if (__builtin_expect (fp->_mode, -1) == 0)
|
H A D | iogetwline.c | 69 if (__builtin_expect (fp->_mode, 1) == 0)
|
H A D | libio.h | 492 (__builtin_expect (&_IO_stdin_used == NULL, 0))
|
H A D | iofwide.c | 109 if (__builtin_expect (&_IO_stdin_used == NULL, 0) in _IO_fwide()
|
H A D | fileops.c | 720 if (__builtin_expect (mmap_remap_check (fp), 0)) in _IO_file_underflow_mmap() 1494 if (__builtin_expect (_IO_in_backup (fp), 0)) 1511 if (__builtin_expect (mmap_remap_check (fp), 0))
|
H A D | wfileops.c | 130 if (__builtin_expect (fp->_flags & _IO_NO_READS, 0)) 304 if (__builtin_expect (fp->_flags & _IO_NO_READS, 0)) in INTDEF()
|
/haiku/src/system/glue/ |
H A D | crtbegin.c | 44 if (__builtin_expect(__initialized, 0)) in __do_init() 72 if (__builtin_expect(__finalized, 0)) in __do_fini()
|
/haiku/src/system/libroot/posix/glibc/stdlib/ |
H A D | drand48-iter.c | 39 if (__builtin_expect (!buffer->__init, 0))
|
H A D | strtol.c | 260 if (__builtin_expect (group, 0)) 302 if (__builtin_expect (*s == L_('\0'), 0)) 336 if (__builtin_expect (grouping != NULL, 0)) 499 if (__builtin_expect (overflow, 0))
|
/haiku/src/system/libroot/posix/glibc/extensions/ |
H A D | getopt_init.c | 64 && __builtin_expect (strncmp (*ep + 1, cp, len) == 0, 0)) in __getopt_clean_environment()
|
/haiku/src/system/libroot/posix/glibc/intl/ |
H A D | loadinfo.h | 50 # define __builtin_expect(expr, val) (expr) macro
|
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/ |
H A D | nvme_common.h | 71 #define likely(x) __builtin_expect((x),1) 82 #define unlikely(x) __builtin_expect((x),0)
|
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | cdefs.h | 156 #define __predict_true(exp) __builtin_expect((exp), 1) 157 #define __predict_false(exp) __builtin_expect((exp), 0)
|
/haiku/src/system/libroot/posix/musl/internal/ |
H A D | libm.h | 93 #define predict_true(x) __builtin_expect(!!(x), 1) 94 #define predict_false(x) __builtin_expect(x, 0)
|
/haiku/headers/posix/ |
H A D | libio.h | 215 # define _IO_BE(expr, res) __builtin_expect (expr, res)
|
/haiku/src/system/libroot/posix/glibc/regex/ |
H A D | regex_internal.h | 141 # define BE(expr, val) __builtin_expect (expr, val)
|
/haiku/src/system/libroot/posix/glibc/include/ |
H A D | libc-symbols.h | 206 # define __builtin_expect(expr, val) (expr) macro
|