Lines Matching refs:sz
107 size_t sz; in TEST_BEGIN() local
109 for (sz = 1; sz < MAXSZ; sz = nallocx(sz, 0) + 1) { in TEST_BEGIN()
112 nsz = nallocx(sz, 0); in TEST_BEGIN()
114 p = mallocx(sz, 0); in TEST_BEGIN()
117 assert_zu_ge(rsz, sz, "Real size smaller than expected"); in TEST_BEGIN()
121 p = mallocx(sz, 0); in TEST_BEGIN()
125 nsz = nallocx(sz, MALLOCX_ZERO); in TEST_BEGIN()
127 p = mallocx(sz, MALLOCX_ZERO); in TEST_BEGIN()
141 size_t nsz, rsz, sz, alignment, total; in TEST_BEGIN() local
152 for (sz = 1; in TEST_BEGIN()
153 sz < 3 * alignment && sz < (1U << 31); in TEST_BEGIN()
154 sz += (alignment >> (LG_SIZEOF_PTR-1)) - 1) { in TEST_BEGIN()
156 nsz = nallocx(sz, MALLOCX_ALIGN(alignment) | in TEST_BEGIN()
160 "size=%zu (%#zx)", alignment, sz, sz); in TEST_BEGIN()
161 ps[i] = mallocx(sz, MALLOCX_ALIGN(alignment) | in TEST_BEGIN()
165 "size=%zu (%#zx)", alignment, sz, sz); in TEST_BEGIN()
167 assert_zu_ge(rsz, sz, in TEST_BEGIN()
169 "alignment=%zu, size=%zu", alignment, sz); in TEST_BEGIN()
172 "alignment=%zu, size=%zu", alignment, sz); in TEST_BEGIN()
177 alignment, sz); in TEST_BEGIN()