Home
last modified time | relevance | path

Searched refs:miblen (Results 1 – 10 of 10) 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 …]
/external/jemalloc/test/integration/
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()
/external/jemalloc/src/
Dctl.c47 static int n##_ctl(const size_t *mib, size_t miblen, void *oldp, \
52 size_t miblen, size_t i);
867 ctl_bymib(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, in ctl_bymib() argument
881 for (i = 0; i < miblen; i++) { in ctl_bymib()
896 node = inode->index(mib, miblen, mib[i]); in ctl_bymib()
906 ret = node->ctl(mib, miblen, oldp, oldlenp, newp, newlen); in ctl_bymib()
995 n##_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, \
1018 n##_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, \
1039 n##_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, \
1062 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); \
24 xmallctlbymib(mib, miblen, v, &sz, NULL, 0); \
29 size_t miblen = sizeof(mib) / sizeof(size_t); \
31 xmallctlnametomib(n, mib, &miblen); \
34 xmallctlbymib(mib, miblen, v, &sz, NULL, 0); \
Djemalloc.c1837 je_mallctlbymib(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, argument
1844 return (ctl_bymib(mib, miblen, oldp, oldlenp, newp, newlen));
/external/jemalloc/include/jemalloc/internal/
Dctl.h72 int ctl_bymib(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp,
97 #define xmallctlbymib(mib, miblen, oldp, oldlenp, newp, newlen) do { \ argument
98 if (je_mallctlbymib(mib, miblen, oldp, oldlenp, newp, \
/external/jemalloc/include/jemalloc/
Djemalloc_protos_jet.h32 JEMALLOC_EXPORT int jet_mallctlbymib(const size_t *mib, size_t miblen,
Djemalloc_protos.h32 JEMALLOC_EXPORT int je_mallctlbymib(const size_t *mib, size_t miblen,
Djemalloc_protos.h.in32 JEMALLOC_EXPORT int @je_@mallctlbymib(const size_t *mib, size_t miblen,
Djemalloc.h143 JEMALLOC_EXPORT int je_mallctlbymib(const size_t *mib, size_t miblen,