HomeSort by relevance Sort by last modified time
    Searched refs:hugemax (Results 1 - 3 of 3) sorted by null

  /external/jemalloc/test/integration/
xallocx.c 146 size_t small0, hugemax; local
151 hugemax = get_huge_size(get_nhuge()-1);
161 assert_zu_le(xallocx(p, hugemax, 0, 0), hugemax,
165 assert_zu_le(xallocx(p, hugemax+1, 0, 0), hugemax,
167 assert_zu_le(xallocx(p, SIZE_T_MAX, 0, 0), hugemax,
176 size_t small0, hugemax; local
181 hugemax = get_huge_size(get_nhuge()-1);
187 assert_zu_le(xallocx(p, hugemax-1, 2, 0), hugemax
208 size_t small0, small1, hugemax; local
241 size_t smallmax, large0, large1, large2, huge0, hugemax; local
308 size_t largemax, huge1, huge2, huge3, hugemax; local
    [all...]
mallocx.c 51 size_t hugemax; local
53 hugemax = get_huge_size(get_nhuge()-1);
55 assert_ptr_null(mallocx(hugemax+1, 0),
56 "Expected OOM for mallocx(size=%#zx, 0)", hugemax+1);
72 size_t hugemax, size, alignment; local
74 hugemax = get_huge_size(get_nhuge()-1);
83 p = mallocx(hugemax, 0);
85 assert_ptr_null(mallocx(hugemax, 0),
86 "Expected OOM for mallocx(size=%#zx, 0)", hugemax);
rallocx.c 224 size_t hugemax; local
227 hugemax = get_huge_size(get_nhuge()-1);
232 assert_ptr_null(rallocx(p, hugemax+1, 0),
233 "Expected OOM for rallocx(p, size=%#zx, 0)", hugemax+1);

Completed in 67 milliseconds