• Home
  • Raw
  • Download

Lines Matching refs:sz

6 	size_t sz, allocated, active, resident, mapped;  in TEST_BEGIN()  local
9 sz = sizeof(cactive); in TEST_BEGIN()
10 assert_d_eq(mallctl("stats.cactive", (void *)&cactive, &sz, NULL, 0), in TEST_BEGIN()
13 sz = sizeof(size_t); in TEST_BEGIN()
14 assert_d_eq(mallctl("stats.allocated", (void *)&allocated, &sz, NULL, in TEST_BEGIN()
16 assert_d_eq(mallctl("stats.active", (void *)&active, &sz, NULL, 0), in TEST_BEGIN()
18 assert_d_eq(mallctl("stats.resident", (void *)&resident, &sz, NULL, 0), in TEST_BEGIN()
20 assert_d_eq(mallctl("stats.mapped", (void *)&mapped, &sz, NULL, 0), in TEST_BEGIN()
42 size_t sz; in TEST_BEGIN() local
51 sz = sizeof(size_t); in TEST_BEGIN()
53 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
54 sz = sizeof(uint64_t); in TEST_BEGIN()
56 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
58 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
60 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
80 size_t sz; in TEST_BEGIN() local
106 sz = sizeof(size_t); in TEST_BEGIN()
107 assert_d_eq(mallctl("stats.arenas.0.mapped", (void *)&mapped, &sz, NULL, in TEST_BEGIN()
109 sz = sizeof(uint64_t); in TEST_BEGIN()
110 assert_d_eq(mallctl("stats.arenas.0.npurge", (void *)&npurge, &sz, NULL, in TEST_BEGIN()
112 assert_d_eq(mallctl("stats.arenas.0.nmadvise", (void *)&nmadvise, &sz, in TEST_BEGIN()
114 assert_d_eq(mallctl("stats.arenas.0.purged", (void *)&purged, &sz, NULL, in TEST_BEGIN()
146 size_t sz, allocated; in TEST_BEGIN() local
165 sz = sizeof(size_t); in TEST_BEGIN()
167 (void *)&allocated, &sz, NULL, 0), expected, in TEST_BEGIN()
169 sz = sizeof(uint64_t); in TEST_BEGIN()
171 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
173 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
175 (void *)&nrequests, &sz, NULL, 0), expected, in TEST_BEGIN()
197 size_t sz, allocated; in TEST_BEGIN() local
211 sz = sizeof(size_t); in TEST_BEGIN()
213 (void *)&allocated, &sz, NULL, 0), expected, in TEST_BEGIN()
215 sz = sizeof(uint64_t); in TEST_BEGIN()
217 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
219 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
221 (void *)&nrequests, &sz, NULL, 0), expected, in TEST_BEGIN()
243 size_t sz, allocated; in TEST_BEGIN() local
257 sz = sizeof(size_t); in TEST_BEGIN()
259 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
260 sz = sizeof(uint64_t); in TEST_BEGIN()
262 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
264 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
283 size_t sz, curruns, curregs; in TEST_BEGIN() local
301 sz = sizeof(uint64_t); in TEST_BEGIN()
303 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
305 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
307 (void *)&nrequests, &sz, NULL, 0), expected, in TEST_BEGIN()
309 sz = sizeof(size_t); in TEST_BEGIN()
311 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
313 sz = sizeof(uint64_t); in TEST_BEGIN()
315 &sz, NULL, 0), config_tcache ? expected : ENOENT, in TEST_BEGIN()
318 &sz, NULL, 0), config_tcache ? expected : ENOENT, in TEST_BEGIN()
321 assert_d_eq(mallctl("stats.arenas.0.bins.0.nruns", (void *)&nruns, &sz, in TEST_BEGIN()
324 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
325 sz = sizeof(size_t); in TEST_BEGIN()
327 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
359 size_t curruns, sz; in TEST_BEGIN() local
372 sz = sizeof(uint64_t); in TEST_BEGIN()
374 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
376 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
378 (void *)&nrequests, &sz, NULL, 0), expected, in TEST_BEGIN()
380 sz = sizeof(size_t); in TEST_BEGIN()
382 &sz, NULL, 0), expected, "Unexpected mallctl() result"); in TEST_BEGIN()
404 size_t curhchunks, sz; in TEST_BEGIN() local
417 sz = sizeof(uint64_t); in TEST_BEGIN()
419 (void *)&nmalloc, &sz, NULL, 0), expected, in TEST_BEGIN()
422 (void *)&ndalloc, &sz, NULL, 0), expected, in TEST_BEGIN()
424 sz = sizeof(size_t); in TEST_BEGIN()
426 (void *)&curhchunks, &sz, NULL, 0), expected, in TEST_BEGIN()