Symbol: xcalloc
crypto/krb5/src/clients/ksu/authorization.c
154
char * kuser = (char *) xcalloc (strlen(princname), sizeof(char));
crypto/krb5/src/clients/ksu/authorization.c
338
tmp_fcmd = (char **) xcalloc (MAX_CMD, sizeof(char *));
crypto/krb5/src/clients/ksu/authorization.c
570
line = (char *) xcalloc (BUFSIZ, sizeof (char ));
crypto/krb5/src/clients/ksu/ccache.c
191
temp_creds = xcalloc(CHUNK, sizeof(*temp_creds));
crypto/krb5/src/clients/ksu/heuristic.c
176
temp_filt_list = xcalloc(found_count + 1, sizeof(*temp_filt_list));
crypto/krb5/src/clients/ksu/ksu.h
235
*xcalloc (size_t, size_t);
crypto/krb5/src/clients/ksu/main.c
126
params = (char **) xcalloc (2, sizeof (char *));
crypto/openssh/auth-bsdauth.c
88
*prompts = xcalloc(*numprompts, sizeof(char *));
crypto/openssh/auth-bsdauth.c
89
*echo_on = xcalloc(*numprompts, sizeof(u_int));
crypto/openssh/auth-pam.c
336
sshpam_env = xcalloc(num_env + 1, sizeof(*sshpam_env));
crypto/openssh/auth-pam.c
829
ctxt = xcalloc(1, sizeof *ctxt);
crypto/openssh/auth-pam.c
881
*prompts = xcalloc(1, sizeof(char *));
crypto/openssh/auth-pam.c
882
*echo_on = xcalloc(1, sizeof(u_int));
crypto/openssh/auth2-chall.c
112
kbdintctxt = xcalloc(1, sizeof(KbdintAuthctxt));
crypto/openssh/auth2-chall.c
321
response = xcalloc(nresp, sizeof(char *));
crypto/openssh/auth2.c
585
authctxt->auth_methods = xcalloc(options.num_auth_methods,
crypto/openssh/authfd.c
808
ret = xcalloc(1, sizeof(*ret));
crypto/openssh/channels.c
1229
cc = xcalloc(1, sizeof(*cc));
crypto/openssh/channels.c
235
sc->channels = xcalloc(sc->channels_alloc, sizeof(*sc->channels));
crypto/openssh/channels.c
4770
ai = xcalloc(1, sizeof(*ai) + sizeof(*sunaddr));
crypto/openssh/channels.c
5172
*chanids = xcalloc(num_socks + 1, sizeof(**chanids));
crypto/openssh/channels.c
540
c = sc->channels[found] = xcalloc(1, sizeof(Channel));
crypto/openssh/clientloop.c
1415
ret = xcalloc(1, sizeof(*ret));
crypto/openssh/clientloop.c
2487
ctx = xcalloc(1, sizeof(*ctx));
crypto/openssh/clientloop.c
886
struct channel_reply_ctx *cr = xcalloc(1, sizeof(*cr));
crypto/openssh/clientloop.c
909
gc = xcalloc(1, sizeof(*gc));
crypto/openssh/groupaccess.c
64
groups_bygid = xcalloc(ngroups, sizeof(*groups_bygid));
crypto/openssh/groupaccess.c
82
groups_byname = xcalloc(ngroups, sizeof(*groups_byname));
crypto/openssh/gss-genr.c
164
*ctx = xcalloc(1, sizeof (Gssctxt));
crypto/openssh/gss-genr.c
80
ctx->oid = xcalloc(1, sizeof(gss_OID_desc));
crypto/openssh/hostfile.c
218
struct hostkeys *ret = xcalloc(1, sizeof(*ret));
crypto/openssh/match.c
94
states = xcalloc(M + 1, sizeof(*states));
crypto/openssh/match.c
95
next_states = xcalloc(M + 1, sizeof(*next_states));
crypto/openssh/misc.c
130
*listp = xcalloc(2, sizeof(**listp));
crypto/openssh/misc.c
1628
r = xcalloc(1, hl);
crypto/openssh/misc.c
2134
char *arg, **argv = xcalloc(1, sizeof(*argv));
crypto/openssh/misc.c
2149
arg = argv[argc++] = xcalloc(1, strlen(s + i) + 1);
crypto/openssh/misc.c
2910
env = xcalloc(sizeof(*env), nenv);
crypto/openssh/misc.c
531
struct passwd *copy = xcalloc(1, sizeof(*copy));
crypto/openssh/moduli.c
265
TinySieve = xcalloc(tinywords, sizeof(uint32_t));
crypto/openssh/moduli.c
268
SmallSieve = xcalloc(smallwords, sizeof(uint32_t));
crypto/openssh/moduli.c
271
LargeSieve = xcalloc(largewords, sizeof(uint32_t));
crypto/openssh/monitor.c
1237
resp = xcalloc(num, sizeof(char *));
crypto/openssh/monitor.c
1942
mon = xcalloc(1, sizeof(*mon));
crypto/openssh/monitor_wrap.c
360
pw = xcalloc(sizeof(*pw), 1);
crypto/openssh/monitor_wrap.c
581
*sig_detailsp = xcalloc(1, sizeof(**sig_detailsp));
crypto/openssh/monitor_wrap.c
782
*prompts = xcalloc((*num + 1), sizeof(char *));
crypto/openssh/monitor_wrap.c
783
*echo_on = xcalloc((*num + 1), sizeof(u_int));
crypto/openssh/monitor_wrap.c
906
*prompts = xcalloc(*numprompts, sizeof(char *));
crypto/openssh/monitor_wrap.c
907
*echo_on = xcalloc(*numprompts, sizeof(u_int));
crypto/openssh/mux.c
1081
cctx = xcalloc(1, sizeof(*cctx));
crypto/openssh/mux.c
1207
state = xcalloc(1, sizeof(*state));
crypto/openssh/mux.c
338
cctx = xcalloc(1, sizeof(*cctx));
crypto/openssh/mux.c
859
fctx = xcalloc(1, sizeof(*fctx));
crypto/openssh/openbsd-compat/bsd-cygwin_util.c
106
p = xcalloc(WENV_SIZ + 1, sizeof(char *));
crypto/openssh/openbsd-compat/bsd-cygwin_util.c
199
ws = (wchar_t *) xcalloc(len + 1, sizeof (wchar_t));
crypto/openssh/openbsd-compat/bsd-cygwin_util.c
205
wpattern = (wchar_t *) xcalloc(len + 1, sizeof (wchar_t));
crypto/openssh/openbsd-compat/getrrsetbyname-ldns.c
60
#define calloc(x, y) (xcalloc((x),(y)))
crypto/openssh/regress/misc/fuzz-harness/agent_fuzz_helper.c
65
id = xcalloc(1, sizeof(Identity));
crypto/openssh/regress/misc/fuzz-harness/agent_fuzz_helper.c
74
id = xcalloc(1, sizeof(Identity));
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
339
st = (struct shared_state *)xcalloc(1, sizeof(*st));
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
345
ts = (struct test_state *)xcalloc(1, sizeof(*ts));
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
424
st = (struct shared_state *)xcalloc(1, sizeof(*st));
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
431
ts = (struct test_state *)xcalloc(1, sizeof(*ts));
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
441
ts = (struct test_state *)xcalloc(1, sizeof(*ts));
crypto/openssh/regress/unittests/crypto/test_mldsa.c
48
kat = xcalloc(1, sizeof(*kat));
crypto/openssh/regress/unittests/servconf/tests.c
109
o->queued_listen_addrs = xcalloc(o->num_queued_listens,
crypto/openssh/regress/unittests/servconf/tests.c
52
return xcalloc(n, sizeof(char *));
crypto/openssh/regress/unittests/servconf/tests.c
98
xcalloc(o->num_host_key_files,
crypto/openssh/regress/unittests/test_helper/test_helper.c
702
bench_samples = xcalloc(sizeof(*bench_samples), bench_nalloc);
crypto/openssh/sandbox-capsicum.c
58
box = xcalloc(1, sizeof(*box));
crypto/openssh/sandbox-darwin.c
53
box = xcalloc(1, sizeof(*box));
crypto/openssh/sandbox-null.c
50
box = xcalloc(1, sizeof(*box));
crypto/openssh/sandbox-rlimit.c
53
box = xcalloc(1, sizeof(*box));
crypto/openssh/sandbox-seccomp-filter.c
493
box = xcalloc(1, sizeof(*box));
crypto/openssh/sandbox-solaris.c
50
box = xcalloc(1, sizeof(*box));
crypto/openssh/scp.c
469
newargv = xcalloc(MAXIMUM(argc + 1, 1), sizeof(*newargv));
crypto/openssh/servconf.c
2176
item = xcalloc(1, sizeof(*item));
crypto/openssh/servconf.c
2186
item = xcalloc(1, sizeof(*item));
crypto/openssh/servconf.c
3285
a = xcalloc(n, sizeof(*a));
crypto/openssh/servconf.c
3321
userprovided = xcalloc(n, sizeof(*userprovided));
crypto/openssh/servconf.c
3322
files = xcalloc(n, sizeof(*files));
crypto/openssh/servconf.c
3363
qla = xcalloc(n, sizeof(*qla));
crypto/openssh/servconf.c
3579
names = xcalloc(n, sizeof(*names));
crypto/openssh/servconf.c
3580
commands = xcalloc(n, sizeof(*names));
crypto/openssh/servconf.c
3581
args = xcalloc(n, sizeof(*args));
crypto/openssh/servconf.c
3840
*dst = xcalloc(nsrc, sizeof(**dst));
crypto/openssh/session.c
950
env = xcalloc(envsize, sizeof(char *));
crypto/openssh/sftp-client.c
120
req = xcalloc(1, sizeof(*req));
crypto/openssh/sftp-client.c
2920
usernames = xcalloc(nuids, sizeof(*usernames));
crypto/openssh/sftp-client.c
2933
groupnames = xcalloc(ngids, sizeof(*groupnames));
crypto/openssh/sftp-client.c
452
ret = xcalloc(1, sizeof(*ret));
crypto/openssh/sftp-client.c
720
*dir = xcalloc(1, sizeof(**dir));
crypto/openssh/sftp-client.c
799
(*dir)[ents] = xcalloc(1, sizeof(***dir));
crypto/openssh/sftp-client.c
823
*dir = xcalloc(1, sizeof(**dir));
crypto/openssh/sftp-glob.c
51
r = xcalloc(1, sizeof(*r));
crypto/openssh/sftp-server.c
1143
stats = xcalloc(nstats, sizeof(Stat));
crypto/openssh/sftp-usergroup.c
70
if ((idname = xcalloc(1, sizeof(*idname))) == NULL)
crypto/openssh/sftp.c
1028
indices = xcalloc(nentries, sizeof(*indices));
crypto/openssh/sftp.c
1931
list = xcalloc((sizeof(cmds) / sizeof(*cmds)) + 1, sizeof(char *));
crypto/openssh/sftp.c
599
ret = xcalloc(2, len + 1);
crypto/openssh/srclimit.c
123
children = xcalloc(max_children, sizeof(*children));
crypto/openssh/srclimit.c
428
penalty = xcalloc(1, sizeof(*penalty));
crypto/openssh/ssh-add.c
771
dc = xcalloc(1, sizeof(*dc));
crypto/openssh/ssh-agent.c
1430
id = xcalloc(1, sizeof(Identity));
crypto/openssh/ssh-agent.c
1559
id = xcalloc(1, sizeof(Identity));
crypto/openssh/ssh-agent.c
239
idtab = xcalloc(1, sizeof(*idtab));
crypto/openssh/ssh-agent.c
284
xcalloc(out->nkeys, sizeof(*out->keys));
crypto/openssh/ssh-agent.c
286
xcalloc(out->nkeys, sizeof(*out->key_is_ca));
crypto/openssh/ssh-agent.c
304
ret = xcalloc(ndcs, sizeof(*ret));
crypto/openssh/ssh-keyscan.c
788
fdcon = xcalloc(maxfd, sizeof(con));
crypto/openssh/ssh-keyscan.c
789
read_wait = xcalloc(maxfd, sizeof(struct pollfd));
crypto/openssh/ssh-pkcs11-client.c
343
helper = xcalloc(1, sizeof(*helper));
crypto/openssh/ssh-pkcs11-client.c
414
*keysp = xcalloc(nkeys, sizeof(struct sshkey *));
crypto/openssh/ssh-pkcs11-client.c
416
*labelsp = xcalloc(nkeys, sizeof(char *));
crypto/openssh/ssh-pkcs11.c
1030
key_attr[i].pValue = xcalloc(1, key_attr[i].ulValueLen);
crypto/openssh/ssh-pkcs11.c
1140
key_attr[i].pValue = xcalloc(1, key_attr[i].ulValueLen);
crypto/openssh/ssh-pkcs11.c
1256
cert_attr[i].pValue = xcalloc(1, cert_attr[i].ulValueLen);
crypto/openssh/ssh-pkcs11.c
1887
p = xcalloc(1, sizeof(*p));
crypto/openssh/ssh-pkcs11.c
1926
p->slotlist = xcalloc(p->nslots, sizeof(CK_SLOT_ID));
crypto/openssh/ssh-pkcs11.c
1933
p->slotinfo = xcalloc(p->nslots, sizeof(struct pkcs11_slotinfo));
crypto/openssh/ssh-pkcs11.c
429
k11 = xcalloc(1, sizeof(*k11));
crypto/openssh/ssh-pkcs11.c
591
oid_dgst = xcalloc(1, oid_dgst_len);
crypto/openssh/ssh-pkcs11.c
669
dgst = xcalloc(1, dgst_len);
crypto/openssh/ssh-pkcs11.c
897
key_attr[i].pValue = xcalloc(1, key_attr[i].ulValueLen);
crypto/openssh/ssh.c
1400
cinfo = xcalloc(1, sizeof(*cinfo));
crypto/openssh/ssh.c
1715
sensitive_data.keys = xcalloc(sensitive_data.nkeys,
crypto/openssh/ssh.c
653
saved_av = xcalloc(ac + 1, sizeof(*saved_av));
crypto/openssh/sshconnect.c
100
ret = xcalloc(1, sizeof(*ret));
crypto/openssh/sshconnect2.c
1711
id = xcalloc(1, sizeof(*id));
crypto/openssh/sshconnect2.c
1734
id = xcalloc(1, sizeof(*id));
crypto/openssh/sshconnect2.c
1765
id = xcalloc(1, sizeof(*id));
crypto/openssh/sshd-auth.c
462
saved_argv = xcalloc(ac + 1, sizeof(*saved_argv));
crypto/openssh/sshd-auth.c
575
pmonitor = xcalloc(1, sizeof(*pmonitor));
crypto/openssh/sshd-auth.c
712
authctxt = xcalloc(1, sizeof(*authctxt));
crypto/openssh/sshd-session.c
1235
authctxt = xcalloc(1, sizeof(*authctxt));
crypto/openssh/sshd-session.c
673
item = xcalloc(1, sizeof(*item));
crypto/openssh/sshd-session.c
813
saved_argv = xcalloc(ac + 1, sizeof(*saved_argv));
crypto/openssh/sshd.c
1382
saved_argv = xcalloc(ac + 1, sizeof(*saved_argv));
crypto/openssh/sshd.c
1634
sensitive_data.host_keys = xcalloc(options.num_host_key_files,
crypto/openssh/sshd.c
1636
sensitive_data.host_pubkeys = xcalloc(options.num_host_key_files,
crypto/openssh/sshd.c
1744
sensitive_data.host_certificates = xcalloc(options.num_host_key_files,
crypto/openssh/sshd.c
1834
rexec_argv = xcalloc(rexec_argc + 3, sizeof(char *));
crypto/openssh/sshd.c
230
children = xcalloc(options.max_startups, sizeof(*children));
crypto/openssh/sshd.c
956
startup_pollfd = xcalloc(options.max_startups, sizeof(int));
crypto/openssh/sshd.c
974
pfd = xcalloc(num_listen_socks + options.max_startups,
crypto/openssh/umac.c
1227
octx = ctx = xcalloc(1, sizeof(*ctx) + ALLOC_BOUNDARY);
crypto/openssh/xmalloc.h
20
void *xcalloc(size_t, size_t);
libexec/rtld-elf/map_object.c
115
segs = xcalloc(hdr->e_phnum, sizeof(segs[0]));
libexec/rtld-elf/rtld.c
1047
_dlp->objs = xcalloc(_dlp->num_alloc, sizeof(_dlp->objs[0])); \
libexec/rtld-elf/rtld.c
5474
newdtv = xcalloc(1, sizeof(struct dtv) + tls_max_index *
libexec/rtld-elf/rtld.c
5638
dtv = xcalloc(1, sizeof(struct dtv) + tls_max_index *
libexec/rtld-elf/rtld.c
5726
dtv = xcalloc(1, sizeof(struct dtv) + tls_max_index *
libexec/rtld-elf/rtld.c
6125
obj->vertab = xcalloc(obj->vernum, sizeof(Ver_Entry));
libexec/rtld-elf/rtld.h
386
void *xcalloc(size_t, size_t);
libexec/rtld-elf/rtld.h
46
#define CNEW(type) ((type *) xcalloc(1, sizeof(type)))
usr.bin/diff/diffreg.c
453
klist = xcalloc(slen[0] + 2, sizeof(*klist));
usr.bin/diff/diffreg.c
456
clist = xcalloc(clistlen, sizeof(*clist));
usr.bin/diff/diffreg.c
569
p = xcalloc(sz + 3, sizeof(*p));
usr.bin/diff/diffreg.c
903
a = xcalloc(l + 1, sizeof(*a));
usr.bin/diff/pr.c
59
pr = xcalloc(1, sizeof(*pr));
usr.bin/diff/xmalloc.h
23
void *xcalloc(size_t, size_t);
usr.bin/m4/extern.h
107
extern void *xcalloc(size_t, size_t, const char *, ...) __printf0like(3, 4);
usr.bin/m4/look.c
73
void *storage = xcalloc(n, s, "hash alloc");