Searched refs:oldnmemb (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/mandoc/ |
H A D | compat_recallocarray.c | 42 recallocarray(void *ptr, size_t oldnmemb, size_t newnmemb, size_t size) in recallocarray() argument 57 if ((oldnmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) && in recallocarray() 58 oldnmemb > 0 && SIZE_MAX / oldnmemb < size) { in recallocarray() 62 oldsize = oldnmemb * size; in recallocarray()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | recallocarray.c | 38 recallocarray(void *ptr, size_t oldnmemb, size_t newnmemb, size_t size) in recallocarray() argument 53 if ((oldnmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) && in recallocarray() 54 oldnmemb > 0 && SIZE_MAX / oldnmemb < size) { in recallocarray() 58 oldsize = oldnmemb * size; in recallocarray()
|
/freebsd/contrib/libfido2/openbsd-compat/ |
H A D | recallocarray.c | 39 recallocarray(void *ptr, size_t oldnmemb, size_t newnmemb, size_t size) in recallocarray() argument 54 if ((oldnmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) && in recallocarray() 55 oldnmemb > 0 && SIZE_MAX / oldnmemb < size) { in recallocarray() 59 oldsize = oldnmemb * size; in recallocarray()
|
/freebsd/contrib/libdiff/compat/ |
H A D | recallocarray.c | 31 recallocarray(void *ptr, size_t oldnmemb, size_t newnmemb, size_t size) in recallocarray() argument 46 if ((oldnmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) && in recallocarray() 47 oldnmemb > 0 && SIZE_MAX / oldnmemb < size) { in recallocarray() 51 oldsize = oldnmemb * size; in recallocarray()
|