/external/jemalloc/test/unit/ |
D | mallctl.c | 32 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 …]
|
D | run_quantize.c | 8 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()
|
D | size_classes.c | 8 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/ |
D | overflow.c | 7 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()
|
D | MALLOCX_ARENA.c | 27 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()
|
D | mallocx.c | 29 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()
|
D | rallocx.c | 29 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()
|
D | xallocx.c | 110 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/ |
D | ctl.c | 45 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 …]
|
D | stats.c | 11 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); \
|
D | jemalloc.c | 2587 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/ |
D | ctl.h | 75 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/ |
D | jemalloc_protos.h | 49 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
|
D | jemalloc_protos_jet.h | 49 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
|
D | jemalloc_protos.h.in | 49 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
|
D | jemalloc.h | 243 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
|