Searched refs:__builtin_expect (Results 1 - 24 of 24) sorted by relevance

/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dtmpnam.c42 if (__builtin_expect(__path_search(tmpbuf, L_tmpnam, NULL, NULL, 0), 0))
45 if (__builtin_expect(__gen_tempname(tmpbuf, __GT_NOCREATE), 0))
H A Dtempname.c110 if (__builtin_expect (value == UINT64_C (0), 0)) \
H A Dvfprintf.c1083 if (__builtin_expect (string_malloced, 0)) \
1254 if (__builtin_expect (string_malloced, 0)) \
1594 if (__builtin_expect (workstart != NULL, 0))
1893 if (__builtin_expect (workstart != NULL, 0))
1905 if (__builtin_expect (workstart != NULL, 0))
/haiku/src/system/libroot/posix/glibc/libio/
H A Dfiledoalloc.c98 if (__builtin_expect (_IO_cleanup_registration_needed != NULL, 0))
103 if (fp->_fileno >= 0 && __builtin_expect (_IO_SYSSTAT (fp, &st), 0) >= 0)
H A Diogetline.c66 if (__builtin_expect (fp->_mode, -1) == 0)
H A Diogetwline.c69 if (__builtin_expect (fp->_mode, 1) == 0)
H A Dfileops.c720 if (__builtin_expect (mmap_remap_check (fp), 0))
1494 if (__builtin_expect (_IO_in_backup (fp), 0))
1511 if (__builtin_expect (mmap_remap_check (fp), 0))
H A Diofwide.c109 if (__builtin_expect (&_IO_stdin_used == NULL, 0)
H A Dlibio.h492 (__builtin_expect (&_IO_stdin_used == NULL, 0))
H A Dwfileops.c130 if (__builtin_expect (fp->_flags & _IO_NO_READS, 0))
304 if (__builtin_expect (fp->_flags & _IO_NO_READS, 0))
/haiku/src/system/libroot/posix/glibc/stdlib/
H A Ddrand48-iter.c39 if (__builtin_expect (!buffer->__init, 0))
H A Dstrtol.c260 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/glue/
H A Dcrtbegin.c44 if (__builtin_expect(__initialized, 0))
72 if (__builtin_expect(__finalized, 0))
/haiku/src/system/libroot/posix/glibc/iconv/
H A Dskeleton.c343 else if (__builtin_expect (strcmp (step->__to_name, CHARSET_NAME), 0) == 0)
412 if (__builtin_expect (do_flush, 0))
463 if (__builtin_expect (outerr != outbuf, 0))
506 unsigned char *outbuf = (__builtin_expect (outbufstart == NULL, 1)
576 if (__builtin_expect (status, __GCONV_OK) != __GCONV_OK)
606 if (__builtin_expect (!unaligned, 1))
637 if (__builtin_expect (outbufstart != NULL, 0))
655 if (__builtin_expect (data->__flags & __GCONV_IS_LAST, 0))
668 if (__builtin_expect (outbuf > outstart, 1))
679 if (__builtin_expect (outer
[all...]
H A Dloop.c274 && __builtin_expect (inptr + MIN_NEEDED_INPUT > inend, 0))
282 && __builtin_expect (outptr + MIN_NEEDED_OUTPUT > outend, 0))
284 && __builtin_expect (outptr >= outend, 0)))
362 if (__builtin_expect (inptr + (MIN_NEEDED_INPUT - inlen) > inend, 0))
405 if (__builtin_expect (inptr != bytebuf, 1))
H A Dgconv_simple.c55 if (__builtin_expect(*inptr > '\x7f', 0)) { \
88 if (__builtin_expect(*((const uint32_t*)inptr) > 0x7f, 0)) { \
/haiku/src/system/libroot/posix/glibc/extensions/
H A Dgetopt_init.c64 && __builtin_expect (strncmp (*ep + 1, cp, len) == 0, 0))
/haiku/src/system/libroot/posix/glibc/intl/
H A Dloadinfo.h50 # define __builtin_expect(expr, val) (expr) macro
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dcdefs.h156 #define __predict_true(exp) __builtin_expect((exp), 1)
157 #define __predict_false(exp) __builtin_expect((exp), 0)
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/
H A Dnvme_common.h71 #define likely(x) __builtin_expect((x),1)
82 #define unlikely(x) __builtin_expect((x),0)
/haiku/src/system/libroot/posix/musl/internal/
H A Dlibm.h93 #define predict_true(x) __builtin_expect(!!(x), 1)
94 #define predict_false(x) __builtin_expect(x, 0)
/haiku/headers/posix/
H A Dlibio.h215 # define _IO_BE(expr, res) __builtin_expect (expr, res)
/haiku/src/system/libroot/posix/glibc/regex/
H A Dregex_internal.h99 # define BE(expr, val) __builtin_expect (expr, val)
/haiku/src/system/libroot/posix/glibc/include/
H A Dlibc-symbols.h204 /* Prepare for the case that `__builtin_expect' is not available. */
206 # define __builtin_expect(expr, val) (expr) macro

Completed in 211 milliseconds