Home
last modified time | relevance | path

Searched refs:miblen (Results 1 – 16 of 16) sorted by relevance

/external/jemalloc/test/unit/
Dmallctl.c32 size_t miblen; in TEST_BEGIN() local
34 miblen = sizeof(mib)/sizeof(size_t); in TEST_BEGIN()
35 assert_d_eq(mallctlnametomib("no_such_name", mib, &miblen), ENOENT, in TEST_BEGIN()
45 size_t miblen; in TEST_BEGIN() local
47 miblen = sizeof(mib)/sizeof(size_t); in TEST_BEGIN()
48 assert_d_eq(mallctlnametomib("version", mib, &miblen), 0, in TEST_BEGIN()
51 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, "0.0.0", in TEST_BEGIN()
55 miblen = sizeof(mib)/sizeof(size_t); in TEST_BEGIN()
56 assert_d_eq(mallctlnametomib("epoch", mib, &miblen), 0, in TEST_BEGIN()
59 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, &epoch, in TEST_BEGIN()
[all …]
Drun_quantize.c8 size_t miblen = sizeof(mib) / sizeof(size_t); in TEST_BEGIN() local
19 assert_d_eq(mallctlnametomib("arenas.bin.0.run_size", mib, &miblen), 0, in TEST_BEGIN()
24 assert_d_eq(mallctlbymib(mib, miblen, &run_size, &sz, NULL, 0), in TEST_BEGIN()
42 size_t miblen = sizeof(mib) / sizeof(size_t); in TEST_BEGIN() local
57 assert_d_eq(mallctlnametomib("arenas.lrun.0.size", mib, &miblen), 0, in TEST_BEGIN()
64 assert_d_eq(mallctlbymib(mib, miblen, &lrun_size, &sz, NULL, 0), in TEST_BEGIN()
Dsize_classes.c8 size_t sz, miblen, max_size_class; in get_max_size_class() local
14 miblen = sizeof(mib) / sizeof(size_t); in get_max_size_class()
15 assert_d_eq(mallctlnametomib("arenas.hchunk.0.size", mib, &miblen), 0, in get_max_size_class()
20 assert_d_eq(mallctlbymib(mib, miblen, &max_size_class, &sz, NULL, 0), 0, in get_max_size_class()
/external/jemalloc/test/integration/
Doverflow.c7 size_t sz, miblen, max_size_class; in TEST_BEGIN() local
14 miblen = sizeof(mib) / sizeof(size_t); in TEST_BEGIN()
15 assert_d_eq(mallctlnametomib("arenas.hchunk.0.size", mib, &miblen), 0, in TEST_BEGIN()
20 assert_d_eq(mallctlbymib(mib, miblen, &max_size_class, &sz, NULL, 0), 0, in TEST_BEGIN()
DMALLOCX_ARENA.c27 size_t miblen = sizeof(mib) / sizeof(size_t); in thd_start() local
33 assert_d_eq(mallctlnametomib("arena.0.dss", mib, &miblen), 0, in thd_start()
36 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, (void *)&dss, in thd_start()
Dmallocx.c29 size_t miblen = 4; in get_size_impl() local
32 assert_d_eq(mallctlnametomib(cmd, mib, &miblen), in get_size_impl()
36 assert_d_eq(mallctlbymib(mib, miblen, &ret, &z, NULL, 0), in get_size_impl()
Drallocx.c29 size_t miblen = 4; in get_size_impl() local
32 assert_d_eq(mallctlnametomib(cmd, mib, &miblen), in get_size_impl()
36 assert_d_eq(mallctlbymib(mib, miblen, &ret, &z, NULL, 0), in get_size_impl()
Dxallocx.c110 size_t miblen = 4; in get_size_impl() local
113 assert_d_eq(mallctlnametomib(cmd, mib, &miblen), in get_size_impl()
117 assert_d_eq(mallctlbymib(mib, miblen, &ret, &z, NULL, 0), in get_size_impl()
/external/jemalloc/src/
Dctl.c45 static int n##_ctl(const size_t *mib, size_t miblen, void *oldp, \
50 size_t miblen, size_t i);
952 ctl_bymib(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, in ctl_bymib() argument
966 for (i = 0; i < miblen; i++) { in ctl_bymib()
981 node = inode->index(mib, miblen, mib[i]); in ctl_bymib()
991 ret = node->ctl(mib, miblen, oldp, oldlenp, newp, newlen); in ctl_bymib()
1088 n##_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, \
1111 n##_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, \
1132 n##_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, \
1155 n##_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, \
[all …]
Dstats.c11 size_t miblen = sizeof(mib) / sizeof(size_t); \
13 xmallctlnametomib(n, mib, &miblen); \
15 xmallctlbymib(mib, miblen, v, &sz, NULL, 0); \
20 size_t miblen = sizeof(mib) / sizeof(size_t); \
22 xmallctlnametomib(n, mib, &miblen); \
25 xmallctlbymib(mib, miblen, v, &sz, NULL, 0); \
Djemalloc.c2587 je_mallctlbymib(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, argument
2594 return (ctl_bymib(mib, miblen, oldp, oldlenp, newp, newlen));
/external/jemalloc/include/jemalloc/internal/
Dctl.h75 int ctl_bymib(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp,
100 #define xmallctlbymib(mib, miblen, oldp, oldlenp, newp, newlen) do { \ argument
101 if (je_mallctlbymib(mib, miblen, oldp, oldlenp, newp, \
/external/jemalloc/include/jemalloc/
Djemalloc_protos.h49 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
Djemalloc_protos_jet.h49 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
Djemalloc_protos.h.in49 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
Djemalloc.h243 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);