Home
last modified time | relevance | path

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

12

/external/jemalloc_new/test/unit/
Dmallctl.c34 size_t miblen; in TEST_BEGIN() local
36 miblen = sizeof(mib)/sizeof(size_t); in TEST_BEGIN()
37 assert_d_eq(mallctlnametomib("no_such_name", mib, &miblen), ENOENT, in TEST_BEGIN()
46 size_t miblen; in TEST_BEGIN() local
48 miblen = sizeof(mib)/sizeof(size_t); in TEST_BEGIN()
49 assert_d_eq(mallctlnametomib("version", mib, &miblen), 0, in TEST_BEGIN()
52 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, "0.0.0", in TEST_BEGIN()
56 miblen = sizeof(mib)/sizeof(size_t); in TEST_BEGIN()
57 assert_d_eq(mallctlnametomib("epoch", mib, &miblen), 0, in TEST_BEGIN()
60 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, (void *)&epoch, in TEST_BEGIN()
[all …]
Dpack.c30 size_t miblen = sizeof(mib)/sizeof(size_t); in binind_compute() local
34 &miblen), 0, "Unexpected mallctlnametomb failure"); in binind_compute()
38 assert_d_eq(mallctlbymib(mib, miblen, (void *)&size, &sz, NULL, in binind_compute()
55 size_t miblen = sizeof(mib)/sizeof(size_t); in nregs_per_run_compute() local
57 assert_d_eq(mallctlnametomib("arenas.bin.0.nregs", mib, &miblen), 0, in nregs_per_run_compute()
61 assert_d_eq(mallctlbymib(mib, miblen, (void *)&nregs, &sz, NULL, in nregs_per_run_compute()
81 size_t miblen = sizeof(mib)/sizeof(size_t); in arena_reset_mallctl() local
83 assert_d_eq(mallctlnametomib("arena.0.reset", mib, &miblen), 0, in arena_reset_mallctl()
86 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, NULL, 0), 0, in arena_reset_mallctl()
Ddecay.c45 size_t miblen = sizeof(mib)/sizeof(size_t); in do_arena_create() local
47 assert_d_eq(mallctlnametomib("arena.0.dirty_decay_ms", mib, &miblen), in do_arena_create()
50 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, in do_arena_create()
54 assert_d_eq(mallctlnametomib("arena.0.muzzy_decay_ms", mib, &miblen), in do_arena_create()
57 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, in do_arena_create()
67 size_t miblen = sizeof(mib)/sizeof(size_t); in do_arena_destroy() local
68 assert_d_eq(mallctlnametomib("arena.0.destroy", mib, &miblen), 0, in do_arena_destroy()
71 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, NULL, 0), 0, in do_arena_destroy()
85 size_t miblen = sizeof(mib)/sizeof(size_t); in do_purge() local
86 assert_d_eq(mallctlnametomib("arena.0.purge", mib, &miblen), 0, in do_purge()
[all …]
Darena_reset.c37 size_t miblen = 4; in get_size_impl() local
40 assert_d_eq(mallctlnametomib(cmd, mib, &miblen), in get_size_impl()
44 assert_d_eq(mallctlbymib(mib, miblen, (void *)&ret, &z, NULL, 0), in get_size_impl()
163 size_t miblen; in do_arena_reset_destroy() local
165 miblen = sizeof(mib)/sizeof(size_t); in do_arena_reset_destroy()
166 assert_d_eq(mallctlnametomib(name, mib, &miblen), 0, in do_arena_reset_destroy()
169 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, NULL, 0), 0, in do_arena_reset_destroy()
199 size_t miblen, sz; in arena_i_initialized() local
207 miblen = sizeof(mib)/sizeof(size_t); in arena_i_initialized()
208 assert_d_eq(mallctlnametomib("arena.0.initialized", mib, &miblen), 0, in arena_i_initialized()
[all …]
Dretained.c26 size_t miblen; in do_arena_destroy() local
28 miblen = sizeof(mib)/sizeof(size_t); in do_arena_destroy()
29 assert_d_eq(mallctlnametomib("arena.0.destroy", mib, &miblen), 0, in do_arena_destroy()
32 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, NULL, 0), 0, in do_arena_destroy()
46 size_t miblen = sizeof(mib) / sizeof(size_t); in do_get_size_impl() local
49 assert_d_eq(mallctlnametomib(cmd, mib, &miblen), in do_get_size_impl()
53 assert_d_eq(mallctlbymib(mib, miblen, (void *)&size, &z, NULL, 0), in do_get_size_impl()
Dextent_quantize.c7 size_t miblen = sizeof(mib) / sizeof(size_t); in TEST_BEGIN() local
18 assert_d_eq(mallctlnametomib("arenas.bin.0.slab_size", mib, &miblen), 0, in TEST_BEGIN()
23 assert_d_eq(mallctlbymib(mib, miblen, (void *)&extent_size, &sz, in TEST_BEGIN()
42 size_t miblen = sizeof(mib) / sizeof(size_t); in TEST_BEGIN() local
57 assert_d_eq(mallctlnametomib("arenas.lextent.0.size", mib, &miblen), 0, in TEST_BEGIN()
64 assert_d_eq(mallctlbymib(mib, miblen, (void *)&lextent_size, in TEST_BEGIN()
Dsize_classes.c7 size_t sz, miblen, max_size_class; in get_max_size_class() local
13 miblen = sizeof(mib) / sizeof(size_t); in get_max_size_class()
14 assert_d_eq(mallctlnametomib("arenas.lextent.0.size", mib, &miblen), 0, in get_max_size_class()
19 assert_d_eq(mallctlbymib(mib, miblen, (void *)&max_size_class, &sz, in get_max_size_class()
Dstats_print.c969 size_t miblen = sizeof(mib)/sizeof(size_t); in TEST_BEGIN() local
971 mib, &miblen), 0, in TEST_BEGIN()
974 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, NULL, in TEST_BEGIN()
/external/jemalloc_new/test/integration/
Doverflow.c6 size_t sz, miblen, max_size_class; in TEST_BEGIN() local
13 miblen = sizeof(mib) / sizeof(size_t); in TEST_BEGIN()
14 assert_d_eq(mallctlnametomib("arenas.lextent.0.size", mib, &miblen), 0, in TEST_BEGIN()
19 assert_d_eq(mallctlbymib(mib, miblen, (void *)&max_size_class, &sz, in TEST_BEGIN()
DMALLOCX_ARENA.c26 size_t miblen = sizeof(mib) / sizeof(size_t); in thd_start() local
32 assert_d_eq(mallctlnametomib("arena.0.dss", mib, &miblen), 0, in thd_start()
35 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, (void *)&dss, in thd_start()
Dmallocx.c25 size_t miblen = 4; in get_size_impl() local
28 assert_d_eq(mallctlnametomib(cmd, mib, &miblen), in get_size_impl()
32 assert_d_eq(mallctlbymib(mib, miblen, (void *)&ret, &z, NULL, 0), in get_size_impl()
Drallocx.c25 size_t miblen = 4; in get_size_impl() local
28 assert_d_eq(mallctlnametomib(cmd, mib, &miblen), in get_size_impl()
32 assert_d_eq(mallctlbymib(mib, miblen, (void *)&ret, &z, NULL, 0), in get_size_impl()
Dxallocx.c93 size_t miblen = 4; in get_size_impl() local
96 assert_d_eq(mallctlnametomib(cmd, mib, &miblen), in get_size_impl()
100 assert_d_eq(mallctlbymib(mib, miblen, (void *)&ret, &z, NULL, 0), in get_size_impl()
/external/jemalloc_new/src/
Dctl.c50 static int n##_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, \
55 const size_t *mib, size_t miblen, size_t i);
1219 ctl_bymib(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, in ctl_bymib() argument
1232 for (i = 0; i < miblen; i++) { in ctl_bymib()
1247 node = inode->index(tsd_tsdn(tsd), mib, miblen, mib[i]); in ctl_bymib()
1257 ret = node->ctl(tsd, mib, miblen, oldp, oldlenp, newp, newlen); in ctl_bymib()
1356 n##_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, \
1381 n##_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, \
1402 n##_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, \
1424 n##_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, \
[all …]
Dstats.c30 size_t miblen = sizeof(mib) / sizeof(size_t); \
32 xmallctlnametomib(n, mib, &miblen); \
34 xmallctlbymib(mib, miblen, (void *)v, &sz, NULL, 0); \
39 size_t miblen = sizeof(mib) / sizeof(size_t); \
41 xmallctlnametomib(n, mib, &miblen); \
44 xmallctlbymib(mib, miblen, (void *)v, &sz, NULL, 0); \
1160 size_t miblen = sizeof(mib) / sizeof(size_t); in stats_print_helper() local
1166 xmallctlnametomib("arena.0.initialized", mib, &miblen); in stats_print_helper()
1170 xmallctlbymib(mib, miblen, &initialized[i], &sz, in stats_print_helper()
1178 xmallctlbymib(mib, miblen, &destroyed_initialized, &sz, in stats_print_helper()
Djemalloc.c3112 je_mallctlbymib(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, argument
3126 ret = ctl_bymib(tsd, mib, miblen, oldp, oldlenp, newp, newlen);
/external/jemalloc_new/include/jemalloc/internal/
Dctl.h97 int ctl_bymib(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp,
122 #define xmallctlbymib(mib, miblen, oldp, oldlenp, newp, newlen) do { \ argument
123 if (je_mallctlbymib(mib, miblen, oldp, oldlenp, newp, \
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-port.cc171 u_int miblen = sizeof(mib) / sizeof(mib[0]); in GetThreadCount() local
174 if (sysctl(mib, miblen, &info, &size, NULL, 0)) { in GetThreadCount()
192 u_int miblen = sizeof(mib) / sizeof(mib[0]); in GetThreadCount() local
196 if (sysctl(mib, miblen, NULL, &size, NULL, 0)) { in GetThreadCount()
203 if (sysctl(mib, miblen, &info, &size, NULL, 0)) { in GetThreadCount()
/external/googletest/googletest/src/
Dgtest-port.cc177 u_int miblen = sizeof(mib) / sizeof(mib[0]); in GetThreadCount() local
180 if (sysctl(mib, miblen, &info, &size, NULL, 0)) { in GetThreadCount()
198 u_int miblen = sizeof(mib) / sizeof(mib[0]); in GetThreadCount() local
202 if (sysctl(mib, miblen, NULL, &size, NULL, 0)) { in GetThreadCount()
210 if (sysctl(mib, miblen, &info, &size, NULL, 0)) { in GetThreadCount()
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/src/
Dgtest-port.cc172 u_int miblen = sizeof(mib) / sizeof(mib[0]); in GetThreadCount() local
175 if (sysctl(mib, miblen, &info, &size, NULL, 0)) { in GetThreadCount()
193 u_int miblen = sizeof(mib) / sizeof(mib[0]); in GetThreadCount() local
197 if (sysctl(mib, miblen, NULL, &size, NULL, 0)) { in GetThreadCount()
204 if (sysctl(mib, miblen, &info, &size, NULL, 0)) { in GetThreadCount()
/external/mesa3d/src/gtest/src/
Dgtest-port.cc172 u_int miblen = sizeof(mib) / sizeof(mib[0]); in GetThreadCount() local
175 if (sysctl(mib, miblen, &info, &size, NULL, 0)) { in GetThreadCount()
193 u_int miblen = sizeof(mib) / sizeof(mib[0]); in GetThreadCount() local
197 if (sysctl(mib, miblen, NULL, &size, NULL, 0)) { in GetThreadCount()
204 if (sysctl(mib, miblen, &info, &size, NULL, 0)) { in GetThreadCount()
/external/jemalloc_new/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.h235 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);

12