Home
last modified time | relevance | path

Searched refs:large0 (Results 1 – 6 of 6) sorted by relevance

/external/jemalloc/test/integration/
Dxallocx.c245 size_t smallmax, large0, large1, large2, huge0, hugemax; in TEST_BEGIN() local
250 large0 = get_large_size(0); in TEST_BEGIN()
262 assert_zu_eq(xallocx(p, large0, 0, flags), large0, in TEST_BEGIN()
264 assert_zu_eq(xallocx(p, smallmax, 0, flags), large0, in TEST_BEGIN()
270 assert_zu_eq(xallocx(p, large0, large2 - large0, flags), large2, in TEST_BEGIN()
274 assert_zu_eq(xallocx(p, large0, large1 - large0, flags), large1, in TEST_BEGIN()
276 assert_zu_eq(xallocx(p, smallmax, large0 - smallmax, flags), large0, in TEST_BEGIN()
279 assert_zu_eq(xallocx(p, large0, 0, flags), large0, in TEST_BEGIN()
287 assert_zu_eq(xallocx(p, large0, 0, flags), large0, in TEST_BEGIN()
290 assert_zu_lt(xallocx(p, large0, huge0 - large0, flags), huge0, in TEST_BEGIN()
[all …]
Dchunk.c123 size_t old_size, new_size, large0, large1, huge0, huge1, huge2, sz; in TEST_BEGIN() local
168 assert_d_eq(mallctl("arenas.lrun.0.size", (void *)&large0, &sz, NULL, in TEST_BEGIN()
251 assert_zu_eq(xallocx(p, large0, 0, flags), large0, in TEST_BEGIN()
/external/jemalloc_new/test/integration/
Dextent.c20 size_t large0, large1, large2, sz; in test_extent_body() local
30 assert_d_eq(mallctl("arenas.lextent.0.size", (void *)&large0, &sz, NULL, in test_extent_body()
46 p = mallocx(large0 * 2, flags); in test_extent_body()
54 xallocx_success_a = (xallocx(p, large0, 0, flags) == large0); in test_extent_body()
70 p = mallocx(large0 * 2, flags); in test_extent_body()
77 xallocx_success_b = (xallocx(p, large0, 0, flags) == large0); in test_extent_body()
83 xallocx_success_c = (xallocx(p, large0 * 2, 0, flags) == large0 * 2); in test_extent_body()
Dxallocx.c363 size_t large0, large1; in TEST_BEGIN() local
366 large0 = get_large_size(0); in TEST_BEGIN()
369 test_zero(large1, large0 * 2); in TEST_BEGIN()
/external/jemalloc_new/test/unit/
Ddecay.c186 size_t sz, large0; in TEST_BEGIN() local
190 assert_d_eq(mallctl("arenas.lextent.0.size", (void *)&large0, &sz, NULL, in TEST_BEGIN()
214 p = malloc(large0); in TEST_BEGIN()
226 p = calloc(1, large0); in TEST_BEGIN()
234 assert_d_eq(posix_memalign(&p, sizeof(size_t), large0), 0, in TEST_BEGIN()
243 p = aligned_alloc(sizeof(size_t), large0); in TEST_BEGIN()
253 p = realloc(NULL, large0); in TEST_BEGIN()
259 p = realloc(p, large0); in TEST_BEGIN()
276 allocx_sizes[0] = large0; in TEST_BEGIN()
330 tcache_sizes[0] = large0; in TEST_BEGIN()
[all …]
/external/jemalloc/test/unit/
Ddecay.c33 size_t sz, huge0, large0; in TEST_BEGIN() local
45 assert_d_eq(mallctl("arenas.lrun.0.size", (void *)&large0, &sz, NULL, in TEST_BEGIN()
119 allocx_sizes[1] = large0; in TEST_BEGIN()
174 tcache_sizes[0] = large0; in TEST_BEGIN()
310 size_t sz, large0; in TEST_BEGIN() local
316 assert_d_eq(mallctl("arenas.lrun.0.size", (void *)&large0, &sz, NULL, in TEST_BEGIN()
338 ps[i] = mallocx(large0, flags); in TEST_BEGIN()