| /third_party/ulib/jemalloc/test/integration/ |
| A D | mallocx.c | 69 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 D | sdallocx.c | 8 void *ptr = mallocx(64, 0); in TEST_BEGIN() 32 ps[i] = mallocx(sz, MALLOCX_ALIGN(alignment) | in TEST_BEGIN()
|
| A D | xallocx.c | 31 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 D | rallocx.c | 57 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 D | extent.c | 37 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 D | MALLOCX_ARENA.c | 41 p = mallocx(1, MALLOCX_ARENA(arena_ind)); in thd_start()
|
| /third_party/ulib/jemalloc/test/unit/ |
| A D | prof_gdump.c | 38 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 D | stats.c | 38 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 D | decay.c | 120 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 D | prof_idump.c | 46 p = mallocx(1, 0); in TEST_BEGIN()
|
| A D | pack.c | 107 void *p = mallocx(SZ, MALLOCX_ARENA(arena_ind) | in TEST_BEGIN() 148 p = mallocx(SZ, MALLOCX_ARENA(arena_ind) | in TEST_BEGIN()
|
| A D | slab.c | 11 extent_init(&slab, NULL, mallocx(bin_info->slab_size, in TEST_BEGIN()
|
| A D | mallctl.c | 224 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 D | zero.c | 16 s = (uint8_t *)mallocx(sz_min, 0); in test_zero()
|
| A D | tsd.c | 44 void *p = mallocx(1, 0); in malloc_tsd_types()
|
| A D | prof_tctx.c | 22 p = mallocx(1024, flags); in TEST_BEGIN()
|
| A D | prof_reset.c | 116 p = mallocx(1, 0); in TEST_BEGIN() 262 p = ptrs[i] = mallocx(1, 0); in TEST_BEGIN()
|
| A D | mq.c | 56 p = mallocx(sizeof(mq_msg_t), 0); in thd_sender_start()
|
| /third_party/ulib/jemalloc/include/jemalloc/internal/ |
| A D | public_symbols.txt | 9 mallocx:mallocx
|
| A D | public_namespace.h | 9 #define je_mallocx JEMALLOC_N(mallocx)
|
| /third_party/ulib/jemalloc/test/stress/ |
| A D | microbench.c | 25 p = mallocx(1, 0); in compare_funcs() 58 void *p = mallocx(1, 0); in mallocx_free()
|
| /third_party/ulib/jemalloc/test/include/test/ |
| A D | btalloc.h | 16 p = mallocx(size, 0); \
|
| /third_party/ulib/jemalloc/include/jemalloc/ |
| A D | jemalloc_rename.h | 15 # define je_mallocx mallocx
|
| A D | jemalloc_mangle.h | 20 # define mallocx je_mallocx macro
|
| A D | jemalloc_mangle_jet.h | 20 # define mallocx jet_mallocx macro
|