Lines Matching refs:assert
301 assert(a0 != NULL); in a0get()
359 assert(num == 0 || size == 0); in bootstrap_calloc()
383 assert(ind <= narenas_total); in arena_init_locked()
411 assert(ind < narenas_auto); in arena_init_locked()
521 assert(ind < narenas_actual || !init_if_missing); in arena_get_hard()
545 assert(tsd_nominal(tsd) && !*arenas_cache_bypassp); in arena_get_hard()
584 assert(a0get() != NULL); in arena_choose_hard()
859 assert(!opt_zero); in malloc_conf_init()
1100 assert(config_valgrind && in_valgrind); in malloc_conf_init()
1437 assert(usize == isalloc(ret, config_prof)); in JEMALLOC_ATTR()
1454 assert(sa2u(LARGE_MINCLASS, alignment) == LARGE_MINCLASS); in imemalign_prof_sample()
1494 assert(min_alignment != 0); in imemalign()
1529 assert(((uintptr_t)result & (alignment - 1)) == ZU(0)); in imemalign()
1535 assert(usize == isalloc(result, config_prof)); in imemalign()
1541 assert(result == NULL); in imemalign()
1676 assert(usize == isalloc(ret, config_prof)); in JEMALLOC_ATTR()
1733 assert(ptr != NULL); in ifree()
1734 assert(malloc_initialized() || IS_INITIALIZER); in ifree()
1754 assert(ptr != NULL); in isfree()
1755 assert(malloc_initialized() || IS_INITIALIZER); in isfree()
1790 assert(malloc_initialized() || IS_INITIALIZER); in je_realloc()
1822 assert(usize == isalloc(ret, config_prof)); in je_realloc()
1926 assert(*usize != 0); in imallocx_flags_decode_hard()
1952 assert(*usize != 0); in imallocx_flags_decode()
1983 assert(((alignment == 0) ? s2u(LARGE_MINCLASS) : in imallocx_prof_sample()
2023 assert(alignment == 0 || ((uintptr_t)p & (alignment - 1)) == ZU(0)); in imallocx_prof()
2046 assert(alignment == 0 || ((uintptr_t)p & (alignment - 1)) == ZU(0)); in imallocx_no_prof()
2059 assert(size != 0); in JEMALLOC_ATTR()
2073 assert(usize == isalloc(p, config_prof)); in JEMALLOC_ATTR()
2167 assert(ptr != NULL); in je_rallocx()
2168 assert(size != 0); in je_rallocx()
2169 assert(malloc_initialized() || IS_INITIALIZER); in je_rallocx()
2195 assert(usize != 0); in je_rallocx()
2208 assert(alignment == 0 || ((uintptr_t)p & (alignment - 1)) == ZU(0)); in je_rallocx()
2271 assert(usize_max != 0); in ixallocx_prof()
2299 assert(ptr != NULL); in je_xallocx()
2300 assert(size != 0); in je_xallocx()
2301 assert(SIZE_T_MAX - size >= extra); in je_xallocx()
2302 assert(malloc_initialized() || IS_INITIALIZER); in je_xallocx()
2348 assert(malloc_initialized() || IS_INITIALIZER); in JEMALLOC_ATTR()
2365 assert(ptr != NULL); in je_dallocx()
2366 assert(malloc_initialized() || IS_INITIALIZER); in je_dallocx()
2390 assert(usize != 0); in inallocx()
2401 assert(ptr != NULL); in je_sdallocx()
2402 assert(malloc_initialized() || IS_INITIALIZER); in je_sdallocx()
2404 assert(usize == isalloc(ptr, config_prof)); in je_sdallocx()
2424 assert(size != 0); in JEMALLOC_ATTR()
2477 assert(malloc_initialized() || IS_INITIALIZER); in je_malloc_usable_size()
2532 assert(malloc_initialized()); in jemalloc_prefork()
2560 assert(malloc_initialized()); in jemalloc_postfork_parent()
2579 assert(malloc_initialized()); in jemalloc_postfork_child()