| /freebsd/contrib/pam-krb5/portable/ |
| H A D | reallocarray.c | 36 # undef reallocarray 37 # define reallocarray test_reallocarray macro 50 reallocarray(void *ptr, size_t nmemb, size_t size) in reallocarray() function
|
| H A D | system.h | 143 extern void *reallocarray(void *, size_t, size_t);
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/nsan/ |
| H A D | nsan_malloc_linux.cpp | 63 INTERCEPTOR(void *, reallocarray, void *ptr, uptr nmemb, uptr size) { in INTERCEPTOR() argument 91 INTERCEPT_FUNCTION(reallocarray); in InitializeMallocInterceptors()
|
| /freebsd/contrib/mandoc/ |
| H A D | compat_stringlist.c | 54 sl->sl_str = reallocarray(NULL, sl->sl_max, sizeof(char *)); in sl_init() 72 new = reallocarray(sl->sl_str, (sl->sl_max + _SL_CHUNKSIZE), in sl_add()
|
| H A D | test-reallocarray.c | 6 return !reallocarray(NULL, 2, 2); in main()
|
| H A D | compat_reallocarray.c | 32 reallocarray(void *optr, size_t nmemb, size_t size) in reallocarray() function
|
| /freebsd/lib/libc/stdlib/ |
| H A D | Makefile.inc | 51 reallocarray.c \ 97 radixsort.3 rand.3 random.3 reallocarray.3 reallocf.3 realpath.3 \ 142 MLINKS+=reallocarray.3 recallocarray.3
|
| H A D | reallocarray.c | 25 reallocarray(void *optr, size_t nmemb, size_t size) in reallocarray() function
|
| /freebsd/contrib/pkgconf/libpkgconf/ |
| H A D | bsdstubs.c | 169 reallocarray(void *ptr, size_t m, size_t n) in reallocarray() function 184 return reallocarray(ptr, m, n); in pkgconf_reallocarray()
|
| H A D | config.h.meson | 12 /* Define to 1 if you have the `reallocarray' function. */ 24 /* Define to 1 if you have the `reallocarray' function. */
|
| /freebsd/lib/libunbound/ |
| H A D | config.h | 1446 #define reallocarray reallocarrayunbound macro 1447 void* reallocarray(void *ptr, size_t nmemb, size_t size); 1527 void *reallocarray(void *ptr, size_t nmemb, size_t size); 1605 # define reallocarray(p,n,s) unbound_stat_reallocarray_log(p, n, s, __FILE__, __LINE__, __func__) macro
|
| /freebsd/tools/build/ |
| H A D | stdlib.h | 35 void *reallocarray(void *, size_t, size_t);
|
| /freebsd/contrib/blocklist/bin/ |
| H A D | blacklistd.c | 349 *blp = reallocarray(*blp, *maxfd, sizeof(**blp)); in addfd() 352 *pfdp = reallocarray(*pfdp, *maxfd, sizeof(**pfdp)); in addfd() 376 void *p = reallocarray(*listp, *mlist, sizeof(*list)); in uniqueadd() 471 void *p = reallocarray(blsock, maxblsock, in main()
|
| H A D | blocklistd.c | 349 *blp = reallocarray(*blp, *maxfd, sizeof(**blp)); in addfd() 352 *pfdp = reallocarray(*pfdp, *maxfd, sizeof(**pfdp)); in addfd() 376 void *p = reallocarray(*listp, *mlist, sizeof(*list)); in uniqueadd() 471 void *p = reallocarray(blsock, maxblsock, in main()
|
| /freebsd/usr.sbin/cron/lib/ |
| H A D | env.c | 58 p = (char **) reallocarray(NULL, count+1, sizeof(char *)); /* 1 for the NULL */ in env_copy() 115 p = (char **) reallocarray(envp, count+1, sizeof(char *)); in env_set()
|
| /freebsd/contrib/unbound/compat/ |
| H A D | reallocarray.c | 34 reallocarray(void *optr, size_t nmemb, size_t size) in reallocarray() function
|
| /freebsd/crypto/openssh/openbsd-compat/ |
| H A D | reallocarray.c | 35 reallocarray(void *optr, size_t nmemb, size_t size) in reallocarray() function
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | dfsan_interceptors.cpp | 37 INTERCEPTOR(void *, reallocarray, void *ptr, SIZE_T nmemb, SIZE_T size) { in INTERCEPTOR() argument 208 INTERCEPT_FUNCTION(reallocarray); in initialize_interceptors()
|
| /freebsd/usr.bin/diff/ |
| H A D | xmalloc.c | 54 new_ptr = reallocarray(ptr, nmemb, size); in xreallocarray()
|
| /freebsd/sbin/ipf/libipf/ |
| H A D | parsefields.c | 33 fields = reallocarray(fields, num + 1, sizeof(*fields)); in parsefields()
|
| /freebsd/tools/build/cross-build/ |
| H A D | fgetwln_fallback.c | 73 wp = reallocarray(fb->wbuf, fb->len, sizeof(wchar_t)); in fgetwln()
|
| /freebsd/usr.sbin/bhyve/ |
| H A D | bhyvegc.c | 85 gc_image->data = reallocarray(gc_image->data, width * height, in bhyvegc_resize()
|
| /freebsd/contrib/pam-krb5/ |
| H A D | configure.ac | 117 AC_CHECK_DECLS([reallocarray]) 122 AC_REPLACE_FUNCS([asprintf issetugid mkstemp reallocarray strndup])
|
| /freebsd/usr.bin/diff3/ |
| H A D | diff3.c | 910 p = reallocarray(d13, newsz, sizeof(*p)); in increase() 915 p = reallocarray(d23, newsz, sizeof(*p)); in increase() 920 p = reallocarray(de, newsz, sizeof(*p)); in increase() 925 q = reallocarray(overlap, newsz, 1); in increase() 930 s = reallocarray(de_delta, newsz, sizeof(*s)); in increase()
|
| /freebsd/crypto/openssh/ |
| H A D | xmalloc.c | 65 new_ptr = reallocarray(ptr, nmemb, size); in xreallocarray()
|