Searched refs:realloc (Results 1 - 25 of 756) sorted by relevance

1234567891011>>

/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Drealloc.c35 #undef realloc macro
45 return realloc(ptr, size);
H A Derealloc.c42 * Like realloc but never fails.
48 void *tmp = realloc (ptr, sz);
51 errx (1, "realloc %lu failed", (unsigned long)sz);
H A Dputenv.c73 environ = realloc(environ, sizeof(char*) * (i + 2));
/freebsd-11-stable/contrib/ldns/compat/
H A Drealloc.c7 #undef realloc macro
11 void *realloc (void*, size_t);
28 return realloc(ptr, n);
/freebsd-11-stable/contrib/libreadline/
H A Dansi_stdlib.h45 extern PTR_T realloc ();
H A Dxmalloc.c1 /* xmalloc.c -- safe versions of malloc and realloc */
73 temp = pointer ? realloc (pointer, bytes) : malloc (bytes);
/freebsd-11-stable/sys/contrib/ck/include/
H A Dck_malloc.h35 void *(*realloc)(void *, size_t, size_t, bool); member in struct:ck_malloc
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/
H A Ddoalloc.c34 * Wrapper for malloc/realloc. Standard implementations allow realloc with
37 * Also if realloc fails, we discard the old memory to avoid leaks.
50 if ((newp = realloc(oldp, amount)) == 0) {
/freebsd-11-stable/lib/libc/stdlib/
H A Dreallocf.c37 nptr = realloc(ptr, size);
41 * in effect, realloc(ptr, 0) frees the memory and returns NULL.
43 * realloc(ptr, 0) can't fail when ptr != NULL.
H A Dreallocarray.c41 return (realloc(optr, size * nmemb));
/freebsd-11-stable/contrib/ntp/sntp/unity/
H A Dunity_fixture_malloc_overrides.h13 #define realloc unity_realloc macro
/freebsd-11-stable/gnu/usr.bin/grep/
H A Dxmalloc.c29 void *realloc ();
54 "you must run the autoconf test for a properly working realloc --see realloc.m4"
99 p = realloc (p, n);
/freebsd-11-stable/contrib/mdocml/
H A Dcompat_reallocarray.c46 return realloc(optr, size * nmemb);
H A Dcompat_getline.c52 if ((nbuf = realloc(*buf, nbufsz)) == NULL)
/freebsd-11-stable/contrib/gcclibs/libgomp/
H A Dalloc.c57 void *ret = realloc (old, size);
/freebsd-11-stable/contrib/unbound/compat/
H A Dreallocarray.c41 return realloc(optr, size * nmemb);
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dreallocarray.c44 return realloc(optr, size * nmemb);
/freebsd-11-stable/contrib/dma/
H A Ddfcompat.c98 nptr = realloc(ptr, size);
/freebsd-11-stable/crypto/heimdal/lib/gssapi/mech/
H A Dgss_add_oid_set_member.c74 tmp = realloc ((*oid_set)->elements, n * sizeof(gss_OID_desc));
/freebsd-11-stable/tools/regression/redzone9/
H A Dredzone.c75 p = realloc(p, 10, M_TEMP, M_NOWAIT);
84 p = realloc(p, 10, M_TEMP, M_NOWAIT);
93 p = realloc(p, 8192, M_TEMP, M_NOWAIT);
102 p = realloc(p, 8192, M_TEMP, M_NOWAIT);
/freebsd-11-stable/usr.bin/sort/
H A Dmem.c64 * realloc() wrapper.
70 if ((ptr = realloc(ptr, size)) == NULL)
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DMemAlloc.h53 void *Result = std::realloc(Ptr, Sz);
/freebsd-11-stable/contrib/ntp/include/
H A Dntp_malloc.h48 realloc(ptr, (newsz))
/freebsd-11-stable/contrib/ntp/sntp/libevent/
H A Dmm-internal.h79 #define mm_realloc(p, sz) realloc((p), (sz))
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/
H A Dpublic_namespace.h7 #define je_realloc JEMALLOC_N(realloc)

Completed in 181 milliseconds

1234567891011>>