• Home
  • Raw
  • Download

Lines Matching refs:mib

33 	size_t mib[1];  in TEST_BEGIN()  local
36 miblen = sizeof(mib)/sizeof(size_t); in TEST_BEGIN()
37 assert_d_eq(mallctlnametomib("no_such_name", mib, &miblen), ENOENT, in TEST_BEGIN()
46 size_t mib[1]; in TEST_BEGIN() local
49 miblen = sizeof(mib)/sizeof(size_t); in TEST_BEGIN()
50 assert_d_eq(mallctlnametomib("version", mib, &miblen), 0, in TEST_BEGIN()
53 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, "0.0.0", in TEST_BEGIN()
57 miblen = sizeof(mib)/sizeof(size_t); in TEST_BEGIN()
58 assert_d_eq(mallctlnametomib("epoch", mib, &miblen), 0, in TEST_BEGIN()
61 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, (void *)&epoch, in TEST_BEGIN()
64 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, (void *)&epoch, in TEST_BEGIN()
69 assert_d_eq(mallctlbymib(mib, miblen, (void *)&epoch, &sz, NULL, 0), in TEST_BEGIN()
73 assert_d_eq(mallctlbymib(mib, miblen, (void *)&epoch, &sz, NULL, 0), in TEST_BEGIN()
109 size_t mib[4]; in TEST_BEGIN() local
113 mib[3] = 42; in TEST_BEGIN()
114 assert_d_eq(mallctlnametomib("arenas.bin.0.nregs", mib, &miblen), 0, in TEST_BEGIN()
117 assert_zu_eq(mib[3], 42, in TEST_BEGIN()
202 size_t mib[4]; in TEST_BEGIN() local
210 assert_d_eq(mallctlnametomib("arenas.bin.0.size", mib, &miblen), 0, in TEST_BEGIN()
215 mib[2] = i; in TEST_BEGIN()
217 assert_d_eq(mallctlbymib(mib, miblen, (void *)&bin_size, &len, in TEST_BEGIN()
435 size_t mib[3]; in TEST_BEGIN() local
443 assert_d_eq(mallctlnametomib("arena.0.purge", mib, &miblen), 0, in TEST_BEGIN()
445 mib[1] = narenas; in TEST_BEGIN()
446 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, NULL, 0), 0, in TEST_BEGIN()
455 size_t mib[3]; in TEST_BEGIN() local
463 assert_d_eq(mallctlnametomib("arena.0.decay", mib, &miblen), 0, in TEST_BEGIN()
465 mib[1] = narenas; in TEST_BEGIN()
466 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, NULL, 0), 0, in TEST_BEGIN()
475 size_t mib[3]; in TEST_BEGIN() local
478 miblen = sizeof(mib)/sizeof(size_t); in TEST_BEGIN()
479 assert_d_eq(mallctlnametomib("arena.0.dss", mib, &miblen), 0, in TEST_BEGIN()
483 assert_d_eq(mallctlbymib(mib, miblen, (void *)&dss_prec_old, &sz, in TEST_BEGIN()
489 assert_d_eq(mallctlbymib(mib, miblen, (void *)&dss_prec_new, &sz, in TEST_BEGIN()
493 assert_d_eq(mallctlbymib(mib, miblen, (void *)&dss_prec_old, &sz, NULL, in TEST_BEGIN()
498 mib[1] = narenas_total_get(); in TEST_BEGIN()
500 assert_d_eq(mallctlbymib(mib, miblen, (void *)&dss_prec_old, &sz, in TEST_BEGIN()
506 assert_d_eq(mallctlbymib(mib, miblen, (void *)&dss_prec_new, &sz, in TEST_BEGIN()
510 assert_d_eq(mallctlbymib(mib, miblen, (void *)&dss_prec_old, &sz, NULL, in TEST_BEGIN()