Searched refs:oldnmemb (Results 1 - 3 of 3) sorted by relevance
/openbsd-current/lib/libc/stdlib/ |
H A D | recallocarray.c | 31 recallocarray(void *ptr, size_t oldnmemb, size_t newnmemb, size_t size) argument 46 if ((oldnmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) && 47 oldnmemb > 0 && SIZE_MAX / oldnmemb < size) { 51 oldsize = oldnmemb * size;
|
H A D | malloc.c | 2100 recallocarray_p(void *ptr, size_t oldnmemb, size_t newnmemb, size_t size) argument 2115 if ((oldnmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) && 2116 oldnmemb > 0 && SIZE_MAX / oldnmemb < size) { 2120 oldsize = oldnmemb * size; 2152 recallocarray(void *ptr, size_t oldnmemb, size_t newnmemb, size_t size) argument 2160 return recallocarray_p(ptr, oldnmemb, newnmemb, size); 2177 if ((oldnmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) && 2178 oldnmemb > 0 && SIZE_MAX / oldnmemb < siz [all...] |
/openbsd-current/usr.bin/tmux/ |
H A D | xmalloc.c | 75 xrecallocarray(void *ptr, size_t oldnmemb, size_t nmemb, size_t size) argument 81 new_ptr = recallocarray(ptr, oldnmemb, nmemb, size);
|
Completed in 72 milliseconds