/external/jemalloc/test/unit/ |
D | ticker.c | 13 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()
|
D | size_classes.c | 44 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 …]
|
D | rb.c | 190 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()
|
D | ph.c | 197 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()
|
D | junk.c | 32 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()
|
D | zero.c | 22 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()
|
D | mq.c | 18 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()
|
D | witness.c | 46 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()
|
D | ql.c | 28 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()
|
D | mtx.c | 48 assert_u_eq(arg.x, NTHREADS * NINCRS, in TEST_BEGIN()
|
D | qr.c | 37 assert_u_eq(j, 1, in test_independent_entries() 46 assert_u_eq(j, 1, in test_independent_entries()
|
D | mallctl.c | 351 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/ |
D | thread_arena.c | 35 assert_u_eq(arena_ind, main_arena_ind, in thd_start()
|
/external/jemalloc/test/include/test/ |
D | test.h | 50 #define assert_u_eq(a, b, ...) assert_cmp(int, a, b, ==, !=, "u", __VA_ARGS__) macro
|