Searched refs:hugemax (Results 1 – 3 of 3) sorted by relevance
/external/jemalloc/test/integration/ |
D | xallocx.c | 150 size_t small0, hugemax; in TEST_BEGIN() local 155 hugemax = get_huge_size(get_nhuge()-1); in TEST_BEGIN() 165 assert_zu_le(xallocx(p, hugemax, 0, 0), hugemax, in TEST_BEGIN() 169 assert_zu_le(xallocx(p, hugemax+1, 0, 0), hugemax, in TEST_BEGIN() 171 assert_zu_le(xallocx(p, SIZE_T_MAX, 0, 0), hugemax, in TEST_BEGIN() 180 size_t small0, hugemax; in TEST_BEGIN() local 185 hugemax = get_huge_size(get_nhuge()-1); in TEST_BEGIN() 191 assert_zu_le(xallocx(p, hugemax-1, 2, 0), hugemax, in TEST_BEGIN() 193 assert_zu_le(xallocx(p, hugemax, 1, 0), hugemax, in TEST_BEGIN() 197 assert_zu_le(xallocx(p, hugemax+1, 2, 0), hugemax, in TEST_BEGIN() [all …]
|
D | mallocx.c | 68 size_t hugemax; in TEST_BEGIN() local 70 hugemax = get_huge_size(get_nhuge()-1); in TEST_BEGIN() 72 assert_ptr_null(mallocx(hugemax+1, 0), in TEST_BEGIN() 73 "Expected OOM for mallocx(size=%#zx, 0)", hugemax+1); in TEST_BEGIN() 89 size_t hugemax; in TEST_BEGIN() local 98 hugemax = get_huge_size(get_nhuge()-1); in TEST_BEGIN() 101 ptrs[i] = mallocx(hugemax, 0); in TEST_BEGIN() 107 hugemax); in TEST_BEGIN()
|
D | rallocx.c | 224 size_t hugemax; in TEST_BEGIN() local 227 hugemax = get_huge_size(get_nhuge()-1); in TEST_BEGIN() 232 assert_ptr_null(rallocx(p, hugemax+1, 0), in TEST_BEGIN() 233 "Expected OOM for rallocx(p, size=%#zx, 0)", hugemax+1); in TEST_BEGIN()
|