Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/jemalloc_new/test/unit/
H A 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 …]
H A Ddecay.c170 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in do_mallocx()
204 assert_ptr_not_null(decay_ticker, in TEST_BEGIN()
216 assert_ptr_not_null(p, "Unexpected malloc() failure"); in TEST_BEGIN()
228 assert_ptr_not_null(p, "Unexpected calloc() failure"); in TEST_BEGIN()
245 assert_ptr_not_null(p, "Unexpected aligned_alloc() failure"); in TEST_BEGIN()
255 assert_ptr_not_null(p, "Unexpected realloc() failure"); in TEST_BEGIN()
261 assert_ptr_not_null(p, "Unexpected realloc() failure"); in TEST_BEGIN()
286 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
294 assert_ptr_not_null(p, "Unexpected rallocx() failure"); in TEST_BEGIN()
315 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
[all …]
H A 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()
H A 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()
250 assert_ptr_not_null(p, "Unexpected malloc() failure"); in TEST_BEGIN()
329 assert_ptr_not_null(p, "Unexpected mallocx() failure"); in TEST_BEGIN()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dzero.c11 assert_ptr_not_null((void *)s, "Unexpected mallocx() failure"); in test_zero()
33 assert_ptr_not_null((void *)s, in test_zero()
H A 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()
H A 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()
H A 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()
H A Djunk.c71 assert_ptr_not_null((void *)s, "Unexpected mallocx() failure"); in test_junk()
97 assert_ptr_not_null((void *)t, in test_junk()
H A Dph.c217 assert_ptr_not_null(heap_any(&heap), in TEST_BEGIN()
220 assert_ptr_not_null(heap_first(&heap), in TEST_BEGIN()
H A Drb.c284 assert_ptr_not_null(tree_first(&tree), in TEST_BEGIN()
286 assert_ptr_not_null(tree_last(&tree), in TEST_BEGIN()
H A Da0.c7 assert_ptr_not_null(p, "Unexpected a0malloc() error"); in TEST_BEGIN()
/aosp_15_r20/external/jemalloc_new/test/integration/
H A 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 …]
H A 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()
H A 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()
H A 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()
H A 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()
/aosp_15_r20/external/jemalloc_new/test/integration/cpp/
H A 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()
/aosp_15_r20/external/jemalloc_new/test/include/test/
H A Dbtalloc.h28 assert_ptr_not_null(p, "Unexpected mallocx() failure"); \

12