Searched refs:huge0 (Results 1 – 3 of 3) sorted by relevance
/external/jemalloc/test/integration/ |
D | chunk.c | 123 size_t old_size, new_size, large0, large1, huge0, huge1, huge2, sz; in TEST_BEGIN() local 174 assert_d_eq(mallctl("arenas.hchunk.0.size", (void *)&huge0, &sz, NULL, in TEST_BEGIN() 188 p = mallocx(huge0 * 2, flags); in TEST_BEGIN() 194 xallocx_success_a = (xallocx(p, huge0, 0, flags) == huge0); in TEST_BEGIN() 209 p = mallocx(huge0 * 2, flags); in TEST_BEGIN() 215 xallocx_success_b = (xallocx(p, huge0, 0, flags) == huge0); in TEST_BEGIN() 220 xallocx_success_c = (xallocx(p, huge0 * 2, 0, flags) == huge0 * 2); in TEST_BEGIN() 229 if (huge0 * 2 > huge2) { in TEST_BEGIN()
|
D | xallocx.c | 245 size_t smallmax, large0, large1, large2, huge0, hugemax; in TEST_BEGIN() local 253 huge0 = get_huge_size(0); in TEST_BEGIN() 284 assert_zu_eq(xallocx(p, huge0, 0, flags), large2, in TEST_BEGIN() 290 assert_zu_lt(xallocx(p, large0, huge0 - large0, flags), huge0, in TEST_BEGIN() 302 assert_zu_lt(xallocx(p, large2, hugemax - large2 + 1, flags), huge0, in TEST_BEGIN() 472 size_t huge0, huge1; in TEST_BEGIN() local 475 huge0 = get_huge_size(0); in TEST_BEGIN() 478 test_zero(huge1, huge0 * 2); in TEST_BEGIN()
|
/external/jemalloc/test/unit/ |
D | decay.c | 33 size_t sz, huge0, large0; in TEST_BEGIN() local 43 assert_d_eq(mallctl("arenas.hchunk.0.size", (void *)&huge0, &sz, NULL, in TEST_BEGIN() 56 p = malloc(huge0); in TEST_BEGIN() 68 p = calloc(1, huge0); in TEST_BEGIN() 76 assert_d_eq(posix_memalign(&p, sizeof(size_t), huge0), 0, in TEST_BEGIN() 85 p = aligned_alloc(sizeof(size_t), huge0); in TEST_BEGIN() 95 p = realloc(NULL, huge0); in TEST_BEGIN() 101 p = realloc(p, huge0); in TEST_BEGIN() 118 allocx_sizes[0] = huge0; in TEST_BEGIN()
|