Home
last modified time | relevance | path

Searched refs:assert_zu_eq (Results 1 – 9 of 9) sorted by relevance

/external/jemalloc/test/unit/
Dmallctl.c83 assert_zu_eq(sz, sizeof(old_epoch), "Unexpected output size"); in TEST_BEGIN()
88 assert_zu_eq(sz, sizeof(old_epoch), "Unexpected output size"); in TEST_BEGIN()
93 assert_zu_eq(sz, sizeof(old_epoch), "Unexpected output size"); in TEST_BEGIN()
98 assert_zu_eq(sz, sizeof(old_epoch), "Unexpected output size"); in TEST_BEGIN()
111 assert_zu_eq(miblen, 3, "Unexpected mib output length"); in TEST_BEGIN()
112 assert_zu_eq(mib[3], 42, in TEST_BEGIN()
126 assert_zu_eq(sz, sizeof(oldval), "Unexpected output size"); \ in TEST_BEGIN()
158 assert_zu_eq(sz, sizeof(oldval), "Unexpected output size"); \ in TEST_BEGIN()
305 assert_zu_eq(name, expected, "Incorrect "#name" size"); \ in TEST_BEGIN()
325 assert_zu_eq(name, expected, "Incorrect "#name" size"); \ in TEST_BEGIN()
[all …]
Dckh.c31 assert_zu_eq(ckh_count(&ckh), 0, in TEST_BEGIN()
38 assert_zu_eq(ckh_count(&ckh), i+1, in TEST_BEGIN()
91 assert_zu_eq(ckh_count(&ckh), in TEST_BEGIN()
130 assert_zu_eq(ckh_count(&ckh), NITEMS, in TEST_BEGIN()
190 assert_zu_eq(ckh_count(&ckh), 0, in TEST_BEGIN()
Dutil.c8 assert_zu_eq(pow2_ceil(0), 0, "Unexpected result"); in TEST_BEGIN()
11 assert_zu_eq(pow2_ceil(ZU(1) << i), ZU(1) << i, in TEST_BEGIN()
16 assert_zu_eq(pow2_ceil((ZU(1) << i) - 1), ZU(1) << i, in TEST_BEGIN()
21 assert_zu_eq(pow2_ceil((ZU(1) << i) + 1), ZU(1) << (i+1), in TEST_BEGIN()
27 assert_zu_eq(pow2_ceil(x), ZU(1) << pow2, in TEST_BEGIN()
Djunk.c142 assert_zu_eq(old_usize, arena_maxclass, "Unexpected old_usize"); in arena_ralloc_junk_large_intercept()
143 assert_zu_eq(usize, arena_maxclass-PAGE, "Unexpected usize"); in arena_ralloc_junk_large_intercept()
Dquarantine.c31 assert_zu_eq(nallocx(SZ, 0), SZ, in TEST_BEGIN()
/external/jemalloc/test/integration/
Dxallocx.c13 assert_zu_eq(tsz, sz, "Unexpected size change: %zu --> %zu", sz, tsz); in TEST_BEGIN()
29 assert_zu_eq(tsz, sz, "Unexpected size change: %zu --> %zu", sz, tsz); in TEST_BEGIN()
45 assert_zu_eq(tsz, sz, "Unexpected size change: %zu --> %zu", sz, tsz); in TEST_BEGIN()
Dmallocx.c19 assert_zu_eq(nsz, rsz, "nallocx()/sallocx() size mismatch"); in TEST_BEGIN()
31 assert_zu_eq(nsz, rsz, "nallocx()/sallocx() rsize mismatch"); in TEST_BEGIN()
67 assert_zu_eq(nsz, rsz, in TEST_BEGIN()
Drallocx.c35 assert_zu_eq(tsz, szs[j-1], in TEST_BEGIN()
/external/jemalloc/test/include/test/
Dtest.h148 #define assert_zu_eq(a, b, ...) assert_cmp(size_t, a, b, ==, \ macro