Lines Matching refs:xallocx
35 tsz = xallocx(p, sz, 0, 0); in TEST_BEGIN()
51 tsz = xallocx(p, sz, sz-42, 0); in TEST_BEGIN()
67 tsz = xallocx(p, sz + 5, 0, 0); in TEST_BEGIN()
161 assert_zu_eq(xallocx(p, 1, 0, 0), small0, 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()
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()
199 assert_zu_le(xallocx(p, hugemax+2, 3, 0), hugemax, in TEST_BEGIN()
201 assert_zu_le(xallocx(p, SIZE_T_MAX-2, 2, 0), hugemax, in TEST_BEGIN()
203 assert_zu_le(xallocx(p, SIZE_T_MAX-1, 1, 0), hugemax, in TEST_BEGIN()
223 assert_zu_eq(xallocx(p, small1, 0, 0), small0, in TEST_BEGIN()
226 assert_zu_eq(xallocx(p, small1, 0, 0), small0, in TEST_BEGIN()
229 assert_zu_eq(xallocx(p, small0, small1 - small0, 0), small0, in TEST_BEGIN()
233 assert_zu_eq(xallocx(p, small0, hugemax - small0 + 1, 0), small0, in TEST_BEGIN()
235 assert_zu_eq(xallocx(p, small0, SIZE_T_MAX - small0, 0), small0, in TEST_BEGIN()
259 assert_zu_eq(xallocx(p, large2, 0, flags), large2, in TEST_BEGIN()
262 assert_zu_eq(xallocx(p, large0, 0, flags), large0, in TEST_BEGIN()
264 assert_zu_eq(xallocx(p, smallmax, 0, flags), large0, in TEST_BEGIN()
267 assert_zu_eq(xallocx(p, large2, 0, flags), large2, in TEST_BEGIN()
270 assert_zu_eq(xallocx(p, large0, large2 - large0, flags), large2, in TEST_BEGIN()
272 assert_zu_eq(xallocx(p, large1, large2 - large1, flags), large2, in TEST_BEGIN()
274 assert_zu_eq(xallocx(p, large0, large1 - large0, flags), large1, in TEST_BEGIN()
276 assert_zu_eq(xallocx(p, smallmax, large0 - smallmax, flags), large0, in TEST_BEGIN()
279 assert_zu_eq(xallocx(p, large0, 0, flags), large0, in TEST_BEGIN()
282 assert_zu_eq(xallocx(p, large2, 0, flags), large2, in TEST_BEGIN()
284 assert_zu_eq(xallocx(p, huge0, 0, flags), large2, in TEST_BEGIN()
287 assert_zu_eq(xallocx(p, large0, 0, flags), large0, in TEST_BEGIN()
290 assert_zu_lt(xallocx(p, large0, huge0 - large0, flags), huge0, in TEST_BEGIN()
293 assert_zu_eq(xallocx(p, large0, 0, flags), large0, in TEST_BEGIN()
296 assert_zu_eq(xallocx(p, large0, large2 - large0, flags), large2, in TEST_BEGIN()
299 assert_zu_eq(xallocx(p, large2, 0, flags), large2, in TEST_BEGIN()
302 assert_zu_lt(xallocx(p, large2, hugemax - large2 + 1, flags), huge0, in TEST_BEGIN()
325 assert_zu_eq(xallocx(p, huge3, 0, flags), huge3, in TEST_BEGIN()
328 assert_zu_ge(xallocx(p, huge1, 0, flags), huge1, in TEST_BEGIN()
330 assert_zu_ge(xallocx(p, largemax, 0, flags), huge1, in TEST_BEGIN()
333 assert_zu_eq(xallocx(p, huge3, 0, flags), huge3, in TEST_BEGIN()
336 assert_zu_eq(xallocx(p, huge1, huge3 - huge1, flags), huge3, in TEST_BEGIN()
338 assert_zu_eq(xallocx(p, huge2, huge3 - huge2, flags), huge3, in TEST_BEGIN()
340 assert_zu_eq(xallocx(p, huge1, huge2 - huge1, flags), huge2, in TEST_BEGIN()
342 assert_zu_ge(xallocx(p, largemax, huge1 - largemax, flags), huge1, in TEST_BEGIN()
345 assert_zu_ge(xallocx(p, huge1, 0, flags), huge1, in TEST_BEGIN()
348 assert_zu_le(xallocx(p, huge3, 0, flags), huge3, in TEST_BEGIN()
350 assert_zu_le(xallocx(p, hugemax+1, 0, flags), huge3, in TEST_BEGIN()
353 assert_zu_ge(xallocx(p, huge1, 0, flags), huge1, in TEST_BEGIN()
356 assert_zu_le(xallocx(p, huge1, SIZE_T_MAX - huge1, flags), hugemax, in TEST_BEGIN()
359 assert_zu_ge(xallocx(p, huge1, 0, flags), huge1, in TEST_BEGIN()
362 assert_zu_le(xallocx(p, huge1, huge3 - huge1, flags), huge3, in TEST_BEGIN()
365 assert_zu_eq(xallocx(p, huge3, 0, flags), huge3, in TEST_BEGIN()
368 assert_zu_le(xallocx(p, huge3, hugemax - huge3 + 1, flags), hugemax, in TEST_BEGIN()
437 assert_zu_eq(xallocx(p, sz, 0, flags), sz, in test_zero()
444 assert_zu_eq(xallocx(p, sz+1, 0, flags), nsz, in test_zero()