Home
last modified time | relevance | path

Searched refs:assert_ptr_eq (Results 1 – 14 of 14) sorted by relevance

/third_party/ulib/jemalloc/test/include/test/
A Dextent_hooks.h84 assert_ptr_eq(extent_hooks, &hooks, in extent_alloc_hook()
86 assert_ptr_eq(extent_hooks->alloc, extent_alloc_hook, in extent_alloc_hook()
106 assert_ptr_eq(extent_hooks, &hooks, in extent_dalloc_hook()
127 assert_ptr_eq(extent_hooks, &hooks, in extent_commit_hook()
149 assert_ptr_eq(extent_hooks, &hooks, in extent_decommit_hook()
171 assert_ptr_eq(extent_hooks, &hooks, in extent_purge_lazy_hook()
194 assert_ptr_eq(extent_hooks, &hooks, in extent_purge_forced_hook()
218 assert_ptr_eq(extent_hooks, &hooks, in extent_split_hook()
220 assert_ptr_eq(extent_hooks->split, extent_split_hook, in extent_split_hook()
242 assert_ptr_eq(extent_hooks, &hooks, in extent_merge_hook()
[all …]
A Dtest.h20 #define assert_ptr_eq(a, b, ...) assert_cmp(void *, a, b, ==, \ macro
/third_party/ulib/jemalloc/test/integration/
A Dextent.c138 assert_ptr_eq(old_hooks, default_hooks, "Unexpected extent_hooks error"); in TEST_BEGIN()
139 assert_ptr_eq(old_hooks->alloc, default_hooks->alloc, in TEST_BEGIN()
141 assert_ptr_eq(old_hooks->dalloc, default_hooks->dalloc, in TEST_BEGIN()
143 assert_ptr_eq(old_hooks->commit, default_hooks->commit, in TEST_BEGIN()
145 assert_ptr_eq(old_hooks->decommit, default_hooks->decommit, in TEST_BEGIN()
147 assert_ptr_eq(old_hooks->purge_lazy, default_hooks->purge_lazy, in TEST_BEGIN()
149 assert_ptr_eq(old_hooks->purge_forced, default_hooks->purge_forced, in TEST_BEGIN()
151 assert_ptr_eq(old_hooks->split, default_hooks->split, in TEST_BEGIN()
153 assert_ptr_eq(old_hooks->merge, default_hooks->merge, in TEST_BEGIN()
A Dallocated.c67 assert_ptr_eq(ap0, ap1, in thd_start()
84 assert_ptr_eq(dp0, dp1, in thd_start()
/third_party/ulib/jemalloc/test/unit/
A Dckh.c67 assert_ptr_eq((void *)ks, (void *)k.s, "Key mismatch, i=%zu", in TEST_BEGIN()
69 assert_ptr_eq((void *)vs, (void *)v.s, "Value mismatch, i=%zu", in TEST_BEGIN()
93 assert_ptr_eq((void *)ks, (void *)k.s, "Key mismatch, i=%zu", in TEST_BEGIN()
95 assert_ptr_eq((void *)vs, (void *)v.s, "Value mismatch, i=%zu", in TEST_BEGIN()
135 assert_ptr_eq(p[j], q, "Key pointer mismatch"); in TEST_BEGIN()
136 assert_ptr_eq(p[j], r, "Value pointer mismatch"); in TEST_BEGIN()
148 assert_ptr_eq(p[j], q, "Key pointer mismatch"); in TEST_BEGIN()
149 assert_ptr_eq(p[j], r, "Value pointer mismatch"); in TEST_BEGIN()
165 assert_ptr_eq(q, r, "Key and val not equal"); in TEST_BEGIN()
189 assert_ptr_eq(p[i], q, "Key pointer mismatch"); in TEST_BEGIN()
[all …]
A Dbase.c137 assert_ptr_eq(p, in TEST_BEGIN()
143 assert_ptr_eq((void *)((uintptr_t)p + align_ceil), q, in TEST_BEGIN()
149 assert_ptr_eq((void *)((uintptr_t)q + align_ceil), r, in TEST_BEGIN()
175 assert_ptr_eq(r, r_exp, "Expected allocation from first block"); in TEST_BEGIN()
193 assert_ptr_eq(p, in TEST_BEGIN()
A Dmq.c24 assert_ptr_eq(mq_tryget(&mq), &msg, "mq_tryget() should return msg"); in mq_gen()
27 assert_ptr_eq(mq_get(&mq), &msg, "mq_get() should return msg"); in mq_gen()
A Drtree.c159 assert_ptr_eq(rtree_read(tsdn, &rtree, &rtree_ctx, 0, true), in TEST_BEGIN()
166 assert_ptr_eq(rtree_read(tsdn, &rtree, &rtree_ctx, in TEST_BEGIN()
199 assert_ptr_eq(rtree_read(tsdn, &rtree, in TEST_BEGIN()
250 assert_ptr_eq(rtree_read(tsdn, &rtree, &rtree_ctx, in TEST_BEGIN()
255 assert_ptr_eq(rtree_read(tsdn, &rtree, &rtree_ctx, in TEST_BEGIN()
A Dph.c75 assert_ptr_eq(phn_next_get(node_t, link, phn_prev_get(node_t, in heap_print()
99 assert_ptr_eq((void *)phn_prev_get(node_t, link, leftmost_child), in node_validate()
105 assert_ptr_eq(phn_next_get(node_t, link, phn_prev_get(node_t, in node_validate()
126 assert_ptr_eq(phn_next_get(node_t, link, phn_prev_get(node_t, in heap_validate()
A Drb.c124 assert_ptr_eq(search_node, node, in tree_iterate_cb()
129 assert_ptr_eq(search_node, node, in tree_iterate_cb()
134 assert_ptr_eq(search_node, node, in tree_iterate_cb()
A Darena_reset.c268 assert_ptr_eq(extent_hooks, &hooks, in extent_dalloc_unmap()
270 assert_ptr_eq(extent_hooks->dalloc, extent_dalloc_unmap, in extent_dalloc_unmap()
A Dqr.c52 assert_ptr_eq(t, &entries[i], in test_independent_entries()
58 assert_ptr_eq(t, &entries[i], in test_independent_entries()
A Dpack.c150 assert_ptr_eq(p, ptrs[(i * nregs_per_run) + j], in TEST_BEGIN()
A Dmallctl.c236 assert_ptr_eq(p0, p1, "Expected tcache to allocate cached region"); in TEST_BEGIN()
302 assert_ptr_eq(ps[i], p0, in TEST_BEGIN()
312 assert_ptr_eq(qs[i], q0, in TEST_BEGIN()

Completed in 647 milliseconds