/netbsd-current/external/bsd/jemalloc/dist/test/unit/ |
H A D | prof_gdump.c | 32 p = mallocx((1U << LG_LARGE_MINCLASS), 0); 33 assert_ptr_not_null(p, "Unexpected mallocx() failure"); 37 q = mallocx((1U << LG_LARGE_MINCLASS), 0); 38 assert_ptr_not_null(q, "Unexpected mallocx() failure"); 48 r = mallocx((1U << LG_LARGE_MINCLASS), 0); 49 assert_ptr_not_null(q, "Unexpected mallocx() failure"); 59 s = mallocx((1U << LG_LARGE_MINCLASS), 0); 60 assert_ptr_not_null(q, "Unexpected mallocx() failure");
|
H A D | prof_idump.c | 31 p = mallocx(1, 0); 32 assert_ptr_not_null(p, "Unexpected mallocx() failure");
|
H A D | slab.c | 10 extent_init(&slab, NULL, mallocx(bin_info->slab_size,
|
H A D | tsd.c | 35 void *p = mallocx(1, 0); 36 assert_ptr_not_null(p, "Unexpeced mallocx() failure"); 107 p = mallocx(1, MALLOCX_TCACHE_NONE);
|
H A D | stats.c | 36 p = mallocx(SMALL_MAXCLASS+1, MALLOCX_ARENA(0)); 37 assert_ptr_not_null(p, "Unexpected mallocx() failure"); 77 little = mallocx(SMALL_MAXCLASS, MALLOCX_ARENA(0)); 78 assert_ptr_not_null(little, "Unexpected mallocx() failure"); 79 large = mallocx((1U << LG_LARGE_MINCLASS), MALLOCX_ARENA(0)); 80 assert_ptr_not_null(large, "Unexpected mallocx() failure"); 151 p = mallocx(SMALL_MAXCLASS, MALLOCX_ARENA(0)); 152 assert_ptr_not_null(p, "Unexpected mallocx() failure"); 194 p = mallocx((1U << LG_LARGE_MINCLASS), MALLOCX_ARENA(0)); 195 assert_ptr_not_null(p, "Unexpected mallocx() failur [all...] |
H A D | prof_tctx.c | 16 p = mallocx(1024, flags); 17 assert_ptr_not_null(p, "Unexpected mallocx() failure");
|
H A D | zero.c | 10 s = (uint8_t *)mallocx(sz_min, 0); 11 assert_ptr_not_null((void *)s, "Unexpected mallocx() failure");
|
H A D | pack.c | 106 void *p = mallocx(SZ, MALLOCX_ARENA(arena_ind) | 109 "Unexpected mallocx(%zu, MALLOCX_ARENA(%u) |" 149 p = mallocx(SZ, MALLOCX_ARENA(arena_ind) |
|
H A D | mq.c | 53 p = mallocx(sizeof(mq_msg_t), 0); 54 assert_ptr_not_null(p, "Unexpected mallocx() failure");
|
H A D | junk.c | 70 s = (uint8_t *)mallocx(sz_min, 0); 71 assert_ptr_not_null((void *)s, "Unexpected mallocx() failure");
|
/netbsd-current/external/bsd/jemalloc/dist/test/include/test/ |
H A D | btalloc.h | 15 p = mallocx(size, 0); \ 28 assert_ptr_not_null(p, "Unexpected mallocx() failure"); \
|
/netbsd-current/include/ |
H A D | malloc.h | 36 void *mallocx(size_t, int);
|
/netbsd-current/external/bsd/jemalloc/dist/test/integration/ |
H A D | mallocx.c | 59 assert_ptr_null(mallocx(largemax+1, 0), 60 "Expected OOM for mallocx(size=%#zx, 0)", largemax+1); 62 assert_ptr_null(mallocx(ZU(PTRDIFF_MAX)+1, 0), 63 "Expected OOM for mallocx(size=%#zx, 0)", ZU(PTRDIFF_MAX)+1); 65 assert_ptr_null(mallocx(SIZE_T_MAX, 0), 66 "Expected OOM for mallocx(size=%#zx, 0)", SIZE_T_MAX); 68 assert_ptr_null(mallocx(1, MALLOCX_ALIGN(ZU(PTRDIFF_MAX)+1)), 69 "Expected OOM for mallocx(size=1, MALLOCX_ALIGN(%#zx))", 87 ptrs[i] = mallocx(largemax, 0); 93 "Expected OOM during series of calls to mallocx(siz [all...] |
H A D | sdallocx.c | 7 void *ptr = mallocx(64, 0); 31 ps[i] = mallocx(sz, MALLOCX_ALIGN(alignment) |
|
H A D | xallocx.c | 25 p = mallocx(42, 0); 26 assert_ptr_not_null(p, "Unexpected mallocx() error"); 40 p = mallocx(42, 0); 41 assert_ptr_not_null(p, "Unexpected mallocx() error"); 55 p = mallocx(42, 0); 56 assert_ptr_not_null(p, "Unexpected mallocx() error"); 124 p = mallocx(small0, 0); 125 assert_ptr_not_null(p, "Unexpected mallocx() error"); 153 p = mallocx(small0, 0); 154 assert_ptr_not_null(p, "Unexpected mallocx() erro [all...] |
H A D | rallocx.c | 52 p = mallocx(1, 0); 53 assert_ptr_not_null(p, "Unexpected mallocx() error"); 115 p = mallocx(start_size, MALLOCX_ZERO); 116 assert_ptr_not_null(p, "Unexpected mallocx() error"); 156 p = mallocx(1, MALLOCX_ALIGN(align)); 157 assert_ptr_not_null(p, "Unexpected mallocx() error"); 182 p = mallocx(1, MALLOCX_LG_ALIGN(lg_align)|MALLOCX_ZERO); 183 assert_ptr_not_null(p, "Unexpected mallocx() error"); 217 p = mallocx(1, 0); 218 assert_ptr_not_null(p, "Unexpected mallocx() failur [all...] |
H A D | MALLOCX_ARENA.c | 40 p = mallocx(1, MALLOCX_ARENA(arena_ind)); 41 assert_ptr_not_null(p, "Unexpected mallocx() error");
|
H A D | extent.c | 46 p = mallocx(large0 * 2, flags); 47 assert_ptr_not_null(p, "Unexpected mallocx() error"); 70 p = mallocx(large0 * 2, flags); 71 assert_ptr_not_null(p, "Unexpected mallocx() error"); 96 p = mallocx(42, flags); 97 assert_ptr_not_null(p, "Unexpected mallocx() error");
|
/netbsd-current/external/bsd/jemalloc/include/jemalloc/ |
H A D | jemalloc_rename.h | 19 # define je_mallocx mallocx
|
H A D | jemalloc_mangle.h | 24 # define mallocx je_mallocx macro
|
H A D | jemalloc_mangle_jet.h | 24 # define mallocx jet_mallocx macro
|
/netbsd-current/external/bsd/jemalloc/include/jemalloc/internal/ |
H A D | public_namespace.h | 13 #define je_mallocx JEMALLOC_N(mallocx)
|
/netbsd-current/external/mpl/bind/dist/lib/isc/ |
H A D | jemalloc_shim.h | 37 mallocx(size_t size, int flags) { function 101 mallocx(size_t size, int flags) { function
|
/netbsd-current/external/bsd/jemalloc/dist/test/stress/ |
H A D | microbench.c | 25 p = mallocx(1, 0); 27 test_fail("Unexpected mallocx() failure"); 56 void *p = mallocx(1, 0); 58 test_fail("Unexpected mallocx() failure"); 66 malloc_free, "mallocx", mallocx_free);
|
/netbsd-current/external/bsd/jemalloc/lib/ |
H A D | jemalloc_stub.c | 35 mallocx(size_t l, int f) function
|