Searched refs:nmemb (Results 1 – 4 of 4) sorted by relevance
/malloc/ |
A D | tst-malloc-too-large.c | 100 for (size_t nmemb = 1; nmemb <= 8; nmemb *= 2) in test_large_allocations() local 101 if ((size % nmemb) == 0) in test_large_allocations() 104 TEST_VERIFY (calloc (nmemb, size / nmemb) == NULL); in test_large_allocations() 108 TEST_VERIFY (calloc (size / nmemb, nmemb) == NULL); in test_large_allocations() 114 TEST_VERIFY (reallocarray (ptr_to_realloc, nmemb, size / nmemb) == NULL); in test_large_allocations() 121 TEST_VERIFY (reallocarray (ptr_to_realloc, size / nmemb, nmemb) == NULL); in test_large_allocations()
|
A D | reallocarray.c | 24 __libc_reallocarray (void *optr, size_t nmemb, size_t elem_size) in __libc_reallocarray() argument 27 if (__builtin_mul_overflow (nmemb, elem_size, &bytes)) in __libc_reallocarray()
|
A D | tst-reallocarray.c | 26 reallocarray_nowarn (void *ptr, size_t nmemb, size_t size) in reallocarray_nowarn() argument 33 void *ret = reallocarray (ptr, nmemb, size); in reallocarray_nowarn()
|
A D | malloc-debug.c | 356 __debug_calloc (size_t nmemb, size_t size) in strong_alias() 360 if (__glibc_unlikely (__builtin_mul_overflow (nmemb, size, &bytes))) in strong_alias()
|
Completed in 9 milliseconds