/external/jemalloc/test/integration/ |
D | mallocx.c | 72 assert_ptr_null(mallocx(hugemax+1, 0), in TEST_BEGIN() 75 assert_ptr_null(mallocx(ZU(PTRDIFF_MAX)+1, 0), in TEST_BEGIN() 78 assert_ptr_null(mallocx(SIZE_T_MAX, 0), in TEST_BEGIN() 81 assert_ptr_null(mallocx(1, MALLOCX_ALIGN(ZU(PTRDIFF_MAX)+1)), in TEST_BEGIN() 101 ptrs[i] = mallocx(hugemax, 0); in TEST_BEGIN() 115 assert_ptr_null(mallocx(0x8000000000000000ULL, in TEST_BEGIN() 118 assert_ptr_null(mallocx(0x8000000000000000ULL, in TEST_BEGIN() 122 assert_ptr_null(mallocx(0x80000000UL, MALLOCX_ALIGN(0x80000000UL)), in TEST_BEGIN() 138 p = mallocx(sz, 0); in TEST_BEGIN() 146 p = mallocx(sz, 0); in TEST_BEGIN() [all …]
|
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() 157 p = mallocx(small0, 0); in TEST_BEGIN() 187 p = mallocx(small0, 0); in TEST_BEGIN() 220 p = mallocx(small0, 0); in TEST_BEGIN() 256 p = mallocx(large2, flags); in TEST_BEGIN() 322 p = mallocx(huge3, flags); in TEST_BEGIN() 422 p = mallocx(sz, flags); in test_zero()
|
D | rallocx.c | 59 p = mallocx(1, 0); in TEST_BEGIN() 124 p = mallocx(start_size, MALLOCX_ZERO); in TEST_BEGIN() 166 p = mallocx(1, MALLOCX_ALIGN(align)); in TEST_BEGIN() 193 p = mallocx(1, MALLOCX_LG_ALIGN(lg_align)|MALLOCX_ZERO); in TEST_BEGIN() 229 p = mallocx(1, 0); in TEST_BEGIN()
|
D | chunk.c | 188 p = mallocx(huge0 * 2, flags); in TEST_BEGIN() 209 p = mallocx(huge0 * 2, flags); in TEST_BEGIN() 235 p = mallocx(huge2, flags); in TEST_BEGIN() 246 p = mallocx(large1, flags); in TEST_BEGIN() 263 p = mallocx(42, flags); in TEST_BEGIN()
|
D | sdallocx.c | 8 void *ptr = mallocx(64, 0); in TEST_BEGIN() 32 ps[i] = mallocx(sz, MALLOCX_ALIGN(alignment) | in TEST_BEGIN()
|
/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()
|
/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()
|
/external/jemalloc/test/unit/ |
D | prof_gdump.c | 38 p = mallocx(chunksize, 0); in TEST_BEGIN() 43 q = mallocx(chunksize, 0); in TEST_BEGIN() 54 r = mallocx(chunksize, 0); in TEST_BEGIN() 65 s = mallocx(chunksize, 0); in TEST_BEGIN()
|
D | quarantine.c | 17 p = mallocx(QUARANTINE_SIZE*2, 0); in quarantine_clear() 44 void *p = mallocx(SZ, 0); in TEST_BEGIN() 81 s = (char *)mallocx(1, 0); in TEST_BEGIN() 90 s = (char *)mallocx(1, 0); in TEST_BEGIN()
|
D | stats.c | 45 p = mallocx(large_maxclass+1, 0); in TEST_BEGIN() 89 little = mallocx(SMALL_MAXCLASS, 0); in TEST_BEGIN() 91 large = mallocx(large_maxclass, 0); in TEST_BEGIN() 93 huge = mallocx(chunksize, 0); in TEST_BEGIN() 156 p = mallocx(SMALL_MAXCLASS, 0); in TEST_BEGIN() 205 p = mallocx(large_maxclass, 0); in TEST_BEGIN() 251 p = mallocx(chunksize, 0); in TEST_BEGIN() 292 p = mallocx(arena_bin_info[0].reg_size, 0); in TEST_BEGIN() 366 p = mallocx(LARGE_MINCLASS, 0); in TEST_BEGIN() 411 p = mallocx(chunksize, 0); in TEST_BEGIN()
|
D | decay.c | 127 p = mallocx(sz, MALLOCX_TCACHE_NONE); in TEST_BEGIN() 156 p = mallocx(sz, MALLOCX_TCACHE_NONE); in TEST_BEGIN() 186 p = mallocx(sz, MALLOCX_TCACHE(tcache_ind)); in TEST_BEGIN() 249 ps[i] = mallocx(large, flags); in TEST_BEGIN() 282 void *p = mallocx(1, flags); in TEST_BEGIN() 338 ps[i] = mallocx(large0, flags); in TEST_BEGIN()
|
D | junk.c | 85 s = (uint8_t *)mallocx(sz_min, 0); in test_junk() 184 p1 = mallocx(large_maxclass, 0); in TEST_BEGIN() 223 s = (char *)mallocx(1, 0); in TEST_BEGIN() 232 s = (char *)mallocx(1, 0); in TEST_BEGIN()
|
D | arena_reset.c | 110 ptrs[i] = mallocx(sz, flags); in TEST_BEGIN() 116 ptrs[nsmall + i] = mallocx(sz, flags); in TEST_BEGIN() 122 ptrs[nsmall + nlarge + i] = mallocx(sz, flags); in TEST_BEGIN()
|
D | mallctl.c | 231 p0 = mallocx(42, 0); in TEST_BEGIN() 233 q = mallocx(42, 0); in TEST_BEGIN() 241 p1 = mallocx(42, 0); in TEST_BEGIN() 292 ps[i] = mallocx(psz, MALLOCX_TCACHE(tis[i])); in TEST_BEGIN() 297 qs[i] = mallocx(qsz, MALLOCX_TCACHE(tis[i])); in TEST_BEGIN() 306 ps[i] = mallocx(psz, MALLOCX_TCACHE(tis[i])); in TEST_BEGIN()
|
/external/jemalloc/test/stress/ |
D | microbench.c | 25 p = mallocx(1, 0); in compare_funcs() 58 void *p = mallocx(1, 0); in mallocx_free()
|
/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()
|