Lines Matching refs:assert_d_eq
9 assert_d_eq(mallctl("no_such_name", NULL, NULL, NULL, 0), ENOENT, in TEST_BEGIN()
12 assert_d_eq(mallctl("version", NULL, NULL, "0.0.0", strlen("0.0.0")), in TEST_BEGIN()
16 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, in TEST_BEGIN()
19 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, in TEST_BEGIN()
24 assert_d_eq(mallctl("epoch", (void *)&epoch, &sz, NULL, 0), EINVAL, in TEST_BEGIN()
27 assert_d_eq(mallctl("epoch", (void *)&epoch, &sz, NULL, 0), EINVAL, in TEST_BEGIN()
37 assert_d_eq(mallctlnametomib("no_such_name", mib, &miblen), ENOENT, in TEST_BEGIN()
49 assert_d_eq(mallctlnametomib("version", mib, &miblen), 0, in TEST_BEGIN()
52 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, "0.0.0", in TEST_BEGIN()
57 assert_d_eq(mallctlnametomib("epoch", mib, &miblen), 0, in TEST_BEGIN()
60 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, (void *)&epoch, in TEST_BEGIN()
63 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, (void *)&epoch, in TEST_BEGIN()
68 assert_d_eq(mallctlbymib(mib, miblen, (void *)&epoch, &sz, NULL, 0), in TEST_BEGIN()
72 assert_d_eq(mallctlbymib(mib, miblen, (void *)&epoch, &sz, NULL, 0), in TEST_BEGIN()
83 assert_d_eq(mallctl("epoch", NULL, NULL, NULL, 0), 0, in TEST_BEGIN()
88 assert_d_eq(mallctl("epoch", (void *)&old_epoch, &sz, NULL, 0), 0, in TEST_BEGIN()
93 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&new_epoch, in TEST_BEGIN()
98 assert_d_eq(mallctl("epoch", (void *)&old_epoch, &sz, in TEST_BEGIN()
111 assert_d_eq(mallctlnametomib("arenas.bin.0.nregs", mib, &miblen), 0, in TEST_BEGIN()
123 assert_d_eq(mallctl("config."#config, (void *)&oldval, &sz, \ in TEST_BEGIN()
154 assert_d_eq(result, expected, \ in TEST_BEGIN()
198 assert_d_eq(mallctl("arenas.nbins", (void *)&nbins, &len, NULL, 0), 0, in TEST_BEGIN()
202 assert_d_eq(mallctlnametomib("arenas.bin.0.size", mib, &miblen), 0, in TEST_BEGIN()
209 assert_d_eq(mallctlbymib(mib, miblen, (void *)&bin_size, &len, in TEST_BEGIN()
253 assert_d_eq(mallctl("tcache.create", (void *)&tis[i], &sz, NULL, in TEST_BEGIN()
259 assert_d_eq(mallctl("tcache.destroy", NULL, NULL, in TEST_BEGIN()
265 assert_d_eq(mallctl("tcache.create", (void *)&tis[i], &sz, NULL, in TEST_BEGIN()
271 assert_d_eq(mallctl("tcache.flush", NULL, NULL, (void *)&tis[i], in TEST_BEGIN()
318 assert_d_eq(mallctl("tcache.flush", NULL, NULL, (void *)&tis[i], in TEST_BEGIN()
325 assert_d_eq(mallctl("tcache.destroy", NULL, NULL, in TEST_BEGIN()
337 assert_d_eq(mallctl("opt.percpu_arena", (void *)&opa, &sz, NULL, 0), 0, in TEST_BEGIN()
341 assert_d_eq(mallctl("arenas.narenas", (void *)&narenas, &sz, NULL, 0), in TEST_BEGIN()
347 assert_d_eq(mallctl("thread.arena", (void *)&old_arena_ind, &sz, in TEST_BEGIN()
351 assert_d_eq(mallctl("thread.arena", (void *)&old_arena_ind, &sz, in TEST_BEGIN()
355 assert_d_eq(mallctl("thread.arena", (void *)&old_arena_ind, &sz, in TEST_BEGIN()
359 assert_d_eq(mallctl("thread.arena", in TEST_BEGIN()
376 assert_d_eq(mallctl("arenas.narenas", (void *)&narenas, &sz, NULL, 0), in TEST_BEGIN()
379 assert_d_eq(mallctlnametomib("arena.0.initialized", mib, &miblen), 0, in TEST_BEGIN()
384 assert_d_eq(mallctlbymib(mib, miblen, &initialized, &sz, NULL, in TEST_BEGIN()
390 assert_d_eq(mallctlbymib(mib, miblen, &initialized, &sz, NULL, 0), 0, in TEST_BEGIN()
397 assert_d_eq(mallctl( in TEST_BEGIN()
410 assert_d_eq(mallctl("arena.0.dirty_decay_ms", in TEST_BEGIN()
415 assert_d_eq(mallctl("arena.0.dirty_decay_ms", NULL, NULL, in TEST_BEGIN()
420 assert_d_eq(mallctl("arena.0.dirty_decay_ms", NULL, NULL, in TEST_BEGIN()
429 assert_d_eq(mallctl("arena.0.dirty_decay_ms", in TEST_BEGIN()
442 assert_d_eq(mallctl("arena.0.muzzy_decay_ms", in TEST_BEGIN()
447 assert_d_eq(mallctl("arena.0.muzzy_decay_ms", NULL, NULL, in TEST_BEGIN()
452 assert_d_eq(mallctl("arena.0.muzzy_decay_ms", NULL, NULL, in TEST_BEGIN()
461 assert_d_eq(mallctl("arena.0.muzzy_decay_ms", in TEST_BEGIN()
476 assert_d_eq(mallctl("arena.0.purge", NULL, NULL, NULL, 0), 0, in TEST_BEGIN()
479 assert_d_eq(mallctl("arenas.narenas", (void *)&narenas, &sz, NULL, 0), in TEST_BEGIN()
481 assert_d_eq(mallctlnametomib("arena.0.purge", mib, &miblen), 0, in TEST_BEGIN()
484 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, NULL, 0), 0, in TEST_BEGIN()
488 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, NULL, 0), 0, in TEST_BEGIN()
499 assert_d_eq(mallctl("arena.0.decay", NULL, NULL, NULL, 0), 0, in TEST_BEGIN()
502 assert_d_eq(mallctl("arenas.narenas", (void *)&narenas, &sz, NULL, 0), in TEST_BEGIN()
504 assert_d_eq(mallctlnametomib("arena.0.decay", mib, &miblen), 0, in TEST_BEGIN()
507 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, NULL, 0), 0, in TEST_BEGIN()
511 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, NULL, 0), 0, in TEST_BEGIN()
523 assert_d_eq(mallctlnametomib("arena.0.dss", mib, &miblen), 0, in TEST_BEGIN()
527 assert_d_eq(mallctlbymib(mib, miblen, (void *)&dss_prec_old, &sz, in TEST_BEGIN()
533 assert_d_eq(mallctlbymib(mib, miblen, (void *)&dss_prec_new, &sz, in TEST_BEGIN()
537 assert_d_eq(mallctlbymib(mib, miblen, (void *)&dss_prec_old, &sz, NULL, in TEST_BEGIN()
544 assert_d_eq(mallctlbymib(mib, miblen, (void *)&dss_prec_old, &sz, in TEST_BEGIN()
550 assert_d_eq(mallctlbymib(mib, miblen, (void *)&dss_prec_new, &sz, in TEST_BEGIN()
554 assert_d_eq(mallctlbymib(mib, miblen, (void *)&dss_prec_old, &sz, NULL, in TEST_BEGIN()
568 assert_d_eq(mallctl("opt.retain", &retain_enabled, &sz, NULL, 0), in TEST_BEGIN()
574 assert_d_eq(mallctlnametomib("arena.0.retain_grow_limit", mib, &miblen), in TEST_BEGIN()
577 assert_d_eq(mallctlbymib(mib, miblen, &default_limit, &sz, NULL, 0), 0, in TEST_BEGIN()
583 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, &new_limit, in TEST_BEGIN()
587 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, &new_limit, in TEST_BEGIN()
589 assert_d_eq(mallctlbymib(mib, miblen, &old_limit, &sz, NULL, 0), 0, in TEST_BEGIN()
596 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, &new_limit, in TEST_BEGIN()
598 assert_d_eq(mallctlbymib(mib, miblen, &old_limit, &sz, NULL, 0), 0, in TEST_BEGIN()
604 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, &default_limit, in TEST_BEGIN()
613 assert_d_eq(mallctl("arenas.dirty_decay_ms", in TEST_BEGIN()
618 assert_d_eq(mallctl("arenas.dirty_decay_ms", NULL, NULL, in TEST_BEGIN()
623 assert_d_eq(mallctl("arenas.dirty_decay_ms", NULL, NULL, in TEST_BEGIN()
632 assert_d_eq(mallctl("arenas.dirty_decay_ms", in TEST_BEGIN()
645 assert_d_eq(mallctl("arenas.muzzy_decay_ms", in TEST_BEGIN()
650 assert_d_eq(mallctl("arenas.muzzy_decay_ms", NULL, NULL, in TEST_BEGIN()
655 assert_d_eq(mallctl("arenas.muzzy_decay_ms", NULL, NULL, in TEST_BEGIN()
664 assert_d_eq(mallctl("arenas.muzzy_decay_ms", in TEST_BEGIN()
677 assert_d_eq(mallctl("arenas."#name, (void *)&name, &sz, NULL, \ in TEST_BEGIN()
695 assert_d_eq(mallctl("arenas.bin.0."#name, (void *)&name, &sz, \ in TEST_BEGIN()
713 assert_d_eq(mallctl("arenas.lextent.0."#name, (void *)&name, \ in TEST_BEGIN()
728 assert_d_eq(mallctl("arenas.narenas", (void *)&narenas_before, &sz, in TEST_BEGIN()
730 assert_d_eq(mallctl("arenas.create", (void *)&arena, &sz, NULL, 0), 0, in TEST_BEGIN()
732 assert_d_eq(mallctl("arenas.narenas", (void *)&narenas_after, &sz, NULL, in TEST_BEGIN()
746 assert_d_eq(mallctl("arenas.create", (void *)&arena, &sz, NULL, 0), 0, in TEST_BEGIN()
750 assert_d_eq(mallctl("arenas.lookup", &arena1, &sz, &ptr, sizeof(ptr)), in TEST_BEGIN()
761 assert_d_eq(mallctl("stats.arenas.0."#name, (void *)&name, &sz, \ in TEST_BEGIN()