Home
last modified time | relevance | path

Searched refs:mallocx (Results 1 – 25 of 36) sorted by relevance

12

/external/jemalloc_new/test/integration/
Dmallocx.c59 assert_ptr_null(mallocx(largemax+1, 0), in TEST_BEGIN()
62 assert_ptr_null(mallocx(ZU(PTRDIFF_MAX)+1, 0), in TEST_BEGIN()
65 assert_ptr_null(mallocx(SIZE_T_MAX, 0), in TEST_BEGIN()
68 assert_ptr_null(mallocx(1, MALLOCX_ALIGN(ZU(PTRDIFF_MAX)+1)), in TEST_BEGIN()
87 ptrs[i] = mallocx(largemax, 0); in TEST_BEGIN()
103 assert_ptr_null(mallocx(0x8000000000000000ULL, in TEST_BEGIN()
106 assert_ptr_null(mallocx(0x8000000000000000ULL, in TEST_BEGIN()
110 assert_ptr_null(mallocx(0x80000000UL, MALLOCX_ALIGN(0x80000000UL)), in TEST_BEGIN()
125 p = mallocx(sz, 0); in TEST_BEGIN()
133 p = mallocx(sz, 0); in TEST_BEGIN()
[all …]
Dxallocx.c25 p = mallocx(42, 0); in TEST_BEGIN()
40 p = mallocx(42, 0); in TEST_BEGIN()
55 p = mallocx(42, 0); in TEST_BEGIN()
124 p = mallocx(small0, 0); in TEST_BEGIN()
153 p = mallocx(small0, 0); in TEST_BEGIN()
185 p = mallocx(small0, 0); in TEST_BEGIN()
219 p = mallocx(large3, flags); in TEST_BEGIN()
322 p = mallocx(sz, flags); in test_zero()
Drallocx.c52 p = mallocx(1, 0); in TEST_BEGIN()
115 p = mallocx(start_size, MALLOCX_ZERO); in TEST_BEGIN()
156 p = mallocx(1, MALLOCX_ALIGN(align)); in TEST_BEGIN()
182 p = mallocx(1, MALLOCX_LG_ALIGN(lg_align)|MALLOCX_ZERO); in TEST_BEGIN()
217 p = mallocx(1, 0); in TEST_BEGIN()
Dsdallocx.c7 void *ptr = mallocx(64, 0); in TEST_BEGIN()
31 ps[i] = mallocx(sz, MALLOCX_ALIGN(alignment) | in TEST_BEGIN()
Dextent.c46 p = mallocx(large0 * 2, flags); in test_extent_body()
70 p = mallocx(large0 * 2, flags); in test_extent_body()
96 p = mallocx(42, flags); in test_extent_body()
DMALLOCX_ARENA.c40 p = mallocx(1, MALLOCX_ARENA(arena_ind)); in thd_start()
/external/jemalloc_new/test/unit/
Dprof_gdump.c32 p = mallocx((1U << LG_LARGE_MINCLASS), 0); in TEST_BEGIN()
37 q = mallocx((1U << LG_LARGE_MINCLASS), 0); in TEST_BEGIN()
48 r = mallocx((1U << LG_LARGE_MINCLASS), 0); in TEST_BEGIN()
59 s = mallocx((1U << LG_LARGE_MINCLASS), 0); in TEST_BEGIN()
Dstats.c36 p = mallocx(SMALL_MAXCLASS+1, MALLOCX_ARENA(0)); in TEST_BEGIN()
77 little = mallocx(SMALL_MAXCLASS, MALLOCX_ARENA(0)); in TEST_BEGIN()
79 large = mallocx((1U << LG_LARGE_MINCLASS), MALLOCX_ARENA(0)); in TEST_BEGIN()
151 p = mallocx(SMALL_MAXCLASS, MALLOCX_ARENA(0)); in TEST_BEGIN()
194 p = mallocx((1U << LG_LARGE_MINCLASS), MALLOCX_ARENA(0)); in TEST_BEGIN()
327 p = mallocx(hsize, MALLOCX_ARENA(0)); in TEST_BEGIN()
Dtsd.c35 void *p = mallocx(1, 0); in data_cleanup()
107 p = mallocx(1, MALLOCX_TCACHE_NONE); in thd_start_reincarnated()
Dmallctl.c220 void *p0 = mallocx(42, 0); in TEST_BEGIN()
222 void *q = mallocx(42, 0); in TEST_BEGIN()
230 void *p1 = mallocx(42, 0); in TEST_BEGIN()
278 ps[i] = mallocx(psz, MALLOCX_TCACHE(tis[i])); in TEST_BEGIN()
283 qs[i] = mallocx(qsz, MALLOCX_TCACHE(tis[i])); in TEST_BEGIN()
292 ps[i] = mallocx(psz, MALLOCX_TCACHE(tis[i])); in TEST_BEGIN()
748 ptr = mallocx(42, MALLOCX_ARENA(arena) | MALLOCX_TCACHE_NONE); in TEST_BEGIN()
Dpack.c106 void *p = mallocx(SZ, MALLOCX_ARENA(arena_ind) | in TEST_BEGIN()
149 p = mallocx(SZ, MALLOCX_ARENA(arena_ind) | in TEST_BEGIN()
Ddecay.c169 void *p = mallocx(size, flags); in do_mallocx()
284 p = mallocx(sz, MALLOCX_TCACHE_NONE); in TEST_BEGIN()
313 p = mallocx(sz, MALLOCX_TCACHE_NONE); in TEST_BEGIN()
347 p = mallocx(sz, MALLOCX_TCACHE(tcache_ind)); in TEST_BEGIN()
514 ps[i] = mallocx(large0, flags); in TEST_BEGIN()
Dprof_idump.c31 p = mallocx(1, 0); in TEST_BEGIN()
Dslab.c10 extent_init(&slab, NULL, mallocx(bin_info->slab_size, in TEST_BEGIN()
Dprof_reset.c104 p = mallocx(1, 0); in TEST_BEGIN()
248 p = ptrs[i] = mallocx(1, 0); in TEST_BEGIN()
Dzero.c10 s = (uint8_t *)mallocx(sz_min, 0); in test_zero()
Dprof_tctx.c16 p = mallocx(1024, flags); in TEST_BEGIN()
Darena_reset.c116 (*ptrs)[i] = mallocx(sz, flags); in do_arena_reset_pre()
122 (*ptrs)[nsmall + i] = mallocx(sz, flags); in do_arena_reset_pre()
Dmq.c53 p = mallocx(sizeof(mq_msg_t), 0); in thd_sender_start()
Dprof_active.c72 p = mallocx(1, 0); in prof_sampling_probe_impl()
/external/jemalloc_new/test/stress/
Dmicrobench.c25 p = mallocx(1, 0); in compare_funcs()
56 void *p = mallocx(1, 0); in mallocx_free()
/external/jemalloc_new/test/include/test/
Dbtalloc.h15 p = mallocx(size, 0); \
/external/jemalloc_new/include/jemalloc/internal/
Dpublic_namespace.h13 #define je_mallocx JEMALLOC_N(mallocx)
/external/jemalloc_new/include/jemalloc/
Djemalloc_mangle_jet.h24 # define mallocx jet_mallocx macro
Djemalloc_rename.h43 # define je_mallocx mallocx

12