Home
last modified time | relevance | path

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

/external/jemalloc/test/unit/
Dticker.c13 assert_u_eq(ticker_read(&ticker), NTICKS - j, in TEST_BEGIN()
36 assert_u_eq(ticker_read(&ticker), NTICKS, "Unexpected ticker value"); in TEST_BEGIN()
38 assert_u_eq(ticker_read(&ticker), 0, "Unexpected ticker value"); in TEST_BEGIN()
40 assert_u_eq(ticker_read(&ticker), NTICKS, "Unexpected ticker value"); in TEST_BEGIN()
43 assert_u_eq(ticker_read(&ticker), NTICKS, "Unexpected ticker value"); in TEST_BEGIN()
55 assert_u_eq(ticker_read(&tb), NTICKS, "Unexpected ticker value"); in TEST_BEGIN()
57 assert_u_eq(ticker_read(&tb), NTICKS, "Unexpected ticker value"); in TEST_BEGIN()
61 assert_u_eq(ticker_read(&tb), NTICKS - 1, "Unexpected ticker value"); in TEST_BEGIN()
63 assert_u_eq(ticker_read(&tb), NTICKS, "Unexpected ticker value"); in TEST_BEGIN()
Dsize_classes.c44 assert_u_eq(index, size2index(size_class), in TEST_BEGIN()
55 assert_u_eq(index+1, size2index(size_class+1), in TEST_BEGIN()
69 assert_u_eq(index, size2index(index2size(index)), in TEST_BEGIN()
101 assert_u_eq(pind, psz2ind(size_class), in TEST_BEGIN()
112 assert_u_eq(pind+1, psz2ind(size_class+1), in TEST_BEGIN()
126 assert_u_eq(pind, psz2ind(pind2sz(pind)), in TEST_BEGIN()
146 assert_u_eq(size2index(max_size_class+1), NSIZES, in TEST_BEGIN()
148 assert_u_eq(size2index(ZU(PTRDIFF_MAX)+1), NSIZES, in TEST_BEGIN()
150 assert_u_eq(size2index(SIZE_T_MAX), NSIZES, in TEST_BEGIN()
160 assert_u_eq(psz2ind(max_size_class+1), NPSIZES, in TEST_BEGIN()
[all …]
Drb.c190 assert_u_eq(imbalances, 0, "Tree is unbalanced"); in node_remove()
191 assert_u_eq(tree_iterate(tree), nnodes-1, in node_remove()
193 assert_u_eq(tree_iterate_reverse(tree), nnodes-1, in node_remove()
273 assert_u_eq(imbalances, 0, in TEST_BEGIN()
276 assert_u_eq(tree_iterate(&tree), k+1, in TEST_BEGIN()
278 assert_u_eq(tree_iterate_reverse(&tree), k+1, in TEST_BEGIN()
312 assert_u_eq(nnodes, 0, in TEST_BEGIN()
326 assert_u_eq(nnodes, 0, in TEST_BEGIN()
332 assert_u_eq(nnodes, 0, in TEST_BEGIN()
Dph.c197 assert_u_eq(heap_validate(&heap), 0, in TEST_BEGIN()
212 assert_u_eq(heap_validate(&heap), k + 1, in TEST_BEGIN()
223 assert_u_eq(heap_validate(&heap), j - k, in TEST_BEGIN()
226 assert_u_eq(heap_validate(&heap), j - k in TEST_BEGIN()
233 assert_u_eq(heap_validate(&heap), k - 1, in TEST_BEGIN()
241 assert_u_eq(heap_validate(&heap), j - k in TEST_BEGIN()
255 assert_u_eq(heap_validate(&heap), j - k, in TEST_BEGIN()
263 assert_u_eq(heap_validate(&heap), j - k in TEST_BEGIN()
Djunk.c32 assert_u_eq(((uint8_t *)ptr)[i], JEMALLOC_FREE_JUNK, in arena_dalloc_junk_small_intercept()
47 assert_u_eq(((uint8_t *)ptr)[i], JEMALLOC_FREE_JUNK, in arena_dalloc_junk_large_intercept()
91 assert_u_eq(s[0], 'a', in test_junk()
94 assert_u_eq(s[sz_prev-1], 'a', in test_junk()
101 assert_u_eq(s[i], JEMALLOC_ALLOC_JUNK, in test_junk()
Dzero.c22 assert_u_eq(s[0], MAGIC, in test_zero()
25 assert_u_eq(s[sz_prev-1], MAGIC, in test_zero()
31 assert_u_eq(s[i], 0x0, in test_zero()
Dmq.c18 assert_u_eq(mq_count(&mq), 0, "mq should be empty"); in mq_gen()
23 assert_u_eq(mq_count(&mq), 1, "mq should contain one message"); in mq_gen()
Dwitness.c46 assert_u_eq(a->rank, b->rank, "Witnesses should have equal rank"); in witness_comp()
55 assert_u_eq(a->rank, b->rank, "Witnesses should have equal rank"); in witness_comp_reverse()
Dql.c28 assert_u_eq(i, 0, "Unexpected element for empty list"); in test_empty_list()
34 assert_u_eq(i, 0, "Unexpected element for empty list"); in test_empty_list()
Dmtx.c48 assert_u_eq(arg.x, NTHREADS * NINCRS, in TEST_BEGIN()
Dqr.c37 assert_u_eq(j, 1, in test_independent_entries()
46 assert_u_eq(j, 1, in test_independent_entries()
Dmallctl.c351 assert_u_eq(narenas, opt_narenas, "Number of arenas incorrect"); in TEST_BEGIN()
687 assert_u_eq(narenas_before+1, narenas_after, in TEST_BEGIN()
689 assert_u_eq(arena, narenas_after-1, "Unexpected arena index"); in TEST_BEGIN()
/external/jemalloc/test/integration/
Dthread_arena.c35 assert_u_eq(arena_ind, main_arena_ind, in thd_start()
/external/jemalloc/test/include/test/
Dtest.h50 #define assert_u_eq(a, b, ...) assert_cmp(int, a, b, ==, !=, "u", __VA_ARGS__) macro