Lines Matching refs:p
122 void *p; in TEST_BEGIN() local
170 p = mallocx(huge0 * 2, 0); in TEST_BEGIN()
171 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
176 xallocx_success_a = (xallocx(p, huge0, 0, 0) == huge0); in TEST_BEGIN()
185 dallocx(p, 0); in TEST_BEGIN()
191 p = mallocx(huge0 * 2, 0); in TEST_BEGIN()
192 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
197 xallocx_success_b = (xallocx(p, huge0, 0, 0) == huge0); in TEST_BEGIN()
202 xallocx_success_c = (xallocx(p, huge0 * 2, 0, 0) == huge0 * 2); in TEST_BEGIN()
206 dallocx(p, 0); in TEST_BEGIN()
217 p = mallocx(huge2, 0); in TEST_BEGIN()
218 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
220 assert_zu_eq(xallocx(p, huge1, 0, 0), huge1, in TEST_BEGIN()
223 dallocx(p, 0); in TEST_BEGIN()
228 p = mallocx(large1, 0); in TEST_BEGIN()
229 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
233 assert_zu_eq(xallocx(p, large0, 0, 0), large0, in TEST_BEGIN()
238 assert_zu_eq(xallocx(p, large1, 0, 0), large1, in TEST_BEGIN()
241 dallocx(p, 0); in TEST_BEGIN()
245 p = mallocx(42, 0); in TEST_BEGIN()
246 assert_ptr_not_null(p, "Unexpected mallocx() error"); in TEST_BEGIN()
247 dallocx(p, 0); in TEST_BEGIN()