Home
last modified time | relevance | path

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

/external/jemalloc/test/unit/
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 …]
Drtree.c44 assert_ptr_eq(rtree_get(&rtree, 0, true), &node_a, in TEST_BEGIN()
49 assert_ptr_eq(rtree_get(&rtree, ~((uintptr_t)0), true), &node_b, in TEST_BEGIN()
74 assert_ptr_eq(rtree_get(&rtree, keys[k], true), in TEST_BEGIN()
115 assert_ptr_eq(rtree_get(&rtree, keys[j], true), &node, in TEST_BEGIN()
119 assert_ptr_eq(rtree_get(&rtree, keys[j], true), &node, in TEST_BEGIN()
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()
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()
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()
Djunk.c191 assert_ptr_eq(p1, p2, "Unexpected move during shrink"); in TEST_BEGIN()
195 assert_ptr_eq(most_recently_trimmed, p1, in TEST_BEGIN()
Dqr.c52 assert_ptr_eq(t, &entries[i], in test_independent_entries()
58 assert_ptr_eq(t, &entries[i], in test_independent_entries()
Dmallctl.c243 assert_ptr_eq(p0, p1, "Expected tcache to allocate cached region"); in TEST_BEGIN()
309 assert_ptr_eq(ps[i], p0, in TEST_BEGIN()
319 assert_ptr_eq(qs[i], q0, in TEST_BEGIN()
Dpack.c189 assert_ptr_eq(p, ptrs[(i * nregs_per_run) + j], in TEST_BEGIN()
/external/jemalloc/test/integration/
Dchunk.c272 assert_ptr_eq(old_hooks.alloc, orig_hooks.alloc, in TEST_BEGIN()
274 assert_ptr_eq(old_hooks.dalloc, orig_hooks.dalloc, in TEST_BEGIN()
276 assert_ptr_eq(old_hooks.commit, orig_hooks.commit, in TEST_BEGIN()
278 assert_ptr_eq(old_hooks.decommit, orig_hooks.decommit, in TEST_BEGIN()
280 assert_ptr_eq(old_hooks.purge, orig_hooks.purge, in TEST_BEGIN()
282 assert_ptr_eq(old_hooks.split, orig_hooks.split, in TEST_BEGIN()
284 assert_ptr_eq(old_hooks.merge, orig_hooks.merge, in TEST_BEGIN()
Dallocated.c67 assert_ptr_eq(ap0, ap1, in thd_start()
84 assert_ptr_eq(dp0, dp1, in thd_start()
/external/jemalloc/test/include/test/
Dtest.h20 #define assert_ptr_eq(a, b, ...) assert_cmp(void *, a, b, ==, \ macro