Home
last modified time | relevance | path

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

123

/external/jemalloc/test/integration/
Dmallocx.c72 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 …]
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()
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()
Drallocx.c59 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()
Dchunk.c188 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()
Dsdallocx.c8 void *ptr = mallocx(64, 0); in TEST_BEGIN()
32 ps[i] = mallocx(sz, MALLOCX_ALIGN(alignment) | in TEST_BEGIN()
/external/jemalloc_new/test/integration/
Dmallocx.c59 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 …]
Dxallocx.c25 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()
Drallocx.c52 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()
Dsdallocx.c7 void *ptr = mallocx(64, 0); in TEST_BEGIN()
31 ps[i] = mallocx(sz, MALLOCX_ALIGN(alignment) | in TEST_BEGIN()
Dextent.c46 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/
Dprof_gdump.c32 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()
Dstats.c36 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()
Dtsd.c35 void *p = mallocx(1, 0); in data_cleanup()
107 p = mallocx(1, MALLOCX_TCACHE_NONE); in thd_start_reincarnated()
Dmallctl.c220 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()
Dpack.c106 void *p = mallocx(SZ, MALLOCX_ARENA(arena_ind) | in TEST_BEGIN()
149 p = mallocx(SZ, MALLOCX_ARENA(arena_ind) | in TEST_BEGIN()
Ddecay.c169 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/
Dprof_gdump.c38 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()
Dquarantine.c17 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()
Dstats.c45 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()
Ddecay.c127 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()
Djunk.c85 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()
Darena_reset.c110 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()
Dmallctl.c231 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/
Dmicrobench.c25 p = mallocx(1, 0); in compare_funcs()
58 void *p = mallocx(1, 0); in mallocx_free()
/external/jemalloc_new/test/stress/
Dmicrobench.c25 p = mallocx(1, 0); in compare_funcs()
56 void *p = mallocx(1, 0); in mallocx_free()

123