Lines Matching refs:size
54 reallocarray(void *optr, size_t nmemb, size_t size)
56 if ((nmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) &&
57 nmemb > 0 && SIZE_MAX / nmemb < size) {
66 * nmemb or size is zero. It can return NULL or non-NULL
72 * void realloc( void memblock, size_t size );
77 * to the given size, the original block is left unchanged,
78 * and NULL is returned. If size is zero, then the block
84 * If size or nmemb is equal to 0, a unique pointer to an
90 * If size was equal to 0, either NULL or a pointer suitable
95 * If size is zero and ptr is not NULL, a new, minimum sized
100 * fuzzing on one platform may not detect zero-size allocation
103 if (size == 0 || nmemb == 0)
105 return realloc(optr, size * nmemb);