• Home
  • Raw
  • Download

Lines Matching refs:assert_d_eq

8 	assert_d_eq(mallctl("no_such_name", NULL, NULL, NULL, 0), ENOENT,  in TEST_BEGIN()
11 assert_d_eq(mallctl("version", NULL, NULL, "0.0.0", strlen("0.0.0")), in TEST_BEGIN()
15 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, in TEST_BEGIN()
18 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, in TEST_BEGIN()
23 assert_d_eq(mallctl("epoch", (void *)&epoch, &sz, NULL, 0), EINVAL, in TEST_BEGIN()
26 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()
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()
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()
85 assert_d_eq(mallctl("epoch", NULL, NULL, NULL, 0), 0, in TEST_BEGIN()
90 assert_d_eq(mallctl("epoch", (void *)&old_epoch, &sz, NULL, 0), 0, in TEST_BEGIN()
95 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&new_epoch, in TEST_BEGIN()
100 assert_d_eq(mallctl("epoch", (void *)&old_epoch, &sz, in TEST_BEGIN()
114 assert_d_eq(mallctlnametomib("arenas.bin.0.nregs", mib, &miblen), 0, in TEST_BEGIN()
128 assert_d_eq(mallctl("config."#config, (void *)&oldval, &sz, \ in TEST_BEGIN()
164 assert_d_eq(result, expected, \ in TEST_BEGIN()
206 assert_d_eq(mallctl("arenas.nbins", (void *)&nbins, &len, NULL, 0), 0, in TEST_BEGIN()
210 assert_d_eq(mallctlnametomib("arenas.bin.0.size", mib, &miblen), 0, in TEST_BEGIN()
217 assert_d_eq(mallctlbymib(mib, miblen, (void *)&bin_size, &len, in TEST_BEGIN()
267 assert_d_eq(mallctl("tcache.create", (void *)&tis[i], &sz, NULL, in TEST_BEGIN()
273 assert_d_eq(mallctl("tcache.destroy", NULL, NULL, in TEST_BEGIN()
279 assert_d_eq(mallctl("tcache.create", (void *)&tis[i], &sz, NULL, in TEST_BEGIN()
285 assert_d_eq(mallctl("tcache.flush", NULL, NULL, (void *)&tis[i], in TEST_BEGIN()
330 assert_d_eq(mallctl("tcache.flush", NULL, NULL, (void *)&tis[i], in TEST_BEGIN()
337 assert_d_eq(mallctl("tcache.destroy", NULL, NULL, in TEST_BEGIN()
349 assert_d_eq(mallctl("arenas.narenas", (void *)&narenas, &sz, NULL, 0), in TEST_BEGIN()
353 assert_d_eq(mallctl("thread.arena", (void *)&arena_old, &sz, in TEST_BEGIN()
357 assert_d_eq(mallctl("thread.arena", (void *)&arena_old, &sz, in TEST_BEGIN()
370 assert_d_eq(mallctl("arena.0.lg_dirty_mult", in TEST_BEGIN()
375 assert_d_eq(mallctl("arena.0.lg_dirty_mult", NULL, NULL, in TEST_BEGIN()
380 assert_d_eq(mallctl("arena.0.lg_dirty_mult", NULL, NULL, in TEST_BEGIN()
389 assert_d_eq(mallctl("arena.0.lg_dirty_mult", in TEST_BEGIN()
405 assert_d_eq(mallctl("arena.0.decay_time", (void *)&orig_decay_time, &sz, in TEST_BEGIN()
409 assert_d_eq(mallctl("arena.0.decay_time", NULL, NULL, in TEST_BEGIN()
414 assert_d_eq(mallctl("arena.0.decay_time", NULL, NULL, in TEST_BEGIN()
422 assert_d_eq(mallctl("arena.0.decay_time", (void *)&old_decay_time, in TEST_BEGIN()
438 assert_d_eq(mallctl("arena.0.purge", NULL, NULL, NULL, 0), 0, in TEST_BEGIN()
441 assert_d_eq(mallctl("arenas.narenas", (void *)&narenas, &sz, NULL, 0), in TEST_BEGIN()
443 assert_d_eq(mallctlnametomib("arena.0.purge", mib, &miblen), 0, in TEST_BEGIN()
446 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, NULL, 0), 0, in TEST_BEGIN()
458 assert_d_eq(mallctl("arena.0.decay", NULL, NULL, NULL, 0), 0, in TEST_BEGIN()
461 assert_d_eq(mallctl("arenas.narenas", (void *)&narenas, &sz, NULL, 0), in TEST_BEGIN()
463 assert_d_eq(mallctlnametomib("arena.0.decay", mib, &miblen), 0, in TEST_BEGIN()
466 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, NULL, 0), 0, 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()
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()
522 assert_d_eq(mallctl("arenas.narenas", (void *)&narenas, &sz, NULL, 0), in TEST_BEGIN()
528 assert_d_eq(mallctl("arenas.initialized", (void *)initialized, in TEST_BEGIN()
541 assert_d_eq(mallctl("arenas.lg_dirty_mult", (void *)&orig_lg_dirty_mult, in TEST_BEGIN()
545 assert_d_eq(mallctl("arenas.lg_dirty_mult", NULL, NULL, in TEST_BEGIN()
550 assert_d_eq(mallctl("arenas.lg_dirty_mult", NULL, NULL, in TEST_BEGIN()
559 assert_d_eq(mallctl("arenas.lg_dirty_mult", in TEST_BEGIN()
575 assert_d_eq(mallctl("arenas.decay_time", (void *)&orig_decay_time, &sz, in TEST_BEGIN()
579 assert_d_eq(mallctl("arenas.decay_time", NULL, NULL, in TEST_BEGIN()
584 assert_d_eq(mallctl("arenas.decay_time", NULL, NULL, in TEST_BEGIN()
592 assert_d_eq(mallctl("arenas.decay_time", in TEST_BEGIN()
607 assert_d_eq(mallctl("arenas."#name, (void *)&name, &sz, NULL, \ in TEST_BEGIN()
628 assert_d_eq(mallctl("arenas.bin.0."#name, (void *)&name, &sz, \ in TEST_BEGIN()
647 assert_d_eq(mallctl("arenas.lrun.0."#name, (void *)&name, &sz, \ in TEST_BEGIN()
664 assert_d_eq(mallctl("arenas.hchunk.0."#name, (void *)&name, \ in TEST_BEGIN()
680 assert_d_eq(mallctl("arenas.narenas", (void *)&narenas_before, &sz, in TEST_BEGIN()
682 assert_d_eq(mallctl("arenas.extend", (void *)&arena, &sz, NULL, 0), 0, in TEST_BEGIN()
684 assert_d_eq(mallctl("arenas.narenas", (void *)&narenas_after, &sz, NULL, in TEST_BEGIN()
699 assert_d_eq(mallctl("stats.arenas.0."#name, (void *)&name, &sz, \ in TEST_BEGIN()