Lines Matching refs:nmemb
47 xcalloc(size_t nmemb, size_t size) in xcalloc() argument
51 if (size == 0 || nmemb == 0) in xcalloc()
53 if (SIZE_MAX / nmemb < size) in xcalloc()
55 ptr = calloc(nmemb, size); in xcalloc()
58 size * nmemb); in xcalloc()
63 xreallocarray(void *ptr, size_t nmemb, size_t size) in xreallocarray() argument
67 new_ptr = reallocarray(ptr, nmemb, size); in xreallocarray()
70 nmemb, size); in xreallocarray()
75 xrecallocarray(void *ptr, size_t onmemb, size_t nmemb, size_t size) in xrecallocarray() argument
79 new_ptr = recallocarray(ptr, onmemb, nmemb, size); in xrecallocarray()
82 nmemb, size); in xrecallocarray()