Symbol: realloc
bin/cat/cat.c
264
if ((buf = realloc(buf, bsize)) == NULL)
bin/cpdup/misc.c
66
s = realloc(s, imax);
bin/ed/ed.h
122
if ((ts = (char *) realloc((b), ti += max((i), MINBUFSZ))) == NULL) { \
bin/ed/ed.h
147
if ((ts = (char *) realloc((b), ti += max((i), MINBUFSZ))) == NULL) { \
bin/ed/glbl.c
156
if ((ts = (line_t **) realloc(active_list,
bin/ed/undo.c
55
(t = (undo_t *) realloc(ustack, (usize += USIZE) * sizeof(undo_t))) != NULL) {
bin/ls/print.c
246
realloc(array, dp->entries * sizeof(FTSENT *))) == NULL) {
bin/pax/options.c
750
incfiles = realloc(incfiles,
bin/ps/ps.c
502
moreuids = realloc(uids, alloc * sizeof (*uids));
bin/sh/memalloc.c
87
p = realloc(p, nbytes);
crypto/libressl/crypto/asn1/a_enum.c
187
unsigned char *new_data = realloc(ret->data, len + 4);
crypto/libressl/crypto/asn1/a_enum.c
306
sp = realloc(s, num + i);
crypto/libressl/crypto/asn1/a_int.c
347
unsigned char *new_data = realloc(ret->data, len + 4);
crypto/libressl/crypto/asn1/a_string.c
395
sp = realloc(s, num + i);
crypto/libressl/crypto/ec/ec_asn1.c
1473
unsigned char *tmp_buffer = realloc(buffer, tmp_len);
crypto/libressl/crypto/malloc-wrapper.c
151
return realloc(ptr, num);
crypto/libressl/crypto/malloc-wrapper.c
64
*r = realloc;
crypto/libressl/crypto/x509/x509_pci.c
138
tmp_data = realloc((*policy)->data,
crypto/libressl/crypto/x509/x509_pci.c
171
tmp_data = realloc((*policy)->data,
crypto/libressl/crypto/x509/x509_pci.c
193
tmp_data = realloc((*policy)->data,
crypto/openssh/cipher.c
131
if ((tmp = realloc(ret, rlen + nlen + 2)) == NULL) {
crypto/openssh/kex-names.c
98
if ((tmp = realloc(ret, rlen + nlen + 2)) == NULL) {
crypto/openssh/mac.c
94
if ((tmp = realloc(ret, rlen + nlen + 2)) == NULL) {
crypto/openssh/sftp-glob.c
173
if ((s = realloc(s, l + 2)) != NULL) {
crypto/openssh/sftp-server.c
822
if ((buf = realloc(buf, len)) == NULL)
crypto/openssh/ssh-rsa.c
534
if ((sigblob = realloc(sigblob, modlen)) == NULL) {
crypto/openssh/sshkey.c
336
if ((tmp = realloc(ret, rlen + nlen + 2)) == NULL) {
games/atc/grammar.y
181
sp->beacon = realloc(sp->beacon,
games/atc/grammar.y
211
sp->exit = realloc(sp->exit, (sp->num_exits +
games/atc/grammar.y
243
sp->airport = realloc(sp->airport,
games/atc/grammar.y
273
sp->line = realloc(sp->line, (sp->num_lines +
games/boggle/boggle/bog.c
327
pword = realloc(pword,
games/boggle/boggle/bog.c
337
pwords = realloc(pwords, maxpspace);
games/boggle/boggle/bog.c
555
mword = realloc(mword, maxmwords * sizeof(char *));
games/boggle/boggle/bog.c
563
mwords = realloc(mwords, maxmspace);
games/cgram/cgram.c
120
s->s = realloc(s->s, s->cap);
games/cgram/cgram.c
153
a->v = realloc(a->v, a->num * sizeof a->v[0]);
games/hack/alloc.c
85
if (!(nptr = realloc(ptr, lth)))
games/hunt/hunt/list.c
108
drivers = realloc(drivers, sizeof *driver * maxdrivers);
games/hunt/hunt/list.c
266
if ((ninbuf = realloc(inbuf, inlen)) == NULL)
games/random/randomize_fd.c
150
p = (u_char *)realloc(buf, buflen * 2);
games/sail/array.c
83
newptr = realloc(a->v, newmax*sizeof(*a->v));
include/stdlib.h
114
void *realloc(void *, size_t) __heedresult __alloc_size(2);
lib/i18n_module/ISO2022/citrus_iso2022.c
262
p = realloc(ei->recommend[i],
lib/libc/citrus/citrus_esdb.c
358
q = realloc(list, num * sizeof(char *));
lib/libc/citrus/citrus_prop.c
276
t = realloc(s, n + m);
lib/libc/db/btree/bt_utils.c
110
p = realloc(rdata->data, bl->dsize + 1);
lib/libc/db/btree/bt_utils.c
84
p = realloc(rkey->data, bl->ksize);
lib/libc/db/recno/rec_utils.c
67
p = realloc(t->bt_rkey.data, sizeof(recno_t));
lib/libc/db/recno/rec_utils.c
95
p = realloc(t->bt_rdata.data, rl->dsize + 1);
lib/libc/gen/getttyent.c
100
if ((p = realloc(line, lbsize)) == NULL) {
lib/libc/gen/glob.c
765
pathv = realloc((void *)pglob->gl_pathv, newsize);
lib/libc/gen/scandir.c
100
names2 = (struct dirent **)realloc((char *)names,
lib/libc/gen/setmode.c
152
newset = realloc(saveset, sizeof(BITCMD) * setlen); \
lib/libc/gen/wordexp.c
242
if ((nstrings = realloc(we->we_strings, we->we_nbytes)) == NULL) {
lib/libc/net/nscache.c
118
buffer = (char *)realloc(buffer, buffer_size);
lib/libc/net/nscache.c
204
buffer = (char *)realloc(buffer, buffer_size);
lib/libc/net/nscache.c
299
buffer = (char *)realloc(buffer, buffer_size);
lib/libc/net/nscache.c
375
buffer = (char *)realloc(buffer, buffer_size);
lib/libc/net/nscache.c
88
cache_data->key = realloc(cache_data->key,
lib/libc/net/nsdispatch.c
213
p = realloc(vec, (*count + ELEMSPERCHUNK) * esize);
lib/libc/rpc/getnetconfig.c
583
if ((nc_lookups = realloc(ncp->nc_lookups,
lib/libc/stdio/fgetln.c
62
if ((p = realloc(fp->_lb._base, newsize)) == NULL)
lib/libc/stdio/fparseln.c
144
if ((cp = realloc(buf, len + s + 1)) == NULL) {
lib/libc/stdio/getdelim.c
78
newline = realloc(*linep, newcap);
lib/libc/stdio/open_memstream.c
61
buf = realloc(*ms->bufp, newsize + 1);
lib/libc/stdio/open_wmemstream.c
62
buf = realloc(*ms->bufp, (newsize + 1) * sizeof(wchar_t));
lib/libc/stdio/printf-pos.c
633
newtable = realloc(oldtable, newsize * sizeof(enum typeid));
lib/libc/stdio/ungetc.c
73
p = realloc(fp->_ub._base, (size_t)(i << 1));
lib/libc/stdlib/dmalloc.c
1733
__weak_reference(__realloc, realloc);
lib/libc/stdlib/getenv.c
273
tmpEnviron = realloc(intEnviron, sizeof (*intEnviron) *
lib/libc/stdlib/getenv.c
307
tmpEnvVars = realloc(envVars, sizeof (*envVars) *
lib/libc/stdlib/nmalloc.c
2165
__weak_reference(__realloc, realloc);
lib/libc/stdlib/reallocarray.c
37
return realloc(ptr, size * number);
lib/libc/stdlib/reallocf.c
36
nptr = realloc(ptr, size);
lib/libc/xdr/xdr_rec.c
739
buf = realloc(rstrm->in_base, (size_t)size);
lib/libcrypt/crypt-sha256.c
559
char *new_buffer = (char *) realloc (buffer, needed);
lib/libcrypt/crypt-sha512.c
602
char *new_buffer = (char *) realloc (buffer, needed);
lib/libdevstat/devstat.c
299
dinfo->mem_ptr = (u_int8_t *)realloc(dinfo->mem_ptr,
lib/libdevstat/devstat.c
345
dinfo->mem_ptr = (u_int8_t *)realloc(dinfo->mem_ptr,
lib/libdevstat/devstat.c
454
*dev_select = (struct device_selection *)realloc(*dev_select,
lib/libdevstat/devstat.c
920
*matches = (struct devstat_match *)realloc(*matches,
lib/libefivar/efivar.c
253
void *new = realloc(buf, var.namesize + sizeof(efi_char));
lib/libefivar/uefi-dplib.h
510
#define ReallocatePool(old, new, ptr) realloc(ptr, new)
lib/libevtr/evtr.c
1600
if (!(tmp = realloc(q->buf, len)))
lib/libevtr/evtr.c
292
if (!(cbs = realloc(q->cbs, (++q->ncbs) * sizeof(cb)))) {
lib/libevtr/ktrfmt.yy.c
1880
return (void *) realloc( (char *) ptr, size );
lib/libexecinfo/backtrace.c
95
nbuf = realloc(*buf, nbufsiz);
lib/libexecinfo/private_libelf.h
2802
if ((t = realloc(buf, bufsz)) == NULL)
lib/libexecinfo/private_libelf.h
2829
if ((t = realloc(buf, datasz)) == NULL)
lib/libfetch/common.c
1445
if ((tmp = realloc(tmp, tmpsize)) == NULL) {
lib/libfetch/http.c
201
if ((tmp = realloc(io->buf, len)) == NULL)
lib/libfetch/http.c
545
if ((hbuf->buf = realloc(hbuf->buf, conn->buflen + 1)) == NULL)
lib/libfetch/http.c
574
if ((hbuf->buf = realloc(hbuf->buf, len + 1)) == NULL)
lib/libkiconv/xlat16_iconv.c
290
xt.data = realloc(xt.data, xt.size);
lib/libkvm/kvm.c
468
buf = realloc(buf, asize *= 2);
lib/libkvm/kvm.c
507
buf = realloc(buf, asize *= 2);
lib/libkvm/kvm_proc.c
534
(void)realloc(kd->procbase, size);
lib/libkvm/kvm_proc.c
553
void *np = (void *)realloc(p, n);
lib/libkvm/kvm_proc.c
890
bufp = realloc(bufp,
lib/libldns/ldns/util.h
58
((type *) realloc((ptr), (count) * sizeof(type)))
lib/libpam/modules/pam_exec/pam_exec.c
142
tmp = realloc(envlist, (envlen + nitems + 1 + nitems_rv + 1) *
lib/libsdp/search.c
231
rsp_tmp = realloc(ss->rsp, size);
lib/libu4bhid/usage.c
115
realloc(curpage->page_contents,
lib/libu4bhid/usage.c
132
pages = realloc(pages,
lib/libutil/efun.c
122
void *q = realloc(p, n);
lib/libutil/login_cap.c
73
else if ((p = realloc(internal_string, sz)) != NULL) {
lib/libutil/login_cap.c
88
else if ((p = realloc(internal_array, sz * sizeof(char*))) != NULL) {
lib/libutil/login_ok.c
103
else if ((lt = realloc(*ltptr, j * sizeof(struct login_time))) != NULL) {
libexec/diff3prog/diff3prog.c
282
if ((buf = realloc(buf, bufsize)) == NULL)
libexec/dma/dfcompat.c
98
nptr = realloc(ptr, size);
libexec/getty/chat.c
280
tmp = realloc(tmp, tmplen = l * 4 + 1);
libexec/telnetd/sys_term.c
1231
argv = (char **)realloc(argv, sizeof(*argv)*((long)(*argv) + 2));
sbin/ccdconfig/ccdconfig.c
351
if ((argv = realloc(argv,
sbin/devfsctl/devfsctl.c
232
gid->list = realloc(gid->list,
sbin/dhclient/dhclient.c
1815
newscriptEnv = realloc(client->scriptEnv,
sbin/fsck/inode.c
397
inpsort = (struct inoinfo **)realloc((char *)inpsort,
sbin/fsck_hammer2/fsck_hammer2.c
75
PFSNames = realloc(PFSNames,
sbin/fsirand/fsirand.c
193
if ((inodebuf = realloc(inodebuf, ibufsize)) == NULL)
sbin/hammer/cmd_cleanup.c
1277
av = realloc(av, sizeof(char *) * nmax);
sbin/hammer/cmd_softprune.c
485
scan->prune.elms = realloc(scan->prune.elms,
sbin/hammer/misc.c
206
p = realloc(p, HAMMER_LAYER1_BYTES * newsiz);
sbin/hammer2/cmd_cleanup.c
128
h2prefixes = realloc(h2prefixes, sizeof(char *) * h2limit);
sbin/ifconfig/ifbridge.c
134
ninbuf = realloc(inbuf, len);
sbin/ifconfig/ifbridge.c
199
ninbuf = realloc(inbuf, len);
sbin/ifconfig/ifwg.c
82
wg_data.wgd_interface = realloc(wg_interface, wg_data.wgd_size);
sbin/ip6fw/ip6fw.c
450
if ((n = realloc(rules, nalloc * 2 + 200)) == NULL)
sbin/ipfw/ipfw2.c
1653
if ((data = realloc(data, nbytes)) == NULL)
sbin/ipfw3/ipfw3.c
125
if ((module_str = realloc(module_str, len)) == NULL)
sbin/ipfw3/ipfw3.c
142
if ((module_str = realloc(module_str, len)) == NULL)
sbin/ipfw3/ipfw3.c
695
if ((data = realloc(data, nbytes)) == NULL)
sbin/ipfw3/ipfw3dummynet.c
483
if ((data = realloc(data, nbytes)) == NULL)
sbin/ipfw3/ipfw3nat.c
184
if ((data = realloc(data, nbytes)) == NULL) {
sbin/ipfw3/ipfw3nat.c
229
if ((data = realloc(data, nbytes)) == NULL) {
sbin/ipfw3/ipfw3state.c
150
if ((data = realloc(data, nbytes)) == NULL) {
sbin/ipfw3/ipfw3sync.c
143
if ((data = realloc(data, data_len)) == NULL) {
sbin/ipfw3/ipfw3sync.c
177
} else if ((data = realloc(data, nbytes)) == NULL) {
sbin/ipfw3/ipfw3table.c
234
if ((data = realloc(data, nbytes)) == NULL)
sbin/ipfw3/ipfw3table.c
314
} else if ((data = realloc(data, nbytes)) == NULL) {
sbin/iscontrol/pdu.c
124
np = realloc(pp->ds, pp->ds_size + len + FUDGE);
sbin/mount_hammer/mount_hammer.c
205
realloc(ary, (arymax) * sizeof(char *)); \
sbin/mountd/mountd.c
2280
line = realloc(line, linesize);
sbin/mountd/mountd.c
311
hosts_bak = realloc(hosts, nhosts * sizeof(char *));
sbin/mountd/mountd.c
391
hosts_bak = realloc(hosts, (nhosts + 2) *
sbin/mountd/mountd.c
403
hosts_bak = realloc(hosts, (nhosts + 1) * sizeof(char *));
sbin/nfsd/nfsd.c
159
bindhost = realloc(bindhost,sizeof(char *)*bindhostc);
sbin/nfsd/nfsd.c
217
bindhost = realloc(bindhost,sizeof(char *)*bindhostc);
sbin/udevd/udevd.c
180
if ((xml = realloc(xml, sz)) == NULL) {
stand/boot/efi/libefi/handles.c
54
entry = (entry == NULL) ? malloc(sz) : realloc(entry, sz);
stand/lib/splitfs.c
134
sf->filesv = realloc(sf->filesv, sizeof(*(sf->filesv)) * sf->filesc);
stand/lib/splitfs.c
135
sf->descsv = realloc(sf->descsv, sizeof(*(sf->descsv)) * sf->filesc);
stand/lib/stand.h
244
extern void *realloc(void *, size_t);
stand/lib/zalloc_malloc.c
173
if ((res = realloc(ptr, size)) == NULL)
sys/libprop/prop_object_impl.h
361
#define _PROP_REALLOC(v, s, t) realloc((v), (s))
sys/platform/vkernel64/platform/init.c
289
if ((tmp = realloc(kern_envp, kenv_size2)) == NULL)
test/stress/fsstress/fsstress.c
327
ilist = realloc(ilist, ++ilistlen * sizeof(*ilist));
test/stress/fsstress/fsstress.c
490
ftp->fents = realloc(ftp->fents, ftp->nslots * sizeof(fent_t));
test/stress/fsstress/fsstress.c
511
name->path = realloc(name->path, name->len + 1 + len);
test/stress/stress2/testcases/openat/doat.c
113
absolute_path = realloc(absolute_path, strlen(absolute_path) + 5);
tools/test/malloc/main.c
35
foo[j] = realloc(foo[j], k & 1 ? 0 : k);
usr.bin/apply/apply.c
183
if (l > clen && (c = realloc(c, clen = l)) == NULL)
usr.bin/bc/bc.y
756
p = realloc(instructions, newsize * sizeof(*p));
usr.bin/c99/c99.c
98
if ((args = realloc(args, sizeof(*args) * cargs)) == NULL)
usr.bin/calendar/utils.c
121
ptr = realloc(ptr, size);
usr.bin/cap_mkdb/cap_mkdb.c
165
if ((data.data = realloc(data.data, bplen)) == NULL)
usr.bin/col/col.c
299
if ((l->l_line = realloc(l->l_line,
usr.bin/col/col.c
418
if ((sorted = realloc(sorted,
usr.bin/col/col.c
424
if ((count = realloc(count,
usr.bin/col/col.c
536
if ((l = realloc(NULL, sizeof(LINE) * NALLOC)) == NULL)
usr.bin/column/column.c
236
if (!(cols = realloc(cols, ((u_int)maxcols +
usr.bin/column/column.c
238
!(lens = realloc(lens,
usr.bin/column/column.c
293
if (!(list = realloc(list,
usr.bin/crunch/crunchide/exec_elf64.c
128
rv = realloc(ptr, size);
usr.bin/cut/cut.c
224
if ((positions = realloc(positions, npos)) == NULL)
usr.bin/dc/bcode.c
1696
stack = realloc(bmachine.readstack, newsz *
usr.bin/dc/mem.c
78
q = realloc(p, sz);
usr.bin/dsynth/build.c
2951
reason = realloc(reason, tot + len);
usr.bin/dsynth/build.c
2957
reason = realloc(reason, tot + len);
usr.bin/evtranalyze/evtranalyze.c
329
tmp = realloc(v->vals, 2 * v->allocated * sizeof(v->vals[0]));
usr.bin/evtranalyze/evtranalyze.c
507
filts = realloc(filts, (nfilts + h->nfilts) *
usr.bin/evtranalyze/plotter.c
112
if (!(tmp = realloc(ctx->plots, sizeof(struct ploticus_plot *) *
usr.bin/evtranalyze/xml.c
97
buf = realloc(bufsize);
usr.bin/find/misc.c
62
if (!(*store = realloc(*store, len *= 2)))
usr.bin/fmt/fmt.c
662
void *p = realloc(ptr, nbytes);
usr.bin/fold/fold.c
181
buf = realloc(buf, sizeof(*buf) * buf_max);
usr.bin/gcore/elfcore.c
461
if ((mapbuf = realloc(mapbuf, bufsize + 1)) == NULL)
usr.bin/gencat/gencat.c
228
if ((ptr = realloc(ptr, size)) == NULL)
usr.bin/indent/indent_globs.h
59
codebuf = (char *) realloc(codebuf, nsize); \
usr.bin/indent/indent_globs.h
75
combuf = (char *) realloc(combuf, nsize); \
usr.bin/indent/indent_globs.h
88
labbuf = (char *) realloc(labbuf, nsize); \
usr.bin/indent/indent_globs.h
99
tokenbuf = (char *) realloc(tokenbuf, nsize); \
usr.bin/indent/io.c
294
in_buffer = realloc(in_buffer, size);
usr.bin/indent/lexi.c
618
typenames = realloc((void *)typenames,
usr.bin/join/join.c
285
if ((F->set = realloc(F->set,
usr.bin/join/join.c
317
realloc(lp->line, lp->linealloc)) == NULL)
usr.bin/join/join.c
336
if ((lp->fields = realloc(lp->fields,
usr.bin/join/join.c
552
if ((olist = realloc(olist,
usr.bin/kdump/kdump.c
157
m = (void *)realloc(m, ktrlen+1);
usr.bin/killall/killall.c
317
newprocs = realloc(procs, size);
usr.bin/ktrdump/ktrdump.c
1301
if (!(valist->overflow_arg_area = realloc(valist->overflow_arg_area,
usr.bin/localedef/collate.c
268
prilist = realloc(prilist, sizeof (collpri_t) * maxpri);
usr.bin/localedef/ctype.c
414
ct = realloc(ct,
usr.bin/localedef/ctype.c
429
lo = realloc(lo,
usr.bin/localedef/ctype.c
445
up = realloc(up,
usr.bin/localedef/scanner.c
359
if ((token = realloc(token, toksz)) == NULL) {
usr.bin/localedef/scanner.c
375
widestr = realloc(widestr, (widesz * sizeof (wchar_t)));
usr.bin/locate/locate/util.c
121
if ((dbv = realloc(dbv, sizeof(char **) * (vlen + 2)))
usr.bin/m4/manual_tokenizer.c
1793
return (void *) realloc( (char *) ptr, size );
usr.bin/m4/misc.c
317
char *p = realloc(old, n);
usr.bin/mail/fio.c
221
nmessage = (struct message *)realloc(message, size);
usr.bin/mail/list.c
408
if ((linebuf = realloc(linebuf, linebufsize)) == NULL)
usr.bin/mail/util.c
476
if ((cp = realloc(nbuf, strlen(nbuf) + 1)) != NULL)
usr.bin/ministat/ministat.c
370
pl->data = realloc(pl->data, pl->width * m);
usr.bin/monitor/monitor.c
145
Elms = realloc(Elms, MaxFiles * sizeof(elm));
usr.bin/netstat/inet.c
413
if ((stattmp = realloc(stattmp, len)) == NULL) {
usr.bin/netstat/inet.c
586
if ((stattmp = realloc(stattmp, len)) == NULL) {
usr.bin/netstat/inet.c
697
if ((stattmp = realloc(stattmp, len)) == NULL) {
usr.bin/printf/printf.c
446
if ((newcopy = realloc(copy, newlen)) == NULL) {
usr.bin/rpcgen/rpc_util.c
470
if ((p = realloc(ptr, size)) == NULL) {
usr.bin/rs/rs.c
367
p = (char **)realloc(elem, allocsize * sizeof(char *));
usr.bin/ruptime/ruptime.c
131
if ((hs = realloc(hs, hspace * sizeof(*hs))) == NULL)
usr.bin/sdiff/sdiff.c
262
flagv = realloc(flagv, flagc + 2);
usr.bin/sdiff/sdiff.c
965
newstr = realloc(*s, newsiz);
usr.bin/sed/compile.c
645
if ((s->new = realloc(text, size)) == NULL)
usr.bin/sed/compile.c
658
if ((text = realloc(text, asize)) == NULL)
usr.bin/sed/compile.c
829
y->multis = realloc(y->multis,
usr.bin/sed/compile.c
878
if ((text = realloc(text, asize)) == NULL)
usr.bin/sed/compile.c
883
if ((p = realloc(text, size + 1)) == NULL)
usr.bin/sed/process.c
123
if ((appends = realloc(appends,
usr.bin/sed/process.c
221
if ((appends = realloc(appends,
usr.bin/sed/process.c
707
if ((sp->space = sp->back = realloc(sp->back, sp->blen)) \
usr.bin/sed/process.c
753
if ((sp->space = sp->back = realloc(sp->back, sp->blen)) ==
usr.bin/sort/mem.c
68
if ((ptr = realloc(ptr, size)) == NULL)
usr.bin/strfile/strfile.c
81
ptr = realloc(ptr, ((sz) + CHUNKSIZE) * sizeof(*ptr)); \
usr.bin/systat/devs.c
329
specified_devices =(char **)realloc(
usr.bin/systat/netcmds.c
212
ports = (struct pitem *)realloc(ports, (nports+1)*sizeof (*p));
usr.bin/systat/netcmds.c
271
hosts = (struct hitem *)realloc(hosts, (nhosts+1)*sizeof (*p));
usr.bin/systat/pftop.c
332
array = realloc(array, n * sizeof(*array));
usr.bin/systat/vmstat.c
940
if ((nch_tmp = realloc(nch_tmp, nch_size)) == NULL) {
usr.bin/tail/read.c
149
if ((sp = realloc(sp, blen)) == NULL)
usr.bin/tail/read.c
157
lines[recno].l = realloc(lines[recno].l,
usr.bin/telnet/telnet.c
1478
opt_reply = (unsigned char *)realloc(opt_reply, OPT_REPLY_SIZE);
usr.bin/telnet/telnet.c
1530
opt_reply = (unsigned char *)realloc(opt_reply, len);
usr.bin/top/color.c
105
color_ansi = (char **)realloc(color_ansi, max_color_ansi * sizeof(char *));
usr.bin/top/color.c
210
bytag = (color_entry **)realloc(bytag, totaltags * sizeof(color_entry *));
usr.bin/top/color.c
211
bytag_names = (char **)realloc(bytag_names, totaltags * sizeof(char *));
usr.bin/top/m_dragonfly.c
542
pref = (struct kinfo_proc **)realloc(pref, sizeof(struct kinfo_proc *)
usr.bin/top/m_dragonfly.c
656
prev_pbase = realloc(prev_pbase,
usr.bin/tsort/tsort.c
185
if ((bp = realloc(bp, size)) == NULL)
usr.bin/users/users.c
71
names = realloc(names,
usr.bin/vmstat/vmstat.c
358
specified_devices = (char **)realloc(specified_devices,
usr.bin/vmstat/vmstat.c
795
if ((nch_tmp = realloc(nch_tmp, nch_size)) == NULL) {
usr.bin/whereis/whereis.c
121
*dirlist = realloc(*dirlist, (i + 1) * sizeof(char *));
usr.bin/whereis/whereis.c
208
*cppp = realloc(*cppp, (*ip + 2) * sizeof(char *));
usr.bin/whereis/whereis.c
277
bindirs = realloc(bindirs, (nele + 3) * sizeof(char *));
usr.bin/whereis/whereis.c
344
sourcedirs = realloc(sourcedirs,
usr.bin/whereis/whereis.c
441
bin = realloc(bin,
usr.bin/whereis/whereis.c
515
man = realloc(man,
usr.bin/whereis/whereis.c
554
src = realloc(src,
usr.bin/whereis/whereis.c
621
src = realloc(src,
usr.bin/window/wwiomux.c
90
realloc(pfd, sizeof(*pfd) * nfd);
usr.bin/xargs/xargs.c
381
inpline = realloc(inpline, curlen + 2 +
usr.sbin/cron/cron/externs.h
59
extern void *malloc(), *realloc();
usr.sbin/cron/lib/env.c
111
p = (char **) realloc((void *) envp,
usr.sbin/dntpd/main.c
346
servers = realloc(servers, maxservers * sizeof(server_info_t));
usr.sbin/inetd/inetd.c
2258
conn->co_proc = realloc(conn->co_proc,
usr.sbin/installer/libaura/buffer.c
133
if ((e->buf = realloc(e->buf, e->size)) == NULL) {
usr.sbin/installer/libaura/buffer.c
151
if ((e->buf = realloc(e->buf, e->size)) == NULL) {
usr.sbin/installer/libaura/buffer.c
171
if ((e->buf = realloc(e->buf, e->size)) == NULL) {
usr.sbin/iostat/iostat.c
293
specified_devices = (char **)realloc(specified_devices,
usr.sbin/iostat/iostat.c
527
*deletions = realloc(*deletions,
usr.sbin/jail/jail.c
110
if ( (j.ips = realloc(j.ips, sizeof(struct sockaddr_storage)*i+20)) == NULL) {
usr.sbin/kbdcontrol/kbdcontrol.c
131
buf = (char *)realloc(buf, f);
usr.sbin/kbdmap/kbdmap.c
485
km = realloc(km, len + 2);
usr.sbin/kbdmap/kbdmap.c
513
km = realloc(km, p - km - 1);
usr.sbin/lpr/common_source/common.c
155
queue = (struct jobqueue **)realloc((char *)queue,
usr.sbin/mailwrapper/mailwrapper.c
68
al->argv = realloc(al->argv, al->maxc * sizeof(char *));
usr.sbin/makefs/hammer2/hammer2_compat.h
77
#define krealloc(addr, size, type, flags) realloc(addr, size)
usr.sbin/mtree/misc.c
178
new = (char **)realloc(list->list, (list->count + TAG_CHUNK)
usr.sbin/mtree/spec.c
161
if ((ntname = realloc(tname, plen)) == NULL)
usr.sbin/newsyslog/newsyslog.c
1608
oldlogs = realloc(oldlogs,
usr.sbin/newsyslog/newsyslog.c
1617
oldlogs = realloc(oldlogs, logcnt *
usr.sbin/nscd/hashtable.h
133
(entry)->field.values = (type *)realloc((entry)->field.values, \
usr.sbin/nscd/hashtable.h
139
(entry)->field.values = (type *)realloc((entry)->field.values, \
usr.sbin/pfctl/pfctl.c
1007
newinbuf = realloc(inbuf, len);
usr.sbin/pfctl/pfctl.c
1052
newinbuf = realloc(inbuf, len);
usr.sbin/pfctl/pfctl_radix.c
484
p = realloc(b->pfrb_caddr, minsize * bs);
usr.sbin/ppp/command.c
448
ntgt = realloc(tgt, ltgt += lnewstr - loldstr);
usr.sbin/ppp/datalink.c
1405
iov[*niov].iov_base = dl ? realloc(dl->name, DATALINK_MAXNAME) : NULL;
usr.sbin/ppp/ether.c
207
iov[*niov].iov_base = realloc(d, sz);
usr.sbin/ppp/ether.c
359
dev = realloc(dev, sizeof *dev); /* Reduce to the correct size */
usr.sbin/ppp/iface.c
179
realloc(iface->addr, (iface->addrs + 1) * sizeof iface->addr[0]);
usr.sbin/ppp/iface.c
482
addr = (struct iface_addr *)realloc
usr.sbin/ppp/ncp.c
372
newport = (u_short *)realloc(range->port,
usr.sbin/ppp/netgraph.c
295
iov[*niov].iov_base = realloc(d, sz);
usr.sbin/ppp/netgraph.c
335
dev = realloc(dev, sizeof *dev); /* Reduce to the correct size */
usr.sbin/ppp/route.c
264
newifs = (char **)realloc(ifs, sizeof(char *) * have);
usr.sbin/ppp/tty.c
589
iov[*niov].iov_base = realloc(d, sz);
usr.sbin/ppp/tty.c
638
dev = realloc(dev, sizeof *dev); /* Reduce to the correct size */
usr.sbin/ppp/udp.c
146
iov[*niov].iov_base = realloc(d, sz);
usr.sbin/ppp/udp.c
183
dev = realloc(dev, sizeof *dev); /* Reduce to the correct size */
usr.sbin/pstat/pstat.c
745
if ((tty = realloc(tty, ttyspace * sizeof(*tty))) == NULL)
usr.sbin/pw/fileupd.c
45
char *tmp = realloc(*buf, needed);
usr.sbin/pw/fileupd.c
58
char **tmp = realloc(*buf, needed * sizeof(char *));
usr.sbin/route6d/route6d.c
3286
p = (struct ifc **)realloc(index2ifc,
usr.sbin/rpc.lockd/lockd.c
124
hosts_bak = realloc(hosts, nhosts * sizeof(char *));
usr.sbin/rpc.lockd/lockd.c
192
hosts_bak = realloc(hosts, (nhosts + 2) *
usr.sbin/rpc.lockd/lockd.c
205
hosts_bak = realloc(hosts, (nhosts + 1) * sizeof(char *));
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
79
buf = realloc(buf, m + 10);
usr.sbin/rpcbind/rpcbind.c
314
hosts = realloc(hosts, nhostsbak * sizeof(char *));
usr.sbin/rpcbind/rpcbind.c
714
hosts = realloc(hosts, nhosts * sizeof(char *));
usr.sbin/sdpd/provider.c
149
uint8_t *new_data = (uint8_t *) realloc(provider->data, datalen);
usr.sbin/syslogd/syslogd.c
2337
if ((AllowedPeers = realloc(AllowedPeers,
usr.sbin/uefisign/pe.c
506
x->x_buf = realloc(x->x_buf, x->x_len + len + aligment);
usr.sbin/vnconfig/vnconfig.c
619
vndisks = realloc(vndisks, ax * sizeof(struct vndisk));
usr.sbin/zic/ialloc.c
25
if ((result = realloc(old, oldsize + newsize + 1)) != NULL)
usr.sbin/zic/zic.c
359
#define erealloc(ptr, size) memcheck(realloc(ptr, size))