Home
last modified time | relevance | path

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

12

/third_party/ulib/jemalloc/test/integration/
A Dmallocx.c69 assert_ptr_null(mallocx(largemax+1, 0), in TEST_BEGIN()
72 assert_ptr_null(mallocx(ZU(PTRDIFF_MAX)+1, 0), in TEST_BEGIN()
75 assert_ptr_null(mallocx(SIZE_T_MAX, 0), in TEST_BEGIN()
78 assert_ptr_null(mallocx(1, MALLOCX_ALIGN(ZU(PTRDIFF_MAX)+1)), in TEST_BEGIN()
98 ptrs[i] = mallocx(largemax, 0); in TEST_BEGIN()
112 assert_ptr_null(mallocx(0x8000000000000000ULL, in TEST_BEGIN()
115 assert_ptr_null(mallocx(0x8000000000000000ULL, in TEST_BEGIN()
135 p = mallocx(sz, 0); in TEST_BEGIN()
143 p = mallocx(sz, 0); in TEST_BEGIN()
150 p = mallocx(sz, MALLOCX_ZERO); in TEST_BEGIN()
[all …]
A Dsdallocx.c8 void *ptr = mallocx(64, 0); in TEST_BEGIN()
32 ps[i] = mallocx(sz, MALLOCX_ALIGN(alignment) | in TEST_BEGIN()
A Dxallocx.c31 p = mallocx(42, 0); in TEST_BEGIN()
47 p = mallocx(42, 0); in TEST_BEGIN()
63 p = mallocx(42, 0); in TEST_BEGIN()
139 p = mallocx(small0, 0); in TEST_BEGIN()
169 p = mallocx(small0, 0); in TEST_BEGIN()
202 p = mallocx(small0, 0); in TEST_BEGIN()
237 p = mallocx(large3, flags); in TEST_BEGIN()
341 p = mallocx(sz, flags); in test_zero()
A Drallocx.c57 p = mallocx(1, 0); in TEST_BEGIN()
122 p = mallocx(start_size, MALLOCX_ZERO); in TEST_BEGIN()
164 p = mallocx(1, MALLOCX_ALIGN(align)); in TEST_BEGIN()
191 p = mallocx(1, MALLOCX_LG_ALIGN(lg_align)|MALLOCX_ZERO); in TEST_BEGIN()
227 p = mallocx(1, 0); in TEST_BEGIN()
A Dextent.c37 p = mallocx(large0 * 2, flags); in test_extent_body()
60 p = mallocx(large0 * 2, flags); in test_extent_body()
84 p = mallocx(42, flags); in test_extent_body()
A DMALLOCX_ARENA.c41 p = mallocx(1, MALLOCX_ARENA(arena_ind)); in thd_start()
/third_party/ulib/jemalloc/test/unit/
A Dprof_gdump.c38 p = mallocx((1U << LG_LARGE_MINCLASS), 0); in TEST_BEGIN()
43 q = mallocx((1U << LG_LARGE_MINCLASS), 0); in TEST_BEGIN()
54 r = mallocx((1U << LG_LARGE_MINCLASS), 0); in TEST_BEGIN()
65 s = mallocx((1U << LG_LARGE_MINCLASS), 0); in TEST_BEGIN()
A Dstats.c38 p = mallocx(SMALL_MAXCLASS+1, 0); in TEST_BEGIN()
84 little = mallocx(SMALL_MAXCLASS, 0); in TEST_BEGIN()
86 large = mallocx((1U << LG_LARGE_MINCLASS), 0); in TEST_BEGIN()
149 p = mallocx(SMALL_MAXCLASS, 0); in TEST_BEGIN()
198 p = mallocx((1U << LG_LARGE_MINCLASS), 0); in TEST_BEGIN()
240 p = mallocx(arena_bin_info[0].reg_size, 0); in TEST_BEGIN()
318 p = mallocx(hsize, 0); in TEST_BEGIN()
A Ddecay.c120 p = mallocx(sz, MALLOCX_TCACHE_NONE); in TEST_BEGIN()
149 p = mallocx(sz, MALLOCX_TCACHE_NONE); in TEST_BEGIN()
179 p = mallocx(sz, MALLOCX_TCACHE(tcache_ind)); in TEST_BEGIN()
240 ps[i] = mallocx(large, flags); in TEST_BEGIN()
273 void *p = mallocx(1, flags); in TEST_BEGIN()
327 ps[i] = mallocx(large0, flags); in TEST_BEGIN()
A Dprof_idump.c46 p = mallocx(1, 0); in TEST_BEGIN()
A Dpack.c107 void *p = mallocx(SZ, MALLOCX_ARENA(arena_ind) | in TEST_BEGIN()
148 p = mallocx(SZ, MALLOCX_ARENA(arena_ind) | in TEST_BEGIN()
A Dslab.c11 extent_init(&slab, NULL, mallocx(bin_info->slab_size, in TEST_BEGIN()
A Dmallctl.c224 p0 = mallocx(42, 0); in TEST_BEGIN()
226 q = mallocx(42, 0); in TEST_BEGIN()
234 p1 = mallocx(42, 0); in TEST_BEGIN()
285 ps[i] = mallocx(psz, MALLOCX_TCACHE(tis[i])); in TEST_BEGIN()
290 qs[i] = mallocx(qsz, MALLOCX_TCACHE(tis[i])); in TEST_BEGIN()
299 ps[i] = mallocx(psz, MALLOCX_TCACHE(tis[i])); in TEST_BEGIN()
A Dzero.c16 s = (uint8_t *)mallocx(sz_min, 0); in test_zero()
A Dtsd.c44 void *p = mallocx(1, 0); in malloc_tsd_types()
A Dprof_tctx.c22 p = mallocx(1024, flags); in TEST_BEGIN()
A Dprof_reset.c116 p = mallocx(1, 0); in TEST_BEGIN()
262 p = ptrs[i] = mallocx(1, 0); in TEST_BEGIN()
A Dmq.c56 p = mallocx(sizeof(mq_msg_t), 0); in thd_sender_start()
/third_party/ulib/jemalloc/include/jemalloc/internal/
A Dpublic_symbols.txt9 mallocx:mallocx
A Dpublic_namespace.h9 #define je_mallocx JEMALLOC_N(mallocx)
/third_party/ulib/jemalloc/test/stress/
A Dmicrobench.c25 p = mallocx(1, 0); in compare_funcs()
58 void *p = mallocx(1, 0); in mallocx_free()
/third_party/ulib/jemalloc/test/include/test/
A Dbtalloc.h16 p = mallocx(size, 0); \
/third_party/ulib/jemalloc/include/jemalloc/
A Djemalloc_rename.h15 # define je_mallocx mallocx
A Djemalloc_mangle.h20 # define mallocx je_mallocx macro
A Djemalloc_mangle_jet.h20 # define mallocx jet_mallocx macro

Completed in 25 milliseconds

12