HomeSort by relevance Sort by last modified time
    Searched refs:mallctl (Results 1 - 17 of 17) sorted by null

  /external/jemalloc/test/unit/
stats.c 10 assert_d_eq(mallctl("stats.cactive", &cactive, &sz, NULL, 0), expected,
11 "Unexpected mallctl() result");
14 assert_d_eq(mallctl("stats.allocated", &allocated, &sz, NULL, 0),
15 expected, "Unexpected mallctl() result");
16 assert_d_eq(mallctl("stats.active", &active, &sz, NULL, 0), expected,
17 "Unexpected mallctl() result");
18 assert_d_eq(mallctl("stats.mapped", &mapped, &sz, NULL, 0), expected,
19 "Unexpected mallctl() result");
40 assert_d_eq(mallctl("stats.chunks.current", &current, &sz, NULL, 0),
41 expected, "Unexpected mallctl() result")
    [all...]
mallctl.c 8 assert_d_eq(mallctl("no_such_name", NULL, NULL, NULL, 0), ENOENT,
9 "mallctl() should return ENOENT for non-existent names");
11 assert_d_eq(mallctl("version", NULL, NULL, "0.0.0", strlen("0.0.0")),
12 EPERM, "mallctl() should return EPERM on attempt to write "
15 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(epoch)-1),
16 EINVAL, "mallctl() should return EINVAL for input size mismatch");
17 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(epoch)+1),
18 EINVAL, "mallctl() should return EINVAL for input size mismatch");
21 assert_d_eq(mallctl("epoch", &epoch, &sz, NULL, 0), EINVAL,
22 "mallctl() should return EINVAL for output size mismatch")
    [all...]
prof_gdump.c 30 assert_d_eq(mallctl("prof.active", NULL, NULL, &active, sizeof(active)),
31 0, "Unexpected mallctl failure while activating profiling");
prof_idump.c 32 assert_d_eq(mallctl("prof.active", NULL, NULL, &active, sizeof(active)),
33 0, "Unexpected mallctl failure while activating profiling");
prof_accum.c 39 assert_d_eq(mallctl("prof.dump", NULL, NULL, NULL, 0),
66 assert_d_eq(mallctl("prof.active", NULL, NULL, &active, sizeof(active)),
67 0, "Unexpected mallctl failure while activating profiling");
  /external/jemalloc/test/integration/
thread_tcache_enabled.c 19 if ((err = mallctl("thread.tcache.enabled", &e0, &sz, NULL, 0))) {
30 assert_d_eq(mallctl("thread.tcache.enabled", &e0, &sz, &e1, sz),
31 0, "Unexpected mallctl() error");
36 assert_d_eq(mallctl("thread.tcache.enabled", &e0, &sz, &e1, sz), 0,
37 "Unexpected mallctl() error");
41 assert_d_eq(mallctl("thread.tcache.enabled", &e0, &sz, &e1, sz), 0,
42 "Unexpected mallctl() error");
46 assert_d_eq(mallctl("thread.tcache.enabled", &e0, &sz, &e1, sz), 0,
47 "Unexpected mallctl() error");
51 assert_d_eq(mallctl("thread.tcache.enabled", &e0, &sz, &e1, sz), 0
    [all...]
allocated.c 21 if ((err = mallctl("thread.allocated", &a0, &sz, NULL, 0))) {
24 test_fail("%s(): Error in mallctl(): %s", __func__,
28 if ((err = mallctl("thread.allocatedp", &ap0, &sz, NULL, 0))) {
31 test_fail("%s(): Error in mallctl(): %s", __func__,
39 if ((err = mallctl("thread.deallocated", &d0, &sz, NULL, 0))) {
42 test_fail("%s(): Error in mallctl(): %s", __func__,
46 if ((err = mallctl("thread.deallocatedp", &dp0, &sz, NULL, 0))) {
49 test_fail("%s(): Error in mallctl(): %s", __func__,
60 mallctl("thread.allocated", &a1, &sz, NULL, 0);
62 mallctl("thread.allocatedp", &ap1, &sz, NULL, 0)
    [all...]
chunk.c 32 assert_d_eq(mallctl("arena.0.chunk.alloc", &old_alloc,
37 assert_d_eq(mallctl("arena.0.chunk.dalloc", &old_dalloc, &old_size,
45 assert_d_eq(mallctl("arena.0.chunk.alloc", NULL,
48 assert_d_eq(mallctl("arena.0.chunk.dalloc", NULL, NULL, &old_dalloc,
thread_arena.c 19 if ((err = mallctl("thread.arena", &arena_ind, &size, &main_arena_ind,
24 test_fail("Error in mallctl(): %s", buf);
28 if ((err = mallctl("thread.arena", &arena_ind, &size, NULL, 0))) {
32 test_fail("Error in mallctl(): %s", buf);
53 if ((err = mallctl("thread.arena", &arena_ind, &size, NULL, 0))) {
57 test_fail("Error in mallctl(): %s", buf);
MALLOCX_ARENA.c 22 assert_d_eq(mallctl("arenas.extend", &arena_ind, &sz, NULL, 0), 0,
  /external/jemalloc/android/test/
run_unit.sh 11 $test_dir/mallctl
  /external/jemalloc/include/jemalloc/internal/
public_namespace.h 15 #define je_mallctl JEMALLOC_N(mallctl)
  /external/jemalloc/include/jemalloc/
jemalloc_mangle.h 26 # define mallctl je_mallctl macro
jemalloc_mangle_jet.h 26 # define mallctl jet_mallctl macro
jemalloc_protos.h.in 28 JEMALLOC_EXPORT int @je_@mallctl(const char *name, void *oldp,
jemalloc.h 187 # define mallctl je_mallctl macro
  /external/jemalloc/
Android.mk 162 test/unit/mallctl.c \

Completed in 953 milliseconds