Home
last modified time | relevance | path

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

/external/jemalloc/test/integration/
Dxallocx.c32 assert_zu_eq(tsz, sz, "Unexpected size change: %zu --> %zu", sz, tsz); in TEST_BEGIN()
48 assert_zu_eq(tsz, sz, "Unexpected size change: %zu --> %zu", sz, tsz); in TEST_BEGIN()
64 assert_zu_eq(tsz, sz, "Unexpected size change: %zu --> %zu", sz, tsz); in TEST_BEGIN()
157 assert_zu_eq(xallocx(p, 1, 0, 0), small0, in TEST_BEGIN()
219 assert_zu_eq(xallocx(p, small1, 0, 0), small0, in TEST_BEGIN()
222 assert_zu_eq(xallocx(p, small1, 0, 0), small0, in TEST_BEGIN()
225 assert_zu_eq(xallocx(p, small0, small1 - small0, 0), small0, in TEST_BEGIN()
229 assert_zu_eq(xallocx(p, small0, hugemax - small0 + 1, 0), small0, in TEST_BEGIN()
231 assert_zu_eq(xallocx(p, small0, SIZE_T_MAX - small0, 0), small0, in TEST_BEGIN()
255 assert_zu_eq(xallocx(p, large2, 0, flags), large2, in TEST_BEGIN()
[all …]
Dmallocx.c118 assert_zu_eq(nsz, rsz, "nallocx()/sallocx() size mismatch"); in TEST_BEGIN()
130 assert_zu_eq(nsz, rsz, "nallocx()/sallocx() rsize mismatch"); in TEST_BEGIN()
170 assert_zu_eq(nsz, rsz, in TEST_BEGIN()
Dchunk.c220 assert_zu_eq(xallocx(p, huge1, 0, 0), huge1, in TEST_BEGIN()
233 assert_zu_eq(xallocx(p, large0, 0, 0), large0, in TEST_BEGIN()
238 assert_zu_eq(xallocx(p, large1, 0, 0), large1, in TEST_BEGIN()
Drallocx.c81 assert_zu_eq(tsz, szs[j-1], in TEST_BEGIN()
/external/jemalloc/test/unit/
Dprof_reset.c44 assert_zu_eq(lg_prof_sample, get_lg_prof_sample(), in do_prof_reset()
60 assert_zu_eq(lg_prof_sample_orig, 0, in TEST_BEGIN()
63 assert_zu_eq(lg_prof_sample_orig, lg_prof_sample, in TEST_BEGIN()
72 assert_zu_eq(lg_prof_sample_orig, lg_prof_sample, in TEST_BEGIN()
81 assert_zu_eq(lg_prof_sample, lg_prof_sample_next, in TEST_BEGIN()
88 assert_zu_eq(lg_prof_sample_orig, lg_prof_sample, in TEST_BEGIN()
115 assert_zu_eq(prof_bt_count(), 0, "Expected 0 backtraces"); in TEST_BEGIN()
118 assert_zu_eq(prof_bt_count(), 1, "Expected 1 backtrace"); in TEST_BEGIN()
134 assert_zu_eq(prof_bt_count(), 1, "Expected 1 backtrace"); in TEST_BEGIN()
139 assert_zu_eq(prof_bt_count(), 0, "Expected 0 backtraces"); in TEST_BEGIN()
[all …]
Dsize_classes.c49 assert_zu_eq(size_class, index2size(size2index(size_class)), in TEST_BEGIN()
58 assert_zu_eq(size_class, (index > 0) ? in TEST_BEGIN()
61 assert_zu_eq(size_class, s2u(size_class-1), in TEST_BEGIN()
63 assert_zu_eq(size_class, s2u(size_class), in TEST_BEGIN()
65 assert_zu_eq(s2u(size_class+1), index2size(index+1), in TEST_BEGIN()
71 assert_zu_eq(max_size_class, index2size(size2index(max_size_class)), in TEST_BEGIN()
74 assert_zu_eq(size_class, s2u(index2size(index-1)+1), in TEST_BEGIN()
76 assert_zu_eq(size_class, s2u(size_class-1), in TEST_BEGIN()
78 assert_zu_eq(size_class, s2u(size_class), in TEST_BEGIN()
100 assert_zu_eq(s2u(SIZE_T_MAX), 0, in TEST_BEGIN()
Drun_quantize.c26 assert_zu_eq(run_size, run_quantize_floor(run_size), in TEST_BEGIN()
29 assert_zu_eq(run_size, run_quantize_ceil(run_size), in TEST_BEGIN()
70 assert_zu_eq(run_size, floor, in TEST_BEGIN()
73 assert_zu_eq(run_size, ceil, in TEST_BEGIN()
78 assert_zu_eq(run_size_prev, run_quantize_floor(run_size in TEST_BEGIN()
81 assert_zu_eq(ceil_prev, run_size, in TEST_BEGIN()
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()
160 assert_zu_eq(sz, sizeof(oldval), "Unexpected output size"); \ in TEST_BEGIN()
596 assert_zu_eq(name, expected, "Incorrect "#name" size"); \ in TEST_BEGIN()
617 assert_zu_eq(name, expected, "Incorrect "#name" size"); \ in TEST_BEGIN()
[all …]
Dckh.c37 assert_zu_eq(ckh_count(&ckh), 0, in TEST_BEGIN()
44 assert_zu_eq(ckh_count(&ckh), i+1, in TEST_BEGIN()
97 assert_zu_eq(ckh_count(&ckh), in TEST_BEGIN()
139 assert_zu_eq(ckh_count(&ckh), NITEMS, in TEST_BEGIN()
198 assert_zu_eq(ckh_count(&ckh), 0, in TEST_BEGIN()
Dutil.c7 assert_zu_eq(pow2_ceil_##suf(0), 0, "Unexpected result"); \
10 assert_zu_eq(pow2_ceil_##suf(((t)1) << i), ((t)1) << i, \
15 assert_zu_eq(pow2_ceil_##suf((((t)1) << i) - 1), \
20 assert_zu_eq(pow2_ceil_##suf((((t)1) << i) + 1), \
27 assert_zu_eq(pow2_ceil_##suf(x), \
Dprof_active.c85 assert_zu_eq(prof_bt_count(), 0, "%s():%d: Expected 0 backtraces", func, in prof_sampling_probe_impl()
89 assert_zu_eq(prof_bt_count(), expected_backtraces, in prof_sampling_probe_impl()
Djunk.c175 assert_zu_eq(old_usize, large_maxclass, "Unexpected old_usize"); in arena_ralloc_junk_large_intercept()
176 assert_zu_eq(usize, shrink_size(large_maxclass), "Unexpected usize"); in arena_ralloc_junk_large_intercept()
Dquarantine.c31 assert_zu_eq(nallocx(SZ, 0), SZ, in TEST_BEGIN()
/external/jemalloc/test/include/test/
Dtest.h148 #define assert_zu_eq(a, b, ...) assert_cmp(size_t, a, b, ==, \ macro