Lines Matching refs:sz
26 size_t sz; in TEST_BEGIN() local
28 for (sz = 1; sz < MAXSZ; sz <<= 1) { in TEST_BEGIN()
30 ptr = malloc(sz); in TEST_BEGIN()
31 assert_ptr_not_null(ptr, "malloc() failed for size %zu", sz); in TEST_BEGIN()
36 alloc_find_size = sz; in TEST_BEGIN()
41 assert(je_iterate((uintptr_t)ptr, sz, callback, NULL) == 0); in TEST_BEGIN()
55 size_t sz; in TEST_BEGIN() local
57 for (sz = 1; sz < MAXSZ; sz <<= 1) { in TEST_BEGIN()
59 ptr = malloc(sz); in TEST_BEGIN()
61 assert_ptr_not_null(ptr, "malloc() failed for size %zu", sz); in TEST_BEGIN()
66 alloc_find_size = sz; in TEST_BEGIN()
71 je_iterate((uintptr_t)ptr, sz, callback, NULL); in TEST_BEGIN()
82 size_t sz; in TEST_BEGIN() local
84 for (sz = 1; sz < MAXSZ; sz <<= 1) { in TEST_BEGIN()
87 ptr2 = malloc(sz); in TEST_BEGIN()
88 assert_ptr_not_null(ptr2, "malloc() failed for size %zu", sz); in TEST_BEGIN()
90 ptr = malloc(sz); in TEST_BEGIN()
91 assert_ptr_not_null(ptr, "malloc() failed for size %zu", sz); in TEST_BEGIN()
98 alloc_find_size = sz; in TEST_BEGIN()
103 assert(je_iterate((uintptr_t)ptr, sz, callback, NULL) == 0); in TEST_BEGIN()