Lines Matching refs:sz
131 size_t sz; in TEST_BEGIN() local
133 for (sz = 1; sz < MAXSZ; sz = nallocx(sz, 0) + 1) { in TEST_BEGIN()
136 nsz = nallocx(sz, 0); in TEST_BEGIN()
138 p = mallocx(sz, 0); in TEST_BEGIN()
140 "Unexpected mallocx(size=%zx, flags=0) error", sz); in TEST_BEGIN()
142 assert_zu_ge(rsz, sz, "Real size smaller than expected"); in TEST_BEGIN()
146 p = mallocx(sz, 0); in TEST_BEGIN()
148 "Unexpected mallocx(size=%zx, flags=0) error", sz); in TEST_BEGIN()
151 nsz = nallocx(sz, MALLOCX_ZERO); in TEST_BEGIN()
153 p = mallocx(sz, MALLOCX_ZERO); in TEST_BEGIN()
170 size_t nsz, rsz, sz, alignment, total; in TEST_BEGIN() local
181 for (sz = 1; in TEST_BEGIN()
182 sz < 3 * alignment && sz < (1U << 31); in TEST_BEGIN()
183 sz += (alignment >> (LG_SIZEOF_PTR-1)) - 1) { in TEST_BEGIN()
185 nsz = nallocx(sz, MALLOCX_ALIGN(alignment) | in TEST_BEGIN()
189 "size=%zu (%#zx)", alignment, sz, sz); in TEST_BEGIN()
190 ps[i] = mallocx(sz, MALLOCX_ALIGN(alignment) | in TEST_BEGIN()
194 "size=%zu (%#zx)", alignment, sz, sz); in TEST_BEGIN()
196 assert_zu_ge(rsz, sz, in TEST_BEGIN()
198 "alignment=%zu, size=%zu", alignment, sz); in TEST_BEGIN()
201 "alignment=%zu, size=%zu", alignment, sz); in TEST_BEGIN()
206 alignment, sz); in TEST_BEGIN()