Lines Matching refs:sz
15 size_t sz = sizeof(bool); in check_background_thread_enabled() local
16 int ret = mallctl("background_thread", (void *)&enabled, &sz, NULL,0); in check_background_thread_enabled()
41 size_t sz = sizeof(unsigned); in do_arena_create() local
42 assert_d_eq(mallctl("arenas.create", (void *)&arena_ind, &sz, NULL, 0), in do_arena_create()
112 size_t sz = sizeof(npurge); in get_arena_npurge_impl() local
113 assert_d_eq(mallctlbymib(mib, miblen, (void *)&npurge, &sz, NULL, 0), in get_arena_npurge_impl()
146 size_t sz = sizeof(pdirty); in get_arena_pdirty() local
147 assert_d_eq(mallctlbymib(mib, miblen, (void *)&pdirty, &sz, NULL, 0), 0, in get_arena_pdirty()
161 size_t sz = sizeof(pmuzzy); in get_arena_pmuzzy() local
162 assert_d_eq(mallctlbymib(mib, miblen, (void *)&pmuzzy, &sz, NULL, 0), 0, in get_arena_pmuzzy()
186 size_t sz, large0; in TEST_BEGIN() local
189 sz = sizeof(size_t); in TEST_BEGIN()
190 assert_d_eq(mallctl("arenas.lextent.0.size", (void *)&large0, &sz, NULL, in TEST_BEGIN()
280 sz = allocx_sizes[i]; in TEST_BEGIN()
284 p = mallocx(sz, MALLOCX_TCACHE_NONE); in TEST_BEGIN()
289 sz); in TEST_BEGIN()
292 p = rallocx(p, sz, MALLOCX_TCACHE_NONE); in TEST_BEGIN()
297 sz); in TEST_BEGIN()
300 xallocx(p, sz, 0, MALLOCX_TCACHE_NONE); in TEST_BEGIN()
304 sz); in TEST_BEGIN()
311 sz); in TEST_BEGIN()
313 p = mallocx(sz, MALLOCX_TCACHE_NONE); in TEST_BEGIN()
316 sdallocx(p, sz, MALLOCX_TCACHE_NONE); in TEST_BEGIN()
320 "(sz=%zu)", sz); in TEST_BEGIN()
338 sz = sizeof(unsigned); in TEST_BEGIN()
339 assert_d_eq(mallctl("tcache.create", (void *)&tcache_ind, &sz, in TEST_BEGIN()
343 sz = tcache_sizes[i]; in TEST_BEGIN()
347 p = mallocx(sz, MALLOCX_TCACHE(tcache_ind)); in TEST_BEGIN()
352 "(sz=%zu)", sz); in TEST_BEGIN()
362 if (sz <= tcache_max) { in TEST_BEGIN()
365 "flush (sz=%zu)", sz); in TEST_BEGIN()
369 "flush (sz=%zu)", sz); in TEST_BEGIN()
439 size_t sz = sizeof(size_t); in TEST_BEGIN() local
440 assert_d_eq(mallctl("arenas.tcache_max", (void *)&tcache_max, &sz, NULL, in TEST_BEGIN()
490 size_t sz, large0; in TEST_BEGIN() local
493 sz = sizeof(size_t); in TEST_BEGIN()
494 assert_d_eq(mallctl("arenas.lextent.0.size", (void *)&large0, &sz, NULL, in TEST_BEGIN()
500 sz = sizeof(uint64_t); in TEST_BEGIN()
528 sz = sizeof(uint64_t); in TEST_BEGIN()