Home
last modified time | relevance | path

Searched refs:reallocarray (Results 1 – 25 of 112) sorted by relevance

12345

/freebsd/contrib/pam-krb5/portable/
H A Dreallocarray.c36 # undef reallocarray
37 # define reallocarray test_reallocarray macro
50 reallocarray(void *ptr, size_t nmemb, size_t size) in reallocarray() function
H A Dsystem.h143 extern void *reallocarray(void *, size_t, size_t);
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/
H A Dnsan_malloc_linux.cpp63 INTERCEPTOR(void *, reallocarray, void *ptr, uptr nmemb, uptr size) { in INTERCEPTOR() argument
91 INTERCEPT_FUNCTION(reallocarray); in InitializeMallocInterceptors()
/freebsd/lib/libc/stdlib/
H A DMakefile.inc51 reallocarray.c \
101 radixsort.3 rand.3 random.3 reallocarray.3 reallocf.3 realpath.3 \
146 MLINKS+=reallocarray.3 recallocarray.3
H A Dreallocarray.c25 reallocarray(void *optr, size_t nmemb, size_t size) in reallocarray() function
/freebsd/contrib/mandoc/
H A Dcompat_stringlist.c54 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 Dtest-reallocarray.c6 return !reallocarray(NULL, 2, 2); in main()
H A Dcompat_reallocarray.c32 reallocarray(void *optr, size_t nmemb, size_t size) in reallocarray() function
/freebsd/contrib/pkgconf/
H A Dmeson.build72 ['reallocarray', 'stdlib.h'],
104 if f[0] == 'reallocarray'
112 # The fuzzers link fuzzer/alloc-inject, which wraps reallocarray() and so
113 # references __real_reallocarray; --wrap can only bind that to a reallocarray the
117 …warning('fuzzing requested, but the C library lacks reallocarray() (e.g. glibc < 2.26); disabling')
341 # alloc-inject wraps reallocarray() and so references __real_reallocarray; --wrap
342 # can only bind that to a reallocarray the libc actually provides. On platforms
351 '-Wl,--wrap=reallocarray', '-Wl,--wrap=strdup', '-Wl,--wrap=strndup',
/freebsd/lib/libunbound/
H A Dconfig.h1523 #define reallocarray reallocarrayunbound macro
1524 void* reallocarray(void *ptr, size_t nmemb, size_t size);
1604 void *reallocarray(void *ptr, size_t nmemb, size_t size);
1682 # define reallocarray(p,n,s) unbound_stat_reallocarray_log(p, n, s, __FILE__, __LINE__, __func__) macro
/freebsd/contrib/pkgconf/libpkgconf/
H A Dconfig.h.meson12 /* Define to 1 if you have the `reallocarray' function. */
18 /* Define to 1 if you have the `reallocarray' function. */
H A Dbsdstubs.c70 # define pkgconf_reallocarray_impl reallocarray
/freebsd/contrib/blocklist/bin/
H A Dblacklistd.c349 *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 Dblocklistd.c349 *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 Denv.c58 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/tools/build/
H A Dstdlib.h35 void *reallocarray(void *, size_t, size_t);
/freebsd/contrib/unbound/compat/
H A Dreallocarray.c34 reallocarray(void *optr, size_t nmemb, size_t size) in reallocarray() function
/freebsd/crypto/openssh/openbsd-compat/
H A Dreallocarray.c35 reallocarray(void *optr, size_t nmemb, size_t size) in reallocarray() function
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_interceptors.cpp37 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 Dxmalloc.c54 new_ptr = reallocarray(ptr, nmemb, size); in xreallocarray()
/freebsd/sbin/ipf/libipf/
H A Dparsefields.c33 fields = reallocarray(fields, num + 1, sizeof(*fields)); in parsefields()
/freebsd/tools/build/cross-build/
H A Dfgetwln_fallback.c73 wp = reallocarray(fb->wbuf, fb->len, sizeof(wchar_t)); in fgetwln()
/freebsd/usr.bin/diff3/
H A Ddiff3.c910 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/contrib/pam-krb5/
H A Dconfigure.ac117 AC_CHECK_DECLS([reallocarray])
122 AC_REPLACE_FUNCS([asprintf issetugid mkstemp reallocarray strndup])
/freebsd/usr.sbin/bhyve/
H A Dbhyvegc.c85 gc_image->data = reallocarray(gc_image->data, width * height, in bhyvegc_resize()

12345