Searched refs:largemax (Results 1 – 3 of 3) sorted by relevance
/external/jemalloc_new/test/integration/ |
D | xallocx.c | 117 size_t small0, largemax; in TEST_BEGIN() local 122 largemax = get_large_size(get_nlarge()-1); in TEST_BEGIN() 132 assert_zu_le(xallocx(p, largemax, 0, 0), largemax, in TEST_BEGIN() 136 assert_zu_le(xallocx(p, largemax+1, 0, 0), largemax, in TEST_BEGIN() 138 assert_zu_le(xallocx(p, SIZE_T_MAX, 0, 0), largemax, in TEST_BEGIN() 146 size_t small0, largemax; in TEST_BEGIN() local 151 largemax = get_large_size(get_nlarge()-1); in TEST_BEGIN() 157 assert_zu_le(xallocx(p, largemax-1, 2, 0), largemax, in TEST_BEGIN() 159 assert_zu_le(xallocx(p, largemax, 1, 0), largemax, in TEST_BEGIN() 163 assert_zu_le(xallocx(p, largemax+1, 2, 0), largemax, in TEST_BEGIN() [all …]
|
D | mallocx.c | 55 size_t largemax; in TEST_BEGIN() local 57 largemax = get_large_size(get_nlarge()-1); in TEST_BEGIN() 59 assert_ptr_null(mallocx(largemax+1, 0), in TEST_BEGIN() 60 "Expected OOM for mallocx(size=%#zx, 0)", largemax+1); in TEST_BEGIN() 75 size_t largemax; in TEST_BEGIN() local 84 largemax = get_large_size(get_nlarge()-1); in TEST_BEGIN() 87 ptrs[i] = mallocx(largemax, 0); in TEST_BEGIN() 94 largemax); in TEST_BEGIN()
|
D | rallocx.c | 212 size_t largemax; in TEST_BEGIN() local 215 largemax = get_large_size(get_nlarge()-1); in TEST_BEGIN() 220 assert_ptr_null(rallocx(p, largemax+1, 0), in TEST_BEGIN() 221 "Expected OOM for rallocx(p, size=%#zx, 0)", largemax+1); in TEST_BEGIN()
|