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

1234567891011>>

/freebsd-13-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-13-stable/contrib/ldns/compat/
H A Drealloc.c7 #undef realloc macro
11 void *realloc (void*, size_t);
28 return realloc(ptr, n);
/freebsd-13-stable/sys/contrib/ck/include/
H A Dck_malloc.h35 void *(*realloc)(void *, size_t, size_t, bool); member in struct:ck_malloc
/freebsd-13-stable/crypto/openssh/openbsd-compat/
H A Dbsd-malloc.c20 #undef realloc macro
55 return realloc(ptr, size);
H A Dreallocarray.c44 return realloc(optr, size * nmemb);
/freebsd-13-stable/lib/libc/stdlib/
H A Dreallocf.c38 nptr = realloc(ptr, size);
42 * in effect, realloc(ptr, 0) frees the memory and returns NULL.
44 * realloc(ptr, 0) can't fail when ptr != NULL.
H A Dreallocarray.c41 return (realloc(optr, size * nmemb));
/freebsd-13-stable/contrib/ntp/sntp/unity/
H A Dunity_fixture_malloc_overrides.h13 #define realloc unity_realloc macro
/freebsd-13-stable/contrib/ncurses/ncurses/tinfo/
H A Ddoalloc.c35 * Wrapper for malloc/realloc. Standard implementations allow realloc with
38 * Also if realloc fails, we discard the old memory to avoid leaks.
51 if ((newp = realloc(oldp, amount)) == 0) {
/freebsd-13-stable/contrib/unbound/compat/
H A Dreallocarray.c41 return realloc(optr, size * nmemb);
/freebsd-13-stable/contrib/flex/src/
H A Dscanflags.c44 _sf_stk = realloc(_sf_stk, sizeof(scanflags_t) * _sf_max);
/freebsd-13-stable/contrib/mandoc/
H A Dcompat_reallocarray.c46 return realloc(optr, size * nmemb);
/freebsd-13-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-13-stable/contrib/lib9p/
H A Dlib9p_impl.h66 void *r = realloc(ptr, newsize);
/freebsd-13-stable/contrib/dma/
H A Ddfcompat.c98 nptr = realloc(ptr, size);
/freebsd-13-stable/bin/setfacl/
H A Dutil.c51 newptr = realloc(ptr, size);
53 err(1, "realloc() failed");
/freebsd-13-stable/usr.bin/sort/
H A Dmem.c64 * realloc() wrapper.
70 if ((ptr = realloc(ptr, size)) == NULL)
/freebsd-13-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-13-stable/sbin/rcorder/
H A Dealloc.c98 * realloc, but die on error.
103 if ((ptr = realloc(ptr, size)) == NULL)
/freebsd-13-stable/contrib/bmake/
H A Dmake_malloc.c78 /* realloc, but die on error. */
82 if ((ptr = realloc(ptr, size)) == NULL)
/freebsd-13-stable/contrib/jemalloc/include/jemalloc/internal/
H A Dpublic_namespace.h18 #define je_realloc JEMALLOC_N(realloc)
/freebsd-13-stable/contrib/libevent/
H A Dmm-internal.h79 #define mm_realloc(p, sz) realloc((p), (sz))
/freebsd-13-stable/cddl/contrib/opensolaris/tools/ctf/common/
H A Dmemory.c99 if ((mem = realloc(ptr, size)) == NULL)

Completed in 391 milliseconds

1234567891011>>