/external/jemalloc/test/unit/ |
prof_gdump.c | 37 p = mallocx(chunksize, 0); 38 assert_ptr_not_null(p, "Unexpected mallocx() failure"); 42 q = mallocx(chunksize, 0); 43 assert_ptr_not_null(q, "Unexpected mallocx() failure"); 53 r = mallocx(chunksize, 0); 54 assert_ptr_not_null(q, "Unexpected mallocx() failure"); 64 s = mallocx(chunksize, 0); 65 assert_ptr_not_null(q, "Unexpected mallocx() failure");
|
lg_chunk.c | 14 p = mallocx(1, 0); 15 assert_ptr_not_null(p, "Unexpected mallocx() failure");
|
quarantine.c | 17 p = mallocx(QUARANTINE_SIZE*2, 0); 18 assert_ptr_not_null(p, "Unexpected mallocx() failure"); 44 void *p = mallocx(SZ, 0); 45 assert_ptr_not_null(p, "Unexpected mallocx() failure"); 81 s = (char *)mallocx(1, 0); 82 assert_ptr_not_null((void *)s, "Unexpected mallocx() failure"); 90 s = (char *)mallocx(1, 0); 91 assert_ptr_not_null((void *)s, "Unexpected mallocx() failure");
|
prof_idump.c | 38 p = mallocx(1, 0); 39 assert_ptr_not_null(p, "Unexpected mallocx() failure");
|
junk.c | 85 s = (char *)mallocx(sz_min, 0); 86 assert_ptr_not_null((void *)s, "Unexpected mallocx() failure"); 184 p1 = mallocx(large_maxclass, 0); 185 assert_ptr_not_null(p1, "Unexpected mallocx() failure"); 223 s = (char *)mallocx(1, 0); 224 assert_ptr_not_null((void *)s, "Unexpected mallocx() failure"); 232 s = (char *)mallocx(1, 0); 233 assert_ptr_not_null((void *)s, "Unexpected mallocx() failure");
|
tsd.c | 44 void *p = mallocx(1, 0); 45 assert_ptr_not_null(p, "Unexpeced mallocx() failure");
|
zero.c | 15 s = (char *)mallocx(sz_min, 0); 16 assert_ptr_not_null((void *)s, "Unexpected mallocx() failure");
|
decay.c | 117 /* mallocx(). */ 119 p = mallocx(sz, MALLOCX_TCACHE_NONE); 120 assert_ptr_not_null(p, "Unexpected mallocx() failure"); 123 "Expected ticker to tick during mallocx() (sz=%zu)", 148 p = mallocx(sz, MALLOCX_TCACHE_NONE); 149 assert_ptr_not_null(p, "Unexpected mallocx() failure"); 178 p = mallocx(sz, MALLOCX_TCACHE(tcache_ind)); 179 assert_ptr_not_null(p, "Unexpected mallocx() failure"); 241 ps[i] = mallocx(large, flags); 242 assert_ptr_not_null(ps[i], "Unexpected mallocx() failure") [all...] |
stats.c | 45 p = mallocx(large_maxclass+1, 0); 46 assert_ptr_not_null(p, "Unexpected mallocx() failure"); 89 little = mallocx(SMALL_MAXCLASS, 0); 90 assert_ptr_not_null(little, "Unexpected mallocx() failure"); 91 large = mallocx(large_maxclass, 0); 92 assert_ptr_not_null(large, "Unexpected mallocx() failure"); 93 huge = mallocx(chunksize, 0); 94 assert_ptr_not_null(huge, "Unexpected mallocx() failure"); 156 p = mallocx(SMALL_MAXCLASS, 0); 157 assert_ptr_not_null(p, "Unexpected mallocx() failure") [all...] |
mq.c | 56 p = mallocx(sizeof(mq_msg_t), 0); 57 assert_ptr_not_null(p, "Unexpected mallocx() failure");
|
prof_active.c | 87 p = mallocx(1, 0); 88 assert_ptr_not_null(p, "Unexpected mallocx() failure");
|
prof_reset.c | 116 p = mallocx(1, 0); 117 assert_ptr_not_null(p, "Unexpected mallocx() failure"); 262 p = ptrs[i] = mallocx(1, 0); 263 assert_ptr_not_null(p, "Unexpected mallocx() failure");
|
mallctl.c | 225 p0 = mallocx(42, 0); 226 assert_ptr_not_null(p0, "Unexpected mallocx() failure"); 227 q = mallocx(42, 0); 228 assert_ptr_not_null(q, "Unexpected mallocx() failure"); 235 p1 = mallocx(42, 0); 236 assert_ptr_not_null(p1, "Unexpected mallocx() failure"); 286 ps[i] = mallocx(psz, MALLOCX_TCACHE(tis[i])); 287 assert_ptr_not_null(ps[i], "Unexpected mallocx() failure, i=%u", 291 qs[i] = mallocx(qsz, MALLOCX_TCACHE(tis[i])); 292 assert_ptr_not_null(qs[i], "Unexpected mallocx() failure, i=%u" [all...] |
/external/jemalloc/test/integration/ |
mallocx.c | 55 assert_ptr_null(mallocx(hugemax+1, 0), 56 "Expected OOM for mallocx(size=%#zx, 0)", hugemax+1); 58 assert_ptr_null(mallocx(ZU(PTRDIFF_MAX)+1, 0), 59 "Expected OOM for mallocx(size=%#zx, 0)", ZU(PTRDIFF_MAX)+1); 61 assert_ptr_null(mallocx(SIZE_T_MAX, 0), 62 "Expected OOM for mallocx(size=%#zx, 0)", SIZE_T_MAX); 64 assert_ptr_null(mallocx(1, MALLOCX_ALIGN(ZU(PTRDIFF_MAX)+1)), 65 "Expected OOM for mallocx(size=1, MALLOCX_ALIGN(%#zx))", 83 p = mallocx(hugemax, 0); 85 assert_ptr_null(mallocx(hugemax, 0) [all...] |
sdallocx.c | 8 void *ptr = mallocx(64, 0); 32 ps[i] = mallocx(sz, MALLOCX_ALIGN(alignment) |
|
xallocx.c | 27 p = mallocx(42, 0); 28 assert_ptr_not_null(p, "Unexpected mallocx() error"); 43 p = mallocx(42, 0); 44 assert_ptr_not_null(p, "Unexpected mallocx() error"); 59 p = mallocx(42, 0); 60 assert_ptr_not_null(p, "Unexpected mallocx() error"); 153 p = mallocx(small0, 0); 154 assert_ptr_not_null(p, "Unexpected mallocx() error"); 183 p = mallocx(small0, 0); 184 assert_ptr_not_null(p, "Unexpected mallocx() error") [all...] |
rallocx.c | 59 p = mallocx(1, 0); 60 assert_ptr_not_null(p, "Unexpected mallocx() error"); 124 p = mallocx(start_size, MALLOCX_ZERO); 125 assert_ptr_not_null(p, "Unexpected mallocx() error"); 166 p = mallocx(1, MALLOCX_ALIGN(align)); 167 assert_ptr_not_null(p, "Unexpected mallocx() error"); 193 p = mallocx(1, MALLOCX_LG_ALIGN(lg_align)|MALLOCX_ZERO); 194 assert_ptr_not_null(p, "Unexpected mallocx() error"); 229 p = mallocx(1, 0); 230 assert_ptr_not_null(p, "Unexpected mallocx() failure") [all...] |
MALLOCX_ARENA.c | 41 p = mallocx(1, MALLOCX_ARENA(arena_ind)); 42 assert_ptr_not_null(p, "Unexpected mallocx() error");
|
chunk.c | 170 p = mallocx(huge0 * 2, 0); 171 assert_ptr_not_null(p, "Unexpected mallocx() error"); 191 p = mallocx(huge0 * 2, 0); 192 assert_ptr_not_null(p, "Unexpected mallocx() error"); 217 p = mallocx(huge2, 0); 218 assert_ptr_not_null(p, "Unexpected mallocx() error"); 228 p = mallocx(large1, 0); 229 assert_ptr_not_null(p, "Unexpected mallocx() error"); 245 p = mallocx(42, 0); 246 assert_ptr_not_null(p, "Unexpected mallocx() error") [all...] |
/external/jemalloc/test/include/test/ |
btalloc.h | 16 p = mallocx(size, 0); \ 29 assert_ptr_not_null(p, "Unexpected mallocx() failure"); \
|
/external/jemalloc/include/jemalloc/internal/ |
public_symbols.txt | 9 mallocx:je_mallocx
|
public_namespace.h | 9 #define je_mallocx JEMALLOC_N(mallocx)
|
/external/jemalloc/test/stress/ |
microbench.c | 24 p = mallocx(1, 0); 26 test_fail("Unexpected mallocx() failure"); 57 void *p = mallocx(1, 0); 59 test_fail("Unexpected mallocx() failure"); 69 malloc_free, "mallocx", mallocx_free);
|
/external/jemalloc/include/jemalloc/ |
jemalloc_mangle.h | 20 # define mallocx je_mallocx macro
|
jemalloc_mangle_jet.h | 20 # define mallocx jet_mallocx macro
|