Home
last modified time | relevance | path

Searched refs:assert_ptr_not_null (Results 1 – 25 of 32) sorted by relevance

12

/external/jemalloc/test/unit/
Ddecay.c39 assert_ptr_not_null(decay_ticker, in TEST_BEGIN()
57 assert_ptr_not_null(p, "Unexpected malloc() failure"); in TEST_BEGIN()
69 assert_ptr_not_null(p, "Unexpected calloc() failure"); in TEST_BEGIN()
86 assert_ptr_not_null(p, "Unexpected aligned_alloc() failure"); in TEST_BEGIN()
96 assert_ptr_not_null(p, "Unexpected realloc() failure"); in TEST_BEGIN()
102 assert_ptr_not_null(p, "Unexpected realloc() failure"); in TEST_BEGIN()
128 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
136 assert_ptr_not_null(p, "Unexpected rallocx() failure"); in TEST_BEGIN()
157 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
187 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
[all …]
Dprof_gdump.c39 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
44 assert_ptr_not_null(q, "Unexpected mallocx() failure"); in TEST_BEGIN()
55 assert_ptr_not_null(q, "Unexpected mallocx() failure"); in TEST_BEGIN()
66 assert_ptr_not_null(q, "Unexpected mallocx() failure"); in TEST_BEGIN()
Dquarantine.c18 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in quarantine_clear()
45 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
82 assert_ptr_not_null((void *)s, "Unexpected mallocx() failure"); in TEST_BEGIN()
91 assert_ptr_not_null((void *)s, "Unexpected mallocx() failure"); in TEST_BEGIN()
Dstats.c46 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
90 assert_ptr_not_null(little, "Unexpected mallocx() failure"); in TEST_BEGIN()
92 assert_ptr_not_null(large, "Unexpected mallocx() failure"); in TEST_BEGIN()
94 assert_ptr_not_null(huge, "Unexpected mallocx() failure"); in TEST_BEGIN()
157 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
206 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
252 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
293 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
367 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
412 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
Djunk.c86 assert_ptr_not_null((void *)s, "Unexpected mallocx() failure"); in test_junk()
111 assert_ptr_not_null((void *)s, in test_junk()
185 assert_ptr_not_null(p1, "Unexpected mallocx() failure"); in TEST_BEGIN()
224 assert_ptr_not_null((void *)s, "Unexpected mallocx() failure"); in TEST_BEGIN()
233 assert_ptr_not_null((void *)s, "Unexpected mallocx() failure"); in TEST_BEGIN()
Darena_reset.c105 assert_ptr_not_null(ptrs, "Unexpected malloc() failure"); in TEST_BEGIN()
111 assert_ptr_not_null(ptrs[i], in TEST_BEGIN()
117 assert_ptr_not_null(ptrs[i], in TEST_BEGIN()
123 assert_ptr_not_null(ptrs[i], in TEST_BEGIN()
Dfork.c14 assert_ptr_not_null(p, "Unexpected malloc() failure"); in TEST_BEGIN()
21 assert_ptr_not_null(p, "Unexpected malloc() failure"); in TEST_BEGIN()
Dzero.c17 assert_ptr_not_null((void *)s, "Unexpected mallocx() failure"); in test_zero()
39 assert_ptr_not_null((void *)s, in test_zero()
Dtsd.c45 assert_ptr_not_null(p, "Unexpeced mallocx() failure"); in malloc_tsd_types()
65 assert_ptr_not_null(p, "Unexpected malloc() failure"); in malloc_tsd_externs()
Dmq.c41 assert_ptr_not_null(msg, "mq_get() should never return NULL"); in thd_receiver_start()
57 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in thd_sender_start()
Dprof_reset.c119 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
180 assert_ptr_not_null(*pp, in thd_start()
265 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
Dmallctl.c232 assert_ptr_not_null(p0, "Unexpected mallocx() failure"); in TEST_BEGIN()
234 assert_ptr_not_null(q, "Unexpected mallocx() failure"); in TEST_BEGIN()
242 assert_ptr_not_null(p1, "Unexpected mallocx() failure"); in TEST_BEGIN()
293 assert_ptr_not_null(ps[i], "Unexpected mallocx() failure, i=%u", in TEST_BEGIN()
298 assert_ptr_not_null(qs[i], "Unexpected mallocx() failure, i=%u", in TEST_BEGIN()
307 assert_ptr_not_null(ps[i], "Unexpected mallocx() failure, i=%u", in TEST_BEGIN()
317 assert_ptr_not_null(qs[i], "Unexpected rallocx() failure, i=%u", in TEST_BEGIN()
Da0.c8 assert_ptr_not_null(p, "Unexpected a0malloc() error"); in TEST_BEGIN()
Dlg_chunk.c15 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
Dpages.c10 assert_ptr_not_null(pages, "Unexpected pages_map() error"); in TEST_BEGIN()
Dprof_idump.c40 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
/external/jemalloc/test/integration/
Drallocx.c60 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
66 assert_ptr_not_null(q, in TEST_BEGIN()
77 assert_ptr_not_null(q, in TEST_BEGIN()
125 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
136 assert_ptr_not_null(q, "Unexpected rallocx() error"); in TEST_BEGIN()
167 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
171 assert_ptr_not_null(q, in TEST_BEGIN()
194 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
198 assert_ptr_not_null(q, in TEST_BEGIN()
230 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
Diterate.c31 assert_ptr_not_null(ptr, "malloc() failed for size %zu", sz); in TEST_BEGIN()
61 assert_ptr_not_null(ptr, "malloc() failed for size %zu", sz); in TEST_BEGIN()
88 assert_ptr_not_null(ptr2, "malloc() failed for size %zu", sz); in TEST_BEGIN()
91 assert_ptr_not_null(ptr, "malloc() failed for size %zu", sz); in TEST_BEGIN()
Dxallocx.c32 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
48 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
64 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
158 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
188 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
221 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
257 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
323 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
423 assert_ptr_not_null(p, "Unexpected mallocx() error"); in test_zero()
Dmallocx.c139 assert_ptr_not_null(p, in TEST_BEGIN()
147 assert_ptr_not_null(p, in TEST_BEGIN()
154 assert_ptr_not_null(p, in TEST_BEGIN()
192 assert_ptr_not_null(ps[i], in TEST_BEGIN()
Dchunk.c189 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
210 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
236 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
247 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
264 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
Dthread_arena.c15 assert_ptr_not_null(p, "Error in malloc()"); in thd_start()
51 assert_ptr_not_null(p, "Error in malloc()"); in TEST_BEGIN()
Doverflow.c34 assert_ptr_not_null(p, "Unexpected malloc() OOM"); in TEST_BEGIN()
DMALLOCX_ARENA.c42 assert_ptr_not_null(p, "Unexpected mallocx() error"); in thd_start()
/external/jemalloc/test/include/test/
Dbtalloc.h29 assert_ptr_not_null(p, "Unexpected mallocx() failure"); \

12