Home
last modified time | relevance | path

Searched refs:newnmemb (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/mandoc/
H A Dcompat_recallocarray.c42 recallocarray(void *ptr, size_t oldnmemb, size_t newnmemb, size_t size) in recallocarray() argument
48 return calloc(newnmemb, size); in recallocarray()
50 if ((newnmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) && in recallocarray()
51 newnmemb > 0 && SIZE_MAX / newnmemb < size) { in recallocarray()
55 newsize = newnmemb * size; in recallocarray()
/freebsd/crypto/openssh/openbsd-compat/
H A Drecallocarray.c38 recallocarray(void *ptr, size_t oldnmemb, size_t newnmemb, size_t size) in recallocarray() argument
44 return calloc(newnmemb, size); in recallocarray()
46 if ((newnmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) && in recallocarray()
47 newnmemb > 0 && SIZE_MAX / newnmemb < size) { in recallocarray()
51 newsize = newnmemb * size; in recallocarray()
/freebsd/contrib/libfido2/openbsd-compat/
H A Drecallocarray.c39 recallocarray(void *ptr, size_t oldnmemb, size_t newnmemb, size_t size) in recallocarray() argument
45 return calloc(newnmemb, size); in recallocarray()
47 if ((newnmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) && in recallocarray()
48 newnmemb > 0 && SIZE_MAX / newnmemb < size) { in recallocarray()
52 newsize = newnmemb * size; in recallocarray()