Home
last modified time | relevance | path

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

12

/external/jemalloc_new/test/unit/
Dbase.c47 assert_ptr_not_null(base_alloc(tsdn, base, 42, 1), in TEST_BEGIN()
77 assert_ptr_not_null(base, "Unexpected base_new() failure"); in TEST_BEGIN()
90 assert_ptr_not_null(base_alloc(tsdn, base, 42, 1), in TEST_BEGIN()
123 assert_ptr_not_null(base, "Unexpected base_new() failure"); in TEST_BEGIN()
145 assert_ptr_not_null(p, in TEST_BEGIN()
151 assert_ptr_not_null(q, in TEST_BEGIN()
157 assert_ptr_not_null(r, in TEST_BEGIN()
175 assert_ptr_not_null(p, "Unexpected base_alloc() failure"); in TEST_BEGIN()
180 assert_ptr_not_null(q, "Unexpected base_alloc() failure"); in TEST_BEGIN()
184 assert_ptr_not_null(r, "Unexpected base_alloc() failure"); in TEST_BEGIN()
[all …]
Dtsd.c36 assert_ptr_not_null(p, "Unexpeced mallocx() failure"); in data_cleanup()
51 assert_ptr_not_null(p, "Unexpected malloc() failure"); in thd_start()
93 assert_ptr_not_null(p, "Unexpected malloc() failure"); in thd_start_reincarnated()
96 assert_ptr_not_null(tsd_arena_get(tsd), in thd_start_reincarnated()
108 assert_ptr_not_null(p, "Unexpected malloc() failure"); in thd_start_reincarnated()
Dprof_gdump.c33 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
38 assert_ptr_not_null(q, "Unexpected mallocx() failure"); in TEST_BEGIN()
49 assert_ptr_not_null(q, "Unexpected mallocx() failure"); in TEST_BEGIN()
60 assert_ptr_not_null(q, "Unexpected mallocx() failure"); in TEST_BEGIN()
Ddecay.c170 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in do_mallocx()
203 assert_ptr_not_null(decay_ticker, in TEST_BEGIN()
215 assert_ptr_not_null(p, "Unexpected malloc() failure"); in TEST_BEGIN()
227 assert_ptr_not_null(p, "Unexpected calloc() failure"); in TEST_BEGIN()
244 assert_ptr_not_null(p, "Unexpected aligned_alloc() failure"); in TEST_BEGIN()
254 assert_ptr_not_null(p, "Unexpected realloc() failure"); in TEST_BEGIN()
260 assert_ptr_not_null(p, "Unexpected realloc() failure"); in TEST_BEGIN()
285 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
293 assert_ptr_not_null(p, "Unexpected rallocx() failure"); in TEST_BEGIN()
314 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
[all …]
Dstats.c37 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
78 assert_ptr_not_null(little, "Unexpected mallocx() failure"); in TEST_BEGIN()
80 assert_ptr_not_null(large, "Unexpected mallocx() failure"); in TEST_BEGIN()
152 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
195 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
249 assert_ptr_not_null(p, "Unexpected malloc() failure"); in TEST_BEGIN()
328 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
Dzero.c11 assert_ptr_not_null((void *)s, "Unexpected mallocx() failure"); in test_zero()
33 assert_ptr_not_null((void *)s, in test_zero()
Dprof_tctx.c17 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
27 assert_ptr_not_null(p, "Unexpected rmallocx() failure"); in TEST_BEGIN()
Dfork.c50 assert_ptr_not_null(p, "Unexpected malloc() failure"); in TEST_BEGIN()
57 assert_ptr_not_null(p, "Unexpected malloc() failure"); in TEST_BEGIN()
Dmq.c39 assert_ptr_not_null(msg, "mq_get() should never return NULL"); in thd_receiver_start()
54 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in thd_sender_start()
Dprof_reset.c105 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
165 assert_ptr_not_null(*pp, in thd_start()
249 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
Dmallctl.c221 assert_ptr_not_null(p0, "Unexpected mallocx() failure"); in TEST_BEGIN()
223 assert_ptr_not_null(q, "Unexpected mallocx() failure"); in TEST_BEGIN()
231 assert_ptr_not_null(p1, "Unexpected mallocx() failure"); in TEST_BEGIN()
279 assert_ptr_not_null(ps[i], "Unexpected mallocx() failure, i=%u", in TEST_BEGIN()
284 assert_ptr_not_null(qs[i], "Unexpected mallocx() failure, i=%u", in TEST_BEGIN()
293 assert_ptr_not_null(ps[i], "Unexpected mallocx() failure, i=%u", in TEST_BEGIN()
303 assert_ptr_not_null(qs[i], "Unexpected rallocx() failure, i=%u", in TEST_BEGIN()
749 assert_ptr_not_null(ptr, "Unexpected mallocx() failure"); in TEST_BEGIN()
Djunk.c71 assert_ptr_not_null((void *)s, "Unexpected mallocx() failure"); in test_junk()
97 assert_ptr_not_null((void *)t, in test_junk()
Drtree.c23 assert_ptr_not_null(node, "Unexpected calloc() failure"); in rtree_node_alloc_intercept()
50 assert_ptr_not_null(leaf, "Unexpected calloc() failure"); in rtree_leaf_alloc_intercept()
178 assert_ptr_not_null(elm, in TEST_BEGIN()
Dbitmap.c173 assert_ptr_not_null(bitmap, "Unexpected malloc() failure"); in test_bitmap_init_body()
210 assert_ptr_not_null(bitmap, "Unexpected malloc() failure"); in test_bitmap_set_body()
241 assert_ptr_not_null(bitmap, "Unexpected malloc() failure"); in test_bitmap_unset_body()
278 assert_ptr_not_null(bitmap, "Unexpected malloc() failure"); in test_bitmap_xfu_body()
Darena_reset.c111 assert_ptr_not_null(*ptrs, "Unexpected malloc() failure"); in do_arena_reset_pre()
117 assert_ptr_not_null((*ptrs)[i], in do_arena_reset_pre()
123 assert_ptr_not_null((*ptrs)[i], in do_arena_reset_pre()
Da0.c7 assert_ptr_not_null(p, "Unexpected a0malloc() error"); in TEST_BEGIN()
Dprof_idump.c32 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
Dpages.c11 assert_ptr_not_null(pages, "Unexpected pages_map() error"); in TEST_BEGIN()
/external/jemalloc_new/test/integration/
Drallocx.c53 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
59 assert_ptr_not_null(q, in TEST_BEGIN()
70 assert_ptr_not_null(q, in TEST_BEGIN()
116 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
127 assert_ptr_not_null(q, "Unexpected rallocx() error"); in TEST_BEGIN()
157 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
161 assert_ptr_not_null(q, in TEST_BEGIN()
183 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
187 assert_ptr_not_null(q, in TEST_BEGIN()
218 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
Dxallocx.c26 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
41 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
56 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
125 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
154 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
186 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
220 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
232 assert_ptr_not_null(p, "Unexpected rallocx() failure"); in TEST_BEGIN()
266 assert_ptr_not_null(p, "Unexpected rallocx() failure"); in TEST_BEGIN()
323 assert_ptr_not_null(p, "Unexpected mallocx() error"); in test_zero()
[all …]
Dmallocx.c126 assert_ptr_not_null(p, in TEST_BEGIN()
134 assert_ptr_not_null(p, in TEST_BEGIN()
141 assert_ptr_not_null(p, in TEST_BEGIN()
187 assert_ptr_not_null(ps[i], in TEST_BEGIN()
Dthread_arena.c14 assert_ptr_not_null(p, "Error in malloc()"); in thd_start()
55 assert_ptr_not_null(p, "Error in malloc()"); in TEST_BEGIN()
Dextent.c47 assert_ptr_not_null(p, "Unexpected mallocx() error"); in test_extent_body()
71 assert_ptr_not_null(p, "Unexpected mallocx() error"); in test_extent_body()
97 assert_ptr_not_null(p, "Unexpected mallocx() error"); in test_extent_body()
/external/jemalloc_new/test/integration/cpp/
Dbasic.cpp6 assert_ptr_not_null(foo, "Unexpected new[] failure"); in TEST_BEGIN()
13 assert_ptr_not_null(bar, "Unexpected new failure"); in TEST_BEGIN()
/external/jemalloc_new/test/include/test/
Dbtalloc.h28 assert_ptr_not_null(p, "Unexpected mallocx() failure"); \

12