Lines Matching refs:size

70 test_large_allocations (size_t size)  in test_large_allocations()  argument
81 TEST_VERIFY (malloc (size) == NULL); in test_large_allocations()
93 TEST_VERIFY (realloc (ptr_to_realloc, size) == NULL); in test_large_allocations()
109 if ((size % nmemb) == 0) in test_large_allocations()
112 TEST_VERIFY (calloc (nmemb, size / nmemb) == NULL); in test_large_allocations()
116 TEST_VERIFY (calloc (size / nmemb, nmemb) == NULL); in test_large_allocations()
122 TEST_VERIFY (reallocarray (ptr_to_realloc, nmemb, size / nmemb) == NULL); in test_large_allocations()
137 TEST_VERIFY (reallocarray (ptr_to_realloc, size / nmemb, nmemb) == NULL); in test_large_allocations()
161 test_large_aligned_allocations (size_t size) in test_large_aligned_allocations() argument
180 TEST_VERIFY (memalign (align, size) == NULL); in test_large_aligned_allocations()
191 TEST_VERIFY (posix_memalign (&ptr, align, size) == ENOMEM); in test_large_aligned_allocations()
196 if ((size % align) == 0) in test_large_aligned_allocations()
202 TEST_VERIFY (aligned_alloc (align, size) == NULL); in test_large_aligned_allocations()
216 TEST_VERIFY (valloc (size) == NULL); in test_large_aligned_allocations()
226 TEST_VERIFY (pvalloc (size) == NULL); in test_large_aligned_allocations()
310 size_t size = (msbs << 50) | FIFTY_ON_BITS; in do_test() local
311 test_large_allocations (size); in do_test()
312 test_large_aligned_allocations (size); in do_test()
314 size = msbs << 50; in do_test()
315 test_large_allocations (size); in do_test()
316 test_large_aligned_allocations (size); in do_test()