Lines Matching refs:sz
33 size_t sz, huge0, large0; in TEST_BEGIN() local
42 sz = sizeof(size_t); in TEST_BEGIN()
43 assert_d_eq(mallctl("arenas.hchunk.0.size", (void *)&huge0, &sz, NULL, in TEST_BEGIN()
45 assert_d_eq(mallctl("arenas.lrun.0.size", (void *)&large0, &sz, NULL, in TEST_BEGIN()
123 sz = allocx_sizes[i]; in TEST_BEGIN()
127 p = mallocx(sz, MALLOCX_TCACHE_NONE); in TEST_BEGIN()
132 sz); in TEST_BEGIN()
135 p = rallocx(p, sz, MALLOCX_TCACHE_NONE); in TEST_BEGIN()
140 sz); in TEST_BEGIN()
143 xallocx(p, sz, 0, MALLOCX_TCACHE_NONE); in TEST_BEGIN()
147 sz); in TEST_BEGIN()
154 sz); in TEST_BEGIN()
156 p = mallocx(sz, MALLOCX_TCACHE_NONE); in TEST_BEGIN()
159 sdallocx(p, sz, MALLOCX_TCACHE_NONE); in TEST_BEGIN()
163 "(sz=%zu)", sz); in TEST_BEGIN()
177 sz = sizeof(unsigned); in TEST_BEGIN()
178 assert_d_eq(mallctl("tcache.create", (void *)&tcache_ind, &sz, in TEST_BEGIN()
182 sz = tcache_sizes[i]; in TEST_BEGIN()
186 p = mallocx(sz, MALLOCX_TCACHE(tcache_ind)); in TEST_BEGIN()
191 "(sz=%zu)", sz); in TEST_BEGIN()
201 "(sz=%zu)", sz); in TEST_BEGIN()
215 size_t sz, large; in TEST_BEGIN() local
230 sz = sizeof(size_t); in TEST_BEGIN()
232 &sz, NULL, 0), 0, "Unexpected mallctl failure"); in TEST_BEGIN()
235 sz = sizeof(size_t); in TEST_BEGIN()
236 assert_d_eq(mallctl("arenas.lrun.0.size", (void *)&large, &sz, in TEST_BEGIN()
244 sz = sizeof(uint64_t); in TEST_BEGIN()
245 assert_d_eq(mallctl("stats.arenas.0.npurge", (void *)&npurge0, &sz, in TEST_BEGIN()
288 sz = sizeof(uint64_t); in TEST_BEGIN()
290 &sz, NULL, 0), config_stats ? 0 : ENOENT, in TEST_BEGIN()
310 size_t sz, large0; in TEST_BEGIN() local
315 sz = sizeof(size_t); in TEST_BEGIN()
316 assert_d_eq(mallctl("arenas.lrun.0.size", (void *)&large0, &sz, NULL, in TEST_BEGIN()
323 sz = sizeof(uint64_t); in TEST_BEGIN()
324 assert_d_eq(mallctl("stats.arenas.0.npurge", (void *)&npurge0, &sz, in TEST_BEGIN()
353 sz = sizeof(uint64_t); in TEST_BEGIN()
354 assert_d_eq(mallctl("stats.arenas.0.npurge", (void *)&npurge1, &sz, in TEST_BEGIN()