Lines Matching refs:unlikely

237 	if (unlikely(opt_utrace)) {					\
285 if (config_fill && unlikely(opt_quarantine)) in malloc_thread_init()
293 if (unlikely(malloc_init_state == malloc_init_uninitialized)) in malloc_init_a0()
302 if (unlikely(!malloc_initialized()) && malloc_init_hard()) in malloc_init()
318 if (unlikely(malloc_init_a0())) in a0ialloc()
356 if (unlikely(size == 0)) in bootstrap_malloc()
368 if (unlikely(num_size == 0)) { in bootstrap_calloc()
380 if (unlikely(ptr == NULL)) in bootstrap_free()
870 if (config_fill && unlikely(in_valgrind)) {
878 if (config_tcache && unlikely(in_valgrind))
1445 if (unlikely((uintptr_t)tctx != (uintptr_t)1U))
1449 if (unlikely(p == NULL)) {
1463 if (slow_path && unlikely(malloc_init()))
1467 if (unlikely(ind >= NSIZES))
1471 config_valgrind && unlikely(in_valgrind))) {
1485 if (unlikely(ret == NULL)) {
1486 if (slow_path && config_xmalloc && unlikely(opt_xmalloc)) {
1555 if (unlikely((uintptr_t)tctx != (uintptr_t)1U))
1559 if (unlikely(p == NULL)) {
1579 if (unlikely(malloc_init())) {
1588 if (unlikely(((alignment - 1) & alignment) != 0
1590 if (config_xmalloc && unlikely(opt_xmalloc)) {
1601 if (unlikely(usize == 0 || usize > HUGE_MAXCLASS)) {
1610 if (unlikely(result == NULL))
1625 if (config_xmalloc && unlikely(opt_xmalloc)) {
1652 if (unlikely((err = imemalign(&ret, alignment, size, 1)) != 0)) {
1687 if (unlikely((uintptr_t)tctx != (uintptr_t)1U))
1691 if (unlikely(p == NULL)) {
1711 if (unlikely(malloc_init())) {
1719 if (unlikely(num_size == 0)) {
1731 } else if (unlikely(((num | size) & (SIZE_T_MAX << (sizeof(size_t) <<
1739 if (unlikely(ind >= NSIZES)) {
1747 if (config_stats || (config_valgrind && unlikely(in_valgrind)))
1753 if (unlikely(ret == NULL)) {
1754 if (config_xmalloc && unlikely(opt_xmalloc)) {
1799 if (unlikely((uintptr_t)tctx != (uintptr_t)1U))
1803 if (unlikely(p == NULL)) {
1833 if (config_valgrind && unlikely(in_valgrind))
1852 if (config_valgrind && unlikely(in_valgrind))
1869 if (unlikely(size == 0)) {
1886 if (config_valgrind && unlikely(in_valgrind))
1891 ret = unlikely(usize == 0 || usize > HUGE_MAXCLASS) ?
1895 unlikely(in_valgrind)))
1907 if (unlikely(ret == NULL)) {
1908 if (config_xmalloc && unlikely(opt_xmalloc)) {
1955 if (unlikely(imemalign(&ret, alignment, size, 1) != 0))
1969 if (unlikely(imemalign(&ret, PAGE, size, 1) != 0))
2023 if (unlikely(*usize == 0 || *usize > HUGE_MAXCLASS))
2036 if (unlikely(*arena == NULL))
2050 if (unlikely(*usize == 0 || *usize > HUGE_MAXCLASS))
2069 if (unlikely(alignment != 0))
2073 if (unlikely(zero))
2108 if (unlikely(imallocx_flags_decode(tsd, size, flags, usize, &alignment,
2119 if (unlikely(p == NULL)) {
2140 if (unlikely(ind >= NSIZES))
2143 unlikely(in_valgrind))) {
2150 if (unlikely(imallocx_flags_decode_hard(tsd, size, flags, usize,
2169 if (unlikely(malloc_init()))
2177 if (unlikely(p == NULL))
2188 if (config_xmalloc && unlikely(opt_xmalloc)) {
2231 if (unlikely((uintptr_t)tctx != (uintptr_t)1U)) {
2238 if (unlikely(p == NULL)) {
2281 if (unlikely((flags & MALLOCX_ARENA_MASK) != 0)) {
2284 if (unlikely(arena == NULL))
2289 if (unlikely((flags & MALLOCX_TCACHE_MASK) != 0)) {
2298 if (config_valgrind && unlikely(in_valgrind))
2303 if (unlikely(usize == 0 || usize > HUGE_MAXCLASS))
2307 if (unlikely(p == NULL))
2312 if (unlikely(p == NULL))
2314 if (config_stats || (config_valgrind && unlikely(in_valgrind)))
2328 if (config_xmalloc && unlikely(opt_xmalloc)) {
2384 if (unlikely(usize_max == 0 || usize_max > HUGE_MAXCLASS)) {
2396 if (unlikely((uintptr_t)tctx != (uintptr_t)1U)) {
2440 if (unlikely(size > HUGE_MAXCLASS)) {
2444 if (unlikely(HUGE_MAXCLASS - size < extra))
2447 if (config_valgrind && unlikely(in_valgrind))
2457 if (unlikely(usize == old_usize))
2498 if (unlikely((flags & MALLOCX_TCACHE_MASK) != 0)) {
2535 if (unlikely((flags & MALLOCX_TCACHE_MASK) != 0)) {
2555 if (unlikely(malloc_init()))
2559 if (unlikely(usize > HUGE_MAXCLASS))
2570 if (unlikely(malloc_init()))
2580 if (unlikely(malloc_init()))
2591 if (unlikely(malloc_init()))