/external/jemalloc/test/integration/ |
xallocx.c | 245 size_t smallmax, large0, large1, large2, huge0, hugemax; local 250 large0 = get_large_size(0); 262 assert_zu_eq(xallocx(p, large0, 0, flags), large0, 264 assert_zu_eq(xallocx(p, smallmax, 0, flags), large0, 270 assert_zu_eq(xallocx(p, large0, large2 - large0, flags), large2, 274 assert_zu_eq(xallocx(p, large0, large1 - large0, flags), large1, 276 assert_zu_eq(xallocx(p, smallmax, large0 - smallmax, flags), large0 460 size_t large0, largemax; local [all...] |
chunk.c | 123 size_t old_size, new_size, large0, large1, huge0, huge1, huge2, sz; local 168 assert_d_eq(mallctl("arenas.lrun.0.size", (void *)&large0, &sz, NULL, 251 assert_zu_eq(xallocx(p, large0, 0, flags), large0,
|
/external/jemalloc_new/test/integration/ |
extent.c | 20 size_t large0, large1, large2, sz; local 30 assert_d_eq(mallctl("arenas.lextent.0.size", (void *)&large0, &sz, NULL, 46 p = mallocx(large0 * 2, flags); 54 xallocx_success_a = (xallocx(p, large0, 0, flags) == large0); 70 p = mallocx(large0 * 2, flags); 77 xallocx_success_b = (xallocx(p, large0, 0, flags) == large0); 83 xallocx_success_c = (xallocx(p, large0 * 2, 0, flags) == large0 * 2) [all...] |
xallocx.c | 363 size_t large0, large1; local 366 large0 = get_large_size(0); 369 test_zero(large1, large0 * 2);
|
/external/jemalloc/test/unit/ |
decay.c | 33 size_t sz, huge0, large0; local 45 assert_d_eq(mallctl("arenas.lrun.0.size", (void *)&large0, &sz, NULL, 119 allocx_sizes[1] = large0; 174 tcache_sizes[0] = large0; 310 size_t sz, large0; local 316 assert_d_eq(mallctl("arenas.lrun.0.size", (void *)&large0, &sz, NULL, 338 ps[i] = mallocx(large0, flags);
|
/external/jemalloc_new/test/unit/ |
decay.c | 186 size_t sz, large0; local 190 assert_d_eq(mallctl("arenas.lextent.0.size", (void *)&large0, &sz, NULL, 214 p = malloc(large0); 226 p = calloc(1, large0); 234 assert_d_eq(posix_memalign(&p, sizeof(size_t), large0), 0, 243 p = aligned_alloc(sizeof(size_t), large0); 253 p = realloc(NULL, large0); 259 p = realloc(p, large0); 276 allocx_sizes[0] = large0; 330 tcache_sizes[0] = large0; 490 size_t sz, large0; local [all...] |