Home
last modified time | relevance | path

Searched refs:sz_prev (Results 1 – 2 of 2) sorted by relevance

/external/jemalloc/test/unit/
Dzero.c12 size_t sz_prev, sz, i; in test_zero() local
15 sz_prev = 0; in test_zero()
20 sz_prev = sz, sz = sallocx(s, 0)) { in test_zero()
21 if (sz_prev > 0) { in test_zero()
24 ZU(0), sz_prev); in test_zero()
25 assert_u_eq(s[sz_prev-1], MAGIC, in test_zero()
27 sz_prev-1, sz_prev); in test_zero()
30 for (i = sz_prev; i < sz; i++) { in test_zero()
Djunk.c73 size_t sz_prev, sz, i; in test_junk() local
84 sz_prev = 0; in test_junk()
89 sz_prev = sz, sz = sallocx(s, 0)) { in test_junk()
90 if (sz_prev > 0) { in test_junk()
93 ZU(0), sz_prev); in test_junk()
94 assert_u_eq(s[sz_prev-1], 'a', in test_junk()
96 sz_prev-1, sz_prev); in test_junk()
99 for (i = sz_prev; i < sz; i++) { in test_junk()