Lines Matching refs:sz
4 size_t sz, allocated, active, resident, mapped; in TEST_BEGIN() local
7 sz = sizeof(size_t); in TEST_BEGIN()
8 assert_d_eq(mallctl("stats.allocated", (void *)&allocated, &sz, NULL, in TEST_BEGIN()
10 assert_d_eq(mallctl("stats.active", (void *)&active, &sz, NULL, 0), in TEST_BEGIN()
12 assert_d_eq(mallctl("stats.resident", (void *)&resident, &sz, NULL, 0), in TEST_BEGIN()
14 assert_d_eq(mallctl("stats.mapped", (void *)&mapped, &sz, NULL, 0), in TEST_BEGIN()
33 size_t sz; in TEST_BEGIN() local
42 sz = sizeof(size_t); in TEST_BEGIN()
44 (void *)&allocated, &sz, NULL, 0), expected, in TEST_BEGIN()
46 sz = sizeof(uint64_t); in TEST_BEGIN()
48 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
50 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
52 (void *)&nrequests, &sz, NULL, 0), expected, in TEST_BEGIN()
71 size_t sz; in TEST_BEGIN() local
93 sz = sizeof(size_t); in TEST_BEGIN()
94 assert_d_eq(mallctl("stats.arenas.0.mapped", (void *)&mapped, &sz, NULL, in TEST_BEGIN()
97 sz = sizeof(uint64_t); in TEST_BEGIN()
99 (void *)&dirty_npurge, &sz, NULL, 0), expected, in TEST_BEGIN()
102 (void *)&dirty_nmadvise, &sz, NULL, 0), expected, in TEST_BEGIN()
105 (void *)&dirty_purged, &sz, NULL, 0), expected, in TEST_BEGIN()
108 (void *)&muzzy_npurge, &sz, NULL, 0), expected, in TEST_BEGIN()
111 (void *)&muzzy_nmadvise, &sz, NULL, 0), expected, in TEST_BEGIN()
114 (void *)&muzzy_purged, &sz, NULL, 0), expected, in TEST_BEGIN()
145 size_t sz, allocated; in TEST_BEGIN() local
160 sz = sizeof(size_t); in TEST_BEGIN()
162 (void *)&allocated, &sz, NULL, 0), expected, in TEST_BEGIN()
164 sz = sizeof(uint64_t); in TEST_BEGIN()
166 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
168 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
170 (void *)&nrequests, &sz, NULL, 0), expected, in TEST_BEGIN()
190 size_t sz, allocated; in TEST_BEGIN() local
200 sz = sizeof(size_t); in TEST_BEGIN()
202 (void *)&allocated, &sz, NULL, 0), expected, in TEST_BEGIN()
204 sz = sizeof(uint64_t); in TEST_BEGIN()
206 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
208 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
230 size_t sz, curslabs, curregs; in TEST_BEGIN() local
240 sz = sizeof(unsigned); in TEST_BEGIN()
241 assert_d_eq(mallctl("arenas.create", (void *)&arena_ind, &sz, NULL, 0), in TEST_BEGIN()
243 sz = sizeof(arena_ind); in TEST_BEGIN()
244 assert_d_eq(mallctl("thread.arena", (void *)&old_arena_ind, &sz, in TEST_BEGIN()
258 sz = sizeof(uint64_t); in TEST_BEGIN()
260 assert_d_eq(mallctl(cmd, (void *)&nmalloc, &sz, NULL, 0), expected, in TEST_BEGIN()
263 assert_d_eq(mallctl(cmd, (void *)&ndalloc, &sz, NULL, 0), expected, in TEST_BEGIN()
266 assert_d_eq(mallctl(cmd, (void *)&nrequests, &sz, NULL, 0), expected, in TEST_BEGIN()
268 sz = sizeof(size_t); in TEST_BEGIN()
270 assert_d_eq(mallctl(cmd, (void *)&curregs, &sz, NULL, 0), expected, in TEST_BEGIN()
273 sz = sizeof(uint64_t); in TEST_BEGIN()
275 assert_d_eq(mallctl(cmd, (void *)&nfills, &sz, NULL, 0), expected, in TEST_BEGIN()
278 assert_d_eq(mallctl(cmd, (void *)&nflushes, &sz, NULL, 0), expected, in TEST_BEGIN()
282 assert_d_eq(mallctl(cmd, (void *)&nslabs, &sz, NULL, 0), expected, in TEST_BEGIN()
285 assert_d_eq(mallctl(cmd, (void *)&nreslabs, &sz, NULL, 0), expected, in TEST_BEGIN()
287 sz = sizeof(size_t); in TEST_BEGIN()
289 assert_d_eq(mallctl(cmd, (void *)&curslabs, &sz, NULL, 0), expected, in TEST_BEGIN()
320 size_t curlextents, sz, hsize; in TEST_BEGIN() local
323 sz = sizeof(size_t); in TEST_BEGIN()
324 assert_d_eq(mallctl("arenas.lextent.0.size", (void *)&hsize, &sz, NULL, in TEST_BEGIN()
333 sz = sizeof(uint64_t); in TEST_BEGIN()
335 (void *)&nmalloc, &sz, NULL, 0), expected, in TEST_BEGIN()
338 (void *)&ndalloc, &sz, NULL, 0), expected, in TEST_BEGIN()
340 sz = sizeof(size_t); in TEST_BEGIN()
342 (void *)&curlextents, &sz, NULL, 0), expected, in TEST_BEGIN()