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

1234567891011>>

/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Drealloc.c36 #undef realloc macro
49 return realloc(ptr, size);
H A Derealloc.c45 * Like realloc but never fails.
51 void *tmp = realloc (ptr, sz);
54 errx (1, "realloc %lu failed", (unsigned long)sz);
H A Dputenv.c74 environ = realloc(environ, sizeof(char*) * (i + 2));
H A Dstrcollect.c52 /* realloc argv */
53 char **tmp = realloc(argv, (argc + increment) * sizeof(*argv));
/freebsd-9.3-release/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-9.3-release/contrib/texinfo/lib/
H A Dxmalloc.c1 /* xmalloc.c -- safe versions of malloc and realloc.
53 temp = realloc (pointer, bytes);
/freebsd-9.3-release/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.
/freebsd-9.3-release/contrib/ntp/sntp/unity/
H A Dunity_fixture_malloc_overrides.h13 #define realloc unity_realloc macro
/freebsd-9.3-release/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-9.3-release/contrib/dtc/
H A Dutil.h45 void *new = realloc(p, len);
48 die("realloc() failed (len=%d)\n", len);
/freebsd-9.3-release/contrib/gcclibs/libgomp/
H A Dalloc.c57 void *ret = realloc (old, size);
/freebsd-9.3-release/contrib/llvm/lib/Support/
H A DSmallVector.cpp34 NewElts = realloc(this->BeginX, NewCapacityInBytes);
/freebsd-9.3-release/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-9.3-release/usr.bin/grep/regex/
H A Dxmalloc.h58 #undef realloc macro
63 #define realloc USE_XREALLOC_INSTEAD_OF_REALLOC macro
72 #define xrealloc(ptr, new_size) realloc(ptr, new_size)
/freebsd-9.3-release/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-9.3-release/usr.bin/xlint/common/
H A Dmem.c68 if ((p = realloc(p, s)) == NULL)
/freebsd-9.3-release/cddl/contrib/opensolaris/tools/ctf/common/
H A Dmemory.c99 if ((mem = realloc(ptr, size)) == NULL)
/freebsd-9.3-release/contrib/ncurses/ncurses/trace/
H A Dtrace_tries.c49 my_buffer = (unsigned char *) realloc(my_buffer, my_length);
/freebsd-9.3-release/contrib/openpam/lib/libpam/
H A Dopenpam_straddch.c71 if ((tmpstr = realloc(*str, tmpsize)) == NULL) {
72 openpam_log(PAM_LOG_ERROR, "realloc(): %m");
/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Dpadata.c53 pa = realloc (md->val, (md->len + 1) * sizeof(*md->val));
/freebsd-9.3-release/libexec/rtld-aout/
H A Dsupport.c76 p = realloc(p, n);
/freebsd-9.3-release/sbin/rcorder/
H A Dealloc.c96 * realloc, but die on error.
101 if ((ptr = realloc(ptr, size)) == NULL)
/freebsd-9.3-release/usr.bin/indent/
H A Dindent_globs.h60 codebuf = (char *) realloc(codebuf, nsize); \
70 combuf = (char *) realloc(combuf, nsize); \
80 labbuf = (char *) realloc(labbuf, nsize); \
90 tokenbuf = (char *) realloc(tokenbuf, nsize); \
/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Dmm-internal.h79 #define mm_realloc(p, sz) realloc((p), (sz))

Completed in 136 milliseconds

1234567891011>>