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
355
sshpam_env = xcalloc(num_env + 1, sizeof(*sshpam_env));
crypto/openssh/auth-pam.c
820
ctxt = xcalloc(1, sizeof *ctxt);
crypto/openssh/auth2-chall.c
112
kbdintctxt = xcalloc(1, sizeof(KbdintAuthctxt));
crypto/openssh/auth2-chall.c
316
response = xcalloc(nresp, sizeof(char *));
crypto/openssh/auth2.c
579
authctxt->auth_methods = xcalloc(options.num_auth_methods,
crypto/openssh/channels.c
1161
cc = xcalloc(1, sizeof(*cc));
crypto/openssh/channels.c
240
sc->channels = xcalloc(sc->channels_alloc, sizeof(*sc->channels));
crypto/openssh/channels.c
5083
*chanids = xcalloc(num_socks + 1, sizeof(**chanids));
crypto/openssh/channels.c
519
c = sc->channels[found] = xcalloc(1, sizeof(Channel));
crypto/openssh/clientloop.c
1406
ret = xcalloc(1, sizeof(*ret));
crypto/openssh/clientloop.c
2453
ctx = xcalloc(1, sizeof(*ctx));
crypto/openssh/clientloop.c
888
struct channel_reply_ctx *cr = xcalloc(1, sizeof(*cr));
crypto/openssh/clientloop.c
911
gc = xcalloc(1, sizeof(*gc));
crypto/openssh/groupaccess.c
64
groups_bygid = xcalloc(ngroups, sizeof(*groups_bygid));
crypto/openssh/groupaccess.c
71
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/misc.c
1564
r = xcalloc(1, hl);
crypto/openssh/misc.c
2069
char *arg, **argv = xcalloc(1, sizeof(*argv));
crypto/openssh/misc.c
2084
arg = argv[argc++] = xcalloc(1, strlen(s + i) + 1);
crypto/openssh/misc.c
2838
env = xcalloc(sizeof(*env), nenv);
crypto/openssh/misc.c
507
struct passwd *copy = xcalloc(1, sizeof(*copy));
crypto/openssh/moduli.c
305
TinySieve = xcalloc(tinywords, sizeof(u_int32_t));
crypto/openssh/moduli.c
308
SmallSieve = xcalloc(smallwords, sizeof(u_int32_t));
crypto/openssh/monitor.c
1229
resp = xcalloc(num, sizeof(char *));
crypto/openssh/monitor.c
1939
mon = xcalloc(1, sizeof(*mon));
crypto/openssh/monitor_wrap.c
295
newopts = xcalloc(sizeof(*newopts), 1);
crypto/openssh/monitor_wrap.c
305
NULL : xcalloc(newopts->nx, sizeof(*newopts->x)); \
crypto/openssh/monitor_wrap.c
364
pw = xcalloc(sizeof(*pw), 1);
crypto/openssh/monitor_wrap.c
585
*sig_detailsp = xcalloc(1, sizeof(**sig_detailsp));
crypto/openssh/monitor_wrap.c
786
*prompts = xcalloc((*num + 1), sizeof(char *));
crypto/openssh/monitor_wrap.c
787
*echo_on = xcalloc((*num + 1), sizeof(u_int));
crypto/openssh/monitor_wrap.c
903
item = xcalloc(1, sizeof(*item));
crypto/openssh/monitor_wrap.c
927
*prompts = xcalloc(*numprompts, sizeof(char *));
crypto/openssh/monitor_wrap.c
928
*echo_on = xcalloc(*numprompts, sizeof(u_int));
crypto/openssh/mux.c
1045
cctx = xcalloc(1, sizeof(*cctx));
crypto/openssh/mux.c
1161
state = xcalloc(1, sizeof(*state));
crypto/openssh/mux.c
342
cctx = xcalloc(1, sizeof(*cctx));
crypto/openssh/mux.c
823
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
203
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/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
446
box = xcalloc(1, sizeof(*box));
crypto/openssh/sandbox-solaris.c
50
box = xcalloc(1, sizeof(*box));
crypto/openssh/scp.c
490
newargv = xcalloc(MAXIMUM(argc + 1, 1), sizeof(*newargv));
crypto/openssh/servconf.c
2369
item = xcalloc(1, sizeof(*item));
crypto/openssh/servconf.c
2379
item = xcalloc(1, sizeof(*item));
crypto/openssh/servconf.c
2993
dst->s = xcalloc(src->num_s, sizeof(*dst->s)); \
crypto/openssh/session.c
987
env = xcalloc(envsize, sizeof(char *));
crypto/openssh/sftp-client.c
132
req = xcalloc(1, sizeof(*req));
crypto/openssh/sftp-client.c
2917
usernames = xcalloc(nuids, sizeof(*usernames));
crypto/openssh/sftp-client.c
2930
groupnames = xcalloc(ngids, sizeof(*groupnames));
crypto/openssh/sftp-client.c
464
ret = xcalloc(1, sizeof(*ret));
crypto/openssh/sftp-client.c
735
*dir = xcalloc(1, sizeof(**dir));
crypto/openssh/sftp-client.c
814
(*dir)[ents] = xcalloc(1, sizeof(***dir));
crypto/openssh/sftp-client.c
838
*dir = xcalloc(1, sizeof(**dir));
crypto/openssh/sftp-glob.c
52
r = xcalloc(1, sizeof(*r));
crypto/openssh/sftp-server.c
1151
stats = xcalloc(nstats, sizeof(Stat));
crypto/openssh/sftp-usergroup.c
69
if ((idname = xcalloc(1, sizeof(*idname))) == NULL)
crypto/openssh/sftp.c
1030
indices = xcalloc(nentries, sizeof(*indices));
crypto/openssh/sftp.c
1911
list = xcalloc((sizeof(cmds) / sizeof(*cmds)) + 1, sizeof(char *));
crypto/openssh/sftp.c
611
ret = xcalloc(2, len + 1);
crypto/openssh/srclimit.c
123
children = xcalloc(max_children, sizeof(*children));
crypto/openssh/srclimit.c
419
penalty = xcalloc(1, sizeof(*penalty));
crypto/openssh/ssh-add.c
680
*listp = xcalloc(2, sizeof(**listp));
crypto/openssh/ssh-add.c
764
dc = xcalloc(1, sizeof(*dc));
crypto/openssh/ssh-agent.c
1448
id = xcalloc(1, sizeof(Identity));
crypto/openssh/ssh-agent.c
1577
id = xcalloc(1, sizeof(Identity));
crypto/openssh/ssh-agent.c
246
idtab = xcalloc(1, sizeof(*idtab));
crypto/openssh/ssh-agent.c
291
xcalloc(out->nkeys, sizeof(*out->keys));
crypto/openssh/ssh-agent.c
293
xcalloc(out->nkeys, sizeof(*out->key_is_ca));
crypto/openssh/ssh-agent.c
311
ret = xcalloc(ndcs, sizeof(*ret));
crypto/openssh/ssh-keyscan.c
800
fdcon = xcalloc(maxfd, sizeof(con));
crypto/openssh/ssh-keyscan.c
801
read_wait = xcalloc(maxfd, sizeof(struct pollfd));
crypto/openssh/ssh-pkcs11-client.c
578
helper = xcalloc(1, sizeof(*helper));
crypto/openssh/ssh-pkcs11-client.c
655
*keysp = xcalloc(nkeys, sizeof(struct sshkey *));
crypto/openssh/ssh-pkcs11-client.c
657
*labelsp = xcalloc(nkeys, sizeof(char *));
crypto/openssh/ssh-pkcs11-helper.c
73
ki = xcalloc(1, sizeof(*ki));
crypto/openssh/ssh-pkcs11.c
1578
p = xcalloc(1, sizeof(*p));
crypto/openssh/ssh-pkcs11.c
1617
p->slotlist = xcalloc(p->nslots, sizeof(CK_SLOT_ID));
crypto/openssh/ssh-pkcs11.c
1624
p->slotinfo = xcalloc(p->nslots, sizeof(struct pkcs11_slotinfo));
crypto/openssh/ssh-pkcs11.c
494
k11 = xcalloc(1, sizeof(*k11));
crypto/openssh/ssh-pkcs11.c
610
k11 = xcalloc(1, sizeof(*k11));
crypto/openssh/ssh-pkcs11.c
751
key_attr[i].pValue = xcalloc(1, key_attr[i].ulValueLen);
crypto/openssh/ssh-pkcs11.c
875
key_attr[i].pValue = xcalloc(1, key_attr[i].ulValueLen);
crypto/openssh/ssh-pkcs11.c
980
cert_attr[i].pValue = xcalloc(1, cert_attr[i].ulValueLen);
crypto/openssh/ssh.c
1433
cinfo = xcalloc(1, sizeof(*cinfo));
crypto/openssh/ssh.c
1738
sensitive_data.keys = xcalloc(sensitive_data.nkeys,
crypto/openssh/ssh.c
705
saved_av = xcalloc(ac + 1, sizeof(*saved_av));
crypto/openssh/sshconnect2.c
1700
id = xcalloc(1, sizeof(*id));
crypto/openssh/sshconnect2.c
1723
id = xcalloc(1, sizeof(*id));
crypto/openssh/sshconnect2.c
1754
id = xcalloc(1, sizeof(*id));
crypto/openssh/sshd-auth.c
470
saved_argv = xcalloc(ac + 1, sizeof(*saved_argv));
crypto/openssh/sshd-auth.c
627
pmonitor = xcalloc(1, sizeof(*pmonitor));
crypto/openssh/sshd-auth.c
764
authctxt = xcalloc(1, sizeof(*authctxt));
crypto/openssh/sshd-session.c
1290
authctxt = xcalloc(1, sizeof(*authctxt));
crypto/openssh/sshd-session.c
724
item = xcalloc(1, sizeof(*item));
crypto/openssh/sshd-session.c
864
saved_argv = xcalloc(ac + 1, sizeof(*saved_argv));
crypto/openssh/sshd.c
1389
saved_argv = xcalloc(ac + 1, sizeof(*saved_argv));
crypto/openssh/sshd.c
1641
sensitive_data.host_keys = xcalloc(options.num_host_key_files,
crypto/openssh/sshd.c
1643
sensitive_data.host_pubkeys = xcalloc(options.num_host_key_files,
crypto/openssh/sshd.c
1751
sensitive_data.host_certificates = xcalloc(options.num_host_key_files,
crypto/openssh/sshd.c
1835
rexec_argv = xcalloc(rexec_argc + 3, sizeof(char *));
crypto/openssh/sshd.c
241
children = xcalloc(options.max_startups, sizeof(*children));
crypto/openssh/sshd.c
959
startup_pollfd = xcalloc(options.max_startups, sizeof(int));
crypto/openssh/sshd.c
977
pfd = xcalloc(num_listen_socks + options.max_startups,
crypto/openssh/umac.c
1225
octx = ctx = xcalloc(1, sizeof(*ctx) + ALLOC_BOUNDARY);
crypto/openssh/xmalloc.h
20
void *xcalloc(size_t, size_t);
libexec/rtld-elf/rtld.c
5434
newdtv = xcalloc(1, sizeof(struct dtv) + tls_max_index *
libexec/rtld-elf/rtld.c
5598
dtv = xcalloc(1, sizeof(struct dtv) + tls_max_index *
libexec/rtld-elf/rtld.c
5686
dtv = xcalloc(1, sizeof(struct dtv) + tls_max_index *
libexec/rtld-elf/rtld.c
6085
obj->vertab = xcalloc(obj->vernum, sizeof(Ver_Entry));
libexec/rtld-elf/rtld.h
384
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
108
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");