• Home
  • Raw
  • Download

Lines Matching refs:unlikely

252 	if (unlikely(opt_utrace)) {					\
300 if (config_fill && unlikely(opt_quarantine)) in malloc_thread_init()
308 if (unlikely(malloc_init_state == malloc_init_uninitialized)) in malloc_init_a0()
317 if (unlikely(!malloc_initialized()) && malloc_init_hard()) in malloc_init()
333 if (unlikely(malloc_init_a0())) in a0ialloc()
378 if (unlikely(size == 0)) in bootstrap_malloc()
390 if (unlikely(num_size == 0)) { in bootstrap_calloc()
402 if (unlikely(ptr == NULL)) in bootstrap_free()
954 if (config_fill && unlikely(in_valgrind)) {
962 if (config_tcache && unlikely(in_valgrind))
1204 unlikely(in_valgrind)) {
1227 unlikely(in_valgrind)) {
1563 if (unlikely((uintptr_t)tctx != (uintptr_t)1U))
1567 if (unlikely(p == NULL)) {
1589 if (slow_path && unlikely(malloc_init())) {
1599 if (unlikely(ind >= NSIZES))
1603 config_valgrind && unlikely(in_valgrind))) {
1621 if (unlikely(ret == NULL)) {
1622 if (slow_path && config_xmalloc && unlikely(opt_xmalloc)) {
1689 if (unlikely((uintptr_t)tctx != (uintptr_t)1U))
1693 if (unlikely(p == NULL)) {
1713 if (unlikely(malloc_init())) {
1724 if (unlikely(((alignment - 1) & alignment) != 0
1726 if (config_xmalloc && unlikely(opt_xmalloc)) {
1737 if (unlikely(usize == 0 || usize > HUGE_MAXCLASS)) {
1746 if (unlikely(result == NULL))
1764 if (config_xmalloc && unlikely(opt_xmalloc)) {
1793 if (unlikely((err = imemalign(&ret, alignment, size, 1)) != 0)) {
1812 if (unlikely(num_size == 0)) {
1822 } else if (unlikely(((num | size) & (SIZE_T_MAX << (sizeof(size_t) <<
1868 if (unlikely((uintptr_t)tctx != (uintptr_t)1U))
1872 if (unlikely(p == NULL)) {
1904 if (config_valgrind && unlikely(in_valgrind))
1925 if (config_valgrind && unlikely(in_valgrind))
1942 if (unlikely(size == 0)) {
1965 if (config_valgrind && unlikely(in_valgrind)) {
1972 ret = unlikely(usize == 0 || usize > HUGE_MAXCLASS) ?
1976 unlikely(in_valgrind)))
1990 if (unlikely(ret == NULL)) {
1991 if (config_xmalloc && unlikely(opt_xmalloc)) {
2044 if (unlikely(imemalign(&ret, alignment, size, 1) != 0))
2057 if (unlikely(imemalign(&ret, PAGE, size, 1) != 0))
2133 if (unlikely(*usize == 0 || *usize > HUGE_MAXCLASS))
2146 if (unlikely(*arena == NULL))
2159 if (unlikely(alignment != 0))
2199 if (unlikely(imallocx_flags_decode(tsd, size, flags, usize, &alignment,
2211 if (unlikely(p == NULL)) {
2231 if (unlikely(imallocx_flags_decode(tsd, size, flags, usize, &alignment,
2247 if (slow_path && unlikely(malloc_init())) {
2258 if (unlikely(ind >= NSIZES))
2261 config_valgrind && unlikely(in_valgrind))) {
2340 if (unlikely((uintptr_t)tctx != (uintptr_t)1U)) {
2347 if (unlikely(p == NULL)) {
2391 if (unlikely((flags & MALLOCX_ARENA_MASK) != 0)) {
2394 if (unlikely(arena == NULL))
2399 if (unlikely((flags & MALLOCX_TCACHE_MASK) != 0)) {
2408 if (config_valgrind && unlikely(in_valgrind))
2413 if (unlikely(usize == 0 || usize > HUGE_MAXCLASS))
2417 if (unlikely(p == NULL))
2422 if (unlikely(p == NULL))
2424 if (config_stats || (config_valgrind && unlikely(in_valgrind)))
2439 if (config_xmalloc && unlikely(opt_xmalloc)) {
2496 if (unlikely(usize_max == 0 || usize_max > HUGE_MAXCLASS)) {
2508 if (unlikely((uintptr_t)tctx != (uintptr_t)1U)) {
2553 if (unlikely(size > HUGE_MAXCLASS)) {
2557 if (unlikely(HUGE_MAXCLASS - size < extra))
2560 if (config_valgrind && unlikely(in_valgrind))
2570 if (unlikely(usize == old_usize))
2618 if (unlikely((flags & MALLOCX_TCACHE_MASK) != 0)) {
2663 if (unlikely((flags & MALLOCX_TCACHE_MASK) != 0)) {
2688 if (unlikely(malloc_init()))
2695 if (unlikely(usize > HUGE_MAXCLASS))
2709 if (unlikely(malloc_init()))
2725 if (unlikely(malloc_init()))
2742 if (unlikely(malloc_init()))