Home
last modified time | relevance | path

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

/f-stack/app/redis-5.0.5/deps/jemalloc/test/include/test/
H A Dextent_hooks.h89 assert_ptr_eq(extent_hooks, &hooks, in extent_alloc_hook()
91 assert_ptr_eq(extent_hooks->alloc, extent_alloc_hook, in extent_alloc_hook()
111 assert_ptr_eq(extent_hooks, &hooks, in extent_dalloc_hook()
130 assert_ptr_eq(extent_hooks, &hooks, in extent_destroy_hook()
150 assert_ptr_eq(extent_hooks, &hooks, in extent_commit_hook()
172 assert_ptr_eq(extent_hooks, &hooks, in extent_decommit_hook()
194 assert_ptr_eq(extent_hooks, &hooks, in extent_purge_lazy_hook()
217 assert_ptr_eq(extent_hooks, &hooks, in extent_purge_forced_hook()
241 assert_ptr_eq(extent_hooks, &hooks, in extent_split_hook()
243 assert_ptr_eq(extent_hooks->split, extent_split_hook, in extent_split_hook()
[all …]
H A Dtest.h20 #define assert_ptr_eq(a, b, ...) assert_cmp(void *, a, b, ==, \ macro
/f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/
H A Dckh.c65 assert_ptr_eq((void *)ks, (void *)k.s, "Key mismatch, i=%zu", in TEST_BEGIN()
67 assert_ptr_eq((void *)vs, (void *)v.s, "Value mismatch, i=%zu", in TEST_BEGIN()
91 assert_ptr_eq((void *)ks, (void *)k.s, "Key mismatch, i=%zu", in TEST_BEGIN()
93 assert_ptr_eq((void *)vs, (void *)v.s, "Value mismatch, i=%zu", in TEST_BEGIN()
132 assert_ptr_eq(p[j], q, "Key pointer mismatch"); in TEST_BEGIN()
133 assert_ptr_eq(p[j], r, "Value pointer mismatch"); in TEST_BEGIN()
145 assert_ptr_eq(p[j], q, "Key pointer mismatch"); in TEST_BEGIN()
146 assert_ptr_eq(p[j], r, "Value pointer mismatch"); in TEST_BEGIN()
162 assert_ptr_eq(q, r, "Key and val not equal"); in TEST_BEGIN()
188 assert_ptr_eq(p[i], q, "Key pointer mismatch"); in TEST_BEGIN()
[all …]
H A Dbase.c147 assert_ptr_eq(p, in TEST_BEGIN()
153 assert_ptr_eq((void *)((uintptr_t)p + align_ceil), q, in TEST_BEGIN()
159 assert_ptr_eq((void *)((uintptr_t)q + align_ceil), r, in TEST_BEGIN()
185 assert_ptr_eq(r, r_exp, "Expected allocation from first block"); in TEST_BEGIN()
203 assert_ptr_eq(p, in TEST_BEGIN()
H A Drtree.c106 assert_ptr_eq(rtree_extent_read(tsdn, rtree, &rtree_ctx, PAGE, true), in TEST_BEGIN()
113 assert_ptr_eq(rtree_extent_read(tsdn, rtree, &rtree_ctx, in TEST_BEGIN()
141 assert_ptr_eq(rtree_extent_read(tsdn, rtree, &rtree_ctx, in TEST_BEGIN()
181 assert_ptr_eq(rtree_extent_read(tsdn, rtree, &rtree_ctx, in TEST_BEGIN()
186 assert_ptr_eq(rtree_extent_read(tsdn, rtree, &rtree_ctx, in TEST_BEGIN()
H A Dmq.c23 assert_ptr_eq(mq_tryget(&mq), &msg, "mq_tryget() should return msg"); in mq_gen()
26 assert_ptr_eq(mq_get(&mq), &msg, "mq_get() should return msg"); in mq_gen()
H A Dph.c77 assert_ptr_eq(phn_next_get(node_t, link, phn_prev_get(node_t, in heap_print()
101 assert_ptr_eq((void *)phn_prev_get(node_t, link, leftmost_child), in node_validate()
107 assert_ptr_eq(phn_next_get(node_t, link, phn_prev_get(node_t, in node_validate()
128 assert_ptr_eq(phn_next_get(node_t, link, phn_prev_get(node_t, in heap_validate()
H A Drb.c129 assert_ptr_eq(search_node, node, in tree_iterate_cb()
134 assert_ptr_eq(search_node, node, in tree_iterate_cb()
139 assert_ptr_eq(search_node, node, in tree_iterate_cb()
H A Dqr.c52 assert_ptr_eq(t, &entries[i], in test_independent_entries()
58 assert_ptr_eq(t, &entries[i], in test_independent_entries()
H A Darena_reset.c274 assert_ptr_eq(extent_hooks, &hooks, in extent_dalloc_unmap()
276 assert_ptr_eq(extent_hooks->dalloc, extent_dalloc_unmap, in extent_dalloc_unmap()
H A Dpack.c151 assert_ptr_eq(p, ptrs[(i * nregs_per_run) + j], in TEST_BEGIN()
H A Dmallctl.c232 assert_ptr_eq(p0, p1, "Expected tcache to allocate cached region"); in TEST_BEGIN()
295 assert_ptr_eq(ps[i], p0, in TEST_BEGIN()
305 assert_ptr_eq(qs[i], q0, in TEST_BEGIN()
H A Datomic.c9 #define assert_p_eq assert_ptr_eq
/f-stack/app/redis-5.0.5/deps/jemalloc/test/integration/
H A Dextent.c189 assert_ptr_eq(old_hooks, default_hooks, "Unexpected extent_hooks error"); in test_manual_hook_body()
190 assert_ptr_eq(old_hooks->alloc, default_hooks->alloc, in test_manual_hook_body()
192 assert_ptr_eq(old_hooks->dalloc, default_hooks->dalloc, in test_manual_hook_body()
194 assert_ptr_eq(old_hooks->commit, default_hooks->commit, in test_manual_hook_body()
196 assert_ptr_eq(old_hooks->decommit, default_hooks->decommit, in test_manual_hook_body()
198 assert_ptr_eq(old_hooks->purge_lazy, default_hooks->purge_lazy, in test_manual_hook_body()
200 assert_ptr_eq(old_hooks->purge_forced, default_hooks->purge_forced, in test_manual_hook_body()
202 assert_ptr_eq(old_hooks->split, default_hooks->split, in test_manual_hook_body()
204 assert_ptr_eq(old_hooks->merge, default_hooks->merge, in test_manual_hook_body()
H A Dallocated.c70 assert_ptr_eq(ap0, ap1, in thd_start()
87 assert_ptr_eq(dp0, dp1, in thd_start()