Symbol: reallocarray
bin/chio/parse.y
119
if ((newp = reallocarray(curchanger->drives,
bin/csh/alloc.c
59
if ((ptr = reallocarray(p, c, n)) == NULL) {
bin/ed/glbl.c
151
if ((ts = reallocarray(active_list,
bin/ed/undo.c
49
(t = reallocarray(ustack, (usize += USIZE), sizeof(undo_t))) != NULL) {
bin/ksh/history.c
568
tmp = reallocarray(histbase, n + 1, sizeof(char *));
bin/ksh/history.c
620
histbase = reallocarray(NULL, histsize + 1, sizeof(char *));
bin/ls/print.c
178
if ((a = reallocarray(array, dp->entries, sizeof(FTSENT *))) ==
bin/pax/options.c
901
p = reallocarray(incfiles, n,
bin/pax/tables.c
1570
if ((dirp = reallocarray(NULL, dirsize, sizeof(DIRDATA))) == NULL) {
bin/pax/tables.c
1608
dblk = reallocarray(dirp, dirsize * 2, sizeof(DIRDATA));
games/atc/grammar.y
167
sp->beacon = reallocarray(sp->beacon,
games/atc/grammar.y
193
sp->exit = reallocarray(sp->exit,
games/atc/grammar.y
222
sp->airport = reallocarray(sp->airport,
games/atc/grammar.y
249
sp->line = reallocarray(sp->line,
games/boggle/boggle/bog.c
331
pword = reallocarray(pword, maxpwords,
games/boggle/boggle/bog.c
559
mword = reallocarray(mword, maxmwords, sizeof(char *));
games/fortune/strfile/strfile.c
77
ptr = reallocarray(ptr, \
games/gomoku/pickmove.c
459
ncbp = reallocarray(NULL, 3, sizeof(struct combostr));
games/hunt/hunt/list.c
101
drivers = reallocarray(drivers, maxdrivers,
games/worms/worms.c
242
if (!(ip = reallocarray(NULL, LI, CO * sizeof(short))) ||
include/stdlib.h
263
void *reallocarray(void *, size_t, size_t);
lib/libagentx/ax.c
226
sr = reallocarray(srl->ap_sr, srl->ap_nsr, sizeof(*sr));
lib/libc/gen/fts.c
884
if ((a = reallocarray(sp->fts_array,
lib/libc/gen/getnetgrent.c
112
slstr = reallocarray(sl->sl_str, sl->sl_max, sizeof(char *));
lib/libc/gen/getusershell.c
111
char **new = reallocarray(shells, nalloc * 2, sizeof(char *));
lib/libc/gen/getusershell.c
99
shells = reallocarray(NULL, nalloc, sizeof (char *));
lib/libc/gen/glob.c
816
pathv = reallocarray(pglob->gl_pathv, newn, sizeof(*pathv));
lib/libc/gen/glob.c
828
statv = reallocarray(pglob->gl_statv, newn, sizeof(*statv));
lib/libc/gen/scandir.c
105
nnames = reallocarray(names,
lib/libc/gen/setmode.c
148
newset = reallocarray(saveset, setlen, sizeof(BITCMD)); \
lib/libc/gen/vis.c
247
buf = reallocarray(NULL, 4, strlen(src) + 1);
lib/libc/hidden/stdlib.h
139
PROTO_NORMAL(reallocarray);
lib/libc/net/getprotoent.c
130
p = reallocarray(pe->p_aliases,
lib/libc/net/getservent.c
140
p = reallocarray(se->s_aliases, sd->maxaliases,
lib/libc/regex/engine.c
212
m->pmatch = reallocarray(NULL, m->g->nsub + 1,
lib/libc/regex/engine.c
225
m->lastpos = reallocarray(NULL,
lib/libc/regex/regcomp.c
1026
ptr = reallocarray(p->g->sets, nc, sizeof(cset));
lib/libc/regex/regcomp.c
1031
ptr = reallocarray(p->g->setbits, nc / CHAR_BIT, css);
lib/libc/regex/regcomp.c
1255
sp = reallocarray(p->strip, size, sizeof(sop));
lib/libc/regex/regcomp.c
1272
g->strip = reallocarray(p->strip, p->slen, sizeof(sop));
lib/libc/regex/regcomp.c
170
p->strip = reallocarray(NULL, p->ssize, sizeof(sop));
lib/libc/regex/regexec.c
112
#define STATESETUP(m, nv) { (m)->space = reallocarray(NULL, \
lib/libc/rpc/svc.c
147
pfd = reallocarray(svc_pollfd, new_size, sizeof(*svc_pollfd));
lib/libc/rpc/svc_run.c
53
newp = reallocarray(pfd, svc_max_pollfd, sizeof(*pfd));
lib/libc/stdio/fgetwln.c
44
if ((p = reallocarray(fp->_lb._base, newsize, sizeof(wchar_t))) == NULL)
lib/libc/stdio/ungetc.c
67
p = reallocarray(_UB(fp)._base, i, 2);
lib/libc/stdlib/icdb.c
141
if ((db->entries = reallocarray(NULL, nentries, entrysize)))
lib/libc/stdlib/icdb.c
296
if (!(p = reallocarray(db->entries, amt, entrysize)))
lib/libc/stdlib/icdb.c
323
uint32_t *idxdata = reallocarray(db->idxdata[i],
lib/libc/stdlib/reallocarray.c
39
DEF_WEAK(reallocarray);
lib/libc/stdlib/setenv.c
135
P = reallocarray(lastenv, cnt + 2, sizeof(char *));
lib/libc/stdlib/setenv.c
74
P = reallocarray(lastenv, cnt + 2, sizeof(char *));
lib/libc/string/wcsdup.c
25
copy = reallocarray(NULL, len, sizeof(wchar_t));
lib/libcrypto/asn1/tasn_enc.c
447
derlst = reallocarray(NULL, sk_ASN1_VALUE_num(sk),
lib/libcrypto/bn/bn_ctx.c
58
if ((groups = reallocarray(bctx->groups, len,
lib/libcrypto/lhash/lhash.c
127
n = reallocarray(lh->b, j, sizeof(LHASH_NODE *));
lib/libcrypto/lhash/lhash.c
152
n = reallocarray(lh->b, lh->pmax, sizeof(LHASH_NODE *));
lib/libcrypto/pem/pem_lib.c
620
buf = reallocarray(NULL, PEM_BUFSIZE, 8);
lib/libcrypto/pkcs12/p12_utl.c
82
if ((unitmp = reallocarray(NULL, ulen, 2)) == NULL)
lib/libcrypto/stack/stack.c
127
if ((ret->data = reallocarray(NULL, MIN_NODES, sizeof(void *))) == NULL)
lib/libcrypto/stack/stack.c
151
s = reallocarray(st->data, st->num_alloc, 2 * sizeof(void *));
lib/libcrypto/stack/stack.c
93
s = reallocarray(ret->data, sk->num_alloc, sizeof(void *));
lib/libcrypto/txt_db/txt_db.c
95
if ((ret->index = reallocarray(NULL, num, sizeof(*ret->index))) == NULL)
lib/libcrypto/txt_db/txt_db.c
97
if ((ret->qual = reallocarray(NULL, num, sizeof(*(ret->qual)))) == NULL)
lib/libcrypto/x509/x509spki.c
124
b64_str = reallocarray(NULL, der_len, 2);
lib/libedit/chared.c
407
el->el_chared.c_redo.buf = reallocarray(NULL, EL_BUFSIZ,
lib/libedit/chared.c
528
newbuffer = reallocarray(el->el_chared.c_redo.buf,
lib/libedit/chartype.c
148
wargv = reallocarray(NULL, argc + 1, sizeof(*wargv));
lib/libedit/chartype.c
217
buff = reallocarray(NULL, buffsize, sizeof(*buff));
lib/libedit/chartype.c
225
p = reallocarray(buff, buffsize, sizeof(*buff));
lib/libedit/chartype.c
238
p = reallocarray(buff, buffsize, sizeof(*buff));
lib/libedit/chartype.c
51
p = reallocarray(conv->cbuff, conv->csize, sizeof(char));
lib/libedit/chartype.c
62
p = reallocarray(conv->wbuff, conv->wsize, sizeof(wchar_t));
lib/libedit/filecomplete.c
275
nmatch_list = reallocarray(match_list,
lib/libedit/filecomplete.c
424
temp = reallocarray(NULL, len + 1, sizeof(*temp));
lib/libedit/hist.c
55
el->el_history.buf = reallocarray(NULL, EL_BUFSIZ,
lib/libedit/history.c
416
s = reallocarray(NULL, len, sizeof(*s));
lib/libedit/keymacro.c
102
el->el_keymacro.buf = reallocarray(NULL, KEY_BUFSIZ,
lib/libedit/map.c
1403
if ((p = reallocarray(el->el_map.func, nf, sizeof(el_func_t))) == NULL)
lib/libedit/map.c
1406
if ((p = reallocarray(el->el_map.help, nf, sizeof(el_bindings_t)))
lib/libedit/map.c
910
el->el_map.alt = reallocarray(NULL, N_KEYS, sizeof(el_action_t));
lib/libedit/map.c
913
el->el_map.key = reallocarray(NULL, N_KEYS, sizeof(el_action_t));
lib/libedit/map.c
919
el->el_map.help = reallocarray(NULL, EL_NUM_FCNS,
lib/libedit/map.c
925
el->el_map.func = reallocarray(NULL, EL_NUM_FCNS,
lib/libedit/parse.c
109
tprog = reallocarray(NULL, l + 1, sizeof(*tprog));
lib/libedit/read.c
86
if ((ma->macro = reallocarray(NULL, EL_MAXMACRO,
lib/libedit/readline.c
1103
nresult = reallocarray(result, size,
lib/libedit/readline.c
2152
if ((list = reallocarray(NULL, max, sizeof(*list))) == NULL)
lib/libedit/readline.c
2160
if ((nl = reallocarray(list, max, sizeof(*nl))) == NULL)
lib/libedit/readline.c
797
nwhat = reallocarray(what,
lib/libedit/search.c
67
el->el_search.patbuf = reallocarray(NULL, EL_BUFSIZ,
lib/libedit/terminal.c
270
el->el_terminal.t_fkey = reallocarray(NULL, A_K_NKEYS,
lib/libedit/tokenizer.c
124
tok->argv = reallocarray(NULL, tok->amax, sizeof(*tok->argv));
lib/libedit/tokenizer.c
131
tok->wspace = reallocarray(NULL, WINCR, sizeof(*tok->wspace));
lib/libedit/tokenizer.c
399
Char *s = reallocarray(tok->wspace, size, sizeof(*s));
lib/libedit/tokenizer.c
418
p = reallocarray(tok->argv, tok->amax, sizeof(*p));
lib/libedit/vi.c
987
line = reallocarray(NULL, len + 1, sizeof(*line));
lib/libevent/poll.c
223
tmp_event_set = reallocarray(pop->event_set,
lib/libevent/poll.c
231
tmp_event_r_back = reallocarray(pop->event_r_back,
lib/libevent/poll.c
240
tmp_event_w_back = reallocarray(pop->event_w_back,
lib/libevent/poll.c
261
tmp_idxplus1_by_fd = reallocarray(pop->idxplus1_by_fd,
lib/libevent/select.c
216
if ((r_by_fd = reallocarray(sop->event_r_by_fd, n_events,
lib/libevent/select.c
220
if ((w_by_fd = reallocarray(sop->event_w_by_fd, n_events,
lib/libevent/signal.c
117
p = reallocarray(sig->sh_old, new_max, sizeof(*sig->sh_old));
lib/libfuse/fuse_opt.c
379
av = reallocarray(args->argv, args->argc + 2, sizeof(*av));
lib/libkeynote/environment.c
849
tempbuf = reallocarray(buf, bufsize, 2 * sizeof(char *));
lib/libkvm/kvm_file2.c
361
char *tmp = reallocarray(filebuf,
lib/libkvm/kvm_proc.c
250
void *np = reallocarray(p, i, n);
lib/libpcap/optimize.c
1760
blocks = reallocarray(NULL, n, sizeof(*blocks));
lib/libpcap/optimize.c
1769
edges = reallocarray(NULL, n_edges, sizeof(*edges));
lib/libpcap/optimize.c
1776
levels = reallocarray(NULL, n_blocks, sizeof(*levels));
lib/libpcap/optimize.c
1851
vmap = reallocarray(NULL, maxval, sizeof(*vmap));
lib/libpcap/optimize.c
1852
vnode_base = reallocarray(NULL, maxval, sizeof(*vnode_base));
lib/libpcap/pcap-bpf.c
909
p->fcode.bf_insns = reallocarray(NULL,
lib/libpcap/pcap.c
277
*dlt_buffer = reallocarray(NULL, sizeof(**dlt_buffer),
lib/libssl/ssl_ciph.c
1153
co_list = reallocarray(NULL, num_of_ciphers, sizeof(CIPHER_ORDER));
lib/libssl/ssl_ciph.c
1229
ca_list = reallocarray(NULL, num_of_alias_max, sizeof(SSL_CIPHER *));
lib/libssl/ssl_tlsext.c
271
if ((groups = reallocarray(NULL, groups_len, sizeof(uint16_t))) == NULL) {
lib/libssl/t1_lib.c
625
if ((new_group_ids = reallocarray(group_ids, ngroups + 1,
lib/libtls/tls_config.c
609
if ((curves_new = reallocarray(curves_list, curves_num + 1,
lib/libtls/tls_conninfo.c
57
if ((*out = reallocarray(NULL, inlen + 1, 2)) == NULL)
lib/libusbhid/usage.c
129
new = reallocarray(curpage->page_contents,
lib/libusbhid/usage.c
154
new = reallocarray(pages,
lib/libz/zutil.c
302
return reallocarray(NULL, items, size);
libexec/ld.so/ldconfig/ldconfig_path.c
27
return reallocarray(ptr, cnt, num);
libexec/ld.so/ldd/ldd.c
143
if ((phdr = reallocarray(NULL, ehdr.e_phnum, sizeof(Elf_Phdr))) == NULL)
libexec/login_ldap/aldap.c
858
if ((ret->str = reallocarray(NULL, ret->len,
libexec/login_yubikey/yubikey.c
339
pp = wpassword = reallocarray(NULL, len + 1, sizeof(wchar_t));
libexec/rpc.rstatd/rstatd.c
158
newp = reallocarray(pfd, svc_max_pollfd, sizeof(*pfd));
libexec/snmpd/snmpd_metrics/kroute.c
228
if ((xkrt = reallocarray(krt, rtableid + 1,
libexec/snmpd/snmpd_metrics/pf.c
152
p = reallocarray(b->pfrb_caddr, minsize, bs);
libexec/spamd-setup/spamd-setup.c
151
tmp = reallocarray(list, *cls + 32,
libexec/spamd-setup/spamd-setup.c
503
blt = reallocarray(bl, *bls, sizeof(struct bl));
libexec/spamd-setup/spamd-setup.c
514
blt = reallocarray(bl, *bls, sizeof(struct bl));
libexec/spamd-setup/spamd-setup.c
574
cl = reallocarray(NULL, cls, sizeof(struct cidr));
libexec/spamd-setup/spamd-setup.c
881
tmp = reallocarray(blists, bls,
libexec/spamd/grey.c
355
tmp = reallocarray(whitelist,
libexec/spamd/grey.c
390
tmp = reallocarray(traplist,
libexec/spamd/grey.c
550
tmp = reallocarray(a, dbk.size, 2);
libexec/spamd/sdl.c
134
tmp = reallocarray(blacklists, blc + 128,
libexec/spamd/sdl.c
157
blacklists[idx].v4.addrs = reallocarray(NULL, nv4,
libexec/spamd/sdl.c
197
blacklists[idx].v6.addrs = reallocarray(NULL, nv6,
libexec/spamd/sdl.c
360
tmp = reallocarray(sd, l + 128, sizeof(struct sdlist *)); \
libexec/spamd/spamd.c
1396
pfd = reallocarray(NULL, PFD_FIRSTCON + maxcon, sizeof(*pfd));
libexec/spamd/spamd.c
300
av = reallocarray(NULL, ac, sizeof(char *));
regress/lib/libc/qsort/qsort_test.c
701
x = reallocarray(NULL, n, es);
regress/lib/libc/qsort/qsort_test.c
702
y = reallocarray(NULL, n, es);
regress/lib/libc/qsort/qsort_test.c
703
z = reallocarray(NULL, n, es);
regress/lib/libc/sys/macros.h
56
#define reallocarr(pp, n, s) ((*pp = reallocarray(*pp, n, s)), *pp == NULL)
regress/lib/libcrypto/ecdsa/ecdsatest.c
114
curves = reallocarray(NULL, sizeof(EC_builtin_curve), num_curves);
regress/sys/ffs/fstest.c
434
gidset = reallocarray(NULL, ngroups, sizeof(*gidset));
regress/sys/kern/fork-exit/fork-exit.c
138
thrs = reallocarray(NULL, threads, sizeof(pthread_t));
regress/sys/kern/fork-exit/fork-exit.c
296
rfds = reallocarray(NULL, procs, sizeof(int));
regress/sys/netinet/tcpthread/tcpthread.c
602
listen_socks = reallocarray(NULL, sock_num, sizeof(int));
regress/sys/netinet/tcpthread/tcpthread.c
605
connect_socks = reallocarray(NULL, sock_num, sizeof(int));
regress/sys/netinet/tcpthread/tcpthread.c
608
accept_socks = reallocarray(NULL, sock_num, sizeof(int));
regress/sys/netinet/tcpthread/tcpthread.c
620
splice_listen_socks = reallocarray(NULL, sock_num, sizeof(int));
regress/sys/netinet/tcpthread/tcpthread.c
623
splice_accept_socks = reallocarray(NULL, sock_num, sizeof(int));
regress/sys/netinet/tcpthread/tcpthread.c
627
reallocarray(NULL, sock_num, sizeof(int));
regress/sys/netinet/udpthread/udpthread.c
611
listen_socks = reallocarray(NULL, sock_num, sizeof(int));
regress/sys/netinet/udpthread/udpthread.c
614
connect_socks = reallocarray(NULL, sock_num, sizeof(int));
regress/sys/netinet/udpthread/udpthread.c
617
accept_socks = reallocarray(NULL, sock_num, sizeof(int));
regress/sys/netinet/udpthread/udpthread.c
626
splice_listen_socks = reallocarray(NULL, sock_num, sizeof(int));
regress/sys/netinet/udpthread/udpthread.c
629
splice_accept_socks = reallocarray(NULL, sock_num, sizeof(int));
regress/sys/netinet/udpthread/udpthread.c
633
reallocarray(NULL, sock_num, sizeof(int));
regress/usr.sbin/snmpd/snmp.c
839
p = reallocarray(NULL, 4, root->be_len + 1);
regress/usr.sbin/snmpd/snmp.c
890
p = reallocarray(NULL, 4, root->be_len + 1);
sbin/dhcp6leased/parse.y
340
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
sbin/dhcpleased/parse.y
468
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
sbin/disklabel/editor.c
1878
if ((alloc_table[0].table = reallocarray(alloc_table[0].table,
sbin/dump/traverse.c
797
np = reallocarray(mybuf, seccount, secsize);
sbin/fsck/fsutil.c
266
newp = reallocarray(p, n, s);
sbin/fsck_ext2fs/inode.c
457
inpsort = reallocarray(inpsort, listmax,
sbin/fsck_ffs/utilities.c
718
while ((retval = reallocarray(p, cnt, size)) == NULL)
sbin/fsirand/fsirand.c
221
if ((ib = reallocarray(inodebuf, sblock->fs_ipg, isize)) == NULL)
sbin/iked/config.c
414
if ((xform = reallocarray(prop->prop_xforms,
sbin/iked/parse.y
1739
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
sbin/iked/pfkey.c
1423
if ((data = reallocarray(NULL, hdr.sadb_msg_len,
sbin/iked/pfkey.c
1811
if ((data = reallocarray(NULL, hdr.sadb_msg_len, PFKEYV2_CHUNK))
sbin/isakmpd/ike_quick_mode.c
442
new_proposal = reallocarray(proposal,
sbin/isakmpd/ike_quick_mode.c
454
new_transforms_len = reallocarray(transforms_len,
sbin/isakmpd/ike_quick_mode.c
466
new_transform = reallocarray(transform,
sbin/isakmpd/ike_quick_mode.c
478
new_transform_cnt = reallocarray(transform_cnt,
sbin/isakmpd/ike_quick_mode.c
490
new_transform_len = reallocarray(transform_len,
sbin/isakmpd/ipsec.c
2360
new_contacts = reallocarray(contacts, cnt, sizeof contacts[0]);
sbin/isakmpd/message.c
1639
new_iov = reallocarray(msg->iov, msg->iovlen + 1,
sbin/isakmpd/pf_key_v2.c
243
buf = reallocarray(NULL, hdr.sadb_msg_len, PF_KEY_V2_CHUNK);
sbin/isakmpd/sa.c
111
new_tab = reallocarray(sa_tab, new_mask + 1, sizeof(struct sa_list));
sbin/isakmpd/ui.c
594
new_buf = reallocarray(buf, sz, 2);
sbin/kbd/kbd_wscons.c
135
encs->encodings = reallocarray(encs->encodings,
sbin/mknod/mknod.c
60
node = reallocarray(NULL, sizeof(struct node), argc);
sbin/mount/mount.c
403
if((argv = reallocarray(NULL, argvsize, sizeof(char *))) == NULL)
sbin/mount/mount.c
679
if ((av = typelist = reallocarray(NULL, i + 1, sizeof(char *))) == NULL)
sbin/mountd/mountd.c
1850
naddrp = nhp->h_addr_list = reallocarray(NULL, i, sizeof(char *));
sbin/mountd/mountd.c
713
newp = reallocarray(pfd, svc_max_pollfd, sizeof(*pfd));
sbin/ncheck_ffs/ncheck_ffs.c
169
newicache = reallocarray(icache, maxicache, sizeof(*icache));
sbin/ncheck_ffs/ncheck_ffs.c
252
(itab = reallocarray(NULL, sblock->fs_ipg, dsize)) == NULL)
sbin/ncheck_ffs/ncheck_ffs.c
333
newilist = reallocarray(ilist, ninodes + 1, sizeof(*ilist));
sbin/ncheck_ffs/ncheck_ffs.c
636
if ((newbuf = reallocarray(buf, size, 2)) == NULL)
sbin/pfctl/parse.y
5705
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
sbin/pfctl/pfctl.c
1006
entries = reallocarray(NULL, nentries, sizeof(*entries));
sbin/pfctl/pfctl_radix.c
512
p = reallocarray(b->pfrb_caddr, minsize, bs);
sbin/pflogd/privsep.c
112
if ((nargv = reallocarray(NULL, argc + 2,
sbin/unwind/libunbound/config.h
1451
void* reallocarray(void *ptr, size_t nmemb, size_t size);
sbin/unwind/libunbound/config.h
1531
void *reallocarray(void *ptr, size_t nmemb, size_t size);
sbin/unwind/libunbound/libunbound/context.c
398
uint8_t* p = (uint8_t*)reallocarray(NULL, 2, sizeof(uint32_t));
sbin/unwind/libunbound/util/config_file.c
1999
*avail = (int*)reallocarray(NULL, (size_t)num, sizeof(int));
sbin/unwind/libunbound/util/config_file.c
912
(char**)reallocarray(NULL, (size_t)cfg->num_out_ifs+1, sizeof(char*));
sbin/unwind/libunbound/util/net_help.c
1764
ub_openssl_locks = (lock_basic_type*)reallocarray(
sbin/unwind/libunbound/validator/val_anchor.c
889
pd->rr_len = (size_t*)reallocarray(NULL, num, sizeof(size_t));
sbin/unwind/libunbound/validator/val_anchor.c
896
pd->rr_ttl = (time_t*)reallocarray(NULL, num, sizeof(time_t));
sbin/unwind/libunbound/validator/val_anchor.c
904
pd->rr_data = (uint8_t**)reallocarray(NULL, num, sizeof(uint8_t*));
sbin/unwind/parse.y
532
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
sys/arch/hppa/stand/mkboot/mkboot.c
207
elf_segments = reallocarray(NULL, header_count,
sys/dev/microcode/bwi/extract/extract.c
56
if ((h = reallocarray(NULL, nfiles, sizeof(*h))) == NULL)
sys/kern/subr_blist.c
123
#define mallocarray(n,s,t,f) reallocarray(NULL, n, s)
sys/lib/libz/zutil.c
305
return reallocarray(NULL, items, size);
usr.bin/at/at.c
457
if ((jobs = reallocarray(NULL, argc, sizeof(char *))) == NULL ||
usr.bin/at/at.c
458
(uids = reallocarray(NULL, argc, sizeof(uid_t))) == NULL)
usr.bin/at/at.c
492
atjobs = reallocarray(NULL, maxjobs, sizeof(struct atjob *));
usr.bin/at/at.c
634
if ((jobs = reallocarray(NULL, argc, sizeof(char *))) == NULL ||
usr.bin/at/at.c
635
(uids = reallocarray(NULL, argc, sizeof(uid_t))) == NULL)
usr.bin/aucat/aucat.c
1089
pfds = reallocarray(NULL, n, sizeof(struct pollfd));
usr.bin/aucat/aucat.c
157
ptr = reallocarray(NULL, nfr, fsize);
usr.bin/awk/b.c
131
setvec = (int *) reallocarray(setvec, maxsetvec, sizeof(*setvec));
usr.bin/awk/b.c
132
tmpset = (int *) reallocarray(tmpset, maxsetvec, sizeof(*tmpset));
usr.bin/awk/b.c
140
setvec = (int *) reallocarray(setvec, maxsetvec, 4 * sizeof(*setvec));
usr.bin/awk/b.c
141
tmpset = (int *) reallocarray(tmpset, maxsetvec, 4 * sizeof(*tmpset));
usr.bin/awk/b.c
160
p = (gtt *) reallocarray(f->gototab, new_count, sizeof(gtt));
usr.bin/awk/b.c
165
p2 = (uschar *) reallocarray(f->out, new_count, sizeof(f->out[0]));
usr.bin/awk/b.c
170
p3 = (int **) reallocarray(f->posns, new_count, sizeof(f->posns[0]));
usr.bin/awk/b.c
454
buf = (int *) reallocarray(buf, bufsz, 2 * sizeof(int));
usr.bin/awk/b.c
467
buf = (int *) reallocarray(buf, bufsz, 2 * sizeof(int));
usr.bin/awk/main.c
210
pfile = (char **) reallocarray(pfile, maxpfile, sizeof(*pfile));
usr.bin/awk/run.c
2264
if ((buf = (char *) reallocarray(buf, 2, sz)) == NULL)
usr.bin/awk/run.c
2391
nf = (struct files *) reallocarray(files, nnf, sizeof(*nf));
usr.bin/awk/run.c
280
frame = (struct Frame *) reallocarray(frame, (nframe += 100), sizeof(*frame));
usr.bin/bc/bc.y
1109
sargv = reallocarray(NULL, argc, sizeof(char *));
usr.bin/bc/bc.y
753
p = reallocarray(instructions, newsize, sizeof(*p));
usr.bin/col/col.c
528
if (!(p = reallocarray(p, n, size)))
usr.bin/column/column.c
340
if ((ptr = reallocarray(ptr, nmemb, size)) == NULL)
usr.bin/column/column.c
99
if ((separator = reallocarray(NULL, strlen(optarg) + 1,
usr.bin/compress/main.c
229
nargv = reallocarray(nargv,
usr.bin/ctfconv/xmalloc.c
67
new_ptr = reallocarray(ptr, nmemb, size);
usr.bin/cvs/xmalloc.c
61
new_ptr = reallocarray(ptr, nmemb, size);
usr.bin/dc/bcode.c
1637
stack = reallocarray(bmachine.readstack, newsz,
usr.bin/dc/mem.c
74
q = reallocarray(p, nmemb, size);
usr.bin/deroff/deroff.c
487
char *newline = reallocarray(line, linesz, 2);
usr.bin/diff/xmalloc.c
54
new_ptr = reallocarray(ptr, nmemb, size);
usr.bin/diff3/diff3prog.c
593
p = reallocarray(d13, newsz, sizeof(struct diff));
usr.bin/diff3/diff3prog.c
598
p = reallocarray(d23, newsz, sizeof(struct diff));
usr.bin/diff3/diff3prog.c
603
p = reallocarray(de, newsz, sizeof(struct diff));
usr.bin/diff3/diff3prog.c
608
q = reallocarray(overlap, newsz, sizeof(char));
usr.bin/dig/lib/dns/rdataset.c
239
in = reallocarray(NULL, count, sizeof(*in));
usr.bin/dig/lib/dns/rdataset.c
240
out = reallocarray(NULL, count, sizeof(*out));
usr.bin/dig/lib/isc/heap.c
113
new_array = reallocarray(NULL, new_size, sizeof(void *));
usr.bin/dig/lib/isc/symtab.c
179
newtable = reallocarray(NULL, newsize, sizeof(eltlist_t));
usr.bin/dig/lib/isc/symtab.c
64
symtab->table = (eltlist_t *)reallocarray(NULL, size, sizeof(eltlist_t));
usr.bin/dig/lib/isc/unix/socket.c
1832
manager->fds = reallocarray(NULL, manager->maxsocks, sizeof(isc_socket_t *));
usr.bin/dig/lib/isc/unix/socket.c
1837
manager->fdstate = reallocarray(NULL, manager->maxsocks, sizeof(int));
usr.bin/doas/env.c
152
envp = reallocarray(NULL, env->count + 1, sizeof(char *));
usr.bin/doas/parse.y
101
rules = reallocarray(rules, maxrules,
usr.bin/doas/parse.y
161
if (!($$.strlist = reallocarray($1.strlist, nstr + 2,
usr.bin/file/xmalloc.c
56
new_ptr = reallocarray(ptr, nmemb, size);
usr.bin/find/main.c
124
if (!(paths2 = reallocarray(paths, p - paths + 1, sizeof(char *))))
usr.bin/find/misc.c
136
if ((p = reallocarray(oldp, sz1, sz2)) != NULL)
usr.bin/find/misc.c
68
newstore = reallocarray(*store, len, 2);
usr.bin/fmt/fmt.c
713
p = reallocarray(ptr, nmemb, size);
usr.bin/fold/fold.c
161
nbuf = reallocarray(buf, 2, bufsz);
usr.bin/ftp/stringlist.c
68
sl->sl_str = reallocarray(sl->sl_str, sl->sl_max,
usr.bin/grep/util.c
618
if ((ptr = reallocarray(ptr, nmemb, size)) == NULL)
usr.bin/indent/lexi.c
593
specials2 = reallocarray(specials, newspecials, sizeof(specials[0]));
usr.bin/join/join.c
290
if ((p = reallocarray(F->set, newsize, sizeof(LINE)))
usr.bin/join/join.c
333
if ((p = reallocarray(lp->fields, newsize,
usr.bin/join/join.c
530
if ((p = reallocarray(olist, newsize, sizeof(OLIST)))
usr.bin/ldap/aldap.c
858
if ((ret->str = reallocarray(NULL, ret->len,
usr.bin/locate/locate/util.c
117
if ((newdbv = reallocarray(dbv, vlen + 2,
usr.bin/m4/misc.c
355
void *p = reallocarray(old, s1, s2);
usr.bin/make/memory.c
99
if ((ptr = reallocarray(ptr, s1, s2)) == NULL)
usr.bin/mandoc/mandoc_aux.c
78
ptr = reallocarray(ptr, num, size);
usr.bin/mg/autoexec.c
47
npfl = reallocarray(pfl, have + AUTO_GROW + 1,
usr.bin/mg/display.c
159
if ((tmp = reallocarray((a), (n), (m))) == NULL) {\
usr.bin/mklocale/yacc.y
324
u_int32_t *r = reallocarray(NULL, sz, sizeof(u_int32_t));
usr.bin/mklocale/yacc.y
335
u_int32_t *r = reallocarray(old, sz, sizeof(u_int32_t));
usr.bin/openssl/apps.c
1586
ne_types = reallocarray(NULL, max_ne, sizeof(char *));
usr.bin/openssl/apps.c
1587
ne_values = reallocarray(NULL, max_ne, sizeof(char *));
usr.bin/openssl/apps.c
1588
mval = reallocarray(NULL, max_ne, sizeof(int));
usr.bin/openssl/ca.c
2221
if ((irow = reallocarray(NULL, DB_NUMBER + 1, sizeof(char *))) ==
usr.bin/openssl/ca.c
2350
if ((irow = reallocarray(NULL, sizeof(char *),
usr.bin/openssl/certhash.c
183
if ((list = reallocarray(NULL, len, sizeof(struct hashinfo *))) == NULL)
usr.bin/openssl/ecparam.c
295
curves = reallocarray(NULL, crv_len, sizeof(EC_builtin_curve));
usr.bin/openssl/rsautl.c
329
rsa_in = reallocarray(NULL, keysize, 2);
usr.bin/openssl/speed.c
2740
fds = reallocarray(NULL, multi, sizeof *fds);
usr.bin/patch/inp.c
113
p = reallocarray(i_ptr, new_size + 2, sizeof(char *));
usr.bin/patch/pch.c
151
new_p_line = reallocarray(p_line, new_hunkmax, sizeof(char *));
usr.bin/patch/pch.c
155
new_p_len = reallocarray(p_len, new_hunkmax, sizeof(ssize_t));
usr.bin/pkgconf/libpkgconf/bsdstubs.c
182
return reallocarray(ptr, m, n);
usr.bin/rcs/xmalloc.c
56
new_ptr = reallocarray(ptr, nmemb, size);
usr.bin/renice/renice.c
65
params = p = reallocarray(NULL, argc - 1, sizeof(*params));
usr.bin/rs/rs.c
337
p = reallocarray(elem, newsize, sizeof(*p));
usr.bin/rsync/blocks.c
104
blks = reallocarray(p->blks, bset->blksz, sizeof(struct blkhash));
usr.bin/rsync/flist.c
941
if ((newxdev = reallocarray(xdev, nxdev + 1,
usr.bin/rsync/ids.c
204
pp = reallocarray(*ids, *idsz + 1, sizeof(struct ident));
usr.bin/rsync/ids.c
281
pp = reallocarray(*ids,
usr.bin/rusers/rusers.c
188
hostinfo = reallocarray(hostinfo, maxentries,
usr.bin/sed/misc.c
66
if ((p = reallocarray(o, nmemb, size)) == NULL)
usr.bin/snmp/smi.c
413
p = str = reallocarray(NULL, root->be_len + 2, len);
usr.bin/snmp/snmpc.c
548
oid = reallocarray(NULL, argc, sizeof(*oid));
usr.bin/snmp/snmpc.c
908
if ((df = reallocarray(df, rows, sizeof(*df))) == NULL)
usr.bin/snmp/snmpc.c
943
if ((reqoid = reallocarray(NULL, max_repetitions, sizeof(*reqoid))) == NULL)
usr.bin/sort/mem.c
77
if ((ptr = reallocarray(ptr, nmemb, size)) == NULL)
usr.bin/ssh/scp.c
710
if ((tmp = reallocarray(*ap, *np + 1, sizeof(*tmp))) == NULL)
usr.bin/ssh/xmalloc.c
61
new_ptr = reallocarray(ptr, nmemb, size);
usr.bin/systat/cache.c
72
sc_store = reallocarray(NULL, max, sizeof(struct sc_ent));
usr.bin/systat/if.c
267
if ((newstats = reallocarray(ifstats, ifm.ifm_index + 4,
usr.bin/systat/mbufs.c
244
ifi = reallocarray(interfaces, nif, sizeof(*interfaces));
usr.bin/systat/mbufs.c
289
ifr = reallocarray(ifi->data.ifri_entries,
usr.bin/systat/netstat.c
158
ni = reallocarray(netinfos, a, sizeof(*ni));
usr.bin/systat/pftop.c
637
state_buf = reallocarray(state_buf, len,
usr.bin/systat/pftop.c
639
state_ord = reallocarray(state_ord, len, sizeof(size_t));
usr.bin/systat/pftop.c
640
state_cache = reallocarray(state_cache, len,
usr.bin/systat/pftop.c
929
rules = reallocarray(NULL, num_rules, sizeof(struct pf_rule));
usr.bin/systat/pftop.c
934
rules = reallocarray(rules, num_rules, sizeof(struct pf_rule));
usr.bin/systat/pigs.c
168
p = reallocarray(pb_indices, nproc + 1, sizeof(int));
usr.bin/systat/pool.c
324
p = reallocarray(pools, np, sizeof(*pools));
usr.bin/systat/pool.c
459
pc = reallocarray(pool_caches, np, sizeof(*pc));
usr.bin/systat/pool.c
471
pc->cache_cpus = reallocarray(NULL, ncpusfound,
usr.bin/systat/sensors.c
107
s = reallocarray(sensors, a, sizeof(struct sensinfo));
usr.bin/tail/forward.c
342
treopen = reallocarray(reopen, afiles, sizeof(*reopen));
usr.bin/tail/tail.c
150
if ((tf = reallocarray(NULL, argc ? argc : 1, sizeof(*tf))) == NULL)
usr.bin/tcpbench/tcpbench.c
345
if ((ret = reallocarray(ret, (++n + 1), sizeof(*ret))) == NULL)
usr.bin/telnet/telnet.c
497
argv = reallocarray(NULL, n+3, sizeof(char *));
usr.bin/tmux/xmalloc.c
67
new_ptr = reallocarray(ptr, nmemb, size);
usr.bin/top/machine.c
438
pref = reallocarray(pref, (onproc = nproc),
usr.bin/tr/str.c
181
cp->set = reallocarray(NULL, NCHARS + 1, sizeof(*cp->set));
usr.bin/tr/str.c
193
cp->set = reallocarray(cp->set, len, sizeof(*cp->set));
usr.bin/ts/ts.c
202
if ((outbuf = reallocarray(outbuf, 2, obsize)) == NULL)
usr.bin/tsort/tsort.c
199
return emem(reallocarray(p, n, s));
usr.bin/users/users.c
81
newnames = reallocarray(names, newmax,
usr.bin/vi/common/mem.h
156
if (((tmpp) = (reallocarray((p), (nelem), (size)))) == NULL) { \
usr.bin/vmstat/dkstats.c
231
cur.dk_select = reallocarray(cur.dk_select,
usr.bin/vmstat/dkstats.c
233
cur.dk_rxfer = reallocarray(cur.dk_rxfer,
usr.bin/vmstat/dkstats.c
235
cur.dk_wxfer = reallocarray(cur.dk_wxfer,
usr.bin/vmstat/dkstats.c
237
cur.dk_seek = reallocarray(cur.dk_seek,
usr.bin/vmstat/dkstats.c
239
cur.dk_rbytes = reallocarray(cur.dk_rbytes,
usr.bin/vmstat/dkstats.c
241
cur.dk_wbytes = reallocarray(cur.dk_wbytes,
usr.bin/vmstat/dkstats.c
243
cur.dk_time = reallocarray(cur.dk_time,
usr.bin/vmstat/dkstats.c
245
last.dk_rxfer = reallocarray(last.dk_rxfer,
usr.bin/vmstat/dkstats.c
247
last.dk_wxfer = reallocarray(last.dk_wxfer,
usr.bin/vmstat/dkstats.c
249
last.dk_seek = reallocarray(last.dk_seek,
usr.bin/vmstat/dkstats.c
251
last.dk_rbytes = reallocarray(last.dk_rbytes,
usr.bin/vmstat/dkstats.c
253
last.dk_wbytes = reallocarray(last.dk_wbytes,
usr.bin/vmstat/dkstats.c
255
last.dk_time = reallocarray(last.dk_time,
usr.bin/vmstat/dkstats.c
267
cur.dk_select = reallocarray(cur.dk_select,
usr.bin/vmstat/dkstats.c
269
cur.dk_rxfer = reallocarray(cur.dk_rxfer,
usr.bin/vmstat/dkstats.c
271
cur.dk_wxfer = reallocarray(cur.dk_wxfer,
usr.bin/vmstat/dkstats.c
273
cur.dk_seek = reallocarray(cur.dk_seek,
usr.bin/vmstat/dkstats.c
275
cur.dk_rbytes = reallocarray(cur.dk_rbytes,
usr.bin/vmstat/dkstats.c
277
cur.dk_wbytes = reallocarray(cur.dk_wbytes,
usr.bin/vmstat/dkstats.c
279
cur.dk_time = reallocarray(cur.dk_time,
usr.bin/vmstat/dkstats.c
281
last.dk_rxfer = reallocarray(last.dk_rxfer,
usr.bin/vmstat/dkstats.c
283
last.dk_wxfer = reallocarray(last.dk_wxfer,
usr.bin/vmstat/dkstats.c
285
last.dk_seek = reallocarray(last.dk_seek,
usr.bin/vmstat/dkstats.c
287
last.dk_rbytes = reallocarray(last.dk_rbytes,
usr.bin/vmstat/dkstats.c
289
last.dk_wbytes = reallocarray(last.dk_wbytes,
usr.bin/vmstat/dkstats.c
291
last.dk_time = reallocarray(last.dk_time,
usr.bin/yacc/reader.c
1099
plhs = reallocarray(NULL, maxrules, sizeof(bucket *));
usr.bin/yacc/reader.c
1105
rprec = reallocarray(NULL, maxrules, sizeof(short));
usr.bin/yacc/reader.c
1111
rassoc = reallocarray(NULL, maxrules, sizeof(char));
usr.bin/yacc/reader.c
1126
pitem = reallocarray(pitem, maxitems, sizeof(bucket *));
usr.bin/yacc/reader.c
1137
plhs = reallocarray(plhs, maxrules, sizeof(bucket *));
usr.bin/yacc/reader.c
1140
rprec = reallocarray(rprec, maxrules, sizeof(short));
usr.bin/yacc/reader.c
1143
rassoc = reallocarray(rassoc, maxrules, sizeof(char));
usr.bin/yacc/reader.c
1642
symbol_name = reallocarray(NULL, nsyms, sizeof(char *));
usr.bin/yacc/reader.c
1645
symbol_value = reallocarray(NULL, nsyms, sizeof(short));
usr.bin/yacc/reader.c
1648
symbol_prec = reallocarray(NULL, nsyms, sizeof(short));
usr.bin/yacc/reader.c
1655
v = reallocarray(NULL, nsyms, sizeof(bucket *));
usr.bin/yacc/reader.c
1750
ritem = reallocarray(NULL, nitems, sizeof(short));
usr.bin/yacc/reader.c
1753
rlhs = reallocarray(NULL, nrules, sizeof(short));
usr.bin/yacc/reader.c
1756
rrhs = reallocarray(NULL, nrules + 1, sizeof(short));
usr.bin/yacc/reader.c
1759
rprec = reallocarray(rprec, nrules, sizeof(short));
usr.bin/yacc/reader.c
870
tag_table = reallocarray(tag_table, tagmax, sizeof(char *));
usr.bin/yacc/verbose.c
59
null_rules = reallocarray(NULL, nrules, sizeof(short));
usr.sbin/acme-client/chngproc.c
101
pp = reallocarray(fs, (fsz + 1), sizeof(char *));
usr.sbin/acme-client/parse.y
620
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
usr.sbin/amd/amd/xutil.c
102
ptr = reallocarray(ptr, nmemb, size);
usr.sbin/bgpctl/mrtparser.c
767
ap = reallocarray(re->attrs,
usr.sbin/bgpd/bgpd.c
326
if ((newp = reallocarray(pfd,
usr.sbin/bgpd/chash.c
544
tables = reallocarray(t->ch_tables, newsize, sizeof(*tables));
usr.sbin/bgpd/chash.c
547
metas = reallocarray(t->ch_metas, newsize, sizeof(*metas));
usr.sbin/bgpd/kroute.c
282
if ((xkrt = reallocarray(krt, rtableid + 1,
usr.sbin/bgpd/parse.y
3785
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
usr.sbin/bgpd/pfkey.c
468
if ((data = reallocarray(NULL, hdr.sadb_msg_len, PFKEY2_CHUNK))
usr.sbin/bgpd/pftable.c
201
tmp = reallocarray(pft->worklist, pft->nalloc, sizeof(*tmp));
usr.sbin/bgpd/rde.c
1380
aspa->tas = reallocarray(NULL, aspa->num,
usr.sbin/bgpd/rde.c
231
if ((newp = reallocarray(pfd,
usr.sbin/bgpd/rde_adjout.c
782
if ((new = reallocarray(pte->adjout, newlen, sizeof(*new))) == NULL)
usr.sbin/bgpd/rde_attr.c
140
if ((p = reallocarray(asp->others, l, sizeof(struct attr *))) == NULL)
usr.sbin/bgpd/rde_community.c
230
if ((new = reallocarray(comm->communities, newsize,
usr.sbin/bgpd/rde_community.c
757
if ((to->communities = reallocarray(NULL, to->size,
usr.sbin/bgpd/rde_sets.c
166
s = reallocarray(set->set, new_size, set->size);
usr.sbin/bgpd/rtr.c
146
newtas = reallocarray(aspa->tas, num, sizeof(uint32_t));
usr.sbin/bgpd/rtr.c
236
if ((newp = reallocarray(pfd,
usr.sbin/bgpd/rtr.c
389
aspa->tas = reallocarray(NULL, aspa->num,
usr.sbin/bgpd/session.c
265
if ((newp = reallocarray(peer_l, peer_cnt,
usr.sbin/bgpd/session.c
289
if ((newp = reallocarray(mrt_l, mrt_cnt,
usr.sbin/bgpd/session.c
303
if ((newp = reallocarray(pfd, new_cnt,
usr.sbin/btrace/btrace.c
280
dt_dtpis = reallocarray(NULL, dt_ndtpi, sizeof(*dt_dtpis));
usr.sbin/btrace/btrace.c
303
dt_args[dtpi->dtpi_pbn - 1] = reallocarray(NULL, dtpi->dtpi_nargs,
usr.sbin/btrace/ksyms.c
199
tmp = reallocarray(syms->table, syms->nsymb, sizeof *syms->table);
usr.sbin/config/util.c
78
if ((p = reallocarray(p, sz1, sz2)) == NULL)
usr.sbin/cron/env.c
130
p = reallocarray(envp, count + 2, sizeof(char **));
usr.sbin/cron/env.c
63
p = reallocarray(NULL, count+1, sizeof(char *)); /* 1 for the NULL */
usr.sbin/dhcpd/confpars.c
1484
*domains = reallocarray(*domains, *count + 1, sizeof **domains);
usr.sbin/dhcpd/dispatch.c
315
fds = reallocarray(fds, nfds, sizeof(struct pollfd));
usr.sbin/eigrpd/parse.y
733
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
usr.sbin/hostapd/parse.y
1420
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
usr.sbin/httpd/parse.y
1613
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
usr.sbin/installboot/i386_installboot.c
746
ph = reallocarray(NULL, eh.e_phnum, sizeof(Elf_Phdr));
usr.sbin/iscsictl/parse.y
468
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
usr.sbin/ldapd/parse.y
571
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
usr.sbin/ldomctl/util.c
55
p = reallocarray(o, nmemb, size);
usr.sbin/ldpd/parse.y
1047
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
usr.sbin/ldpd/pfkey.c
305
if ((data = reallocarray(NULL, hdr.sadb_msg_len, PFKEY2_CHUNK)) == NULL) {
usr.sbin/lpr/common_source/common.c
273
newqueue = reallocarray(queue,
usr.sbin/lpr/lpd/lpd.c
716
newsocks = reallocarray(socks, maxs + 1, sizeof(int));
usr.sbin/mailwrapper/mailwrapper.c
70
al->argv = reallocarray(al->argv, al->maxc, sizeof(char *));
usr.sbin/netgroup_mkdb/stringlist.c
73
slstr = reallocarray(sl->sl_str, sl->sl_max, sizeof(char *));
usr.sbin/npppd/npppd/mppe.c
634
_this->old_session_keys = reallocarray(NULL,
usr.sbin/npppd/npppd/npppd_ctl.c
129
started_ppp = reallocarray(_this->started_ppp,
usr.sbin/nsd/util.c
335
void *result = reallocarray(NULL, num, size);
usr.sbin/ntpd/constraint.c
1145
if ((q = reallocarray(buf, len, 2)) == NULL)
usr.sbin/ntpd/ntp.c
208
if ((newp = reallocarray(idx2peer, peer_cnt,
usr.sbin/ntpd/ntp.c
222
if ((newp = reallocarray(pfd, new_cnt,
usr.sbin/ntpd/ntpd.c
294
if ((newp = reallocarray(pfd, new_cnt,
usr.sbin/ospf6d/parse.y
761
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
usr.sbin/ospfd/parse.y
952
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
usr.sbin/pppd/main.c
1579
char **newenv = reallocarray(script_env,
usr.sbin/pstat/pstat.c
958
if ((globalitp = reallocarray(NULL, ntty, sizeof(struct itty))) == NULL)
usr.sbin/rad/parse.y
642
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
usr.sbin/rarpd/rarpd.c
358
pfd = reallocarray(NULL, numfd, sizeof(*pfd));
usr.sbin/rdate/ntpleaps.c
155
if ((l = reallocarray(NULL, r, sizeof(u_int64_t))) == NULL) {
usr.sbin/relayd/parse.y
2626
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
usr.sbin/route6d/route6d.c
3216
p = reallocarray(index2ifc, nindex2ifc, sizeof(*index2ifc));
usr.sbin/rpki-client/aspa.c
326
v->providers = reallocarray(v->providers,
usr.sbin/rpki-client/spl.c
393
vsp->prefixes = reallocarray(vsp->prefixes,
usr.sbin/rpki-client/tal.c
98
tal->uri = reallocarray(tal->uri,
usr.sbin/sasyncd/pfkey.c
327
data = reallocarray(NULL, hdr.sadb_msg_len, CHUNK);
usr.sbin/smtpd/enqueue.c
763
if ((nrcpts = reallocarray(msg.rcpts,
usr.sbin/smtpd/parse.y
1906
filter_config->chain = reallocarray(filter_config->chain, filter_config->chain_size, sizeof(char *));
usr.sbin/smtpd/parse.y
2874
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
usr.sbin/smtpd/rfc5322.c
232
buf = reallocarray(b->buf, alloc, 1);
usr.sbin/smtpd/util.c
624
tmp = reallocarray(args->list, nalloc, sizeof(char *));
usr.sbin/snmpd/ax.c
320
sr = reallocarray(srl->ap_sr, srl->ap_nsr, sizeof(*sr));
usr.sbin/snmpd/mib.y
1360
if ((import = reallocarray(module->imports, im + 2,
usr.sbin/snmpd/parse.y
1084
ttrapaddresses = reallocarray(trapaddresses,
usr.sbin/snmpd/parse.y
1437
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
usr.sbin/snmpd/smi.c
410
if ((p = reallocarray(NULL, 4, root->be_len + 1)) == NULL)
usr.sbin/snmpd/smi.c
463
p = reallocarray(NULL, 4, root->be_len + 1);
usr.sbin/snmpd/smi.c
514
p = reallocarray(NULL, 4, root->be_len + 1);
usr.sbin/syslogd/privsep.c
157
if ((privargv = reallocarray(NULL, argc + 3, sizeof(char *))) == NULL)
usr.sbin/syslogd/syslogd.c
411
if ((path_unix = reallocarray(path_unix, nunix + 1,
usr.sbin/syslogd/syslogd.c
533
if ((fd_bind = reallocarray(NULL, nbind, sizeof(*fd_bind))) == NULL)
usr.sbin/syslogd/syslogd.c
540
if ((fd_listen = reallocarray(NULL, nlisten, sizeof(*fd_listen)))
usr.sbin/syslogd/syslogd.c
548
if ((fd_tls = reallocarray(NULL, ntls, sizeof(*fd_tls))) == NULL)
usr.sbin/syslogd/syslogd.c
556
if ((fd_unix = reallocarray(NULL, nunix, sizeof(*fd_unix))) == NULL)
usr.sbin/syslogd/syslogd.c
779
(ev_bind = reallocarray(NULL, nbind, sizeof(struct event)))
usr.sbin/syslogd/syslogd.c
781
(ev_listen = reallocarray(NULL, nlisten, sizeof(struct event)))
usr.sbin/syslogd/syslogd.c
783
(ev_tls = reallocarray(NULL, ntls, sizeof(struct event)))
usr.sbin/syslogd/syslogd.c
785
(ev_unix = reallocarray(NULL, nunix, sizeof(struct event)))
usr.sbin/syslogd/syslogd.c
914
if ((*host = reallocarray(*host, *num + 1, sizeof(**host))) == NULL)
usr.sbin/syslogd/syslogd.c
916
if ((*port = reallocarray(*port, *num + 1, sizeof(**port))) == NULL)
usr.sbin/tcpdump/addrtoname.c
478
tp->e_name = cp = reallocarray(NULL, len, 3);
usr.sbin/tcpdump/privsep.c
195
if ((privargv = reallocarray(NULL, argc + 2, sizeof(char *))) == NULL)
usr.sbin/unbound/libunbound/context.c
398
uint8_t* p = (uint8_t*)reallocarray(NULL, 2, sizeof(uint32_t));
usr.sbin/unbound/util/config_file.c
1999
*avail = (int*)reallocarray(NULL, (size_t)num, sizeof(int));
usr.sbin/unbound/util/config_file.c
912
(char**)reallocarray(NULL, (size_t)cfg->num_out_ifs+1, sizeof(char*));
usr.sbin/unbound/util/net_help.c
1764
ub_openssl_locks = (lock_basic_type*)reallocarray(
usr.sbin/unbound/validator/val_anchor.c
889
pd->rr_len = (size_t*)reallocarray(NULL, num, sizeof(size_t));
usr.sbin/unbound/validator/val_anchor.c
896
pd->rr_ttl = (time_t*)reallocarray(NULL, num, sizeof(time_t));
usr.sbin/unbound/validator/val_anchor.c
904
pd->rr_data = (uint8_t**)reallocarray(NULL, num, sizeof(uint8_t*));
usr.sbin/user/user.c
767
if ((up->u_rv = reallocarray(up->u_rv, up->u_rsize,
usr.sbin/vmctl/main.c
373
if ((nets = reallocarray(res->nets, res->nnets + 1,
usr.sbin/vmctl/main.c
477
if ((disks = reallocarray(res->disks, res->ndisks + 1,
usr.sbin/vmctl/main.c
482
if ((disktypes = reallocarray(res->disktypes, res->ndisks + 1,
usr.sbin/vmctl/vmctl.c
623
vir = reallocarray(vir, ct + 1,
usr.sbin/vmd/config.c
245
tapfds = reallocarray(NULL, vmc->vmc_nnics, sizeof(*tapfds));
usr.sbin/vmd/parse.y
960
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
usr.sbin/vmd/vm_agentx.c
151
tvir = reallocarray(vir, virlen + 10, sizeof(*vir));
usr.sbin/vmd/vm_agentx.c
512
if ((tvminfo = reallocarray(vminfo, vminfosize + 10,
usr.sbin/ypbind/ypbind.c
506
pfd = reallocarray(pfd, width, sizeof *pfd);
usr.sbin/ypldap/aldap.c
894
if ((ret->str = reallocarray(NULL, ret->len,
usr.sbin/ypldap/parse.y
660
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
usr.sbin/ypserv/yppush/yppush.c
77
newp = reallocarray(pfd, svc_max_pollfd, sizeof(*pfd));
usr.sbin/ypserv/ypserv/ypserv.c
352
newp = reallocarray(pfd, svc_max_pollfd, sizeof(*pfd));
usr.sbin/zdump/zdump.c
218
fakeenv = reallocarray(NULL, i + 2, sizeof *fakeenv);
usr.sbin/zic/zic.c
376
#define ereallocarray(ptr, nmemb, size) memcheck(reallocarray(ptr, nmemb, size))
usr.sbin/zic/zic.c
446
fbuf = reallocarray(NULL, strlen(format) + 2, 2);