/external/jemalloc_new/test/integration/ |
D | mallocx.c | 59 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 …]
|
D | xallocx.c | 25 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()
|
D | rallocx.c | 52 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()
|
D | sdallocx.c | 7 void *ptr = mallocx(64, 0); in TEST_BEGIN() 31 ps[i] = mallocx(sz, MALLOCX_ALIGN(alignment) | in TEST_BEGIN()
|
D | extent.c | 46 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()
|
D | MALLOCX_ARENA.c | 40 p = mallocx(1, MALLOCX_ARENA(arena_ind)); in thd_start()
|
/external/jemalloc_new/test/unit/ |
D | prof_gdump.c | 32 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()
|
D | stats.c | 36 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()
|
D | tsd.c | 35 void *p = mallocx(1, 0); in data_cleanup() 107 p = mallocx(1, MALLOCX_TCACHE_NONE); in thd_start_reincarnated()
|
D | mallctl.c | 220 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()
|
D | pack.c | 106 void *p = mallocx(SZ, MALLOCX_ARENA(arena_ind) | in TEST_BEGIN() 149 p = mallocx(SZ, MALLOCX_ARENA(arena_ind) | in TEST_BEGIN()
|
D | decay.c | 169 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()
|
D | prof_idump.c | 31 p = mallocx(1, 0); in TEST_BEGIN()
|
D | slab.c | 10 extent_init(&slab, NULL, mallocx(bin_info->slab_size, in TEST_BEGIN()
|
D | prof_reset.c | 104 p = mallocx(1, 0); in TEST_BEGIN() 248 p = ptrs[i] = mallocx(1, 0); in TEST_BEGIN()
|
D | zero.c | 10 s = (uint8_t *)mallocx(sz_min, 0); in test_zero()
|
D | prof_tctx.c | 16 p = mallocx(1024, flags); in TEST_BEGIN()
|
D | arena_reset.c | 116 (*ptrs)[i] = mallocx(sz, flags); in do_arena_reset_pre() 122 (*ptrs)[nsmall + i] = mallocx(sz, flags); in do_arena_reset_pre()
|
D | mq.c | 53 p = mallocx(sizeof(mq_msg_t), 0); in thd_sender_start()
|
D | prof_active.c | 72 p = mallocx(1, 0); in prof_sampling_probe_impl()
|
/external/jemalloc_new/test/stress/ |
D | microbench.c | 25 p = mallocx(1, 0); in compare_funcs() 56 void *p = mallocx(1, 0); in mallocx_free()
|
/external/jemalloc_new/test/include/test/ |
D | btalloc.h | 15 p = mallocx(size, 0); \
|
/external/jemalloc_new/include/jemalloc/internal/ |
D | public_namespace.h | 13 #define je_mallocx JEMALLOC_N(mallocx)
|
/external/jemalloc_new/include/jemalloc/ |
D | jemalloc_mangle_jet.h | 24 # define mallocx jet_mallocx macro
|
D | jemalloc_rename.h | 43 # define je_mallocx mallocx
|