Symbol: calloc
bin/chio/chio.c
1013
calloc((size_t)1, sizeof(struct changer_element_status));
bin/chio/chio.c
1065
calloc(total_elem, sizeof(struct changer_element_status));
bin/chio/chio.c
665
calloc((size_t)count, sizeof(struct changer_element_status));
bin/kenv/kenv.c
157
buf = calloc(1, buflen + 1);
bin/pax/cache.c
101
if ((gidtb = (GIDC **)calloc(GID_SZ, sizeof(GIDC *))) == NULL) {
bin/pax/cache.c
125
if ((usrtb = (UIDC **)calloc(UNM_SZ, sizeof(UIDC *))) == NULL) {
bin/pax/cache.c
149
if ((grptb = (GIDC **)calloc(GNM_SZ, sizeof(GIDC *))) == NULL) {
bin/pax/cache.c
77
if ((uidtb = (UIDC **)calloc(UID_SZ, sizeof(UIDC *))) == NULL) {
bin/pax/sel_subs.c
112
((usrtb = (USRT **)calloc(USR_TB_SZ, sizeof(USRT *))) == NULL)) {
bin/pax/sel_subs.c
209
((grptb = (GRPT **)calloc(GRP_TB_SZ, sizeof(GRPT *))) == NULL)) {
bin/pax/tables.c
103
if ((ltab = (HRDLNK **)calloc(L_TAB_SZ, sizeof(HRDLNK *))) == NULL) {
bin/pax/tables.c
329
if ((ftab = (FTM **)calloc(F_TAB_SZ, sizeof(FTM *))) == NULL) {
bin/pax/tables.c
485
if ((ntab = (NAMT **)calloc(N_TAB_SZ, sizeof(NAMT *))) == NULL) {
bin/pax/tables.c
658
if ((dtab = (DEVT **)calloc(D_TAB_SZ, sizeof(DEVT *))) == NULL) {
bin/pax/tables.c
901
if ((atab = (ATDIR **)calloc(A_TAB_SZ, sizeof(ATDIR *))) == NULL) {
bin/ps/ps.c
1170
path = calloc((maxlvl + 7) / 8, sizeof(unsigned char));
bin/ps/ps.c
508
keywords_info = calloc(known_keywords_nb, sizeof(struct keyword_info));
bin/setfacl/util.c
40
ptr = calloc(1, size);
bin/uuidgen/uuidgen.c
161
store = calloc(MIN(count, UUIDGEN_BATCH_MAX), sizeof(uuid_t));
cddl/compat/opensolaris/lib/libumem/umem.c
72
void *ret = calloc(1, size);
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
2528
(yyval.s) = (char *)calloc(1, sizeof(char));
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
722
$$ = (char *)calloc(1, sizeof(char));
crypto/heimdal/appl/ftp/ftpd/ls.c
520
fi = calloc(n_files, sizeof(*fi));
crypto/heimdal/appl/ftp/ftpd/ls.c
534
dirs = calloc(n_files, sizeof(*dirs));
crypto/heimdal/appl/ftp/ftpd/popen.c
120
pids = (int*)calloc(fds, sizeof(int));
crypto/heimdal/base/dict.c
124
dict->tab = calloc(dict->size, sizeof(dict->tab[0]));
crypto/heimdal/base/heimbase.c
257
struct heim_base_mem *p = calloc(1, size + sizeof(*p));
crypto/heimdal/base/heimbase.c
277
type = calloc(1, sizeof(*type));
crypto/heimdal/base/heimbase.c
296
struct heim_base *p = calloc(1, size + sizeof(*p));
crypto/heimdal/base/heimbase.c
423
arp = calloc(1, sizeof(*arp));
crypto/heimdal/kadmin/load.c
204
key->salt = calloc(1, sizeof(*key->salt));
crypto/heimdal/kadmin/load.c
295
*gen = calloc(1, sizeof(**gen));
crypto/heimdal/kadmin/load.c
321
*e = calloc(1, sizeof(**e));
crypto/heimdal/kadmin/mod.c
126
calloc(strings->num_strings,
crypto/heimdal/kadmin/mod.c
175
calloc(strings->num_strings,
crypto/heimdal/kadmin/mod.c
79
calloc(strings->num_strings,
crypto/heimdal/kadmin/rpc.c
504
*tp = calloc(1, sizeof(**tp));
crypto/heimdal/kadmin/rpc.c
523
ent->key_data = calloc(num, sizeof(ent->key_data[0]));
crypto/heimdal/kcm/cache.c
544
*c = (struct kcm_creds *)calloc(1, sizeof(**c));
crypto/heimdal/kcm/protocol.c
1278
cred = calloc(1, sizeof(*cred));
crypto/heimdal/kdc/announce.c
171
e = calloc(1, sizeof(*e));
crypto/heimdal/kdc/default_config.c
45
c = calloc(1, sizeof(*c));
crypto/heimdal/kdc/digest.c
954
r.u.response.rsp = calloc(1, sizeof(*r.u.response.rsp));
crypto/heimdal/kdc/digest.c
985
calloc(1, sizeof(*r.u.response.session_key));
crypto/heimdal/kdc/headers.h
110
#define ALLOC(X) ((X) = calloc(1, sizeof(*(X))))
crypto/heimdal/kdc/headers.h
113
(X)->val = calloc((X)->len, sizeof(*(X)->val)); } while(0)
crypto/heimdal/kdc/kerberos5.c
1875
tkt->authorization_data = calloc(1, sizeof(*tkt->authorization_data));
crypto/heimdal/kdc/kerberos5.c
533
pa.val = calloc(1, sizeof(pa.val[0]));
crypto/heimdal/kdc/kerberos5.c
645
pa.val = calloc(1, sizeof(pa.val[0]));
crypto/heimdal/kdc/krb5tgs.c
892
et.authorization_data = calloc(1, sizeof(*et.authorization_data));
crypto/heimdal/kdc/krb5tgs.c
931
ek.last_req.val = calloc(1, sizeof(*ek.last_req.val));
crypto/heimdal/kdc/krb5tgs.c
967
rep.padata = calloc(1, sizeof(*rep.padata));
crypto/heimdal/kdc/misc.c
57
ent = calloc (1, sizeof (*ent));
crypto/heimdal/kdc/pkinit.c
519
cp = calloc(1, sizeof(*cp));
crypto/heimdal/lib/asn1/gen_template.c
270
struct tlist *tl = calloc(1, sizeof(*tl));
crypto/heimdal/lib/asn1/gen_template.c
395
struct template *q = calloc(1, sizeof(*q));
crypto/heimdal/lib/asn1/main.c
146
arg = calloc(2, sizeof(arg[0]));
crypto/heimdal/lib/asn1/template.c
1017
to = *tel = calloc(1, sizeofType(t->ptr));
crypto/heimdal/lib/asn1/template.c
1043
tel->val = calloc(fel->len, ellen);
crypto/heimdal/lib/asn1/template.c
183
*pel = calloc(1, size);
crypto/heimdal/lib/asn1/template.c
257
*el = calloc(1, ellen);
crypto/heimdal/lib/asn1/template.c
964
tel = *ptel = calloc(1, size);
crypto/heimdal/lib/gssapi/krb5/acquire_cred.c
393
handle = calloc(1, sizeof(*handle));
crypto/heimdal/lib/gssapi/krb5/add_cred.c
99
handle = calloc(1, sizeof(*handle));
crypto/heimdal/lib/gssapi/krb5/cfx.c
487
data = calloc(iov_count + 3, sizeof(data[0]));
crypto/heimdal/lib/gssapi/krb5/cfx.c
818
data = calloc(iov_count + 3, sizeof(data[0]));
crypto/heimdal/lib/gssapi/krb5/copy_ccache.c
81
handle = calloc(1, sizeof(*handle));
crypto/heimdal/lib/gssapi/krb5/creds.c
240
handle = calloc(1, sizeof(*handle));
crypto/heimdal/lib/gssapi/krb5/import_sec_context.c
70
ctx = calloc(1, sizeof(*ctx));
crypto/heimdal/lib/gssapi/krb5/sequence.c
63
*o = calloc(1, len);
crypto/heimdal/lib/gssapi/mech/context.c
53
ctx = calloc(1, sizeof(*ctx));
crypto/heimdal/lib/gssapi/mech/gss_acquire_cred_ext.c
144
cred = calloc(1, sizeof(*cred));
crypto/heimdal/lib/gssapi/mech/gss_acquire_cred_ext.c
50
mc = calloc(1, sizeof(struct _gss_mechanism_cred));
crypto/heimdal/lib/gssapi/mech/gss_acquire_cred_with_password.c
63
new_cred = calloc(1, sizeof(*new_cred));
crypto/heimdal/lib/gssapi/mech/gss_add_cred_with_password.c
68
new_cred = calloc(1, sizeof(struct _gss_cred));
crypto/heimdal/lib/gssapi/mech/gss_cred.c
135
cred = calloc(1, sizeof(struct _gss_cred));
crypto/heimdal/lib/gssapi/mech/gss_import_name.c
216
name = calloc(1, sizeof(struct _gss_name));
crypto/heimdal/lib/gssapi/mech/gss_inquire_cred.c
76
name = calloc(1, sizeof(*name));
crypto/heimdal/lib/gssapi/mech/gss_krb5.c
300
ctx = calloc(1, sizeof(*ctx));
crypto/heimdal/lib/gssapi/mech/gss_krb5.c
630
oid.components = calloc(oid.length, sizeof(*oid.components));
crypto/heimdal/lib/gssapi/mech/gss_krb5.c
746
*keyblock = calloc(1, sizeof(**keyblock));
crypto/heimdal/lib/gssapi/mech/gss_mech_switch.c
203
m = calloc(1, sizeof(*m));
crypto/heimdal/lib/gssapi/mech/gss_mech_switch.c
315
m = calloc(1, sizeof(*m));
crypto/heimdal/lib/gssapi/mech/gss_mech_switch.c
322
m->gm_mech.gm_compat = calloc(1, sizeof(struct gss_mech_compat_desc_struct));
crypto/heimdal/lib/gssapi/ntlm/accept_sec_context.c
204
ntlm_name n = calloc(1, sizeof(*n));
crypto/heimdal/lib/gssapi/ntlm/accept_sec_context.c
52
*ctx = calloc(1, sizeof(**ctx));
crypto/heimdal/lib/gssapi/ntlm/creds.c
56
ntlm_name n = calloc(1, sizeof(*n));
crypto/heimdal/lib/gssapi/ntlm/import_name.c
89
n = calloc(1, sizeof(*n));
crypto/heimdal/lib/gssapi/ntlm/init_sec_context.c
170
cred = calloc(1, sizeof(*cred));
crypto/heimdal/lib/gssapi/ntlm/init_sec_context.c
191
*to = calloc(1, sizeof(**to));
crypto/heimdal/lib/gssapi/ntlm/init_sec_context.c
253
ctx = calloc(1, sizeof(*ctx));
crypto/heimdal/lib/gssapi/ntlm/iter_cred.c
80
dn = calloc(1, sizeof(*dn));
crypto/heimdal/lib/gssapi/ntlm/kdc.c
163
c = calloc(1, sizeof(*c));
crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c
660
name = calloc(1, sizeof(*name));
crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c
848
name = calloc(1, sizeof(*name));
crypto/heimdal/lib/gssapi/spnego/compat.c
58
ctx = calloc(1, sizeof(*ctx));
crypto/heimdal/lib/gssapi/spnego/context_stubs.c
319
name = calloc(1, sizeof(*name));
crypto/heimdal/lib/gssapi/spnego/context_stubs.c
422
spnego_name name = calloc(1, sizeof(*name));
crypto/heimdal/lib/gssapi/spnego/context_stubs.c
431
spnego_name name = calloc(1, sizeof(*name));
crypto/heimdal/lib/gssapi/spnego/cred_stubs.c
148
sname = calloc(1, sizeof(*sname));
crypto/heimdal/lib/gssapi/spnego/cred_stubs.c
191
sname = calloc(1, sizeof(*sname));
crypto/heimdal/lib/gssapi/spnego/spnego_locl.h
76
#define ALLOC(X, N) (X) = calloc((N), sizeof(*(X)))
crypto/heimdal/lib/hdb/db.c
302
*db = calloc(1, sizeof(**db));
crypto/heimdal/lib/hdb/db3.c
332
*db = calloc(1, sizeof(**db));
crypto/heimdal/lib/hdb/dbinfo.c
141
di = calloc(1, sizeof(*di));
crypto/heimdal/lib/hdb/dbinfo.c
62
di = calloc(1, sizeof(*di));
crypto/heimdal/lib/hdb/ext.c
446
ev = calloc(1, sizeof (*ev));
crypto/heimdal/lib/hdb/ext.c
95
entry->extensions = calloc(1, sizeof(*entry->extensions));
crypto/heimdal/lib/hdb/hdb-keytab.c
186
*db = calloc(1, sizeof(**db));
crypto/heimdal/lib/hdb/hdb-keytab.c
193
k = calloc(1, sizeof(*k));
crypto/heimdal/lib/hdb/hdb-ldap.c
1023
ent->entry.keys.val = (Key *) calloc(ent->entry.keys.len, sizeof(Key));
crypto/heimdal/lib/hdb/hdb-ldap.c
1060
ent->entry.etypes->val = calloc(ent->entry.etypes->len, sizeof(int));
crypto/heimdal/lib/hdb/hdb-ldap.c
1165
ent->entry.modified_by = calloc(1, sizeof(*ent->entry.modified_by));
crypto/heimdal/lib/hdb/hdb-ldap.c
1833
*db = calloc(1, sizeof(**db));
crypto/heimdal/lib/hdb/hdb-ldap.c
1840
h = calloc(1, sizeof(*h));
crypto/heimdal/lib/hdb/hdb-mitdb.c
458
k->salt = calloc(1, sizeof(*k->salt));
crypto/heimdal/lib/hdb/hdb-mitdb.c
891
*db = calloc(1, sizeof(**db));
crypto/heimdal/lib/hdb/hdb-sqlite.c
836
*db = calloc(1, sizeof (**db));
crypto/heimdal/lib/hdb/hdb-sqlite.c
840
hsdb = (hdb_sqlite_db*) calloc(1, sizeof (*hsdb));
crypto/heimdal/lib/hdb/hdb.c
431
entry->entry.keys.val = calloc(1, sizeof(entry->entry.keys.val[0]));
crypto/heimdal/lib/hdb/keys.c
234
ext = calloc(1, sizeof (*ext));
crypto/heimdal/lib/hdb/keys.c
239
hist_keys->val = calloc(1, sizeof (*hist_keys->val));
crypto/heimdal/lib/hdb/keys.c
286
key.salt = calloc(1, sizeof(*key.salt));
crypto/heimdal/lib/hdb/mkey.c
132
p = calloc(1, sizeof(*p));
crypto/heimdal/lib/hdb/mkey.c
68
*mkey = calloc(1, sizeof(**mkey));
crypto/heimdal/lib/hdb/ndbm.c
354
*db = calloc(1, sizeof(**db));
crypto/heimdal/lib/hx509/ca.c
1074
tbsc->version = calloc(1, sizeof(*tbsc->version));
crypto/heimdal/lib/hx509/ca.c
1141
tbsc->issuerUniqueID = calloc(1, sizeof(*tbsc->issuerUniqueID));
crypto/heimdal/lib/hx509/ca.c
1155
tbsc->subjectUniqueID = calloc(1, sizeof(*tbsc->subjectUniqueID));
crypto/heimdal/lib/hx509/ca.c
1170
tbsc->extensions = calloc(1, sizeof(*tbsc->extensions));
crypto/heimdal/lib/hx509/ca.c
1434
ai->keyIdentifier = calloc(1, sizeof(*ai->keyIdentifier));
crypto/heimdal/lib/hx509/ca.c
1457
calloc(1, sizeof(*ai->authorityCertIssuer));
crypto/heimdal/lib/hx509/ca.c
1464
calloc(1, sizeof(*ai->authorityCertSerialNumber));
crypto/heimdal/lib/hx509/ca.c
513
crlissuer = calloc(1, sizeof(*crlissuer));
crypto/heimdal/lib/hx509/ca.c
629
calloc(n, sizeof(*p.principalName.name_string.val));
crypto/heimdal/lib/hx509/ca.c
83
*tbs = calloc(1, sizeof(**tbs));
crypto/heimdal/lib/hx509/cert.c
111
*context = calloc(1, sizeof(**context));
crypto/heimdal/lib/hx509/cert.c
236
(*cert)->data = calloc(1, sizeof(*(*cert)->data));
crypto/heimdal/lib/hx509/cert.c
2706
*q = calloc(1, sizeof(**q));
crypto/heimdal/lib/hx509/cert.c
2847
q->eku = calloc(1, sizeof(*q->eku));
crypto/heimdal/lib/hx509/cert.c
402
c = calloc(1, sizeof(*c));
crypto/heimdal/lib/hx509/cms.c
56
#define ALLOC(X, N) (X) = calloc((N), sizeof(*(X)))
crypto/heimdal/lib/hx509/collector.c
125
key = calloc(1, sizeof(*key));
crypto/heimdal/lib/hx509/collector.c
298
*keys = calloc(nkeys + 1, sizeof(**keys));
crypto/heimdal/lib/hx509/collector.c
61
c = calloc(1, sizeof(*c));
crypto/heimdal/lib/hx509/crypto.c
1865
*ctx = calloc(1, sizeof(**ctx));
crypto/heimdal/lib/hx509/crypto.c
2025
*key = calloc(1, sizeof(**key));
crypto/heimdal/lib/hx509/crypto.c
2266
p = calloc(1, sizeof(*p));
crypto/heimdal/lib/hx509/crypto.c
2434
*crypto = calloc(1, sizeof(**crypto));
crypto/heimdal/lib/hx509/crypto.c
2616
*ciphertext = calloc(1, sizeof(**ciphertext));
crypto/heimdal/lib/hx509/error.c
99
msg = calloc(1, sizeof(*msg));
crypto/heimdal/lib/hx509/file.c
128
h = calloc(1, sizeof(*h));
crypto/heimdal/lib/hx509/hxtool.c
128
val = calloc(s->num_strings, sizeof(*val));
crypto/heimdal/lib/hx509/keyset.c
151
c = calloc(1, sizeof(*c));
crypto/heimdal/lib/hx509/ks_dir.c
104
d = calloc(1, sizeof(*d));
crypto/heimdal/lib/hx509/ks_file.c
392
ksf = calloc(1, sizeof(*ksf));
crypto/heimdal/lib/hx509/ks_keychain.c
266
kc = calloc(1, sizeof(*kc));
crypto/heimdal/lib/hx509/ks_keychain.c
327
ctx = calloc(1, sizeof(*ctx));
crypto/heimdal/lib/hx509/ks_keychain.c
388
iter = calloc(1, sizeof(*iter));
crypto/heimdal/lib/hx509/ks_mem.c
165
*keys = calloc(i + 1, sizeof(**keys));
crypto/heimdal/lib/hx509/ks_mem.c
57
mem = calloc(1, sizeof(*mem));
crypto/heimdal/lib/hx509/ks_p11.c
283
slot->mechs.list = calloc(i, sizeof(slot->mechs.list[0]));
crypto/heimdal/lib/hx509/ks_p11.c
299
slot->mechs.infos = calloc(i, sizeof(*slot->mechs.infos));
crypto/heimdal/lib/hx509/ks_p11.c
307
slot->mechs.infos[i] = calloc(1, sizeof(*(slot->mechs.infos[0])));
crypto/heimdal/lib/hx509/ks_p11.c
667
p11rsa = calloc(1, sizeof(*p11rsa));
crypto/heimdal/lib/hx509/ks_p11.c
844
p = calloc(1, sizeof(*p));
crypto/heimdal/lib/hx509/ks_p11.c
939
p->slot = calloc(p->num_slots, sizeof(p->slot[0]));
crypto/heimdal/lib/hx509/ks_p12.c
344
p12 = calloc(1, sizeof(*p12));
crypto/heimdal/lib/hx509/ks_p12.c
470
as->val[as->len].content = calloc(1, sizeof(*as->val[0].content));
crypto/heimdal/lib/hx509/ks_p12.c
593
pfx.authSafe.content = calloc(1, sizeof(*pfx.authSafe.content));
crypto/heimdal/lib/hx509/ks_p12.c
617
pfx.macData = calloc(1, sizeof(*pfx.macData));
crypto/heimdal/lib/hx509/lock.c
67
l = calloc(1, sizeof(*l));
crypto/heimdal/lib/hx509/name.c
502
*name = calloc(1, sizeof(**name));
crypto/heimdal/lib/hx509/name.c
581
n = calloc(1, sizeof(*n));
crypto/heimdal/lib/hx509/name.c
680
*to = calloc(1, sizeof(**to));
crypto/heimdal/lib/hx509/peer.c
181
peer->val = calloc(len, sizeof(*peer->val));
crypto/heimdal/lib/hx509/peer.c
61
*peer = calloc(1, sizeof(**peer));
crypto/heimdal/lib/hx509/req.c
200
calloc(1, sizeof(*r.certificationRequestInfo.attributes));
crypto/heimdal/lib/hx509/req.c
51
*req = calloc(1, sizeof(**req));
crypto/heimdal/lib/hx509/revoke.c
1006
es->val = calloc(es->len, sizeof(es->val[0]));
crypto/heimdal/lib/hx509/revoke.c
1300
*crl = calloc(1, sizeof(**crl));
crypto/heimdal/lib/hx509/revoke.c
1487
calloc(1, sizeof(*c.tbsCertList.revokedCertificates));
crypto/heimdal/lib/hx509/revoke.c
97
*ctx = calloc(1, sizeof(**ctx));
crypto/heimdal/lib/hx509/revoke.c
998
calloc(1, sizeof(*req.tbsRequest.requestExtensions));
crypto/heimdal/lib/hx509/softp11.c
1324
calloc(1, ulCount * sizeof(state->find.attributes[0]));
crypto/heimdal/lib/hx509/softp11.c
309
o = calloc(1, sizeof(*o));
crypto/heimdal/lib/hx509/test_soft_pkcs11.c
105
if ((slot_ids = calloc(1, num_slots * sizeof(*slot_ids))) == NULL)
crypto/heimdal/lib/ipc/client.c
518
c = calloc(1, sizeof(*c));
crypto/heimdal/lib/ipc/common.c
84
*cred = calloc(1, sizeof(**cred));
crypto/heimdal/lib/ipc/server.c
1048
heim_sipc ct = calloc(1, sizeof(*ct));
crypto/heimdal/lib/ipc/server.c
312
s = calloc(1, sizeof(*s));
crypto/heimdal/lib/ipc/server.c
420
c = calloc(1, sizeof(*c));
crypto/heimdal/lib/ipc/server.c
624
c = calloc(1, sizeof(*c));
crypto/heimdal/lib/kadm5/get_princs_c.c
79
*princs = calloc(tmp + 1, sizeof(**princs));
crypto/heimdal/lib/kadm5/get_s.c
44
tl = calloc(1, sizeof(*tl));
crypto/heimdal/lib/kadm5/log.c
725
ent.entry.extensions = calloc(1, sizeof(*ent.entry.extensions));
crypto/heimdal/lib/kadm5/set_keys.c
108
salt = calloc(1, sizeof(*salt));
crypto/heimdal/lib/krb5/acache.c
240
cred->authdata.val = calloc(i, sizeof(cred->authdata.val[0]));
crypto/heimdal/lib/krb5/acache.c
258
cred->addresses.val = calloc(i, sizeof(cred->addresses.val[0]));
crypto/heimdal/lib/krb5/acache.c
370
cred->addresses = calloc(incred->addresses.len + 1,
crypto/heimdal/lib/krb5/acache.c
907
iter = calloc(1, sizeof(*iter));
crypto/heimdal/lib/krb5/cache.c
1055
*cursor = calloc(1, sizeof(**cursor));
crypto/heimdal/lib/krb5/cache.c
1390
*cursor = calloc(1, sizeof(**cursor));
crypto/heimdal/lib/krb5/config_file.c
583
d = calloc(1, sizeof(*d));
crypto/heimdal/lib/krb5/config_file.c
95
*q = calloc(1, sizeof(**q));
crypto/heimdal/lib/krb5/context.c
384
p = calloc(1, sizeof(*p));
crypto/heimdal/lib/krb5/context.c
488
p = calloc(1, sizeof(*p));
crypto/heimdal/lib/krb5/copy_host_realm.c
60
*to = calloc (n, sizeof(**to));
crypto/heimdal/lib/krb5/crypto-stubs.c
48
p = calloc(1, sizeof(*p));
crypto/heimdal/lib/krb5/crypto.c
832
p = calloc(1, total_sz);
crypto/heimdal/lib/krb5/crypto.c
896
p = calloc(1, block_sz);
crypto/heimdal/lib/krb5/digest.c
1133
ntlm->request.sessionkey = calloc(1, sizeof(*ntlm->request.sessionkey));
crypto/heimdal/lib/krb5/digest.c
220
digest->request.identifier = calloc(1, sizeof(*digest->request.identifier));
crypto/heimdal/lib/krb5/digest.c
475
calloc(1, sizeof(*digest->request.clientNonce));
crypto/heimdal/lib/krb5/digest.c
54
d = calloc(1, sizeof(*d));
crypto/heimdal/lib/krb5/digest.c
844
*ntlm = calloc(1, sizeof(**ntlm));
crypto/heimdal/lib/krb5/digest.c
90
digest->init.channel = calloc(1, sizeof(*digest->init.channel));
crypto/heimdal/lib/krb5/fcache.c
892
iter = calloc(1, sizeof(*iter));
crypto/heimdal/lib/krb5/get_addrs.c
131
res->val = calloc(num, sizeof(*res->val));
crypto/heimdal/lib/krb5/get_cred.c
1141
res_creds = calloc(1, sizeof(*res_creds));
crypto/heimdal/lib/krb5/get_cred.c
1231
*opt = calloc(1, sizeof(**opt));
crypto/heimdal/lib/krb5/get_cred.c
1355
res_creds = calloc(1, sizeof(*res_creds));
crypto/heimdal/lib/krb5/get_cred.c
644
*out_creds = calloc(1, sizeof(**out_creds));
crypto/heimdal/lib/krb5/get_cred.c
778
*out_creds = calloc(1, sizeof(**out_creds));
crypto/heimdal/lib/krb5/get_cred.c
852
*out_creds = calloc(1, sizeof(**out_creds));
crypto/heimdal/lib/krb5/init_creds.c
425
*error = calloc(1, sizeof(**error));
crypto/heimdal/lib/krb5/init_creds.c
62
o = calloc(1, sizeof(*o));
crypto/heimdal/lib/krb5/init_creds.c
69
o->opt_private = calloc(1, sizeof(*o->opt_private));
crypto/heimdal/lib/krb5/init_creds_pw.c
1205
paid = calloc(1, sizeof(*paid));
crypto/heimdal/lib/krb5/init_creds_pw.c
1359
ctx = calloc(1, sizeof(*ctx));
crypto/heimdal/lib/krb5/init_creds_pw.c
276
lre = calloc(lr->len + 1, sizeof(**lre));
crypto/heimdal/lib/krb5/init_creds_pw.c
283
lre[i] = calloc(1, sizeof(*lre[i]));
crypto/heimdal/lib/krb5/kcm.c
554
c = calloc(1, sizeof(*c));
crypto/heimdal/lib/krb5/kcm.c
789
c = calloc(1, sizeof(*c));
crypto/heimdal/lib/krb5/keyblock.c
137
k = calloc (1, sizeof(*k));
crypto/heimdal/lib/krb5/keytab_any.c
64
a = calloc(1, sizeof(*a));
crypto/heimdal/lib/krb5/keytab_file.c
222
p->name.name_string.val = calloc(len, sizeof(*p->name.name_string.val));
crypto/heimdal/lib/krb5/keytab_memory.c
73
d = calloc(1, sizeof(*d));
crypto/heimdal/lib/krb5/krb5_locl.h
188
#define ALLOC(X, N) (X) = calloc((N), sizeof(*(X)))
crypto/heimdal/lib/krb5/krbhst.c
1043
*hostlist = calloc(nhost + 1, sizeof(**hostlist));
crypto/heimdal/lib/krb5/krbhst.c
120
hi = calloc(1, sizeof(*hi) + len);
crypto/heimdal/lib/krb5/krbhst.c
210
hi = calloc(1, sizeof(*hi) + strlen(spec));
crypto/heimdal/lib/krb5/krbhst.c
277
*to = calloc(1, sizeof(**to) + hostnamelen);
crypto/heimdal/lib/krb5/krbhst.c
533
hi = calloc(1, sizeof(*hi) + hostlen);
crypto/heimdal/lib/krb5/krbhst.c
580
hi = calloc(1, sizeof(*hi) + hostlen);
crypto/heimdal/lib/krb5/krbhst.c
879
if((kd = calloc(1, sizeof(*kd))) == NULL)
crypto/heimdal/lib/krb5/log.c
123
krb5_log_facility *f = calloc(1, sizeof(*f));
crypto/heimdal/lib/krb5/mcache.c
360
iter = calloc(1, sizeof(*iter));
crypto/heimdal/lib/krb5/pac.c
178
p = calloc(1, sizeof(*p));
crypto/heimdal/lib/krb5/pac.c
211
p->pac = calloc(1, header_end);
crypto/heimdal/lib/krb5/pac.c
320
p = calloc(1, sizeof(*p));
crypto/heimdal/lib/krb5/pac.c
325
p->pac = calloc(1, sizeof(*p->pac));
crypto/heimdal/lib/krb5/pac.c
489
*types = calloc(p->pac->numbuffers, sizeof(*types));
crypto/heimdal/lib/krb5/pkinit.c
1960
id = calloc(1, sizeof(*id));
crypto/heimdal/lib/krb5/pkinit.c
2147
m1 = calloc(1, sizeof(*m1));
crypto/heimdal/lib/krb5/pkinit.c
2295
m = calloc(1, sizeof(m[0]) * 3);
crypto/heimdal/lib/krb5/pkinit.c
2481
calloc(1, sizeof(*opt->opt_private->pk_init_ctx));
crypto/heimdal/lib/krb5/pkinit.c
284
id.subjectName = calloc(1, sizeof(*id.subjectName));
crypto/heimdal/lib/krb5/pkinit.c
301
id.issuerAndSerialNumber = calloc(1, sizeof(*id.issuerAndSerialNumber));
crypto/heimdal/lib/krb5/pkinit.c
618
a->supportedCMSTypes = calloc(1, sizeof(*a->supportedCMSTypes));
crypto/heimdal/lib/krb5/pkinit.c
775
req.trustedCertifiers = calloc(1, sizeof(*req.trustedCertifiers));
crypto/heimdal/lib/krb5/pkinit.c
936
*signer = calloc(1, sizeof(**signer));
crypto/heimdal/lib/krb5/plugin.c
101
e = calloc(1, sizeof(*e));
crypto/heimdal/lib/krb5/plugin.c
158
e = calloc(1, sizeof(*e));
crypto/heimdal/lib/krb5/plugin.c
309
e = calloc(1, sizeof(*e));
crypto/heimdal/lib/krb5/principal.c
239
comp = calloc(ncomp, sizeof(*comp));
crypto/heimdal/lib/krb5/principal.c
810
p = calloc(1, sizeof(*p));
crypto/heimdal/lib/krb5/rd_cred.c
248
*ret_creds = calloc(enc_krb_cred_part.ticket_info.len + 1,
crypto/heimdal/lib/krb5/rd_cred.c
262
creds = calloc(1, sizeof(*creds));
crypto/heimdal/lib/krb5/rd_req.c
362
t = calloc(1, sizeof(*t));
crypto/heimdal/lib/krb5/rd_req.c
547
*ctx = calloc(1, sizeof(**ctx));
crypto/heimdal/lib/krb5/rd_req.c
855
o = calloc(1, sizeof(*o));
crypto/heimdal/lib/krb5/replay.c
67
*id = calloc(1, sizeof(**id));
crypto/heimdal/lib/krb5/scache.c
1163
ctx = calloc(1, sizeof(*ctx));
crypto/heimdal/lib/krb5/scache.c
884
ctx = calloc(1, sizeof(*ctx));
crypto/heimdal/lib/krb5/send_to_kdc.c
532
*ctx = calloc(1, sizeof(**ctx));
crypto/heimdal/lib/krb5/store.c
950
p = calloc(1, sizeof(*p));
crypto/heimdal/lib/krb5/store.c
982
p->name.name_string.val = calloc(ncomp, sizeof(p->name.name_string.val[0]));
crypto/heimdal/lib/krb5/transited.c
107
tmp = calloc(1, sizeof(*tmp));
crypto/heimdal/lib/krb5/transited.c
211
r = calloc(1, sizeof(*r));
crypto/heimdal/lib/krb5/transited.c
86
tmp = calloc(1, sizeof(*tmp));
crypto/heimdal/lib/krb5/verify_user.c
102
*opt = calloc(1, sizeof(**opt));
crypto/heimdal/lib/roken/ecalloc.c
48
void *tmp = calloc (number, size);
crypto/heimdal/lib/roken/getifaddrs.c
1036
buf = calloc(1, buf_size);
crypto/heimdal/lib/roken/getifaddrs.c
557
data = calloc(1,
crypto/heimdal/lib/roken/getifaddrs.c
561
ifdata = calloc(1,
crypto/heimdal/lib/roken/getifaddrs.c
894
buf = calloc(1, buf_size);
crypto/heimdal/lib/roken/getusershell.c
137
shells = calloc(nsh + 1, sizeof(*shells));
crypto/heimdal/lib/roken/getusershell.c
161
shells = calloc((unsigned)statb.st_size / 3, sizeof (char *));
crypto/heimdal/lib/roken/resolve.c
161
rr = calloc(1, sizeof(*rr));
crypto/heimdal/lib/roken/resolve.c
418
r = calloc(1, sizeof(*r));
crypto/heimdal/lib/roken/resolve.c
716
rr = calloc(1, sizeof(*rr));
crypto/heimdal/lib/roken/resolve.c
893
r = calloc(1, sizeof(*r));
crypto/heimdal/lib/roken/rkpty.c
175
c = calloc(1, sizeof(*c));
crypto/heimdal/lib/roken/rtbl.c
65
return calloc (1, sizeof (struct rtbl_data));
crypto/heimdal/lib/roken/socket_wrapper.c
1256
si = (struct socket_info *)calloc(1, sizeof(struct socket_info));
crypto/heimdal/lib/roken/socket_wrapper.c
1843
si_newd = (struct socket_info *)calloc(1, sizeof(struct socket_info));
crypto/heimdal/lib/roken/socket_wrapper.c
53
#ifdef calloc
crypto/krb5/src/ccapi/common/cci_cred_union.c
449
credentials_union = calloc (1, sizeof (*credentials_union));
crypto/krb5/src/ccapi/common/cci_cred_union.c
638
compat_cred_union = calloc (1, sizeof (*compat_cred_union));
crypto/krb5/src/ccapi/common/cci_cred_union.c
731
creds_union = calloc (1, sizeof (*creds_union));
crypto/krb5/src/clients/ksu/heuristic.c
114
if (!(tlist = (char **) calloc( c1 + c2 + 1, sizeof ( char *))))
crypto/krb5/src/clients/ksu/main.c
1033
if ((ret_params = (char **) calloc(size, sizeof (char *)))== NULL ){
crypto/krb5/src/clients/ksu/main.c
174
if ((pargv =(char **) calloc(pargc +1,sizeof(char *)))==NULL){
crypto/krb5/src/clients/ksu/xmalloc.c
52
void *ret = calloc (nelts, eltsz);
crypto/krb5/src/include/k5-int.h
2258
char *ptr = (char *) calloc((len > 0) ? len : 1, 1);
crypto/krb5/src/include/k5-int.h
2282
ptr = calloc(nmemb ? nmemb : 1, size ? size : 1);
crypto/krb5/src/kadmin/cli/kadmin.c
1002
tl_data = calloc(1, sizeof(*tl_data));
crypto/krb5/src/kadmin/dbutil/dump.c
532
*tlp = calloc(1, sizeof(krb5_tl_data));
crypto/krb5/src/kadmin/dbutil/dump.c
611
dbentry = calloc(1, sizeof(*dbentry));
crypto/krb5/src/kadmin/dbutil/dump.c
648
if (u4 && (kp = calloc(u4, sizeof(krb5_key_data))) == NULL)
crypto/krb5/src/kadmin/dbutil/kdb5_create.c
388
entry = calloc(1, sizeof(*entry));
crypto/krb5/src/kadmin/dbutil/t_tdumputil.c
86
a = calloc(nf + 1, sizeof(*a));
crypto/krb5/src/kadmin/dbutil/tdumputil.c
144
struct rechandle *h = calloc(1, sizeof(*h));
crypto/krb5/src/kadmin/server/auth_acl.c
179
rs = calloc(1, sizeof(*rs));
crypto/krb5/src/kadmin/server/auth_acl.c
271
entry = calloc(1, sizeof(*entry));
crypto/krb5/src/kdc/do_as_req.c
789
e_data = calloc(count + 2, sizeof(*e_data));
crypto/krb5/src/kdc/fast_util.c
310
pa_array = calloc(3, sizeof(*pa_array));
crypto/krb5/src/kdc/fast_util.c
313
pa = calloc(1, sizeof(krb5_pa_data));
crypto/krb5/src/kdc/fast_util.c
388
inner_pa = calloc(size + 2, sizeof(krb5_pa_data *));
crypto/krb5/src/kdc/kdc_authdata.c
61
list = calloc(count + 1, sizeof(*list));
crypto/krb5/src/kdc/kdc_preauth.c
1355
state = calloc(1, sizeof(*state));
crypto/krb5/src/kdc/kdc_preauth.c
146
vtables = calloc(count + 1, sizeof(*vtables));
crypto/krb5/src/kdc/kdc_preauth.c
173
list = calloc(handle->kdc_numrealms + 1, sizeof(*list));
crypto/krb5/src/kdc/kdc_preauth.c
198
preauth_systems = calloc(n_systems + 1, sizeof(preauth_system));
crypto/krb5/src/kdc/kdc_preauth.c
362
keys = calloc(request->nktypes + 1, sizeof(krb5_keyblock));
crypto/krb5/src/kdc/kdc_preauth.c
985
state = calloc(1, sizeof(*state));
crypto/krb5/src/kdc/kdc_util.c
1333
*s4u_x509_user = calloc(1, sizeof(krb5_pa_s4u_x509_user));
crypto/krb5/src/kdc/main.c
505
pids = calloc(num, sizeof(pid_t));
crypto/krb5/src/kdc/replay.c
79
entry = calloc(1, sizeof(*entry));
crypto/krb5/src/lib/apputils/net-server.c
745
list->fds = calloc(nfds, sizeof(*list->fds));
crypto/krb5/src/lib/crypto/crypto_tests/t_kperf.c
80
block.data = calloc(1, blocksize);
crypto/krb5/src/lib/crypto/crypto_tests/t_kperf.c
85
outblock.ciphertext.data = calloc(1, outlen);
crypto/krb5/src/lib/crypto/crypto_tests/t_kperf.c
91
sum.contents = calloc(1, cklen);
crypto/krb5/src/lib/crypto/crypto_tests/t_sha2.c
102
iovs = calloc(1000, sizeof(*iovs));
crypto/krb5/src/lib/crypto/crypto_tests/t_short.c
90
input.ciphertext.data = calloc(len, 1);
crypto/krb5/src/lib/crypto/crypto_tests/t_short.c
92
output.data = calloc(len, 1);
crypto/krb5/src/lib/crypto/krb/aead.c
72
iov = calloc(num_data + 2, sizeof(krb5_crypto_iov));
crypto/krb5/src/lib/crypto/openssl/enc_provider/rc4.c
141
arcstate = calloc(1, sizeof(*arcstate));
crypto/krb5/src/lib/crypto/openssl/hmac.c
77
ctx = calloc(1, sizeof(*ctx));
crypto/krb5/src/lib/gssapi/generic/gssapi_alloc.h
108
return calloc(count, size);
crypto/krb5/src/lib/gssapi/generic/gssapi_alloc.h
65
char *p = calloc(size + 8, 1);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
126
name = calloc(1, sizeof(*name));
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
266
addrs = calloc(len + 1, sizeof(*addrs));
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
334
authdata = calloc(len + 1, sizeof(*authdata));
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
517
cred = calloc(1, sizeof(*cred));
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
95
etypes = calloc(len + 1, sizeof(*etypes));
crypto/krb5/src/lib/gssapi/krb5/k5unsealiov.c
402
tiov = (gss_iov_buffer_desc *)calloc((size_t)iov_count + 2, sizeof(gss_iov_buffer_desc));
crypto/krb5/src/lib/gssapi/krb5/ser_sctx.c
639
ctx->authdata = (krb5_authdata **)calloc((size_t)nadata + 1,
crypto/krb5/src/lib/gssapi/krb5/util_cksum.c
104
kiov = calloc(iov_count + 3, sizeof(krb5_crypto_iov));
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
149
creds = (gss_union_cred_t)calloc(1, sizeof (gss_union_cred_desc));
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
333
ncred = calloc(1, sizeof (*ncred));
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
336
ncred->mechs_array = calloc(cred->count, sizeof (*ncred->mechs_array));
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
337
ncred->cred_array = calloc(cred->count, sizeof (*ncred->cred_array));
crypto/krb5/src/lib/gssapi/mechglue/g_glue.c
510
ctx = calloc(1, sizeof(*ctx));
crypto/krb5/src/lib/gssapi/mechglue/g_imp_cred.c
115
cred = calloc(1, sizeof(*cred));
crypto/krb5/src/lib/gssapi/mechglue/g_imp_cred.c
120
cred->mechs_array = calloc(count, sizeof(*cred->mechs_array));
crypto/krb5/src/lib/gssapi/mechglue/g_imp_cred.c
123
cred->cred_array = calloc(count, sizeof(*cred->cred_array));
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
1576
aMech = calloc(1, sizeof (struct gss_mech_config));
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
360
(gss_OID) calloc(count, sizeof (gss_OID_desc));
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
596
new_cf = calloc(1, sizeof(*new_cf));
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
603
new_cf->mech = (gss_mechanism)calloc(1, sizeof(struct gss_config));
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
702
mech = (gss_mechanism)calloc(1, sizeof(*mech));
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
814
mech = calloc(1, sizeof(*mech));
crypto/krb5/src/lib/gssapi/mechglue/g_set_cred_option.c
49
cred = calloc(1, sizeof(*cred));
crypto/krb5/src/lib/gssapi/mechglue/g_set_cred_option.c
58
cred->cred_array = calloc(cred->count, sizeof(gss_cred_id_t));
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
735
mech = calloc(1, sizeof(*mech));
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
316
spcred = calloc(1, sizeof(*spcred));
crypto/krb5/src/lib/kadm5/alt_prof.c
245
*stringp = calloc(1, buf_size);
crypto/krb5/src/lib/kadm5/alt_prof.c
45
knew = calloc(len, sizeof(krb5_key_salt_tuple));
crypto/krb5/src/lib/kadm5/srv/server_init.c
33
handle->db_args = calloc(sizeof(char*), count+1);
crypto/krb5/src/lib/kadm5/srv/svr_policy.c
218
*tlp = calloc(1, sizeof(krb5_tl_data));
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
1542
key_data = calloc(n_keys, sizeof(kadm5_key_data));
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
1568
ks = calloc(n_key_data, sizeof(*ks));
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
1671
new_key_data = calloc(n_new_key_data, sizeof(krb5_key_data));
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
1778
key_data = calloc(kdb->n_key_data, sizeof(kadm5_key_data));
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
1967
kdb->key_data = calloc(n_old_keydata, sizeof(krb5_key_data));
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
206
subset = calloc(n_ks_tuple, sizeof(*subset));
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
350
kdb = calloc(1, sizeof(*kdb));
crypto/krb5/src/lib/kdb/kdb5.c
2314
tl_data = calloc(1, sizeof(*tl_data));
crypto/krb5/src/lib/kdb/kdb5.c
374
lib = calloc(1, sizeof(*lib));
crypto/krb5/src/lib/kdb/kdb5.c
419
*lib = calloc((size_t) 1, sizeof(**lib));
crypto/krb5/src/lib/kdb/kdb5.c
435
path = calloc(ndx + db_dl_n_locations, sizeof (char *));
crypto/krb5/src/lib/kdb/kdb_convert.c
255
princ = calloc(1, sizeof (krb5_principal_data));
crypto/krb5/src/lib/kdb/kdb_convert.c
270
princ->data = calloc(kdbe_princ->k_components.k_components_len,
crypto/krb5/src/lib/kdb/kdb_convert.c
595
ent = calloc(1, sizeof(*ent));
crypto/krb5/src/lib/kdb/kdb_log.c
46
log_ctx = calloc(1, sizeof(*log_ctx));
crypto/krb5/src/lib/kdb/kdb_log.c
612
upd = calloc(count, sizeof(kdb_incr_update_t));
crypto/krb5/src/lib/kdb/t_stringattr.c
52
ent = calloc(1, sizeof(*ent));
crypto/krb5/src/lib/krad/attrset.c
56
tmp = calloc(1, sizeof(krad_attrset));
crypto/krb5/src/lib/krad/attrset.c
94
tmp = calloc(1, sizeof(attr));
crypto/krb5/src/lib/krad/client.c
130
rqst = calloc(1, sizeof(request));
crypto/krb5/src/lib/krad/client.c
150
rqst->remotes = calloc(rqst->count + 1, sizeof(remote_state));
crypto/krb5/src/lib/krad/client.c
209
tmp = calloc(1, sizeof(krad_client));
crypto/krb5/src/lib/krad/client.c
92
srv = calloc(1, sizeof(server));
crypto/krb5/src/lib/krad/packet.c
208
pkt = calloc(1, sizeof(krad_packet));
crypto/krb5/src/lib/krad/remote.c
392
tmp = calloc(1, sizeof(krad_remote));
crypto/krb5/src/lib/krad/remote.c
97
tmp = calloc(1, sizeof(request));
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1345
ptr = calloc(a->size, 1);
crypto/krb5/src/lib/krb5/ccache/cc_api_macos.c
108
data = calloc(1, sizeof(*data));
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
430
io = calloc(1, sizeof(*io));
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
643
data = calloc(1, sizeof(*data));
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1001
krcursor = calloc(1, sizeof(*krcursor));
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
214
addr = calloc(1, sizeof(*addr));
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
236
addrs = calloc(count + 1, sizeof(*addrs));
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
251
ad = calloc(1, sizeof(*ad));
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
274
authdata = calloc(count + 1, sizeof(*authdata));
crypto/krb5/src/lib/krb5/keytab/kt_file.c
198
id = calloc(1, sizeof(*id));
crypto/krb5/src/lib/krb5/keytab/kt_file.c
203
data = calloc(1, sizeof(krb5_ktfile_data));
crypto/krb5/src/lib/krb5/keytab/kt_file.c
959
calloc(u_count, sizeof(krb5_data));
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
190
list = calloc(1, sizeof(krb5_mkt_list_node));
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
196
list->keytab = calloc(1, sizeof(struct _krb5_kt));
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
203
data = calloc(1, sizeof(krb5_mkt_data));
crypto/krb5/src/lib/krb5/krb/auth_con.c
35
(krb5_auth_context)calloc(1, sizeof(struct _krb5_auth_context));
crypto/krb5/src/lib/krb5/krb/authdata.c
409
context = calloc(1, sizeof(*context));
crypto/krb5/src/lib/krb5/krb/authdata.c
415
context->modules = calloc(n_modules, sizeof(context->modules[0]));
crypto/krb5/src/lib/krb5/krb/authdata_dec.c
169
fctx.out = calloc(fctx.space+1, sizeof (krb5_authdata *));
crypto/krb5/src/lib/krb5/krb/copy_addrs.c
64
if (!(tempaddr = (krb5_address **) calloc(nelems+1, sizeof(*tempaddr))))
crypto/krb5/src/lib/krb5/krb/copy_auth.c
82
if (!(tempauthdat = (krb5_authdata **) calloc(nelems+nelems2+1,
crypto/krb5/src/lib/krb5/krb/fast.c
242
pa_list = calloc(i + 3, sizeof(*pa_list));
crypto/krb5/src/lib/krb5/krb/fast.c
283
fast_req.req_body->padata = calloc(1, sizeof(krb5_pa_data *));
crypto/krb5/src/lib/krb5/krb/fast.c
303
armored_req = calloc(1, sizeof(krb5_fast_armored_req));
crypto/krb5/src/lib/krb5/krb/fast.c
83
armor = calloc(1, sizeof(krb5_fast_armor));
crypto/krb5/src/lib/krb5/krb/gc_via_tkt.c
45
if ((*ppcreds = (krb5_creds *)calloc(1,sizeof(krb5_creds))) == NULL) {
crypto/krb5/src/lib/krb5/krb/gic_opt.c
148
opte = calloc(1, sizeof(*opte));
crypto/krb5/src/lib/krb5/krb/gic_opt.c
239
p = calloc(opte->num_preauth_data, sizeof(*p));
crypto/krb5/src/lib/krb5/krb/gic_opt.c
468
opte = calloc(1, sizeof(*opte));
crypto/krb5/src/lib/krb5/krb/init_ctx.c
202
ctx = calloc(1, sizeof(struct _krb5_context));
crypto/krb5/src/lib/krb5/krb/mk_cred.c
222
list = calloc(2, sizeof(*list));
crypto/krb5/src/lib/krb5/krb/pac.c
188
*types_out = calloc(pac->nbuffers, sizeof(*types_out));
crypto/krb5/src/lib/krb5/krb/pac.c
811
authdata = calloc(2, sizeof(krb5_authdata *));
crypto/krb5/src/lib/krb5/krb/pac.c
815
authdata[0] = calloc(1, sizeof(krb5_authdata));
crypto/krb5/src/lib/krb5/krb/pac.c
968
attrs = calloc(1 + pacctx->pac->nbuffers + 1, sizeof(krb5_data));
crypto/krb5/src/lib/krb5/krb/plugin.c
219
list = calloc(count + 1, sizeof(*list));
crypto/krb5/src/lib/krb5/krb/plugin.c
440
list = calloc(count + 1, sizeof(*list));
crypto/krb5/src/lib/krb5/krb/preauth2.c
154
list = calloc(count + 1, sizeof(*list));
crypto/krb5/src/lib/krb5/krb/preauth2.c
161
h = calloc(1, sizeof(*h));
crypto/krb5/src/lib/krb5/krb/preauth2.c
257
reqctx = calloc(1, sizeof(*reqctx));
crypto/krb5/src/lib/krb5/krb/preauth2.c
265
reqctx->modreqs = calloc(count, sizeof(*reqctx->modreqs));
crypto/krb5/src/lib/krb5/krb/preauth_ec.c
125
pa = calloc(2, sizeof(krb5_pa_data *));
crypto/krb5/src/lib/krb5/krb/preauth_ec.c
130
pa[0] = calloc(1, sizeof(krb5_pa_data));
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
270
ti = calloc(1, sizeof(krb5_responder_otp_tokeninfo));
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
336
chl = calloc(1, sizeof(krb5_responder_otp_challenge));
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
340
chl->tokeninfo = calloc(k5_json_array_length(arr) + 1,
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
619
req = calloc(1, sizeof(krb5_pa_otp_req));
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
692
filtered = calloc(i + 1, sizeof(const krb5_otp_tokeninfo *));
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
822
out = calloc(2, sizeof(krb5_pa_data *));
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
825
out[0] = calloc(1, sizeof(krb5_pa_data));
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
979
*modreq_out = calloc(1, sizeof(krb5_pa_otp_challenge *));
crypto/krb5/src/lib/krb5/krb/rd_req_dec.c
661
desired_etypes = (krb5_enctype *)calloc(4, sizeof(krb5_enctype));
crypto/krb5/src/lib/krb5/krb/response_items.c
40
*ri_out = calloc(1, sizeof(**ri_out));
crypto/krb5/src/lib/krb5/krb/ser_actx.c
274
calloc(1, sizeof(struct _krb5_auth_context)))) {
crypto/krb5/src/lib/krb5/krb/ser_adata.c
118
(authdata = (krb5_authdata *) calloc(1, sizeof(krb5_authdata)))) {
crypto/krb5/src/lib/krb5/krb/ser_addr.c
119
(address = (krb5_address *) calloc(1, sizeof(krb5_address)))) {
crypto/krb5/src/lib/krb5/krb/ser_auth.c
188
calloc(1, sizeof(krb5_authenticator)))) {
crypto/krb5/src/lib/krb5/krb/ser_auth.c
233
calloc(len, sizeof(krb5_authdata *)))) {
crypto/krb5/src/lib/krb5/krb/ser_cksum.c
119
(checksum = (krb5_checksum *) calloc(1, sizeof(krb5_checksum)))) {
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
228
context = (krb5_context) calloc(1, sizeof(struct _krb5_context));
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
256
context->tgs_etypes = calloc(count + 1, sizeof(krb5_enctype));
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
404
calloc(1, sizeof(struct _krb5_os_context))) &&
crypto/krb5/src/lib/krb5/krb/ser_key.c
115
(keyblock = (krb5_keyblock *) calloc(1, sizeof(krb5_keyblock)))) {
crypto/krb5/src/lib/krb5/krb/t_ser.c
50
void *ptr = calloc(1, size);
crypto/krb5/src/lib/krb5/krb/walk_rtree.c
145
rpath = calloc(i + 3, sizeof(*rpath));
crypto/krb5/src/lib/krb5/krb/walk_rtree.c
256
tree = calloc(nprincs + 1, sizeof(krb5_principal));
crypto/krb5/src/lib/krb5/krb/walk_rtree.c
363
pprinc = tree = calloc(nprincs + 1, sizeof(krb5_principal));
crypto/krb5/src/lib/krb5/krb/walk_rtree.c
425
rp = r = calloc(nctween + nstween, sizeof(krb5_data));
crypto/krb5/src/lib/krb5/os/hostrealm.c
199
list = calloc(count + 1, sizeof(*list));
crypto/krb5/src/lib/krb5/os/hostrealm.c
348
realms = calloc(2, sizeof(*realms));
crypto/krb5/src/lib/krb5/os/localaddr.c
1505
paddr = (krb5_address **)calloc(count+1, sizeof(krb5_address *));
crypto/krb5/src/lib/krb5/os/localaddr.c
393
nw = calloc (1, sizeof (struct linux_ipv6_addr_list));
crypto/krb5/src/lib/krb5/os/sendto_kdc.c
158
context->tls = calloc(1, sizeof(*context->tls));
crypto/krb5/src/lib/krb5/os/sendto_kdc.c
704
state = calloc(1, sizeof(*state));
crypto/krb5/src/lib/krb5/rcache/memrcache.c
110
mrc = calloc(1, sizeof(*mrc));
crypto/krb5/src/lib/krb5/rcache/memrcache.c
59
entry = calloc(1, sizeof(*entry));
crypto/krb5/src/lib/krb5/rcache/t_rcfile2.c
127
pids = calloc(nchildren, sizeof(*pids));
crypto/krb5/src/lib/rpc/auth_gss.c
171
if ((auth = calloc(sizeof(*auth), 1)) == NULL) {
crypto/krb5/src/lib/rpc/auth_gss.c
176
if ((gd = calloc(sizeof(*gd), 1)) == NULL) {
crypto/krb5/src/lib/rpc/auth_none.c
84
ap = (struct authnone_private *)calloc(1, sizeof (*ap));
crypto/krb5/src/lib/rpc/clnt_raw.c
99
clntraw_private = calloc(1, sizeof(*clp));
crypto/krb5/src/lib/rpc/clnt_simple.c
80
crp = (struct callrpc_private *)calloc(1, sizeof (*crp));
crypto/krb5/src/lib/rpc/getrpcent.c
72
d = (struct rpcdata *)calloc(1, sizeof (struct rpcdata));
crypto/krb5/src/lib/rpc/svc_auth_gss.c
407
if ((auth = calloc(sizeof(*auth), 1)) == NULL) {
crypto/krb5/src/lib/rpc/svc_auth_gss.c
411
if ((gd = calloc(sizeof(*gd), 1)) == NULL) {
crypto/krb5/src/lib/rpc/svc_raw.c
80
srp = (struct svcraw_private *)calloc(1, sizeof (*srp));
crypto/krb5/src/plugins/authdata/greet_client/greet.c
161
*out_attrs = calloc(2, sizeof(krb5_data));
crypto/krb5/src/plugins/certauth/test/main.c
167
ais = calloc(3, sizeof(*ais));
crypto/krb5/src/plugins/certauth/test/main.c
209
ais = calloc(2, sizeof(*ais));
crypto/krb5/src/plugins/certauth/test/main.c
51
ais = calloc(2, sizeof(*ais));
crypto/krb5/src/plugins/certauth/test/main.c
78
mod = calloc(1, sizeof(*mod));
crypto/krb5/src/plugins/hostrealm/test/main.c
104
list = calloc(3, sizeof(*list));
crypto/krb5/src/plugins/hostrealm/test/main.c
134
list = calloc(2, sizeof(*list));
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
110
if (!(hashp = (HTAB *)calloc(1, sizeof(HTAB))))
crypto/krb5/src/plugins/kdb/db2/libdb2/mpool/mpool.c
79
if ((mp = (MPOOL *)calloc(1, sizeof(MPOOL))) == NULL)
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.c
111
policyparams = (krb5_ldap_policy_params*) calloc(1, sizeof(krb5_ldap_policy_params));
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c
393
list = (char **) calloc(MAX_LIST_ENTRIES, sizeof(char *));
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c
719
slist = (char **) calloc(MAX_LIST_ENTRIES, sizeof(char *));
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c
449
ldap_context = calloc(sizeof(krb5_ldap_context), 1);
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c
502
ldap_context->server_info_list = (krb5_ldap_server_info **) calloc (2, sizeof (krb5_ldap_server_info *)) ;
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c
509
ldap_context->server_info_list[0] = (krb5_ldap_server_info *) calloc (1, sizeof (krb5_ldap_server_info));
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap_conn.c
174
server = calloc(1, sizeof(krb5_ldap_server_handle));
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/kdb_xdr.c
58
if ((tl_data = (krb5_tl_data *) calloc(1, sizeof(krb5_tl_data)))
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1004
mods[count] = calloc(1, sizeof(LDAPMod));
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1034
mod->mod_values = calloc(count + 1, sizeof(char *));
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1065
mod->mod_bvalues = calloc(count + 1, sizeof(struct berval *));
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1070
mod->mod_bvalues[i] = calloc(1, sizeof(struct berval));
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1108
mod->mod_values = calloc(2, sizeof(char *));
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
186
server = calloc(1, sizeof(krb5_ldap_server_info));
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
1355
ber_tl_data = (struct berval **) calloc (count + 1,
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
1818
strtime = calloc(50, 1);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
550
ret = calloc(num_versions + 1, sizeof(struct berval *));
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
158
*realms = calloc((unsigned int) count+1, sizeof (char *));
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
251
result_arr = (LDAPMessage **) calloc((unsigned int)ntree+1,
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c
243
lpolicy->tl_data = calloc (1, sizeof(*lpolicy->tl_data));
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c
377
*policy = (char **) calloc ((unsigned) count + 1, sizeof(char *));
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c
469
*list = (char **) calloc ((unsigned) count+1, sizeof(char *));
crypto/krb5/src/plugins/kdb/test/kdb_test.c
104
void *p = calloc(sz, 1);
crypto/krb5/src/plugins/preauth/otp/otp_state.c
382
indicators = calloc(len + 1, sizeof(*indicators));
crypto/krb5/src/plugins/preauth/otp/otp_state.c
576
self = calloc(1, sizeof(otp_state));
crypto/krb5/src/plugins/preauth/otp/otp_state.c
700
rqst = calloc(1, sizeof(request));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
1234
ctx = calloc(1, sizeof(*ctx));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
2355
princs = calloc(num_sans + 1, sizeof(krb5_principal));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
2362
upns = calloc(num_sans + 1, sizeof(*upns));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
2369
dnss = calloc(num_sans + 1, sizeof(*dnss));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4780
str = calloc(BIO_number_written(b) + 1, 1);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4860
md = calloc(1, sizeof(*md));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4907
md_list = calloc(count + 1, sizeof(*md_list));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
5238
krb5_cas = calloc(sk_size + 1, sizeof(*krb5_cas));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
109
opts = calloc(1, sizeof(pkinit_identity_opts));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
62
newlist = calloc(1, (i + 1) * sizeof(*newlist));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
44
opts = calloc(1, sizeof(*opts));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
73
opts = calloc(1, sizeof(pkinit_plg_opts));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_matching.c
288
rc = calloc(1, sizeof(*rc));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_matching.c
331
value = calloc(1, len+1);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_matching.c
391
rs = calloc(1, sizeof(*rs));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1085
plgctx = calloc(1, sizeof(*plgctx));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1369
realm_contexts = calloc(numrealms+1, sizeof(pkinit_kdc_context));
crypto/krb5/src/plugins/preauth/securid_sam2/securid_sam2_main.c
136
cksum_array = calloc(2, sizeof(krb5_checksum *));
crypto/krb5/src/plugins/preauth/spake/openssl.c
100
gd = calloc(1, sizeof(*gd));
crypto/krb5/src/plugins/preauth/spake/spake_client.c
85
*modreq_out = calloc(1, sizeof(reqstate));
crypto/krb5/src/plugins/preauth/spake/util.c
45
list = calloc(2, sizeof(*list));
crypto/krb5/src/plugins/preauth/spake/util.c
48
pa = calloc(1, sizeof(*pa));
crypto/krb5/src/plugins/preauth/test/common.c
42
pa = calloc(1, sizeof(*pa));
crypto/krb5/src/plugins/preauth/test/common.c
57
list = calloc(2, sizeof(*list));
crypto/krb5/src/plugins/pwqual/test/main.c
87
dict->word_list = calloc(count + 1, sizeof(char *));
crypto/krb5/src/util/profile/prof_file.c
268
file = calloc(1, sizeof(*file));
crypto/krb5/src/util/profile/prof_file.c
561
file = calloc(1, sizeof(*file));
crypto/krb5/src/util/profile/prof_init.c
304
profile = calloc(1, sizeof(*profile));
crypto/krb5/src/util/profile/prof_tree.c
124
node = calloc(1, sizeof(*node));
crypto/krb5/src/util/profile/test_vtable.c
50
*ret_values = calloc(3, sizeof(*ret_values));
crypto/krb5/src/util/profile/test_vtable.c
71
*ret_values = calloc(2, sizeof(*ret_values));
crypto/krb5/src/util/profile/testmod/testmod_main.c
46
*ret_values = calloc(3, sizeof(*ret_values));
crypto/krb5/src/util/ss/invocation.c
101
(ss_request_table **) calloc(2, sizeof(ss_request_table *));
crypto/krb5/src/util/ss/ss_internal.h
105
extern pointer calloc (unsigned, unsigned);
crypto/krb5/src/util/support/fake-addrinfo.c
727
ce->addrs4 = calloc(ce->naddrs4, sizeof(*ce->addrs4));
crypto/krb5/src/util/support/fake-addrinfo.c
733
ce->addrs6 = calloc(ce->naddrs6, sizeof(*ce->addrs6));
crypto/krb5/src/util/support/hashtab.c
143
ht->buckets = calloc(ht->nbuckets, sizeof(*ht->buckets));
crypto/krb5/src/util/support/hashtab.c
177
newbuckets = calloc(newsize, sizeof(*newbuckets));
crypto/krb5/src/util/support/json.c
147
struct value_base *p = calloc(1, size + sizeof(*p));
crypto/krb5/src/util/support/plugins.c
220
h = calloc(1, sizeof(*h));
crypto/krb5/src/util/support/plugins.c
265
*harray = calloc (1, sizeof (**harray)); /* calloc initializes to NULL */
crypto/krb5/src/util/support/plugins.c
344
tempnames = calloc ((bases_count * exts_count)+1, sizeof (char *));
crypto/krb5/src/util/support/plugins.c
501
p = calloc (1, sizeof (*p)); /* calloc initializes to NULL */
crypto/krb5/src/util/support/plugins.c
560
p = calloc (1, sizeof (*p)); /* calloc initializes to NULL */
crypto/krb5/src/windows/leash/KrbListTickets.cpp
124
list = (TicketList *)calloc(1, sizeof(TicketList));
crypto/krb5/src/windows/leash/KrbListTickets.cpp
153
list->encTypes = (char *)calloc(1, strlen(Buffer)+1);
crypto/krb5/src/windows/leash/KrbListTickets.cpp
228
ticketinfo = (TICKETINFO *)calloc(1, sizeof(TICKETINFO));
crypto/openssh/auth-options.c
199
if ((ret = calloc(1, sizeof(*ret))) == NULL)
crypto/openssh/auth-options.c
58
(dst = calloc(nsrc, sizeof(*src))) == NULL)
crypto/openssh/auth-options.c
749
if (n > 0 && (a = calloc(n, sizeof(*a))) == NULL) {
crypto/openssh/auth-options.c
857
if ((opts = calloc(1, sizeof(*opts))) == NULL)
crypto/openssh/auth-pam.c
1144
if ((reply = calloc(n, sizeof(*reply))) == NULL)
crypto/openssh/auth-pam.c
1305
if ((reply = calloc(n, sizeof(*reply))) == NULL)
crypto/openssh/auth-pam.c
412
if ((reply = calloc(n, sizeof(*reply))) == NULL)
crypto/openssh/auth-pam.c
635
if ((reply = calloc(n, sizeof(*reply))) == NULL)
crypto/openssh/authfd.c
306
if ((idl = calloc(1, sizeof(*idl))) == NULL ||
crypto/openssh/authfd.c
307
(idl->keys = calloc(num, sizeof(*idl->keys))) == NULL ||
crypto/openssh/authfd.c
308
(idl->comments = calloc(num, sizeof(*idl->comments))) == NULL) {
crypto/openssh/bitmap.c
42
if ((ret = calloc(1, sizeof(*ret))) == NULL)
crypto/openssh/bitmap.c
44
if ((ret->d = calloc(1, BITMAP_BYTES)) == NULL) {
crypto/openssh/channels.c
237
if ((sc = calloc(1, sizeof(*sc))) == NULL)
crypto/openssh/channels.c
2539
if ((pre = calloc(SSH_CHANNEL_MAX_TYPE, sizeof(*pre))) == NULL ||
crypto/openssh/channels.c
2540
(post = calloc(SSH_CHANNEL_MAX_TYPE, sizeof(*post))) == NULL)
crypto/openssh/cipher-chachapoly-libcrypto.c
48
if ((ctx = calloc(1, sizeof(*ctx))) == NULL)
crypto/openssh/cipher-chachapoly.c
46
if ((ctx = calloc(1, sizeof(*ctx))) == NULL)
crypto/openssh/cipher.c
258
if ((cc = calloc(1, sizeof(*cc))) == NULL)
crypto/openssh/clientloop.c
2506
if ((ctx->keys_match = calloc(ctx->nkeys,
crypto/openssh/clientloop.c
2508
(ctx->keys_verified = calloc(ctx->nkeys,
crypto/openssh/digest-libc.c
179
if (digest == NULL || (ret = calloc(1, sizeof(*ret))) == NULL)
crypto/openssh/digest-libc.c
181
if ((ret->mdctx = calloc(1, digest->ctx_len)) == NULL) {
crypto/openssh/digest-openssl.c
119
if (digest == NULL || ((ret = calloc(1, sizeof(*ret))) == NULL))
crypto/openssh/hmac.c
49
if ((ret = calloc(1, sizeof(*ret))) == NULL)
crypto/openssh/hmac.c
57
if ((ret->buf = calloc(1, ret->buf_len)) == NULL)
crypto/openssh/hostfile.c
614
if ((ctx.match_keys = calloc(nkeys, sizeof(*ctx.match_keys))) == NULL)
crypto/openssh/kex-names.c
216
(ret = calloc(1, len)) == NULL) {
crypto/openssh/kex.c
1072
if ((digest = calloc(1, ROUNDUP(need, mdsz))) == NULL) {
crypto/openssh/kex.c
1371
if ((remote_version = calloc(1, sshbuf_len(peer_version))) == NULL) {
crypto/openssh/kex.c
186
if ((proposal = calloc(PROPOSAL_MAX, sizeof(char *))) == NULL)
crypto/openssh/kex.c
674
if ((kex = calloc(1, sizeof(*kex))) == NULL ||
crypto/openssh/kex.c
995
if ((newkeys = calloc(1, sizeof(*newkeys))) == NULL) {
crypto/openssh/krl.c
137
if ((krl = calloc(1, sizeof(*krl))) == NULL)
crypto/openssh/krl.c
233
if ((rc = calloc(1, sizeof(*rc))) == NULL)
crypto/openssh/krl.c
352
if ((rki = calloc(1, sizeof(*rki))) == NULL ||
crypto/openssh/krl.c
391
if ((rb = calloc(1, sizeof(*rb))) == NULL)
crypto/openssh/moduli.c
314
while ((LargeSieve = calloc(largewords, sizeof(u_int32_t))) == NULL)
crypto/openssh/openbsd-compat/arc4random.h
80
if ((*rsp = calloc(1, sizeof(**rsp))) == NULL)
crypto/openssh/openbsd-compat/arc4random.h
82
if ((*rsxp = calloc(1, sizeof(**rsxp))) == NULL) {
crypto/openssh/openbsd-compat/bcrypt_pbkdf.c
132
if ((countsalt = calloc(1, saltlen + 4)) == NULL)
crypto/openssh/openbsd-compat/bsd-malloc.c
43
return calloc(nmemb, size);
crypto/openssh/openbsd-compat/getrrsetbyname-ldns.c
121
rrset = calloc(1, sizeof(struct rrsetinfo));
crypto/openssh/openbsd-compat/getrrsetbyname-ldns.c
177
rrset->rri_rdatas = calloc(rrset->rri_nrdatas,
crypto/openssh/openbsd-compat/getrrsetbyname-ldns.c
187
rrset->rri_sigs = calloc(rrset->rri_nsigs,
crypto/openssh/openbsd-compat/getrrsetbyname.c
269
rrset = calloc(1, sizeof(struct rrsetinfo));
crypto/openssh/openbsd-compat/getrrsetbyname.c
299
rrset->rri_rdatas = calloc(rrset->rri_nrdatas,
crypto/openssh/openbsd-compat/getrrsetbyname.c
308
rrset->rri_sigs = calloc(rrset->rri_nsigs, sizeof(struct rdatainfo));
crypto/openssh/openbsd-compat/getrrsetbyname.c
398
resp = calloc(1, sizeof(*resp));
crypto/openssh/openbsd-compat/getrrsetbyname.c
476
curr = calloc(1, sizeof(struct dns_query));
crypto/openssh/openbsd-compat/getrrsetbyname.c
536
curr = calloc(1, sizeof(struct dns_rr));
crypto/openssh/openbsd-compat/glob.c
577
if ((path_stat = calloc(n, sizeof(*path_stat))) == NULL)
crypto/openssh/openbsd-compat/recallocarray.c
44
return calloc(newnmemb, size);
crypto/openssh/openbsd-compat/setproctitle.c
90
if ((environ = calloc(i + 1, sizeof(*environ))) == NULL) {
crypto/openssh/packet.c
1364
p = calloc(1, sizeof(*p));
crypto/openssh/packet.c
235
if ((ssh = calloc(1, sizeof(*ssh))) == NULL ||
crypto/openssh/packet.c
236
(state = calloc(1, sizeof(*state))) == NULL ||
crypto/openssh/packet.c
2450
if ((newkey = calloc(1, sizeof(*newkey))) == NULL) {
crypto/openssh/readpass.c
289
if ((ret = calloc(1, sizeof(*ret))) == NULL) {
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
250
if ((response = calloc(1, sizeof(*response))) == NULL) {
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
269
if ((response->signature = calloc(1, 1)) == NULL) {
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
375
if ((response->sig_r = calloc(1, response->sig_r_len)) == NULL ||
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
376
(response->sig_s = calloc(1, response->sig_s_len)) == NULL) {
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
462
if ((response->sig_r = calloc(1, response->sig_r_len)) == NULL) {
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
499
if ((response = calloc(1, sizeof(*response))) == NULL) {
crypto/openssh/regress/netcat.c
1128
portlist[x] = calloc(1, PORT_MAX_LEN);
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
428
k1->cert->principals = calloc(4, sizeof(*k1->cert->principals));
crypto/openssh/regress/unittests/test_helper/fuzz.c
217
struct fuzz *ret = calloc(1, sizeof(*ret));
crypto/openssh/regress/unittests/test_helper/fuzz.c
296
fuzz->fuzzed = calloc(fuzz->slen, 1);
crypto/openssh/sk-usbhid.c
1004
if ((response->attestation_cert = calloc(1, len)) == NULL) {
crypto/openssh/sk-usbhid.c
1014
if ((response->authdata = calloc(1, len)) == NULL) {
crypto/openssh/sk-usbhid.c
1058
if ((response->sig_r = calloc(1, response->sig_r_len)) == NULL ||
crypto/openssh/sk-usbhid.c
1059
(response->sig_s = calloc(1, response->sig_s_len)) == NULL) {
crypto/openssh/sk-usbhid.c
1092
if ((response->sig_r = calloc(1, response->sig_r_len)) == NULL) {
crypto/openssh/sk-usbhid.c
1236
if ((response = calloc(1, sizeof(*response))) == NULL) {
crypto/openssh/sk-usbhid.c
1363
if ((srk = calloc(1, sizeof(*srk))) == NULL ||
crypto/openssh/sk-usbhid.c
1364
(srk->key.key_handle = calloc(1,
crypto/openssh/sk-usbhid.c
1368
(srk->user_id = calloc(1, user_id_len)) == NULL)) {
crypto/openssh/sk-usbhid.c
182
if ((sk = calloc(1, sizeof(*sk))) == NULL) {
crypto/openssh/sk-usbhid.c
228
if ((skv = calloc(ndevs, sizeof(*skv))) == NULL) {
crypto/openssh/sk-usbhid.c
974
if ((response = calloc(1, sizeof(*response))) == NULL) {
crypto/openssh/sk-usbhid.c
985
if ((response->key_handle = calloc(1, len)) == NULL) {
crypto/openssh/sk-usbhid.c
994
if ((response->signature = calloc(1, len)) == NULL) {
crypto/openssh/ssh-ecdsa-sk.c
268
if ((details = calloc(1, sizeof(*details))) == NULL) {
crypto/openssh/ssh-ecdsa-sk.c
384
if ((sigb = calloc(1, len)) == NULL) {
crypto/openssh/ssh-ecdsa.c
450
if ((sigb = calloc(1, len)) == NULL) {
crypto/openssh/ssh-ed25519-sk.c
197
if ((details = calloc(1, sizeof(*details))) == NULL) {
crypto/openssh/ssh-sk-client.c
440
if ((srk = calloc(1, sizeof(*srk))) == NULL) {
crypto/openssh/ssh-sk.c
117
if ((ret = calloc(1, sizeof(*ret))) == NULL) {
crypto/openssh/ssh-sk.c
411
if ((opts[nopts] = calloc(1, sizeof(**opts))) == NULL) {
crypto/openssh/ssh-sk.c
853
if ((srk = calloc(1, sizeof(*srk))) == NULL) {
crypto/openssh/ssh-sk.c
860
if ((srk->user_id = calloc(1, rks[i]->user_id_len)) == NULL) {
crypto/openssh/ssh_api.c
391
(remote_version = calloc(1, sshbuf_len(banner))) == NULL) {
crypto/openssh/ssh_api.c
546
if ((replace = calloc(1, maxlen)) == NULL) {
crypto/openssh/sshbuf.c
104
if ((ret->cd = ret->d = calloc(1, ret->alloc)) == NULL) {
crypto/openssh/sshbuf.c
117
(ret = calloc(1, sizeof(*ret))) == NULL)
crypto/openssh/sshbuf.c
97
if ((ret = calloc(1, sizeof(*ret))) == NULL)
crypto/openssh/sshkey-xmss.c
103
state = calloc(sizeof(struct ssh_xmss_state), 1);
crypto/openssh/sshkey-xmss.c
170
if ((state->stack = calloc(num_stack(state), 1)) == NULL ||
crypto/openssh/sshkey-xmss.c
171
(state->stacklevels = calloc(num_stacklevels(state), 1))== NULL ||
crypto/openssh/sshkey-xmss.c
172
(state->auth = calloc(num_auth(state), 1)) == NULL ||
crypto/openssh/sshkey-xmss.c
173
(state->keep = calloc(num_keep(state), 1)) == NULL ||
crypto/openssh/sshkey-xmss.c
174
(state->th_nodes = calloc(num_th_nodes(state), 1)) == NULL ||
crypto/openssh/sshkey-xmss.c
175
(state->retain = calloc(num_retain(state), 1)) == NULL ||
crypto/openssh/sshkey-xmss.c
176
(state->treehash = calloc(num_treehash(state),
crypto/openssh/sshkey-xmss.c
283
if ((state->enc_keyiv = calloc(state->enc_keyiv_len, 1)) == NULL) {
crypto/openssh/sshkey-xmss.c
412
if ((data = calloc(len, 1)) == NULL) {
crypto/openssh/sshkey-xmss.c
785
if ((state->treehash = calloc(num_treehash(state),
crypto/openssh/sshkey.c
1006
if ((ret = calloc(1, SSH_DIGEST_MAX_LENGTH)) == NULL) {
crypto/openssh/sshkey.c
1035
if (dgst_raw_len > 65536 || (ret = calloc(1, rlen)) == NULL)
crypto/openssh/sshkey.c
1056
if (dgst_raw_len > 65536 || (retval = calloc(1, rlen)) == NULL)
crypto/openssh/sshkey.c
1078
if ((retval = calloc(rounds, 6)) == NULL)
crypto/openssh/sshkey.c
1165
if ((retval = calloc((FLDSIZE_X + 3), (FLDSIZE_Y + 2))) == NULL)
crypto/openssh/sshkey.c
1574
if ((to->principals = calloc(from->nprincipals,
crypto/openssh/sshkey.c
2876
if ((key = calloc(1, keylen + ivlen)) == NULL) {
crypto/openssh/sshkey.c
3113
if ((key = calloc(1, keylen + ivlen)) == NULL) {
crypto/openssh/sshkey.c
3627
(prv->ed25519_sk = calloc(1, ED25519_SK_SZ)) == NULL ||
crypto/openssh/sshkey.c
3628
(prv->ed25519_pk = calloc(1, ED25519_PK_SZ)) == NULL) {
crypto/openssh/sshkey.c
697
if ((cert = calloc(1, sizeof(*cert))) == NULL)
crypto/openssh/sshkey.c
723
if ((k = calloc(1, sizeof(*k))) == NULL)
crypto/openssh/sshsig.c
648
if ((ret = calloc(1, sizeof(*ret))) == NULL)
crypto/openssh/xmalloc.c
55
ptr = calloc(nmemb, size);
crypto/openssh/xmss_wots.c
124
int *basew = calloc(params->len, sizeof(int));
crypto/openssh/xmss_wots.c
162
int *basew = calloc(params->len, sizeof(int));
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
71
conn = calloc(1, sizeof(APP_CONN));
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
71
conn = calloc(1, sizeof(APP_CONN));
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
64
conn = calloc(1, sizeof(APP_CONN));
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
69
conn = calloc(1, sizeof(APP_CONN));
crypto/openssl/doc/designs/ddd/ddd-06-mem-uv.c
138
conn = calloc(1, sizeof(APP_CONN));
crypto/openssl/doc/designs/ddd/ddd-06-mem-uv.c
439
op = calloc(1, sizeof(LOWER_WRITE_OP));
crypto/openssl/doc/designs/ddd/ddd-06-mem-uv.c
633
UPPER_WRITE_OP *op = calloc(1, sizeof(UPPER_WRITE_OP));
crypto/openssl/test/lhash_test.c
523
worker_exits = calloc(num_workers, sizeof(*worker_exits));
crypto/openssl/test/lhash_test.c
524
workers = calloc(num_workers, sizeof(*workers));
include/stdlib.h
92
void *calloc(size_t, size_t) __malloc_like __result_use_check
kerberos5/lib/libgssapi_krb5/gss_krb5.c
284
ctx = calloc(1, sizeof(*ctx));
kerberos5/lib/libgssapi_krb5/gss_krb5.c
600
oid.components = calloc(oid.length, sizeof(*oid.components));
kerberos5/lib/libgssapi_krb5/gss_krb5.c
716
*keyblock = calloc(1, sizeof(**keyblock));
krb5/lib/gssapi/errmap.h
67
arr->elts = calloc(10, sizeof(struct mecherrmap__pair));
lib/geom/multipath/geom_multipath.c
224
sector = calloc(1, secsize);
lib/geom/part/geom_part.c
1200
buf = calloc(1, bsize);
lib/geom/virstor/geom_virstor.c
328
map = calloc(write_max_map_entries, sizeof(*map));
lib/geom/virstor/geom_virstor.c
421
sect = calloc(ssize, sizeof(unsigned char));
lib/lib80211/lib80211_regdomain.c
139
mt->netband = calloc(1, sizeof(struct netband));
lib/lib80211/lib80211_regdomain.c
155
mt->country = calloc(1, sizeof(struct country));
lib/lib80211/lib80211_regdomain.c
164
mt->freqband = calloc(1, sizeof(struct freqband));
lib/lib80211/lib80211_regdomain.c
426
mt = calloc(1, sizeof(struct mystate));
lib/lib80211/lib80211_regdomain.c
444
rdp->ident = calloc(mt->nident + 1, sizeof(struct ident));
lib/lib80211/lib80211_regdomain.c
624
rdp = calloc(1, sizeof(struct regdata));
lib/lib80211/lib80211_regdomain.c
95
mt->rd = calloc(1, sizeof(struct regdomain));
lib/libbe/be.c
109
if ((lbh = calloc(1, sizeof(libbe_handle_t))) == NULL)
lib/libbluetooth/hci.c
479
i = *ii = calloc(num_rsp, sizeof(struct bt_devinquiry));
lib/libbluetooth/hci.c
699
rp.names = (struct nodeinfo *) calloc(rp.num_names,
lib/libc/db/btree/bt_open.c
156
if ((t = (BTREE *)calloc(1, sizeof(BTREE))) == NULL)
lib/libc/db/btree/bt_open.c
165
if ((t->bt_dbp = dbp = (DB *)calloc(1, sizeof(DB))) == NULL)
lib/libc/db/btree/bt_split.c
374
if ((l = (PAGE *)calloc(1, t->bt_psize)) == NULL) {
lib/libc/db/hash/hash.c
102
if (!(hashp = (HTAB *)calloc(1, sizeof(HTAB))))
lib/libc/db/hash/hash.c
817
calloc(hashp->SGSIZE, sizeof(SEGMENT))) == NULL)
lib/libc/db/hash/hash.c
886
calloc(hashp->DSIZE, sizeof(SEGMENT *))) == NULL) {
lib/libc/db/hash/hash.c
896
if ((store = calloc(nsegs << hashp->SSHIFT, sizeof(SEGMENT))) == NULL) {
lib/libc/db/hash/hash_buf.c
189
if ((bp = (BUFHEAD *)calloc(1, sizeof(BUFHEAD))) == NULL)
lib/libc/db/hash/hash_buf.c
191
if ((bp->page = (char *)calloc(1, hashp->BSIZE)) == NULL) {
lib/libc/db/mpool/mpool.c
378
new: if ((bp = (BKT *)calloc(1, sizeof(BKT) + mp->pagesize)) == NULL)
lib/libc/db/mpool/mpool.c
79
if ((mp = (MPOOL *)calloc(1, sizeof(MPOOL))) == NULL)
lib/libc/gen/fts-compat.c
135
if ((priv = calloc(1, sizeof(*priv))) == NULL)
lib/libc/gen/fts-compat11.c
129
if ((priv = calloc(1, sizeof(*priv))) == NULL)
lib/libc/gen/fts.c
1146
p = calloc(1, len + sizeof(struct stat));
lib/libc/gen/fts.c
1148
p = calloc(1, len);
lib/libc/gen/fts.c
233
if ((priv = calloc(1, sizeof(*priv))) == NULL)
lib/libc/gen/fts.c
277
if ((priv = calloc(1, sizeof(*priv))) == NULL)
lib/libc/gen/posix_spawn.c
609
sa = calloc(1, sizeof(struct __posix_spawnattr));
lib/libc/gen/utxdb.c
131
ut = calloc(1, sizeof *ut);
lib/libc/iconv/citrus_db_factory.c
273
depp = calloc(df->df_num_entries, sizeof(*depp));
lib/libc/iconv/citrus_iconv.c
142
ci = calloc(1, sizeof(*ci) + len_convname + 1);
lib/libc/iconv/citrus_iconv.c
367
if ((buf = calloc((size_t)PATH_MAX, sizeof(*buf))) == NULL)
lib/libc/iconv/citrus_stdenc_template.h
80
ei = calloc(1, sizeof(_ENCODING_INFO));
lib/libc/include/nss_tls.h
67
*p = calloc(1, sizeof(**p)); \
lib/libc/locale/collate.c
100
struct xlocale_collate *table = calloc(sizeof(struct xlocale_collate),
lib/libc/locale/lmessages.c
99
struct xlocale_messages *new = calloc(sizeof(struct xlocale_messages),
lib/libc/locale/lmonetary.c
160
struct xlocale_monetary *new = calloc(sizeof(struct xlocale_monetary),
lib/libc/locale/lnumeric.c
97
struct xlocale_numeric *new = calloc(sizeof(struct xlocale_numeric),
lib/libc/locale/setrunelocale.c
213
struct xlocale_ctype *l = calloc(sizeof(struct xlocale_ctype), 1);
lib/libc/locale/xlocale.c
196
locale_t new = calloc(sizeof(struct _xlocale), 1);
lib/libc/net/getaddrinfo.c
1450
if ((ai = calloc(1, l)) == NULL)
lib/libc/net/getaddrinfo.c
1874
sentinel = calloc(1, size);
lib/libc/net/getaddrinfo.c
1887
sentinel->ai_canonname = calloc(1, size + 1);
lib/libc/net/getaddrinfo.c
692
if ((aio = calloc(n, sizeof(*aio))) == NULL)
lib/libc/net/netdb_private.h
60
if ((he = calloc(1, sizeof(*he))) == NULL) \
lib/libc/net/sctp_sys_calls.c
412
addrs = calloc(1, (size_t)opt_len);
lib/libc/net/sctp_sys_calls.c
467
addrs = calloc(1, (size_t)opt_len);
lib/libc/net/sourcefilter.c
173
tmpslist = calloc(numsrc, sizeof(sockunion_t));
lib/libc/net/sourcefilter.c
246
tmpslist = calloc(onumsrc, sizeof(sockunion_t));
lib/libc/nls/msgcat.c
461
np = calloc(1, sizeof(struct catentry));
lib/libc/nls/msgcat.c
81
#define SAVEFAIL(n, l, e) { np = calloc(1, sizeof(struct catentry)); \
lib/libc/resolv/res_findzonecut.c
164
u = calloc(naddrs, sizeof(*u));
lib/libc/resolv/res_mkupdate.c
932
ns_updrec *rrecp = (ns_updrec *)calloc(1, sizeof(ns_updrec));
lib/libc/resolv/res_state.c
112
statp = calloc(1, sizeof(*statp));
lib/libc/rpc/auth_none.c
82
ap = calloc(1, sizeof (*ap));
lib/libc/rpc/clnt_dg.c
133
elem = calloc(1, sizeof(*elem));
lib/libc/rpc/clnt_raw.c
101
(char *)calloc(UDPMSGSIZE, sizeof (char));
lib/libc/rpc/clnt_raw.c
94
clp = (struct clntraw_private *)calloc(1, sizeof (*clp));
lib/libc/rpc/clnt_vc.c
162
elem = calloc(1, sizeof(*elem));
lib/libc/rpc/rpcb_clnt.c
1293
taddr = (struct netbuf *)calloc(1, sizeof (struct netbuf));
lib/libc/rpc/svc_nl.c
100
if ((sc = calloc(1, sizeof(struct nl_softc))) == NULL)
lib/libc/rpc/svc_raw.c
87
srp = (struct svc_raw_private *)calloc(1, sizeof (*srp));
lib/libc/rpc/svc_raw.c
93
__rpc_rawcombuf = calloc(UDPMSGSIZE, sizeof (char));
lib/libc/stdio/open_memstream.c
183
*bufp = calloc(1, 1);
lib/libc/stdio/open_wmemstream.c
244
*bufp = calloc(1, sizeof(wchar_t));
lib/libc/stdlib/getenv.c
343
envVars = calloc(envVarsSize, sizeof(*envVars));
lib/libc/stdlib/hcreate_r.c
45
hsearch->entries = calloc(16, sizeof(ENTRY));
lib/libc/stdlib/hsearch_r.c
114
new_entries = calloc(new_count, sizeof(ENTRY));
lib/libc/stdlib/malloc/jemalloc/include/jemalloc/internal/public_namespace.h
2
#define je_calloc JEMALLOC_N(calloc)
lib/libc/stdlib/malloc/jemalloc/include/jemalloc/jemalloc.h
69
# define je_calloc calloc
lib/libc/stdlib/malloc/jemalloc/include/jemalloc/jemalloc_FreeBSD.h
173
__weak_reference(__calloc, calloc);
lib/libc/stdlib/quick_exit.c
53
if ((h = calloc(1, sizeof(*h))) == NULL) {
lib/libc/stdlib/recallocarray.c
34
return calloc(newnmemb, size);
lib/libc/stdlib/strfmon.c
578
rslt = calloc(1, bufsize);
lib/libc/stdtime/timelocal.c
144
struct xlocale_time *new = calloc(sizeof(struct xlocale_time), 1);
lib/libc/tests/nss/getaddrinfo_test.c
276
ai->ai_addr = calloc(1, ai->ai_addrlen);
lib/libc/tests/nss/getaddrinfo_test.c
327
ai2->ai_next = calloc(1, sizeof(struct addrinfo));
lib/libc/tests/nss/getgr_test.c
104
dest->gr_mem = calloc(members_num + 1, sizeof(char *));
lib/libc/tests/nss/gethostby_test.c
161
dest->h_aliases = calloc(aliases_num + 1, sizeof(char *));
lib/libc/tests/nss/gethostby_test.c
175
dest->h_addr_list = calloc(addrs_num + 1, sizeof(char *));
lib/libc/tests/nss/gethostby_test.c
614
ts = calloc(1, ht->h_length);
lib/libc/tests/nss/gethostby_test.c
624
ts = calloc(1, ht->h_length);
lib/libc/tests/nss/getproto_test.c
99
dest->p_aliases = calloc(aliases_num + 1, sizeof(char *));
lib/libc/tests/nss/getrpc_test.c
98
dest->r_aliases = calloc(aliases_num + 1, sizeof(char *));
lib/libc/tests/nss/getserv_test.c
102
dest->s_aliases = calloc(aliases_num + 1, sizeof(char *));
lib/libc/tests/resolv/resolv_test.c
268
ask = calloc(hosts->sl_cur, sizeof(int));
lib/libc/tests/resolv/resolv_test.c
271
got = calloc(hosts->sl_cur, sizeof(int));
lib/libc/tests/resolv/resolv_test.c
274
threads = calloc(nthreads, sizeof(pthread_t));
lib/libc/tests/sys/sendfile_test.c
220
buffer = calloc(buffer_size, sizeof(char));
lib/libcam/camlib.c
79
ccb = calloc(1, sizeof(*ccb));
lib/libcam/scsi_wrap.c
72
hdr = calloc(allocation_length, 1);
lib/libcasper/services/cap_dns/cap_dns.c
101
hp->h_addr_list = calloc(nitems + 1, sizeof(hp->h_addr_list[0]));
lib/libcasper/services/cap_dns/cap_dns.c
538
host = calloc(1, hostlen);
lib/libcasper/services/cap_dns/cap_dns.c
545
serv = calloc(1, servlen);
lib/libcasper/services/cap_dns/cap_dns.c
87
hp->h_aliases = calloc(nitems + 1, sizeof(hp->h_aliases[0]));
lib/libcasper/services/cap_fileargs/tests/fileargs_test.c
62
files[i] = calloc(1, sizeof(template));
lib/libcasper/services/cap_net/cap_net.c
108
hp->h_aliases = calloc(nitems + 1, sizeof(hp->h_aliases[0]));
lib/libcasper/services/cap_net/cap_net.c
122
hp->h_addr_list = calloc(nitems + 1, sizeof(hp->h_addr_list[0]));
lib/libcasper/services/cap_net/cap_net.c
387
limit = calloc(1, sizeof(*limit));
lib/libcasper/services/cap_net/cap_net.c
886
host = calloc(1, hostlen);
lib/libcasper/services/cap_net/cap_net.c
893
serv = calloc(1, servlen);
lib/libcasper/services/cap_sysctl/cap_sysctl.c
496
oldp = calloc(1, oldlen);
lib/libdevinfo/devinfo.c
227
if ((dd = calloc(1, sizeof(*dd))) == NULL)
lib/libefivar/uefi-dplib.h
491
#define AllocateZeroPool(x) calloc(1,x)
lib/libfetch/common.c
288
if ((conn = calloc(1, sizeof(*conn))) == NULL)
lib/libfetch/fetch.c
270
if ((u = calloc(1, sizeof(*u))) == NULL) {
lib/libfetch/fetch.c
355
if ((u = calloc(1, sizeof(*u))) == NULL) {
lib/libfetch/http.c
336
if ((io = calloc(1, sizeof(*io))) == NULL) {
lib/libgeom/geom_ctl.c
129
return (calloc(1, sizeof(struct gctl_req)));
lib/libgeom/geom_ctl.c
204
req->error = calloc(1, req->lerror);
lib/libgeom/geom_xml2tree.c
108
mt->geom = calloc(1, sizeof *mt->geom);
lib/libgeom/geom_xml2tree.c
128
mt->consumer = calloc(1, sizeof *mt->consumer);
lib/libgeom/geom_xml2tree.c
151
mt->provider = calloc(1, sizeof *mt->provider);
lib/libgeom/geom_xml2tree.c
277
gc = calloc(1, sizeof *gc);
lib/libgeom/geom_xml2tree.c
424
mt = calloc(1, sizeof *mt);
lib/libgeom/geom_xml2tree.c
447
gmp->lg_ident = calloc(mt->nident + 1, sizeof(*gmp->lg_ident));
lib/libgeom/geom_xml2tree.c
93
mt->class = calloc(1, sizeof *mt->class);
lib/libgpio/gpio.c
90
cfgs = calloc(maxpins + 1, sizeof(*cfgs));
lib/libiconv_modules/HZ/citrus_hz.c
536
graphic = calloc(1, sizeof(*graphic));
lib/libiconv_modules/HZ/citrus_hz.c
601
escape = calloc(1, sizeof(*escape));
lib/libifconfig/libifconfig.c
79
h = calloc(1, sizeof(*h));
lib/libifconfig/libifconfig_bridge.c
133
bridge->inner.member_vlans = calloc(bridge->inner.members_count,
lib/libifconfig/libifconfig_bridge.c
75
bridge = calloc(1, sizeof(struct _ifconfig_bridge_status));
lib/libifconfig/libifconfig_lagg.c
70
ls = calloc(1, sizeof(struct _ifconfig_lagg_status));
lib/libifconfig/libifconfig_media.c
376
options = calloc(n + 1, sizeof(*options));
lib/libifconfig/libifconfig_media.c
412
options = calloc(nopts, sizeof(*options));
lib/libifconfig/libifconfig_media.c
446
ms = calloc(1, sizeof(*ms));
lib/libifconfig/libifconfig_sfp.c
406
ss->channel = calloc(channel_count(ii->id), sizeof(*ss->channel));
lib/libifconfig/libifconfig_sfp.c
442
ss->channel = calloc(channels, sizeof(*ss->channel));
lib/libipsec/pfkey.c
51
#define CALLOC(size, cast) (cast)calloc(1, (size))
lib/libiscsiutil/chap.c
111
bin = calloc(bin_len, 1);
lib/libiscsiutil/chap.c
155
bin = calloc(bin_len, 1);
lib/libiscsiutil/chap.c
232
chap = calloc(1, sizeof(*chap));
lib/libiscsiutil/chap.c
333
rchap = calloc(1, sizeof(*rchap));
lib/libiscsiutil/chap.c
348
rchap->rchap_challenge = calloc(challenge_len, 1);
lib/libiscsiutil/chap.c
386
response_bin = calloc(response_bin_len, 1);
lib/libiscsiutil/keys.c
43
keys = calloc(1, sizeof(*keys));
lib/libiscsiutil/pdu.c
78
pdu = calloc(1, sizeof(*pdu));
lib/libiscsiutil/pdu.c
82
pdu->pdu_bhs = calloc(1, sizeof(*pdu->pdu_bhs));
lib/libkldelf/ef_obj.c
285
ef = calloc(1, sizeof(*ef));
lib/libkldelf/ef_obj.c
344
ef->progtab = calloc(ef->nprogtab, sizeof(*ef->progtab));
lib/libkldelf/ef_obj.c
346
ef->reltab = calloc(ef->nrel, sizeof(*ef->reltab));
lib/libkldelf/ef_obj.c
348
ef->relatab = calloc(ef->nrela, sizeof(*ef->relatab));
lib/libkldelf/elf.c
291
phdr = calloc(nphdr, sizeof(*phdr));
lib/libkldelf/elf.c
321
shdr = calloc(nshdr, sizeof(*shdr));
lib/libkldelf/elf.c
365
dyn = calloc(ndyn, sizeof(*dyn));
lib/libkldelf/elf.c
401
sym = calloc(nsym, sizeof(*sym));
lib/libkldelf/elf.c
453
rel = calloc(nrel, sizeof(*rel));
lib/libkldelf/elf.c
489
rela = calloc(nrela, sizeof(*rela));
lib/libkldelf/elf.c
565
buf = calloc(count, sizeof(*buf));
lib/libkvm/kvm.c
231
if ((kd = calloc(1, sizeof(*kd))) == NULL) {
lib/libkvm/kvm.c
246
if ((kd = calloc(1, sizeof(*kd))) == NULL) {
lib/libkvm/kvm.c
262
if ((kd = calloc(1, sizeof(*kd))) == NULL) {
lib/libkvm/kvm.c
341
kl = calloc(count + 1, sizeof(*kl));
lib/libkvm/kvm_private.c
121
if ((p = calloc(n, sizeof(char))) == NULL)
lib/libkvm/kvm_private.c
197
phdr = calloc(phnum, sizeof(*phdr));
lib/libkvm/kvm_private.c
310
kd->dump_avail = calloc(4, sizeof(uint64_t));
lib/libkvm/kvm_private.c
345
kd->pt_popcounts = calloc(pc_bins, sizeof(uint32_t));
lib/libkvm/kvm_private.c
530
nl = calloc(count + 1, sizeof(*nl));
lib/libkvm/kvm_private.c
764
bm->map = calloc(bitmapsize, sizeof *bm->map);
lib/libmixer/mixer.c
118
if ((dp = calloc(1, sizeof(struct mix_dev))) == NULL)
lib/libmixer/mixer.c
225
if ((ctl = calloc(1, sizeof(mix_ctl_t))) == NULL)
lib/libmixer/mixer.c
72
if ((m = calloc(1, sizeof(struct mixer))) == NULL)
lib/libnetbsd/efun.c
116
void *p = calloc(n, s);
lib/libnv/msgio.c
248
msg.msg_control = calloc(1, msg.msg_controllen);
lib/libnv/msgio.c
297
msg.msg_control = calloc(1, msg.msg_controllen);
lib/libnvmf/nvmf_tcp.c
1097
qp = calloc(1, sizeof(*qp));
lib/libnvmf/nvmf_tcp.c
1173
nc = calloc(1, sizeof(*nc));
lib/libnvmf/nvmf_tcp.c
941
ta = calloc(1, sizeof(*ta));
lib/libopenbsd/imsg-buffer.c
41
if ((buf = calloc(1, sizeof(struct ibuf))) == NULL)
lib/libopenbsd/imsg.c
70
if ((ifd = calloc(1, sizeof(struct imsg_fd))) == NULL)
lib/libopenbsd/ohash.c
197
h->info.calloc = info->calloc;
lib/libopenbsd/ohash.c
201
h->t = (h->info.calloc)(h->size, sizeof(struct _ohash_record),
lib/libopenbsd/ohash.c
94
n = (h->info.calloc)(ns, sizeof(struct _ohash_record), h->info.data);
lib/libopenbsd/ohash.h
32
void *(*calloc)(size_t, size_t, void *);
lib/libpam/modules/pam_krb5/pam_krb5.c
507
p = calloc(PATH_MAX + 16, sizeof(char));
lib/libpam/modules/pam_login_access/login_access.c
193
if ((grouplist = calloc(ngroups, sizeof(gid_t))) == NULL) {
lib/libpfctl/libpfctl.c
430
status = calloc(1, sizeof(*status));
lib/libpfctl/libpfctl.c
455
status = calloc(1, sizeof(*status));
lib/libpfctl/libpfctl.c
81
h = calloc(1, sizeof(struct pfctl_handle));
lib/libpmc/libpmc.c
1532
pmc_class_table = calloc(PMC_CLASS_TABLE_SIZE,
lib/libpmc/libpmc.c
1925
if ((pmci = calloc(1, nbytes)) == NULL)
lib/libproc/proc_rtld.c
119
phdl->mappings = calloc(phdl->maparrsz,
lib/libproc/proc_sym.c
182
symtab->index = calloc(nsyms, sizeof(u_int));
lib/libprocstat/libprocstat.c
1916
kiv = calloc(cnt, sizeof(*kiv));
lib/libprocstat/libprocstat.c
200
procstat = calloc(1, sizeof(*procstat));
lib/libprocstat/libprocstat.c
216
procstat = calloc(1, sizeof(*procstat));
lib/libprocstat/libprocstat.c
238
procstat = calloc(1, sizeof(*procstat));
lib/libprocstat/libprocstat.c
2538
buf = calloc(1, len);
lib/libprocstat/libprocstat.c
2896
res = calloc(kqn, sizeof(*res));
lib/libprocstat/libprocstat.c
387
entry = calloc(1, sizeof(*entry));
lib/libprocstat/libprocstat.c
827
kif = calloc(cnt, sizeof(*kif));
lib/librss/librss.c
152
rc = calloc(1, sizeof(*rc));
lib/librss/librss.c
176
rc->rss_bucket_map = calloc(rc->rss_nbuckets, sizeof(int));
lib/librt/sigev_thread.c
195
sn = calloc(1, sizeof(*sn));
lib/libsdp/session.c
114
if ((ss = calloc(1, sizeof(*ss))) == NULL)
lib/libsdp/session.c
49
if ((ss = calloc(1, sizeof(*ss))) == NULL)
lib/libsecureboot/openpgp/decode.h
38
#define NEW(x) calloc(1,sizeof(x))
lib/libthr/thread/thr_barrier.c
107
bar = calloc(1, sizeof(struct pthread_barrier));
lib/libthr/thread/thr_cond.c
101
cvp = calloc(1, sizeof(struct pthread_cond));
lib/libthread_db/libpthread_db.c
92
ta->map = calloc(20, sizeof(struct pt_map));
lib/libufs/block.c
147
zero_chunk = calloc(1, zero_chunk_size);
lib/libusb/libusb10_desc.c
476
ptr->dev_capability = calloc(ptr->bNumDeviceCaps,
lib/libusb/libusb10_desc.c
585
bos_data = calloc(wTotalLength, 1);
lib/libusb/libusb10_desc.c
734
desc = calloc(1, bos_cap->bLength);
lib/libusb/libusb10_io.c
458
ret = calloc(i + 1, sizeof(struct libusb_pollfd *));
lib/libutil/kinfo_getfile.c
55
kif = calloc(cnt, sizeof(*kif));
lib/libutil/kinfo_getvmmap.c
51
kiv = calloc(cnt, sizeof(*kiv));
lib/libutil/kinfo_getvmobject.c
74
list = calloc(cnt, sizeof(*list));
lib/libutil/login_cap.c
295
if ((lc = calloc(1, sizeof(login_cap_t))) != NULL) {
lib/libutil/quotafile.c
122
if ((qf = calloc(1, sizeof(*qf))) == NULL)
lib/libutil/quotafile.c
537
if ((newqf = calloc(1, sizeof(*qf))) == NULL) {
lib/libypclnt/ypclnt_new.c
47
if ((ypclnt = calloc(1, sizeof *ypclnt)) == NULL)
lib/nss_tacplus/nss_tacplus.c
72
if ((h = calloc(1, sizeof(*h))) == NULL)
libexec/getty/subr.c
475
match = calloc(regex.re_nsub + 1, sizeof(*match));
libexec/rtld-elf/aarch64/reloc.c
483
cache = calloc(obj->dynsymcount, sizeof(SymCache));
libexec/rtld-elf/amd64/reloc.c
153
cache = calloc(obj->dynsymcount, sizeof(SymCache));
libexec/rtld-elf/arm/reloc.c
332
cache = calloc(obj->dynsymcount, sizeof(SymCache));
libexec/rtld-elf/i386/reloc.c
147
cache = calloc(obj->dynsymcount, sizeof(SymCache));
libexec/rtld-elf/powerpc/reloc.c
343
cache = calloc(obj->dynsymcount, sizeof(SymCache));
libexec/rtld-elf/riscv/reloc.c
332
cache = calloc(obj->dynsymcount, sizeof(SymCache));
sbin/bectl/bectl_jail.c
135
jargv = *argvp = calloc(nargv, sizeof(*jargv));
sbin/camcontrol/camcontrol.c
2416
ptr = (uint16_t *)calloc(1, sizeof(struct ata_params));
sbin/camcontrol/camcontrol.c
7072
data_ptr = calloc(1, dxfer_len);
sbin/camcontrol/modeedit.c
330
if ((cval = calloc(1, dest->size + 1)) == NULL)
sbin/camcontrol/util.c
127
p = calloc(1, count + 1);
sbin/camcontrol/zone.c
480
cdb_storage = calloc(cdb_storage_len, 1);
sbin/camcontrol/zone.c
573
cdb_storage = calloc(cdb_storage_len, 1);
sbin/decryptcore/decryptcore.c
88
kdk = calloc(1, kdksize);
sbin/devfs/devfs.c
199
pt = calloc(1, sizeof(*pt));
sbin/dhclient/alloc.c
53
rval = calloc(1, sizeof(struct string_list) + size);
sbin/dhclient/alloc.c
64
rval = calloc(1, sizeof(struct hash_table) -
sbin/dhclient/alloc.c
76
struct hash_bucket *rval = calloc(1, sizeof(struct hash_bucket));
sbin/dhclient/dhclient.c
440
if ((ifi = calloc(1, sizeof(struct interface_info))) == NULL)
sbin/dhclient/dispatch.c
125
if ((tif = calloc(1, sizeof(struct ifreq))) == NULL)
sbin/dhclient/options.c
170
if (!(t = calloc(1, len + 1)))
sbin/dhclient/options.c
187
t = calloc(1, len + packet->options[code].len + 1);
sbin/dhclient/privsep.c
126
if ((medium = calloc(1, medium_len + 1)) == NULL)
sbin/dhclient/privsep.c
137
if ((reason = calloc(1, reason_len + 1)) == NULL)
sbin/dhclient/privsep.c
159
if ((filename = calloc(1, filename_len + 1)) == NULL)
sbin/dhclient/privsep.c
171
calloc(1, servername_len + 1)) == NULL)
sbin/dhclient/privsep.c
182
if ((prefix = calloc(1, prefix_len + 1)) == NULL)
sbin/dhclient/privsep.c
200
calloc(1, optlen + 1);
sbin/dhclient/privsep.c
28
if ((buf = calloc(1, sizeof(struct buf))) == NULL)
sbin/dhclient/tree.c
51
pair foo = calloc(1, sizeof(*foo));
sbin/dump/cache.c
65
base = calloc(sizeof(Block), NBlocks);
sbin/dump/cache.c
66
BlockHash = calloc(sizeof(Block *), HSize);
sbin/dump/itime.c
104
dtwalk = (struct dumptime *)calloc(1, sizeof (struct dumptime));
sbin/dump/itime.c
117
ddatev = calloc((unsigned) (nddates + 1), sizeof (struct dumpdates *));
sbin/dump/itime.c
192
(struct dumpdates *)calloc(1, sizeof (struct dumpdates));
sbin/dump/main.c
465
usedinomap = (char *)calloc((unsigned) mapsize, sizeof(char));
sbin/dump/main.c
466
dumpdirmap = (char *)calloc((unsigned) mapsize, sizeof(char));
sbin/dump/main.c
467
dumpinomap = (char *)calloc((unsigned) mapsize, sizeof(char));
sbin/dumpon/dumpon.c
292
kdap->kda_encryptedkey = calloc(1, kdap->kda_encryptedkeysize);
sbin/dumpon/dumpon.c
355
kdap->kda_encryptedkey = calloc(1, kdap->kda_encryptedkeysize);
sbin/ffsinfo/ffsinfo.c
230
fscs = (struct csum *)calloc((size_t)1,
sbin/fsck_ffs/fsck.h
446
while ((retval = calloc(cnt, size)) == NULL)
sbin/fsck_msdosfs/fat.c
127
lbp->map = calloc(1, bitmap_size);
sbin/fsck_msdosfs/fat.c
763
entry = calloc(fat32_cache_entries, sizeof(*entry));
sbin/fsck_msdosfs/fat.c
815
fat = calloc(1, sizeof(struct fat_descriptor));
sbin/fsdb/fsdb.c
500
wantedblk64 = calloc(wantedblksize, sizeof(uint64_t));
sbin/fsdb/fsdb.c
506
wantedblk32 = calloc(wantedblksize, sizeof(uint32_t));
sbin/growfs/growfs.c
140
fscs = (struct csum *)calloc((size_t)1, (size_t)sblock.fs_cssize);
sbin/hastctl/hastctl.c
145
buf = calloc(1, mapsize);
sbin/hastd/activemap.c
170
amp->am_memtab = calloc(amp->am_nextents, sizeof(amp->am_memtab[0]));
sbin/hastd/activemap.c
171
amp->am_diskmap = calloc(1, amp->am_diskmapsize);
sbin/hastd/metadata.c
177
buf = calloc(1, METADATA_SIZE);
sbin/hastd/parse.y
202
lst = calloc(1, sizeof(*lst));
sbin/hastd/parse.y
521
curres = calloc(1, sizeof(*curres));
sbin/hastd/parse.y
878
lconfig = calloc(1, sizeof(*lconfig));
sbin/hastd/parse.y
925
lst = calloc(1, sizeof(*lst));
sbin/hastd/parse.y
941
lst = calloc(1, sizeof(*lst));
sbin/hastd/primary.c
542
buf = calloc(1, mapsize);
sbin/hastd/secondary.c
770
map = calloc(1, mapsize);
sbin/ifconfig/ifconfig.c
240
cur = calloc(1, sizeof(*cur));
sbin/ifconfig/ifconfig.c
896
(struct ifg_req *)calloc(len / sizeof(*ifg), sizeof(*ifg));
sbin/ifconfig/ifgroup.c
125
if ((ifgr.ifgr_groups = calloc(1, len)) == NULL)
sbin/ifconfig/ifmedia.c
349
optnames = calloc(nopts, sizeof(*optnames));
sbin/init/init.c
1313
sp = (session_t *) calloc(1, sizeof (session_t));
sbin/ipf/common/ipf_y.y
2089
fr->fr_data = (void *)calloc(sizeof(fripf_t), 1);
sbin/ipf/common/ipf_y.y
2293
top = calloc(1, sizeof(*top));
sbin/ipf/common/ipf_y.y
2322
n->ipn_next = calloc(1, sizeof(*n));
sbin/ipf/common/ipf_y.y
2350
top = calloc(1, sizeof(*top));
sbin/ipf/common/ipf_y.y
2366
n->ipe_next = calloc(1, sizeof(*n));
sbin/ipf/common/ipf_y.y
2628
fr = calloc(1, sizeof(*fr));
sbin/ipf/ipf/ipfcomp.c
188
g = (frgroup_t *)calloc(1, sizeof(*g));
sbin/ipf/ipf/ipfcomp.c
228
g = (frgroup_t *)calloc(1, sizeof(*g));
sbin/ipf/ipf/ipfcomp.c
950
m = (mc_t *)calloc(FRC_MAX, sizeof(*m));
sbin/ipf/ipfstat/ipfstat.c
863
g = calloc(1, sizeof(*g));
sbin/ipf/ipfstat/ipfstat.c
968
g = calloc(1, sizeof(*g));
sbin/ipf/ipftest/ip_fil.c
256
ifneta[0] = (struct ifnet *)calloc(1, sizeof(*ifp));
sbin/ipf/iplang/iplang_y.y
1296
cifp = (iface_t *)calloc(1, sizeof(iface_t));
sbin/ipf/iplang/iplang_y.y
1344
carp = (arp_t *)calloc(1, sizeof(arp_t));
sbin/ipf/iplang/iplang_y.y
639
aip = (aniphdr_t *)calloc(1, sizeof(*aip));
sbin/ipf/ipmon/ipmon_y.y
308
o = (opt_t *)calloc(1, sizeof(*o));
sbin/ipf/ipmon/ipmon_y.y
323
a = (ipmon_action_t *)calloc(1, sizeof(*a));
sbin/ipf/ipmon/ipmon_y.y
753
it = calloc(1, sizeof(*it));
sbin/ipf/ipmon/ipmon_y.y
785
d = calloc(1, sizeof(*d));
sbin/ipf/ipmon/ipmon_y.y
978
isi = calloc(1, sizeof(*isi));
sbin/ipf/ipmon/ipmon_y.y
982
is = calloc(1, sizeof(*is));
sbin/ipf/ipnat/ipnat_y.y
1373
n = calloc(1, sizeof(*n));
sbin/ipf/ipnat/ipnat_y.y
1598
n = calloc(1, sizeof(*n));
sbin/ipf/ipnat/ipnat_y.y
1617
n = calloc(1, sizeof(*n));
sbin/ipf/ipnat/ipnat_y.y
1637
pr = calloc(1, sizeof(*pr));
sbin/ipf/ippool/ippool_y.y
263
| addrmask next grouplist { $$ = calloc(1, sizeof(iphtent_t));
sbin/ipf/ippool/ippool_y.y
270
| addrmask next { $$ = calloc(1, sizeof(iphtent_t));
sbin/ipf/ippool/ippool_y.y
292
addrmask ',' setgroup { $$ = calloc(1, sizeof(iphtent_t));
sbin/ipf/ippool/ippool_y.y
307
range: addrmask { $$ = calloc(1, sizeof(*$$));
sbin/ipf/ippool/ippool_y.y
320
| '!' addrmask { $$ = calloc(1, sizeof(*$$));
sbin/ipf/ippool/ippool_y.y
348
addrmask { $$ = calloc(1, sizeof(iphtent_t));
sbin/ipf/ippool/ippool_y.y
544
$$ = calloc(1, size);
sbin/ipf/ippool/ippool_y.y
554
| ipaddr { $$ = calloc(1, sizeof(*$$));
sbin/ipf/ippool/ippool_y.y
684
hlist = calloc(1, sizeof(*hlist));
sbin/ipf/ippool/ippool_y.y
697
h = calloc(1, sizeof(*h));
sbin/ipf/ippool/ippool_y.y
729
hlist = calloc(1, sizeof(*hlist));
sbin/ipf/ippool/ippool_y.y
742
p = calloc(1, sizeof(*p));
sbin/ipf/ippool/ippool_y.y
790
ipn = calloc(1, sizeof(*ipn));
sbin/ipf/ipsend/ip.c
53
ethbuf = (char *)calloc(1, 65536+1024);
sbin/ipf/ipsend/ipsend.c
178
ip = (ip_t *)calloc(1, 65536);
sbin/ipf/ipsend/iptest.c
75
ip = (ip_t *)calloc(1, 65536);
sbin/ipf/ipsend/sock.c
188
o = (struct file **)calloc(fd->fd_lastfile + 1, sizeof(*o));
sbin/ipf/ipsend/sock.c
195
f = (struct file *)calloc(1, sizeof(*f));
sbin/ipf/ipsend/sock.c
203
s = (struct socket *)calloc(1, sizeof(*s));
sbin/ipf/ipsend/sock.c
211
i = (struct inpcb *)calloc(1, sizeof(*i));
sbin/ipf/ipsend/sock.c
219
t = (struct tcpcb *)calloc(1, sizeof(*t));
sbin/ipf/libipf/alist_new.c
29
al = calloc(1, sizeof(*al));
sbin/ipf/libipf/load_dstlistnode.c
28
dst = calloc(1, sizeof(*dst) + node->ipfd_dest.fd_name);
sbin/ipf/libipf/load_hash.c
70
iph.iph_table = calloc(size, sizeof(*iph.iph_table));
sbin/ipf/libipf/parseipfexpr.c
120
oplist = calloc(asize + 2, sizeof(int));
sbin/ipf/libipf/printdstl_live.c
28
entry = calloc(1, sizeof(*entry) + 64);
sbin/ipf/libipf/printdstl_live.c
31
zero = calloc(1, sizeof(*zero) + 64);
sbin/ipf/libipf/printdstlist.c
37
n = calloc(1, node->ipfd_size);
sbin/ipf/libipf/printdstlistnode.c
24
np = calloc(1, node.ipfd_size);
sbin/ipf/libipf/save_execute.c
29
ctx = calloc(1, sizeof(*ctx));
sbin/ipf/libipf/save_file.c
34
ctx = calloc(1, sizeof(*ctx));
sbin/ipf/libipf/save_nothing.c
34
ctx = calloc(1, sizeof(void *));
sbin/ipf/libipf/save_syslog.c
34
ctx = calloc(1, sizeof(*ctx));
sbin/ipf/libipf/save_v1trap.c
120
ctx = calloc(1, sizeof(*ctx));
sbin/ipf/libipf/save_v2trap.c
123
ctx = calloc(1, sizeof(*ctx));
sbin/ipfw/ipfw2.c
1620
state->printed = calloc(rule->cmd_len, sizeof(uint8_t));
sbin/ipfw/ipfw2.c
3218
if ((cfg = calloc(1, sz)) == NULL)
sbin/ipfw/ipfw2.c
481
if ((b->buf = calloc(1, size)) == NULL)
sbin/ipfw/ipfw2.c
585
void *ret = calloc(number, size);
sbin/ipfw/ipfw2.c
5910
if ((tbuf = calloc(1, sz)) == NULL)
sbin/ipfw/ipfw2.c
6111
if ((olh = calloc(1, sz)) == NULL)
sbin/ipfw/ipfw2.c
6316
if ((olh = calloc(1, sz)) == NULL)
sbin/ipfw/nat.c
1088
if ((olh = calloc(1, sz)) == NULL)
sbin/ipfw/nat.c
1128
if ((oh = calloc(1, sz)) == NULL)
sbin/ipfw/nat64clat.c
372
oh = calloc(1, sz);
sbin/ipfw/nat64clat.c
509
if ((olh = calloc(1, sz)) == NULL)
sbin/ipfw/nat64lsn.c
175
if ((buf = calloc(1, sz)) == NULL)
sbin/ipfw/nat64lsn.c
701
oh = calloc(1, sz);
sbin/ipfw/nat64lsn.c
874
if ((olh = calloc(1, sz)) == NULL)
sbin/ipfw/nat64stl.c
388
oh = calloc(1, sz);
sbin/ipfw/nat64stl.c
525
if ((olh = calloc(1, sz)) == NULL)
sbin/ipfw/nptv6.c
311
oh = calloc(1, sz);
sbin/ipfw/nptv6.c
429
if ((olh = calloc(1, sz)) == NULL)
sbin/ipfw/tables.c
1715
if ((olh = calloc(1, sz)) == NULL)
sbin/ipfw/tables.c
1766
if ((oh = calloc(1, sz)) == NULL)
sbin/ipfw/tables.c
1986
if ((olh = calloc(1, sz)) == NULL)
sbin/ipfw/tables.c
912
if ((pbuf = calloc(1, sizeof(*oh) + sz)) == NULL)
sbin/ipfw/tables.c
984
if ((tent_buf = calloc(count, sizeof(tent))) == NULL)
sbin/md5/md5.c
595
argv = calloc(numrecs + 1, sizeof(char *));
sbin/mount_fusefs/mount_fusefs.c
397
bgdaemon = calloc(1, len);
sbin/natd/natd.c
2014
ip = calloc(1, sizeof(*ip));
sbin/newfs/mkfs.c
449
fscs = (struct csum *)calloc(1, sblock.fs_cssize);
sbin/newfs/mkfs.c
590
if ((iobuf = calloc(1, iobufsize)) == 0) {
sbin/nvmecontrol/connect.c
93
io = calloc(opt.num_io_queues, sizeof(*io));
sbin/nvmecontrol/reconnect.c
75
io = calloc(num_io_queues, sizeof(*io));
sbin/pfctl/parse.y
1230
loadanchor = calloc(1, sizeof(struct loadanchors));
sbin/pfctl/parse.y
1632
j = calloc(1, sizeof(struct node_if));
sbin/pfctl/parse.y
1643
h = calloc(1, sizeof(*h));
sbin/pfctl/parse.y
1857
if (!(ti = calloc(1, sizeof(*ti))))
sbin/pfctl/parse.y
1867
if (!(ti = calloc(1, sizeof(*ti))))
sbin/pfctl/parse.y
2374
$$ = calloc(1, sizeof(struct node_queue));
sbin/pfctl/parse.y
2406
stlim = calloc(1, sizeof(*stlim));
sbin/pfctl/parse.y
2563
srlim = calloc(1, sizeof(*srlim));
sbin/pfctl/parse.y
3760
$$ = calloc(1, sizeof(struct node_if));
sbin/pfctl/parse.y
3780
$$ = calloc(1, sizeof(struct node_if));
sbin/pfctl/parse.y
3816
$$ = calloc(1, sizeof(struct node_proto));
sbin/pfctl/parse.y
3866
$$ = calloc(1, sizeof(struct node_proto));
sbin/pfctl/parse.y
4011
$$ = calloc(1, sizeof(struct node_os));
sbin/pfctl/parse.y
4099
$$ = calloc(1, sizeof(struct node_host));
sbin/pfctl/parse.y
4108
$$ = calloc(1, sizeof(struct node_host));
sbin/pfctl/parse.y
4212
$$ = calloc(1, sizeof(struct node_host));
sbin/pfctl/parse.y
4273
$$ = calloc(1, sizeof(struct node_host));
sbin/pfctl/parse.y
4307
$$ = calloc(1, sizeof(struct node_port));
sbin/pfctl/parse.y
4330
$$ = calloc(1, sizeof(struct node_port));
sbin/pfctl/parse.y
4349
$$ = calloc(1, sizeof(struct node_port));
sbin/pfctl/parse.y
4395
$$ = calloc(1, sizeof(struct node_uid));
sbin/pfctl/parse.y
4410
$$ = calloc(1, sizeof(struct node_uid));
sbin/pfctl/parse.y
4425
$$ = calloc(1, sizeof(struct node_uid));
sbin/pfctl/parse.y
4473
$$ = calloc(1, sizeof(struct node_gid));
sbin/pfctl/parse.y
4488
$$ = calloc(1, sizeof(struct node_gid));
sbin/pfctl/parse.y
4503
$$ = calloc(1, sizeof(struct node_gid));
sbin/pfctl/parse.y
4579
$$ = calloc(1, sizeof(struct node_icmp));
sbin/pfctl/parse.y
4598
$$ = calloc(1, sizeof(struct node_icmp));
sbin/pfctl/parse.y
4612
$$ = calloc(1, sizeof(struct node_icmp));
sbin/pfctl/parse.y
4624
$$ = calloc(1, sizeof(struct node_icmp));
sbin/pfctl/parse.y
4643
$$ = calloc(1, sizeof(struct node_icmp));
sbin/pfctl/parse.y
4657
$$ = calloc(1, sizeof(struct node_icmp));
sbin/pfctl/parse.y
4793
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
4802
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
4814
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
4827
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
4841
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
4856
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
4873
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
4882
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
4891
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
4900
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
4908
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
4916
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
4944
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
5009
$$ = calloc(1, sizeof(struct redirspec));
sbin/pfctl/parse.y
5021
$$ = calloc(1, sizeof(struct redirspec));
sbin/pfctl/parse.y
5038
$$ = calloc(1, sizeof(struct redirspec));
sbin/pfctl/parse.y
5048
$$ = calloc(1, sizeof(struct pf_poolhashkey));
sbin/pfctl/parse.y
5065
$$ = calloc(1, sizeof(struct pf_poolhashkey));
sbin/pfctl/parse.y
5080
$$ = calloc(1, sizeof(struct pf_poolhashkey));
sbin/pfctl/parse.y
5203
$$ = calloc(1, sizeof(struct redirspec));
sbin/pfctl/parse.y
5210
$$ = calloc(1, sizeof(struct redirspec));
sbin/pfctl/parse.y
5512
pa = calloc(1, sizeof(struct pfctl_pooladdr));
sbin/pfctl/parse.y
5547
$$ = calloc(1, sizeof(struct node_host));
sbin/pfctl/parse.y
5975
ukt = calloc(1, sizeof(struct pfr_uktable));
sbin/pfctl/parse.y
6053
r = calloc(1, sizeof(T)); \
sbin/pfctl/parse.y
6073
if ((tmp = calloc(1, len)) == NULL)
sbin/pfctl/parse.y
6307
n = calloc(1, sizeof(struct node_queue));
sbin/pfctl/parse.y
6423
n = calloc(1,
sbin/pfctl/parse.y
6687
pa = calloc(1, sizeof(struct pfctl_pooladdr));
sbin/pfctl/parse.y
6790
if ((rdr_src_host = calloc(1, sizeof(*rdr_src_host))) == NULL)
sbin/pfctl/parse.y
6797
if (((*rdr_dst_host) = calloc(1, sizeof(**rdr_dst_host))) == NULL)
sbin/pfctl/parse.y
6805
if (((*rdr_redirspec) = calloc(1, sizeof(**rdr_redirspec))) == NULL)
sbin/pfctl/parse.y
7603
if ((nfile = calloc(1, sizeof(struct file))) == NULL ||
sbin/pfctl/parse.y
7722
if ((sym = calloc(1, sizeof(*sym))) == NULL)
sbin/pfctl/parse.y
8160
m = calloc(1, sizeof(struct node_mac));
sbin/pfctl/parse.y
8377
if ((r->anchor = calloc(1, sizeof(*r->anchor))) == NULL) {
sbin/pfctl/pf_ruleset.c
61
#define rs_malloc(x) calloc(1, x)
sbin/pfctl/pfctl.c
1130
pa = calloc(1, sizeof(struct pfctl_pooladdr));
sbin/pfctl/pfctl.c
1517
if ((npath = calloc(1, MAXPATHLEN)) == NULL)
sbin/pfctl/pfctl.c
1632
if ((npath = calloc(1, MAXPATHLEN)) == NULL)
sbin/pfctl/pfctl.c
1852
if ((npath = calloc(1, MAXPATHLEN)) == NULL)
sbin/pfctl/pfctl.c
2175
if ((rule = calloc(1, sizeof(*rule))) == NULL)
sbin/pfctl/pfctl.c
2202
if ((r->anchor = calloc(1, sizeof(*r->anchor))) == NULL)
sbin/pfctl/pfctl.c
2221
if ((rule = calloc(1, sizeof(*rule))) == NULL)
sbin/pfctl/pfctl.c
2696
if ((path = calloc(1, MAXPATHLEN)) == NULL)
sbin/pfctl/pfctl.c
2713
if ((pf.anchor = calloc(1, sizeof(*pf.anchor))) == NULL)
sbin/pfctl/pfctl.c
2735
if ((pf.eanchor = calloc(1, sizeof(*pf.eanchor))) == NULL)
sbin/pfctl/pfctl.c
3895
if ((path = calloc(1, MAXPATHLEN)) == NULL)
sbin/pfctl/pfctl_altq.c
1137
if ((new = calloc(1, sizeof(struct segment))) == NULL)
sbin/pfctl/pfctl_optimize.c
1241
if ((*tbl = calloc(1, sizeof(**tbl))) == NULL ||
sbin/pfctl/pfctl_optimize.c
1242
((*tbl)->pt_buf = calloc(1, sizeof(*(*tbl)->pt_buf))) ==
sbin/pfctl/pfctl_optimize.c
1272
if ((ti = calloc(1, sizeof(*ti))) == NULL)
sbin/pfctl/pfctl_optimize.c
1358
if ((block = calloc(1, sizeof(*block))) == NULL) {
sbin/pfctl/pfctl_optimize.c
297
if ((por = calloc(1, sizeof(*por))) == NULL)
sbin/pfctl/pfctl_optimize.c
343
if ((r = calloc(1, sizeof(*r))) == NULL)
sbin/pfctl/pfctl_optimize.c
678
if ((skiplist = calloc(1, sizeof(*skiplist))) ==
sbin/pfctl/pfctl_optimize.c
771
if ((newblock = calloc(1, sizeof(*newblock)))
sbin/pfctl/pfctl_optimize.c
909
if ((por = calloc(1, sizeof(*por))) == NULL) {
sbin/pfctl/pfctl_osfp.c
702
nm_entry = calloc(1, sizeof(*nm_entry));
sbin/pfctl/pfctl_parser.c
1478
if ((n = calloc(1, sizeof(*n))) == NULL)
sbin/pfctl/pfctl_parser.c
1518
(struct ifg_req *)calloc(len / sizeof(struct ifg_req),
sbin/pfctl/pfctl_parser.c
1576
n = calloc(1, sizeof(struct node_host));
sbin/pfctl/pfctl_parser.c
1728
if ((n = calloc(1, sizeof(*n))) == NULL)
sbin/pfctl/pfctl_parser.c
1758
if ((ifgr.ifgr_groups = calloc(1, len)) == NULL)
sbin/pfctl/pfctl_parser.c
1826
n = calloc(1, sizeof(struct node_host));
sbin/pfctl/pfctl_parser.c
1964
h = calloc(1, sizeof(*h));
sbin/pfctl/pfctl_parser.c
2036
n = calloc(1, sizeof(struct node_host));
sbin/pfctl/pfctl_qstats.c
218
node = calloc(1, sizeof(struct pf_altq_node));
sbin/pfilctl/pfilctl.c
112
plh.pio_heads = calloc(plh.pio_nheads, sizeof(struct pfilioc_head));
sbin/pfilctl/pfilctl.c
115
plh.pio_hooks = calloc(plh.pio_nhooks, sizeof(struct pfilioc_hook));
sbin/pfilctl/pfilctl.c
156
plh.pio_hooks = calloc(plh.pio_nhooks, sizeof(struct pfilioc_hook));
sbin/quotacheck/quotacheck.c
548
if ((fup = calloc(1, sizeof(*fup) + len)) == NULL)
sbin/rcorder/ealloc.c
116
if ((ptr = calloc(nmemb, size)) == NULL)
sbin/recoverdisk/recoverdisk.c
93
pp = calloc(1UL, sizeof(*pp));
sbin/restore/dirs.c
733
itp = calloc(1, sizeof(struct inotab));
sbin/restore/symtab.c
223
np = (struct entry *)calloc(1, sizeof(struct entry));
sbin/restore/symtab.c
532
entry = calloc((unsigned)entrytblsize, sizeof(struct entry *));
sbin/restore/symtab.c
548
base = calloc(sizeof(char), (unsigned)tblsize);
sbin/restore/tape.c
279
map = calloc((unsigned)1, (unsigned)howmany(maxino, NBBY));
sbin/restore/tape.c
289
map = calloc((unsigned)1, (unsigned)howmany(maxino, NBBY));
sbin/route/route.c
344
fl = calloc(1, sizeof(*fl));
sbin/route/route.c
367
str = calloc(1, ALLSTRLEN);
sbin/route/route.c
377
str0 = str = calloc(1, ALLSTRLEN);
sbin/route/route.c
405
fl = calloc(1, sizeof(*fl));
sbin/savecore/savecore.c
1191
dumpkey = calloc(1, dumpkeysize);
sbin/umount/umount.c
499
if ((mntcheck = calloc(mntsize + 1, sizeof(int))) == NULL)
share/examples/ses/srcs/getencstat.c
132
objp = calloc(nobj, sizeof (encioc_element_t));
share/examples/ses/srcs/getencstat.c
153
objd.elm_desc_str = calloc(UINT16_MAX, sizeof(char));
share/examples/ses/srcs/getencstat.c
167
objdn.elm_devnames = calloc(128, sizeof(char));
share/examples/ses/srcs/getobjmap.c
68
objp = calloc(nobj, sizeof (ses_object));
stand/common/gfx_fb.c
2458
if ((fp = calloc(1, sizeof(struct vt_font))) == NULL)
stand/common/gfx_fb.c
2509
if ((fp = calloc(1, sizeof(struct vt_font))) == NULL) {
stand/common/gfx_fb.c
2710
fp = calloc(sizeof(*fp), 1);
stand/common/gfx_fb.c
2715
fp->font_data = calloc(sizeof(*fp->font_data), 1);
stand/common/install.c
84
*what = calloc(count + 1, sizeof(char *));
stand/common/interp.c
115
argvbuf = (char**) calloc((u_int)argc, sizeof(char*));
stand/common/module.c
1559
mp = calloc(1, sizeof(struct kernel_module));
stand/common/module.c
1613
return (calloc(1, sizeof(struct preloaded_file)));
stand/common/vdisk.c
126
vd = calloc(1, sizeof (*vd));
stand/efi/libefi/eficom.c
284
comc_port = calloc(1, sizeof (struct serial));
stand/efi/libefi/efihttp.c
285
oh = calloc(1, sizeof(struct open_efihttp));
stand/efi/libefi/efihttp.c
404
fh = calloc(1, sizeof(struct file_efihttp));
stand/efi/libefi/efihttp.c
469
request.Url = calloc(strlen(oh->uri_base) + strlen(path) + 1, 2);
stand/efi/libefi/efinet.c
412
efinetif.netif_ifs = calloc(nifs, sizeof(struct netif_dif));
stand/efi/libefi/efinet.c
413
stats = calloc(nifs, sizeof(struct netif_stats));
stand/efi/libefi/efipart.c
400
if ((pd = calloc(1, sizeof(*pd))) == NULL) {
stand/efi/loader/framebuffer.c
198
data1 = calloc(maxcount, 2);
stand/efi/loader/framebuffer.c
538
edid_infop = calloc(1, size);
stand/i386/libi386/biosdisk.c
310
if ((bd = calloc(1, sizeof(*bd))) == NULL)
stand/i386/libi386/biosdisk.c
348
if ((bd = calloc(1, sizeof(*bd))) == NULL)
stand/i386/libi386/biosdisk.c
455
if ((bd = calloc(1, sizeof(*bd))) == NULL)
stand/i386/libi386/bootinfo32.c
91
bi = calloc(sizeof(*bi), 1);
stand/i386/libi386/vidconsole.c
637
pe8 = calloc(sizeof(*pe8), NCMAP);
stand/kboot/kboot/hostdisk.c
129
if ((md = calloc(1, sizeof(*md))) == NULL)
stand/kboot/kboot/hostdisk.c
179
if ((hd = calloc(1, sizeof(*hd))) == NULL)
stand/kboot/kboot/hostdisk.c
261
if ((hd = calloc(1, sizeof(*hd))) == NULL)
stand/libsa/cd9660.c
685
mnt = calloc(1, sizeof(*mnt));
stand/libsa/dosfs.c
277
mnt = calloc(1, sizeof(*mnt));
stand/libsa/dosfs.c
363
if ((fs = calloc(1, sizeof(DOS_FS))) == NULL)
stand/libsa/dosfs.c
389
if ((f = calloc(1, sizeof(DOS_FILE))) == NULL) {
stand/libsa/ip.c
146
if ((ipq = calloc(1, sizeof(*ipq))) == NULL)
stand/libsa/ip.c
278
if ((ipr = calloc(1, sizeof(*ipr))) == NULL) {
stand/libsa/netif.c
322
s = calloc(1, sizeof (*s));
stand/libsa/open.c
114
f = calloc(1, sizeof (*f));
stand/libsa/stand.h
489
extern void *calloc(size_t, size_t);
stand/libsa/tftp.c
492
handles[x] = tftpfile = calloc(1, sizeof(*tftpfile));
stand/libsa/ufs.c
515
fp = calloc(1, sizeof(struct file));
stand/libsa/ufs.c
916
mnt = calloc(1, sizeof(*mnt));
stand/libsa/zfs/nvlist.c
380
nvl = calloc(1, sizeof(*nvl));
stand/libsa/zfs/nvlist.c
388
nvs = calloc(1, nvl->nv_asize);
stand/libsa/zfs/nvlist.c
856
nv = calloc(1, sizeof(*nv));
stand/libsa/zfs/nvlist.c
951
nvlist = calloc(nvp_data->nv_nelem,
stand/libsa/zfs/zfs.c
118
fp = calloc(1, sizeof(struct file));
stand/libsa/zfs/zfs.c
407
mnt = calloc(1, sizeof(*mnt));
stand/libsa/zfs/zfsimpl.c
1420
if ((spa = calloc(1, sizeof(spa_t))) == NULL)
stand/libsa/zfs/zfsimpl.c
1784
be = calloc(1, sizeof(*be));
stand/libsa/zfs/zfsimpl.c
294
vim = calloc(1, sizeof (*vim));
stand/libsa/zfs/zfsimpl.c
298
vim->vim_dn = calloc(1, sizeof (*vim->vim_dn));
stand/libsa/zfs/zfsimpl.c
703
iv = calloc(1, sizeof(*iv));
stand/libsa/zfs/zfsimpl.c
872
vdev = calloc(1, sizeof(vdev_t));
stand/userboot/test/test.c
128
tf = calloc(1, sizeof(struct test_file));
sys/amd64/amd64/bpf_jit_machdep.c
187
stream.refs = calloc(nins + 1, sizeof(u_int));
sys/cddl/boot/zfs/blake3_zfs.c
80
ctx = calloc(1, sizeof(*ctx));
sys/cddl/boot/zfs/gzip.c
38
return (calloc(items, size));
sys/cddl/compat/opensolaris/sys/kmem.h
78
void *calloc(size_t n, size_t s);
sys/dev/bhnd/nvram/bhnd_nvram_private.h
152
#define bhnd_nv_calloc(n, size) calloc((n), (size))
sys/dev/random/unit_test.c
76
return (calloc(n, m));
sys/i386/i386/bpf_jit_machdep.c
189
stream.refs = calloc(nins + 1, sizeof(u_int));
sys/kern/subr_blist.c
117
#define malloc(a,b,c) calloc(a, 1)
sys/kern/subr_sbuf.c
60
#define SBMALLOC(size, flags) calloc(1, size)
sys/kern/subr_unit.c
125
return (calloc(foo, 1));
sys/kern/subr_unit.c
1316
a = calloc(count, sizeof(char));
sys/net/netmap_user.h
424
curr = calloc(1, sizeof(*curr));
sys/net/netmap_user.h
844
d = (struct nm_desc *)calloc(1, sizeof(*d));
sys/net/radix.h
153
#define R_Zalloc(p, t, n) (p = (t) calloc(1,(unsigned int)(n)))
sys/netinet/libalias/alias_db.c
2184
la = calloc(1, sizeof *la);
sys/netinet/libalias/alias_sctp.c
195
#define sn_calloc(n, x) calloc(n, x)
sys/netlink/netlink_snl.h
82
struct linear_buffer *lb = (struct linear_buffer *)calloc(1, size);
sys/netpfil/ipfilter/netinet/radix_ipf.c
1369
stp = calloc(1, sizeof(*stp));
sys/netpfil/ipfilter/netinet/radix_ipf.c
1433
order = calloc(nitems, sizeof(*order));
sys/netpfil/ipfw/test/main.c
548
c->sched = calloc(1, c->schk_len); /* one parent scheduler */
sys/netpfil/ipfw/test/main.c
549
c->si = calloc(1, c->si_len); /* one scheduler instance */
sys/netpfil/ipfw/test/main.c
550
c->fs = calloc(c->flowsets, sizeof(struct dn_fsk));
sys/netpfil/ipfw/test/main.c
551
c->q = calloc(c->flows, c->q_len); /* one queue per flow */
sys/netpfil/ipfw/test/main.c
552
c->q_wfi = calloc(c->flows, sizeof(double)); /* stats, one per flow */
sys/netpfil/ipfw/test/main.c
722
m = c->tosend = calloc(1, sizeof(struct mbuf));
sys/rpc/types.h
68
#define mem_alloc(bsize) calloc(1, bsize)
sys/sys/bitstring.h
125
return ((bitstr_t *)calloc(bitstr_size(_nbits), 1));
sys/sys/buf_ring.h
372
br = calloc(1, sizeof(struct buf_ring) + count * sizeof(void *));
tests/sys/aio/aio_kqueue_test.c
105
iocb[i] = (struct aiocb *)calloc(1,
tests/sys/aio/aio_kqueue_test.c
78
iocb = calloc(max_queue_per_proc, sizeof(struct aiocb*));
tests/sys/aio/aio_test.c
1832
iov = calloc(max_buf_aio + 1, sizeof(struct iovec));
tests/sys/aio/lio_kqueue_test.c
109
calloc(1, sizeof(struct aiocb));
tests/sys/aio/lio_test.c
86
buffer = calloc(1, 4096);
tests/sys/aio/lio_test.c
94
aiocbs[i] = calloc(ios_per_call, sizeof(struct aiocb));
tests/sys/aio/lio_test.c
96
list[i] = calloc(ios_per_call, sizeof(struct aiocb*));
tests/sys/cam/ctl/prout_register_huge_cdb.c
60
io = calloc(1, sizeof(*io));
tests/sys/cddl/zfs/bin/file_trunc.c
174
buf = (char *)calloc(1, bsize);
tests/sys/cddl/zfs/bin/file_trunc.c
175
rbuf = (char *)calloc(1, bsize);
tests/sys/cddl/zfs/bin/readmmap.c
67
if ((buf = calloc(1, size)) == NULL) {
tests/sys/kern/ktls_test.c
1881
outbuf = calloc(1, outbuf_len);
tests/sys/kern/unix_passfd_test.c
716
buf = calloc(1, sendspace);
tests/sys/kqueue/libkqueue/main.c
117
if ((buf = calloc(1, 1024)) == NULL)
tests/sys/kqueue/libkqueue/main.c
167
if ((buf = calloc(1, 1024)) == NULL)
tests/sys/kqueue/libkqueue/main.c
76
if ((kev = calloc(1, sizeof(*kev))) == NULL)
tests/sys/kqueue/libkqueue/main.c
94
if ((kev = calloc(1, sizeof(*kev))) == NULL)
tests/sys/net/routing/rtsock_config.h
136
c->ifnames = calloc(co->num_interfaces, sizeof(char *));
tests/sys/net/routing/rtsock_config.h
74
c = calloc(1, sizeof(struct rtsock_test_config));
tests/sys/netgraph/util.c
141
ATF_REQUIRE(NULL != (p = calloc(1, sizeof(struct data_handler))));
tests/sys/netinet/libalias/2_natout.c
266
batch = calloc(batch_size, sizeof(*batch));
tests/sys/netinet/libalias/perf.c
133
if (NULL == (batch = calloc(batch_size, sizeof(*batch)))) {
tests/sys/netinet/libalias/util.c
98
p = calloc(1, len);
tests/sys/netinet/so_reuseport_lb_test.c
67
acceptcnt = calloc(nsds, sizeof(*acceptcnt));
tests/sys/netmap/ctrl-api-test.c
114
av = calloc(argc, sizeof(av[0]));
tests/sys/netmap/ctrl-api-test.c
1431
evopt = calloc(1, opt_size);
tests/sys/posixshm/posixshm_test.c
1253
zeroes = calloc(1, ps[0]);
tests/sys/posixshm/posixshm_test.c
1346
buf = calloc(1, ps[0]);
tests/sys/posixshm/posixshm_test.c
1351
buf = calloc(1, ps[1]);
tests/sys/ses/destructive.c
165
map = calloc(nobj, sizeof(encioc_element_t));
tests/sys/ses/destructive.c
79
map = calloc(nobj, sizeof(encioc_element_t));
tests/sys/ses/nondestructive.c
141
namebuf = calloc(namesize, sizeof(char));
tests/sys/ses/nondestructive.c
143
map = calloc(nobj, sizeof(encioc_element_t));
tests/sys/ses/nondestructive.c
260
map = calloc(nobj, sizeof(encioc_element_t));
tests/sys/ses/nondestructive.c
339
map = calloc(nobj, sizeof(encioc_element_t));
tests/sys/ses/nondestructive.c
55
actual = calloc(UINT16_MAX, sizeof(char));
tests/sys/sys/arb_test.c
68
root = (struct tree *)calloc(1, ARB_ALLOCSIZE(root, ITER, tmp));
tools/bus_space/busdma.c
88
obj = calloc(1, sizeof(struct obj));
tools/regression/aio/aiop/aiop.c
190
aio = calloc(aio_len, sizeof(struct aiocb));
tools/regression/aio/aiop/aiop.c
191
abuf = calloc(aio_len, sizeof(char *));
tools/regression/aio/aiop/aiop.c
193
abuf[i] = calloc(1, io_size * sizeof(char));
tools/regression/doat/doat.c
106
tests = calloc(NUM_OF_TESTS + 1, sizeof(struct test));
tools/regression/environ/envctl.c
154
environ = calloc(1, sizeof(*environ));
tools/regression/gaithrstress/gaithrstress.c
163
randwords = calloc(nrandwords, sizeof(char *));
tools/regression/gaithrstress/gaithrstress.c
232
workers = calloc(nworkers, sizeof(*workers));
tools/regression/geom/ConfCmp/ConfCmp.c
179
mt = calloc(1, sizeof *mt);
tools/regression/geom/ConfCmp/ConfCmp.c
265
r = calloc(1, sizeof(*r));
tools/regression/geom/ConfCmp/ConfCmp.c
82
np = calloc(1, sizeof *np);
tools/regression/geom/MdLoad/MdLoad.c
100
sc->sp = calloc(1, sizeof(*sc->sp) + sc->sectorsize);
tools/regression/geom/MdLoad/MdLoad.c
208
sc = calloc(1, sizeof *sc);
tools/regression/geom_gpt/gctl_test_helper.c
87
*value = calloc(*len, sizeof(char));
tools/regression/netinet/ipmulticast/ipmulticast.c
511
ipv4_sources = calloc(nmcastsources,
tools/regression/netinet/ipmulticast/ipmulticast.c
518
ss_sources = calloc(nmcastsources,
tools/test/arc4random/biastest.c
74
sample = calloc(threshold, 1);
tools/test/buf_ring/buf_ring_test.c
126
max_vals = calloc(prod_count, sizeof(*max_vals));
tools/test/buf_ring/buf_ring_test.c
284
mt_seen = calloc(entries / (sizeof(*mt_seen) * NBBY),
tools/test/buf_ring/buf_ring_test.c
297
prod = calloc(prod_count, sizeof(*prod));
tools/test/ptrace/scescx.c
192
args = calloc(lwpinfo->pl_syscall_narg, sizeof(long));
tools/test/stress2/lib/main.c
207
r = (pid_t *)calloc(1, op->incarnations * sizeof(pid_t));
tools/test/stress2/testcases/openat/doat.c
101
tests = calloc(NUM_OF_TESTS, sizeof(struct test));
tools/test/stress2/testcases/udp/udp.c
94
if ((buf = calloc(1, bufsize)) == NULL)
tools/test/stress2/tools/bench.c
237
buf = calloc(1, siz);
tools/test/stress2/tools/fstool.c
224
if ((buffer = calloc(1, fs)) == NULL)
tools/tools/ath/ath_ee_9287_print/main.c
53
eep = calloc(4096, sizeof(int16_t));
tools/tools/ath/ath_ee_9300_print/main.c
478
eep = calloc(4096, sizeof(int16_t));
tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
439
eep = calloc(4096, sizeof(int16_t));
tools/tools/ath/ath_ee_v4k_print/main.c
53
eep = calloc(4096, sizeof(int16_t));
tools/tools/ath/athaggrstats/athaggrstats.c
373
wf = calloc(1, sizeof(struct athaggrstatfoo_p));
tools/tools/ath/athrd/athrd.c
1628
return calloc(1, size);
tools/tools/ath/athregs/dumpregs.c
330
keyregs = (struct dumpreg *) calloc(nslots, 8*sizeof(struct dumpreg));
tools/tools/ath/athregs/dumpregs.c
357
bbregs = (struct dumpreg *) calloc(nregs, sizeof(struct dumpreg));
tools/tools/ath/athstats/athstats.c
1097
wf = calloc(1, sizeof(struct athstatfoo_p));
tools/tools/crypto/cryptocheck.c
294
eta = calloc(1, sizeof(*eta));
tools/tools/cxgbtool/cxgbtool.c
832
mr.buf = calloc(1, TCB_SIZE);
tools/tools/fib_multibind/sink.c
161
sc.fds = calloc(sc.nfibs, sizeof(int));
tools/tools/iwn/iwnstats/main.c
60
is = calloc(1, sizeof(struct iwnstats));
tools/tools/mwl/mwlstats/mwlstats.c
549
wf = calloc(1, sizeof(struct mwlstatfoo_p));
tools/tools/netmap/lb.c
219
pipe_prev = calloc(npipes, sizeof(struct my_ctrs));
tools/tools/netmap/lb.c
710
ports = calloc(npipes + 1, sizeof(struct port_des));
tools/tools/netmap/lb.c
728
counters_buf.ctrs = calloc(npipes, sizeof(struct my_ctrs));
tools/tools/netmap/lb.c
757
oq = calloc(npipes + 1, sizeof(struct overflow_queue));
tools/tools/netmap/lb.c
766
freeq->slots = calloc(extra_bufs, sizeof(struct netmap_slot));
tools/tools/netmap/lb.c
841
q->slots = calloc(extra_bufs, sizeof(struct netmap_slot));
tools/tools/netmap/nmreplay.c
1014
av = calloc(1, (l+1) + (ac + 2)*sizeof(char *));
tools/tools/netmap/nmreplay.c
1573
dst->arg = calloc(1, dst->arg_len);
tools/tools/netmap/nmreplay.c
1767
plr = calloc(1, dst->arg_len);
tools/tools/netmap/nmreplay.c
428
pf = calloc(1, sizeof(*pf));
tools/tools/netmap/nmreplay.c
762
q->buf = calloc(1, need);
tools/tools/netmap/pkt-gen.c
2274
seq_exp = calloc(nrings, sizeof(uint32_t));
tools/tools/netmap/pkt-gen.c
2621
targs = calloc(g->nthreads, sizeof(*targs));
tools/tools/netrate/netreceive/netreceive.c
130
char *m = calloc(1, lb + td_len * nt);
tools/tools/netrate/netreceive/netreceive.c
145
tp[i]->buf = calloc(1, tp[i]->buflen);
tools/tools/npe/npestats/npestats.c
254
wf = calloc(1, sizeof(struct npestatfoo_p));
tools/tools/nvmf/nvmfd/controller.c
231
c = calloc(1, sizeof(*c));
tools/tools/nvmf/nvmfd/devices.c
132
devices = calloc(ndevices, sizeof(*devices));
tools/tools/nvmf/nvmfd/devices.c
64
dev->mem = calloc(num, 1);
tools/tools/nvmf/nvmfd/discovery.c
193
dc->discovery_log = calloc(dc->discovery_log_len, 1);
tools/tools/nvmf/nvmfd/io.c
115
buf = calloc(1, len);
tools/tools/nvmf/nvmfd/io.c
221
ioc->io_qpairs = calloc(num_queues, sizeof(*ioc->io_qpairs));
tools/tools/nvmf/nvmfd/io.c
222
ioc->io_sockets = calloc(num_queues, sizeof(*ioc->io_sockets));
tools/tools/nvmf/nvmfd/io.c
498
ioc = calloc(1, sizeof(*ioc));
tools/tools/tscdrift/tscdrift.c
112
cpus = calloc(ncpu, sizeof(*cpus));
tools/tools/tscdrift/tscdrift.c
113
skew = calloc(ncpu, sizeof(*skew));
tools/tools/tscdrift/tscdrift.c
115
skew[i] = calloc(TESTS, sizeof(*skew[i]));
tools/tools/tscdrift/tscdrift.c
160
aveskew = calloc(ncpu, sizeof(*aveskew));
tools/tools/tscdrift/tscdrift.c
161
minskew = calloc(ncpu, sizeof(*minskew));
tools/tools/tscdrift/tscdrift.c
162
maxskew = calloc(ncpu, sizeof(*maxskew));
tools/tools/tscdrift/tscdrift.c
163
stddev = calloc(ncpu, sizeof(*stddev));
usr.bin/calendar/dates.c
105
py = (struct cal_year *)calloc(1, sizeof(struct cal_year));
usr.bin/calendar/dates.c
135
pm = (struct cal_month *)calloc(1, sizeof(struct cal_month));
usr.bin/calendar/dates.c
156
pd = (struct cal_day *)calloc(1, sizeof(struct cal_day));
usr.bin/calendar/events.c
161
e = (struct event *)calloc(1, sizeof(struct event));
usr.bin/calendar/io.c
622
extradata[i] = (char *)calloc(1, 20);
usr.bin/calendar/parsedata.c
490
yearinfo = (struct yearinfo *)calloc(1,
usr.bin/column/column.c
104
newsep = calloc(seplen + 1, sizeof(wchar_t));
usr.bin/column/column.c
235
if ((t = tbl = calloc(entries, sizeof(TBL))) == NULL)
usr.bin/column/column.c
237
if ((cols = calloc((maxcols = DEFCOLS), sizeof(*cols))) == NULL)
usr.bin/column/column.c
239
if ((lens = calloc(maxcols, sizeof(int))) == NULL)
usr.bin/column/column.c
267
if ((t->list = calloc(coloff, sizeof(*t->list))) == NULL)
usr.bin/column/column.c
269
if ((t->len = calloc(coloff, sizeof(int))) == NULL)
usr.bin/column/column.c
302
if ((list = calloc((maxentry = DEFNUM), sizeof(*list))) ==
usr.bin/compress/zopen.c
701
if ((zs = calloc(1, sizeof(struct s_zstate))) == NULL)
usr.bin/ctags/ctags.c
179
if ((regx = calloc(argc, sizeof(regex_t))) == NULL)
usr.bin/ctlstat/ctlstat.c
559
targdata.targets = calloc(targdata.ntargets, sizeof(char*));
usr.bin/diff/diffdir.c
73
(ino = calloc(1, sizeof(*ino))) == NULL ||
usr.bin/diff/diffreg_new.c
138
newlabel = calloc(newlabellen, sizeof(char));
usr.bin/diff/xmalloc.c
43
ptr = calloc(nmemb, size);
usr.bin/du/du.c
373
new_buckets = calloc(new_size, sizeof(struct links_entry *));
usr.bin/du/du.c
382
new_buckets = calloc(new_size, sizeof(new_buckets[0]));
usr.bin/du/du.c
501
ign = calloc(1, sizeof(*ign));
usr.bin/factor/factor.c
87
#define BN_new() ((BIGNUM *)calloc(sizeof(BIGNUM), 1))
usr.bin/finger/finger.c
273
(used = calloc(argc, sizeof(int))) == NULL)
usr.bin/fortune/fortune/fortune.c
1393
ppch = Fortune_path_arr = (char **)calloc(nstr, sizeof(char *));
usr.bin/fstat/fuser.c
326
cons = calloc(1, sizeof(struct consumer));
usr.bin/gcore/elfcore.c
414
iov.iov_base = calloc(1, iov.iov_len);
usr.bin/gcore/elfcore.c
607
ent = calloc(1, sizeof(*ent));
usr.bin/gcore/elfcore.c
640
psinfo = calloc(1, sizeof(*psinfo));
usr.bin/gcore/elfcore.c
696
xstate = calloc(1, info.xsave_len);
usr.bin/gcore/elfcore.c
723
vmx = calloc(1, sizeof(*vmx));
usr.bin/gcore/elfcore.c
747
vshr_data = calloc(1, sizeof(vshr));
usr.bin/gcore/elfcore.c
771
buf = calloc(1, sizeof(structsize) + len * 4 / 3);
usr.bin/gcore/elfcore.c
862
buf = calloc(1, sizeof(structsize) + structsize);
usr.bin/gprof/arcs.c
196
topsortnlp = (nltype **) calloc( nname , sizeof(nltype *) );
usr.bin/gprof/arcs.c
232
timesortnlp = (nltype **) calloc( nname + ncycle , sizeof(nltype *) );
usr.bin/gprof/arcs.c
372
cyclenl = (nltype *) calloc( ncycle + 1 , sizeof( nltype ) );
usr.bin/gprof/arcs.c
475
cyclestack = (arctype **) calloc( size + 1 , sizeof( arctype *) );
usr.bin/gprof/arcs.c
588
calloc( 1 , sizeof ( cltype ) + ( size - 1 ) * sizeof( arctype * ) );
usr.bin/gprof/arcs.c
73
arcp = (arctype *)calloc( 1 , sizeof *arcp );
usr.bin/gprof/elf.c
105
if ((nl = (nltype *)calloc(nname + 1, sizeof(nltype))) == NULL)
usr.bin/gprof/gprof.c
396
samples = (double *) calloc(nsamples, sizeof(double));
usr.bin/gprof/kernel.c
41
if ((nl = (nltype *)calloc(nname + 1, sizeof(nltype))) == NULL)
usr.bin/gprof/printgprof.c
55
sortednlp = (nltype **) calloc( nname , sizeof(nltype *) );
usr.bin/gprof/printgprof.c
707
namesortnlp = (nltype **) calloc( nname + ncycle , sizeof(nltype *) );
usr.bin/grep/util.c
693
if ((ptr = calloc(nmemb, size)) == NULL)
usr.bin/gzip/unpack.c
188
calloc(unpackd->treelevels, sizeof(*(unpackd->inodesin)));
usr.bin/gzip/unpack.c
190
calloc(unpackd->treelevels, sizeof(*(unpackd->symbolsin)));
usr.bin/gzip/unpack.c
192
calloc(unpackd->treelevels, (sizeof(*(unpackd->tree))));
usr.bin/gzip/unpack.c
214
unpackd->symbol_eob = unpackd->symbol = calloc(1, unpackd->symbol_size);
usr.bin/gzip/zuncompress.c
177
if ((zs = calloc(1, sizeof(struct s_zstate))) == NULL)
usr.bin/hexdump/display.c
240
if ((curp = calloc(1, blocksize)) == NULL)
usr.bin/hexdump/display.c
242
if ((savp = calloc(1, blocksize)) == NULL)
usr.bin/hexdump/parse.c
218
if ((pr = calloc(1, sizeof(PR))) == NULL)
usr.bin/hexdump/parse.c
78
if ((tfs = calloc(1, sizeof(FS))) == NULL)
usr.bin/hexdump/parse.c
95
if ((tfu = calloc(1, sizeof(FU))) == NULL)
usr.bin/iscsictl/iscsictl.c
114
name = calloc(1, namelen + 1);
usr.bin/iscsictl/iscsictl.c
56
conf = calloc(1, sizeof(*conf));
usr.bin/iscsictl/iscsictl.c
84
targ = calloc(1, sizeof(*targ));
usr.bin/localedef/charmap.c
264
if ((n = calloc(1, sizeof (*n))) == NULL) {
usr.bin/localedef/charmap.c
279
if ((n == NULL) && ((n = calloc(1, sizeof (*n))) == NULL)) {
usr.bin/localedef/collate.c
1042
if ((w = calloc(1, sizeof(*w))) == NULL) {
usr.bin/localedef/collate.c
1216
if ((st = calloc(n, sizeof(collate_subst_t))) == NULL) {
usr.bin/localedef/collate.c
1246
chain = calloc(chain_count, sizeof(collate_chain_t));
usr.bin/localedef/collate.c
1266
large = calloc(n, sizeof(collate_large_t));
usr.bin/localedef/collate.c
496
if ((sym = calloc(1, sizeof(*sym))) == NULL) {
usr.bin/localedef/collate.c
542
if (((ud = calloc(1, sizeof(*ud))) == NULL) ||
usr.bin/localedef/collate.c
567
if ((cc = calloc(1, sizeof(*cc))) == NULL) {
usr.bin/localedef/collate.c
799
if ((e = calloc(1, sizeof(*e))) == NULL) {
usr.bin/localedef/collate.c
934
if ((s = calloc(1, sizeof(*s))) == NULL) {
usr.bin/localedef/ctype.c
183
if ((ctn = calloc(1, sizeof (*ctn))) == NULL) {
usr.bin/logger/logger.c
323
sk = calloc(maxs, sizeof(*sk));
usr.bin/m4/misc.c
315
void *p = calloc(n, s);
usr.bin/mail/cmd2.c
465
igp = calloc(1, sizeof(struct ignore));
usr.bin/mail/cmd2.c
466
igp->i_field = calloc((unsigned)strlen(field) + 1,
usr.bin/mail/cmd3.c
469
if ((gh = calloc(1, sizeof(*gh))) == NULL)
usr.bin/mail/cmd3.c
484
if ((gp = calloc(1, sizeof(*gp))) == NULL)
usr.bin/mail/cmd3.c
714
if ((altnames = calloc((unsigned)c, sizeof(char *))) == NULL)
usr.bin/mail/cmd3.c
717
cp = calloc((unsigned)strlen(*ap) + 1, sizeof(char));
usr.bin/mail/lex.c
470
msgvec = calloc((unsigned)(sz + 1), sizeof(*msgvec));
usr.bin/mail/vars.c
53
if ((vp = calloc(1, sizeof(*vp))) == NULL)
usr.bin/ministat/ministat.c
152
ds = calloc(1, sizeof *ds);
usr.bin/ministat/ministat.c
155
ds->points = calloc(ds->lpoints, sizeof(*ds->points));
usr.bin/ministat/ministat.c
169
ds->points = calloc(ds->lpoints, sizeof(*ds->points));
usr.bin/ministat/ministat.c
358
pl->bar = calloc(pl->num_datasets, sizeof(char *));
usr.bin/mkimg/apm.c
70
buf = calloc(nparts + 2, secsz);
usr.bin/mkimg/gpt.c
195
tbl = calloc(tblsz, secsz);
usr.bin/mkimg/image.c
175
ptr = calloc(1, secsz);
usr.bin/mkimg/image.c
560
zeroes = calloc(1, secsz);
usr.bin/mkimg/mkimg.c
260
part = calloc(1, sizeof(struct part));
usr.bin/mkimg/qcow.c
176
hdr = calloc(1, clstrsz);
usr.bin/mkimg/qcow.c
217
l1tbl = calloc(clstr_l1tblsz, clstrsz);
usr.bin/mkimg/qcow.c
248
rctbl = calloc(clstr_rctblsz, clstrsz);
usr.bin/mkimg/qcow.c
298
rcblk = calloc(clstr_rcblks, clstrsz);
usr.bin/mkimg/vmdk.c
150
gd = calloc(1, gdsz);
usr.bin/mkimg/vmdk.c
162
rgd = calloc(1, gdsz);
usr.bin/mkimg/vmdk.c
184
gt = calloc(ngts, VMDK_NGTES * sizeof(uint32_t));
usr.bin/mkimg/vmdk.c
226
buf = calloc(1, VMDK_SECTOR_SIZE);
usr.bin/mkstr/mkstr.c
291
hp = (struct hash *) calloc(1, sizeof *hp);
usr.bin/netstat/netisr.c
232
proto_array = calloc(protocount, sizeof(*proto_array));
usr.bin/netstat/netisr.c
299
workstream_array = calloc(numthreads, sizeof(*workstream_array));
usr.bin/netstat/netisr.c
303
work_array = calloc(numthreads * proto_array_len, sizeof(*work_array));
usr.bin/netstat/nhgrp.c
225
nhg_map = calloc(nhg_size, sizeof(struct nhops_map));
usr.bin/netstat/nhops.c
368
nh_map = calloc(nh_size, sizeof(struct nhops_map));
usr.bin/newgrp/newgrp.c
278
if ((cleanenv = calloc(20, sizeof(char *))) == NULL)
usr.bin/sdiff/sdiff.c
231
if ((diffargv = calloc(argc, sizeof(char *) * 2)) == NULL)
usr.bin/sed/compile.c
319
if ((cmd->u.s = calloc(1, sizeof(struct s_subst))) == NULL)
usr.bin/sockstat/main.c
390
if ((sock = calloc(1, sizeof *sock)) == NULL)
usr.bin/sockstat/main.c
418
if ((laddr = calloc(1, sizeof(struct addr))) == NULL)
usr.bin/sockstat/main.c
453
calloc(1, sizeof(struct addr))) == NULL)
usr.bin/sockstat/main.c
464
if ((sock->faddr = calloc(1, sizeof(struct addr))) == NULL)
usr.bin/sockstat/main.c
491
if ((sock = calloc(1, sizeof *sock)) == NULL)
usr.bin/sockstat/main.c
520
laddr = calloc(1, sizeof(struct addr));
usr.bin/sockstat/main.c
565
faddr = calloc(1, sizeof(struct addr));
usr.bin/sockstat/main.c
737
if ((sock = calloc(1, sizeof(*sock))) == NULL)
usr.bin/sockstat/main.c
739
if ((laddr = calloc(1, sizeof *laddr)) == NULL)
usr.bin/sockstat/main.c
741
if ((faddr = calloc(1, sizeof *faddr)) == NULL)
usr.bin/sockstat/main.c
851
if ((sock = calloc(1, sizeof(*sock))) == NULL)
usr.bin/sockstat/main.c
853
if ((laddr = calloc(1, sizeof *laddr)) == NULL)
usr.bin/sockstat/main.c
855
if ((faddr = calloc(1, sizeof *faddr)) == NULL)
usr.bin/sockstat/sockstat.c
43
if ((ports = calloc(65536 / INT_BIT, sizeof(int))) == NULL)
usr.bin/sort/mem.c
42
if ((ptr = calloc(nb, size)) == NULL)
usr.bin/systat/devs.c
118
cur_dev.dinfo = calloc(1, sizeof(struct devinfo));
usr.bin/systat/devs.c
119
last_dev.dinfo = calloc(1, sizeof(struct devinfo));
usr.bin/systat/devs.c
120
run_dev.dinfo = calloc(1, sizeof(struct devinfo));
usr.bin/systat/ifstat.c
240
p = (struct if_stat *)calloc(1, sizeof(struct if_stat));
usr.bin/systat/main.c
94
cmd = calloc(1, sizeof(struct cmdentry));
usr.bin/systat/vmstat.c
208
intrloc = calloc(nintr, sizeof (long));
usr.bin/systat/vmstat.c
209
intrname = calloc(nintr, sizeof (char *));
usr.bin/systat/vmstat.c
798
ls->intrcnt = (long *) calloc(nintr, sizeof(long));
usr.bin/tail/read.c
145
if ((llines = calloc(off, sizeof(*llines))) == NULL)
usr.bin/top/display.c
1348
new_buffer = calloc(len, sizeof(char));
usr.bin/top/display.c
144
screenbuf = calloc(lines, screen_width);
usr.bin/top/display.c
198
lprocstates = calloc(num_procstates, sizeof(int));
usr.bin/top/display.c
205
lswap = calloc(num_swap, sizeof(int));
usr.bin/top/display.c
208
lcpustates = calloc(num_cpustates * sizeof(int), statics->ncpus);
usr.bin/top/display.c
209
cpustate_columns = calloc(num_cpustates, sizeof(int));
usr.bin/top/display.c
214
lmemory = calloc(num_memory, sizeof(int));
usr.bin/top/machine.c
1120
cmdbuf = calloc(screen_width + 1, 1);
usr.bin/top/machine.c
1155
argbuf = calloc(argbuflen + 1, 1);
usr.bin/top/machine.c
433
times = calloc(maxcpu * CPUSTATES, sizeof(long));
usr.bin/top/machine.c
439
pcpu_cp_time = calloc(1, size);
usr.bin/top/machine.c
453
pcpu_cp_old = calloc(ncpus * CPUSTATES, sizeof(long));
usr.bin/top/machine.c
454
pcpu_cp_diff = calloc(ncpus * CPUSTATES, sizeof(long));
usr.bin/top/machine.c
455
pcpu_cpu_states = calloc(ncpus * CPUSTATES, sizeof(int));
usr.bin/top/machine.c
845
previous_procs = calloc(nproc, sizeof(*previous_procs));
usr.bin/top/machine.c
847
previous_pref = calloc(nproc, sizeof(*previous_pref));
usr.bin/truss/main.c
79
trussinfo = (struct trussinfo *)calloc(1, sizeof(struct trussinfo));
usr.bin/truss/setup.c
275
nt = calloc(1, sizeof(struct threadinfo));
usr.bin/truss/setup.c
304
lwps = calloc(nlwps, sizeof(*lwps));
usr.bin/truss/setup.c
339
np = calloc(1, sizeof(struct procinfo));
usr.bin/truss/syscalls.c
1111
sa = calloc(1, len);
usr.bin/truss/syscalls.c
1481
cmsgbuf = calloc(1, len);
usr.bin/truss/syscalls.c
2446
utrace_addr = calloc(1, len);
usr.bin/truss/syscalls.c
913
sc = calloc(1, sizeof(*sc));
usr.bin/vmstat/vmstat.c
1309
old_intrcnts = calloc(nintr, sizeof(unsigned long));
usr.bin/vmstat/vmstat.c
412
cur.dinfo = (struct devinfo *)calloc(1, sizeof(struct devinfo));
usr.bin/vmstat/vmstat.c
413
last.dinfo = (struct devinfo *)calloc(1, sizeof(struct devinfo));
usr.bin/vmstat/vmstat.c
690
cur_cp_times = calloc(1, size_cp_times);
usr.bin/vmstat/vmstat.c
691
last_cp_times = calloc(1, size_cp_times);
usr.bin/vtfontcvt/vtfontcvt.c
192
if ((m = calloc(1, size)) == NULL)
usr.bin/w/w.c
230
if ((ep = calloc(1, sizeof(struct entry))) == NULL)
usr.bin/whois/whois.c
315
fds = calloc(count, sizeof(*fds));
usr.bin/xargs/strnsubst.c
53
s2 = calloc(1, maxsize);
usr.bin/xstr/xstr.c
342
if ((hp = (struct hash *) calloc(1, sizeof (*hp))) == NULL)
usr.sbin/acpi/acpidump/acpi.c
1304
eventname = calloc(event->event_size + 1, sizeof(char));
usr.sbin/autofs/automountd.c
98
newoptions = calloc(1, strlen(*optionsp) + 1);
usr.sbin/autofs/autounmountd.c
78
af = calloc(1, sizeof(*af));
usr.sbin/autofs/common.c
165
n = calloc(1, sizeof(*n));
usr.sbin/autofs/common.c
183
n = calloc(1, sizeof(*n));
usr.sbin/autofs/common.c
214
n = calloc(1, sizeof(*n));
usr.sbin/autofs/defined.c
226
d = calloc(1, sizeof(*d));
usr.sbin/bhyve/aarch64/bhyverun_machdep.c
375
cpu_to_mpidr = calloc(guest_ncpus, sizeof(*cpu_to_mpidr));
usr.sbin/bhyve/acpi.c
134
struct acpi_device_list_entry *const entry = calloc(1, sizeof(*entry));
usr.sbin/bhyve/acpi.c
155
struct acpi_vcpu_affinity_entry *entry = calloc(1, sizeof(*entry));
usr.sbin/bhyve/acpi.c
373
addr = calloc(1, sb.st_size);
usr.sbin/bhyve/acpi_device.c
105
struct acpi_resource_list_entry *const res = calloc(1, sizeof(*res));
usr.sbin/bhyve/acpi_device.c
127
struct acpi_resource_list_entry *const res = calloc(1, sizeof(*res));
usr.sbin/bhyve/acpi_device.c
59
struct acpi_device *const dev = calloc(1, sizeof(*dev));
usr.sbin/bhyve/amd64/atkbdc.c
518
sc = calloc(1, sizeof(struct atkbdc_softc));
usr.sbin/bhyve/amd64/e820.c
126
fwcfg_item = calloc(1, sizeof(struct qemu_fwcfg_item));
usr.sbin/bhyve/amd64/e820.c
132
fwcfg_item->data = calloc(count, sizeof(struct e820_entry));
usr.sbin/bhyve/amd64/e820.c
62
element = calloc(1, sizeof(*element));
usr.sbin/bhyve/amd64/ps2kbd.c
497
sc = calloc(1, sizeof (struct ps2kbd_softc));
usr.sbin/bhyve/amd64/ps2mouse.c
406
sc = calloc(1, sizeof (struct ps2mouse_softc));
usr.sbin/bhyve/amd64/vga.c
1272
sc = calloc(1, sizeof(struct vga_softc));
usr.sbin/bhyve/audio.c
87
aud = calloc(1, sizeof(*aud));
usr.sbin/bhyve/basl.c
431
checksum = calloc(1, sizeof(struct basl_table_checksum));
usr.sbin/bhyve/basl.c
455
length = calloc(1, sizeof(struct basl_table_length));
usr.sbin/bhyve/basl.c
479
pointer = calloc(1, sizeof(struct basl_table_pointer));
usr.sbin/bhyve/basl.c
663
new_table = calloc(1, sizeof(struct basl_table));
usr.sbin/bhyve/bhyvegc.c
48
gc = calloc(1, sizeof (struct bhyvegc));
usr.sbin/bhyve/bhyvegc.c
50
gc_image = calloc(1, sizeof(struct bhyvegc_image));
usr.sbin/bhyve/bhyvegc.c
57
gc_image->data = calloc(width * height, sizeof (uint32_t));
usr.sbin/bhyve/bhyverun.c
270
dom->ds_mask = calloc(1, sizeof(domainset_t));
usr.sbin/bhyve/bhyverun.c
450
vcpumap = calloc(guest_ncpus, sizeof(*vcpumap));
usr.sbin/bhyve/bhyverun.c
930
vcpu_info = calloc(guest_ncpus, sizeof(*vcpu_info));
usr.sbin/bhyve/block_if.c
637
bc = calloc(1, sizeof(struct blockif_ctxt));
usr.sbin/bhyve/gdb.c
2239
vcpus = calloc(guest_ncpus, sizeof(*vcpus));
usr.sbin/bhyve/gdb.c
2240
vcpu_state = calloc(guest_ncpus, sizeof(*vcpu_state));
usr.sbin/bhyve/hda_codec.c
401
sc = calloc(1, sizeof(*sc));
usr.sbin/bhyve/mem.c
380
mmio_hint = calloc(ncpu, sizeof(*mmio_hint));
usr.sbin/bhyve/mevent.c
322
mevp = calloc(1, sizeof(struct mevent));
usr.sbin/bhyve/net_backends.c
374
nbe = calloc(1, NET_BE_SIZE(tbe));
usr.sbin/bhyve/pci_ahci.c
2086
pr->ioreq = calloc(pr->ioqsz, sizeof(struct ahci_ioreq));
usr.sbin/bhyve/pci_ahci.c
2484
sc = calloc(1, sizeof(struct pci_ahci_softc));
usr.sbin/bhyve/pci_e82545.c
2315
sc = calloc(1, sizeof(*sc));
usr.sbin/bhyve/pci_emul.c
1058
new_device = calloc(1, sizeof(struct boot_device));
usr.sbin/bhyve/pci_emul.c
1148
pdi = calloc(1, sizeof(struct pci_devinst));
usr.sbin/bhyve/pci_emul.c
1238
pi->pi_msix.table = calloc(1, table_size);
usr.sbin/bhyve/pci_emul.c
1551
pci_businfo[bus] = calloc(1, sizeof(struct businfo));
usr.sbin/bhyve/pci_emul.c
2605
sc = calloc(1, sizeof(struct pci_emul_dsoftc));
usr.sbin/bhyve/pci_fbuf.c
395
sc = calloc(1, sizeof(struct pci_fbuf_softc));
usr.sbin/bhyve/pci_hda.c
327
sc = calloc(1, sizeof(*sc));
usr.sbin/bhyve/pci_hda.c
434
hci = calloc(1, sizeof(struct hda_codec_inst));
usr.sbin/bhyve/pci_nvme.c
1940
sc->nvstore.ctx = calloc(1, sc->nvstore.size);
usr.sbin/bhyve/pci_nvme.c
2611
range = calloc(1, NVME_MAX_DSM_TRIM);
usr.sbin/bhyve/pci_nvme.c
3241
sc->nvstore.ctx = calloc(1, sc->nvstore.size);
usr.sbin/bhyve/pci_nvme.c
3307
sc = calloc(1, sizeof(struct pci_nvme_softc));
usr.sbin/bhyve/pci_nvme.c
3318
sc->ioreqs = calloc(sc->ioslots, sizeof(struct pci_nvme_ioreq));
usr.sbin/bhyve/pci_nvme.c
486
sc->submit_queues = calloc(sc->num_squeues + 1,
usr.sbin/bhyve/pci_nvme.c
509
sc->compl_queues = calloc(sc->num_cqueues + 1,
usr.sbin/bhyve/pci_nvme.c
779
aer = calloc(1, sizeof(struct pci_nvme_aer));
usr.sbin/bhyve/pci_passthru.c
1000
sc = calloc(1, sizeof(struct passthru_softc));
usr.sbin/bhyve/pci_passthru.c
342
pi->pi_msix.table = calloc(1, table_size);
usr.sbin/bhyve/pci_virtio_9p.c
203
preq = calloc(1, sizeof(struct pci_vt9p_request));
usr.sbin/bhyve/pci_virtio_9p.c
281
sc = calloc(1, sizeof(struct pci_vt9p_softc));
usr.sbin/bhyve/pci_virtio_9p.c
282
sc->vsc_config = calloc(1, sizeof(struct pci_vt9p_config) +
usr.sbin/bhyve/pci_virtio_block.c
478
sc = calloc(1, sizeof(struct pci_vtblk_softc));
usr.sbin/bhyve/pci_virtio_console.c
297
sock = calloc(1, sizeof(struct pci_vtcon_sock));
usr.sbin/bhyve/pci_virtio_console.c
697
sc = calloc(1, sizeof(struct pci_vtcon_softc));
usr.sbin/bhyve/pci_virtio_console.c
698
sc->vsc_config = calloc(1, sizeof(struct pci_vtcon_config));
usr.sbin/bhyve/pci_virtio_input.c
646
sc = calloc(1, sizeof(struct pci_vtinput_softc));
usr.sbin/bhyve/pci_virtio_input.c
695
sc->vsc_eventqueue.events = calloc(
usr.sbin/bhyve/pci_virtio_net.c
571
sc = calloc(1, sizeof(struct pci_vtnet_softc));
usr.sbin/bhyve/pci_virtio_rnd.c
173
sc = calloc(1, sizeof(struct pci_vtrnd_softc));
usr.sbin/bhyve/pci_virtio_scsi.c
1034
sc = calloc(1, sizeof(struct pci_vtscsi_softc));
usr.sbin/bhyve/pci_virtio_scsi.c
606
req = calloc(1, sizeof(struct pci_vtscsi_request));
usr.sbin/bhyve/pci_virtio_scsi.c
610
req->vsr_cmd_rd = calloc(1, VTSCSI_IN_HEADER_LEN(sc));
usr.sbin/bhyve/pci_virtio_scsi.c
613
req->vsr_cmd_wr = calloc(1, VTSCSI_OUT_HEADER_LEN(sc));
usr.sbin/bhyve/pci_virtio_scsi.c
961
workers = calloc(VTSCSI_THR_PER_Q, sizeof(struct pci_vtscsi_worker));
usr.sbin/bhyve/pci_xhci.c
2777
sc->devices = calloc(XHCI_MAX_DEVS, sizeof(struct pci_xhci_dev_emu *));
usr.sbin/bhyve/pci_xhci.c
2778
sc->slots = calloc(XHCI_MAX_SLOTS, sizeof(struct pci_xhci_dev_emu *));
usr.sbin/bhyve/pci_xhci.c
2831
dev = calloc(1, sizeof(struct pci_xhci_dev_emu));
usr.sbin/bhyve/pci_xhci.c
2887
sc->portregs = calloc(XHCI_MAX_DEVS, sizeof(struct pci_xhci_portregs));
usr.sbin/bhyve/pci_xhci.c
2923
sc = calloc(1, sizeof(struct pci_xhci_softc));
usr.sbin/bhyve/pci_xhci.c
669
devep->ep_sctx_trbs = calloc(pstreams,
usr.sbin/bhyve/qemu_fwcfg.c
217
struct qemu_fwcfg_directory *const fwcfg_directory = calloc(1, size);
usr.sbin/bhyve/qemu_fwcfg.c
232
struct qemu_fwcfg_id *const fwcfg_id = calloc(1,
usr.sbin/bhyve/qemu_fwcfg.c
252
uint16_t *fwcfg_max_cpus = calloc(1, sizeof(uint16_t));
usr.sbin/bhyve/qemu_fwcfg.c
270
uint16_t *fwcfg_max_cpus = calloc(1, sizeof(uint16_t));
usr.sbin/bhyve/qemu_fwcfg.c
284
struct qemu_fwcfg_signature *const fwcfg_signature = calloc(1,
usr.sbin/bhyve/qemu_fwcfg.c
352
struct qemu_fwcfg_directory *const new_directory = calloc(1,
usr.sbin/bhyve/qemu_loader.c
115
element = calloc(1, sizeof(struct qemu_loader_element));
usr.sbin/bhyve/qemu_loader.c
143
element = calloc(1, sizeof(struct qemu_loader_element));
usr.sbin/bhyve/qemu_loader.c
172
loader = calloc(1, sizeof(struct qemu_loader));
usr.sbin/bhyve/qemu_loader.c
260
data = calloc(1, len);
usr.sbin/bhyve/qemu_loader.c
84
element = calloc(1, sizeof(struct qemu_loader_element));
usr.sbin/bhyve/rfb.c
1356
rc = calloc(1, sizeof(struct rfb_softc));
usr.sbin/bhyve/rfb.c
1360
rc->crc = calloc(cnt, sizeof(uint32_t));
usr.sbin/bhyve/rfb.c
1361
rc->crc_tmp = calloc(cnt, sizeof(uint32_t));
usr.sbin/bhyve/rtc_pl031.c
264
sc = calloc(1, sizeof(struct rtc_pl031_softc));
usr.sbin/bhyve/snapshot.c
1449
checkpoint_info = calloc(1, sizeof(*checkpoint_info));
usr.sbin/bhyve/tpm_device.c
152
dev = calloc(1, sizeof(*dev));
usr.sbin/bhyve/tpm_emul_passthru.c
37
tpm = calloc(1, sizeof(struct tpm_passthru));
usr.sbin/bhyve/tpm_emul_swtpm.c
42
tpm = calloc(1, sizeof (struct tpm_swtpm));
usr.sbin/bhyve/tpm_intf_crb.c
476
crb = calloc(1, sizeof(struct tpm_crb));
usr.sbin/bhyve/tpm_ppi_qemu.c
103
ppi = calloc(1, TPM_PPI_SIZE);
usr.sbin/bhyve/tpm_ppi_qemu.c
110
fwcfg = calloc(1, sizeof(struct tpm_ppi_fwcfg));
usr.sbin/bhyve/uart_backend.c
476
if ((socket_softc = calloc(1, sizeof(struct uart_socket_softc))) ==
usr.sbin/bhyve/uart_backend.c
516
struct uart_softc *sc = calloc(1, sizeof(struct uart_softc));
usr.sbin/bhyve/uart_emul.c
441
sc = calloc(1, sizeof(struct uart_ns16550_softc));
usr.sbin/bhyve/uart_pl011.c
374
sc = calloc(1, sizeof(struct uart_pl011_softc));
usr.sbin/bhyve/usb_mouse.c
302
sc = calloc(1, sizeof(struct umouse_softc));
usr.sbin/bhyvectl/aarch64/bhyvectl_machdep.c
59
all_opts = calloc(count + 1, sizeof(struct option));
usr.sbin/bhyvectl/riscv/bhyvectl_machdep.c
59
all_opts = calloc(count + 1, sizeof(struct option));
usr.sbin/bluetooth/ath3kfw/ath3k_fw.c
63
buf = calloc(1, sb.st_size);
usr.sbin/bluetooth/bthidd/hid.c
93
if ((s->ctx = calloc(1, sizeof(struct apple_state))) == NULL)
usr.sbin/bluetooth/bthidd/parser.y
110
hid_device = (hid_device_t *) calloc(1, sizeof(*hid_device));
usr.sbin/bluetooth/hccontrol/hccontrol.c
292
r.names = (struct nodeinfo*)calloc(MAX_NODE_NUM, sizeof(struct nodeinfo));
usr.sbin/bluetooth/hccontrol/node.c
224
r.entries = calloc(NG_HCI_MAX_NEIGHBOR_NUM,
usr.sbin/bluetooth/hccontrol/node.c
282
r.connections = calloc(NG_HCI_MAX_CON_NUM, sizeof(ng_hci_node_con_ep));
usr.sbin/bluetooth/hccontrol/node.c
467
r.names = (struct nodeinfo*)calloc(MAX_NODE_NUM, sizeof(struct nodeinfo));
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
65
buf = calloc(1, sb.st_size);
usr.sbin/bluetooth/l2control/l2cap.c
145
r.connections = calloc(NG_L2CAP_MAX_CON_NUM,
usr.sbin/bluetooth/l2control/l2cap.c
203
r.channels = calloc(NG_L2CAP_MAX_CHAN_NUM,
usr.sbin/bluetooth/l2ping/l2ping.c
76
echo_data = (uint8_t *) calloc(NG_L2CAP_MAX_ECHO_SIZE, sizeof(uint8_t));
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
184
buf = calloc(1, sb.st_size);
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
445
entry = calloc(1, sizeof(*entry));
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
537
patch_buf = calloc(1, len);
usr.sbin/bluetooth/sdpd/provider.c
56
provider_p sd = calloc(1, sizeof(*sd));
usr.sbin/bluetooth/sdpd/provider.c
57
provider_p bgd = calloc(1, sizeof(*bgd));
usr.sbin/bluetooth/sdpd/provider.c
92
provider_p provider = calloc(1, sizeof(*provider));
usr.sbin/bluetooth/sdpd/server.c
162
srv->req = (uint8_t *) calloc(srv->imtu, sizeof(srv->req[0]));
usr.sbin/bluetooth/sdpd/server.c
171
srv->fdidx = (fd_idx_p) calloc(FD_SETSIZE, sizeof(srv->fdidx[0]));
usr.sbin/bluetooth/sdpd/server.c
379
rsp = (uint8_t *) calloc(NG_L2CAP_MTU_MAXIMUM, sizeof(rsp[0]));
usr.sbin/bsdinstall/distfetch/distfetch.c
133
minilabel = calloc(nfiles, sizeof(char *));
usr.sbin/bsdinstall/distfetch/distfetch.c
134
miniperc = calloc(nfiles, sizeof(int));
usr.sbin/bsdinstall/distfetch/distfetch.c
66
urls = calloc(ndists, sizeof(const char *));
usr.sbin/bsdinstall/partedit/gpart_ops.c
877
providers = calloc(nparts, sizeof(providers[0]));
usr.sbin/bsdinstall/partedit/partedit.c
244
md = calloc(1, sizeof(*md));
usr.sbin/bsdinstall/partedit/partedit.c
356
minilabel = calloc(nitems, sizeof(const char *));
usr.sbin/bsdinstall/partedit/partedit.c
357
miniperc = calloc(nitems, sizeof(int));
usr.sbin/bsdinstall/partedit/partedit.c
592
md = calloc(1, sizeof(struct partition_metadata));
usr.sbin/bsnmpd/modules/snmp_hast/hast_snmp.c
299
res = calloc(1, sizeof(*res));
usr.sbin/bsnmpd/modules/snmp_lm75/snmp_lm75.c
227
sensor = calloc(1, sizeof(*sensor));
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
636
if ((entry = calloc(1, sizeof(struct snmp_index_entry))) == NULL) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
764
if ((oid2str = calloc(1, sizeof(struct snmp_oid2str))) == NULL) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
268
if ((e_new = calloc(1, sizeof(struct enum_pair))) == NULL) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
478
if ((idx = calloc(1, sizeof(struct index))) == NULL) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
552
if ((enum_tc = calloc(1, sizeof(struct enum_type))) == NULL) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c
56
if ((m = calloc(1, sizeof(struct snmp_mappings))) == NULL) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1349
if ((obj = calloc(1, sizeof(struct snmp_object))) == NULL) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
2001
if ((object = calloc(1, sizeof(struct snmp_object))) == NULL) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
2037
if ((object = calloc(1, sizeof(struct snmp_object))) == NULL)
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
256
if ((entry = calloc(1, sizeof(struct fname))) == NULL) {
usr.sbin/camdd/camdd.c
2452
file_dev->tmp_buf = calloc(dev->blocksize, 1);
usr.sbin/camdd/camdd.c
3551
opt_list = calloc(2, sizeof(struct camdd_io_opts));
usr.sbin/camdd/camdd.c
577
dev = calloc(1, sizeof(*dev));
usr.sbin/camdd/camdd.c
615
ke = calloc(1, ke_size);
usr.sbin/camdd/camdd.c
666
buf = calloc(1, sizeof(*buf));
usr.sbin/camdd/camdd.c
815
extra_buf = calloc(extra_buf_len, 1);
usr.sbin/camdd/camdd.c
826
data->segs = calloc(data->sg_count, sizeof(bus_dma_segment_t));
usr.sbin/camdd/camdd.c
836
data->iovec = calloc(data->sg_count, sizeof(struct iovec));
usr.sbin/certctl/certctl.c
162
if ((paths = calloc(n + 1, sizeof(*paths))) == NULL)
usr.sbin/certctl/certctl.c
194
if ((paths = calloc(n + 1, sizeof(*paths))) == NULL)
usr.sbin/certctl/certctl.c
340
if ((cert = calloc(1, sizeof(*cert))) == NULL)
usr.sbin/certctl/certctl.c
434
if ((file = calloc(1, sizeof(*file))) == NULL)
usr.sbin/config/config.y
173
(struct cputype *)calloc(1, sizeof (struct cputype));
usr.sbin/config/config.y
201
hint = (struct hint *)calloc(1, sizeof (struct hint));
usr.sbin/config/config.y
338
nl = (struct files_name *) calloc(1, sizeof *nl);
usr.sbin/config/config.y
353
nl = (struct files_name *) calloc(1, sizeof *nl);
usr.sbin/config/config.y
365
envvar = (struct envvar *)calloc(1, sizeof (struct envvar));
usr.sbin/config/config.y
404
np = (struct device *) calloc(1, sizeof *np);
usr.sbin/config/config.y
468
op = (struct opt *)calloc(1, sizeof (struct opt));
usr.sbin/config/main.cc
152
calloc(1, sizeof (struct includepath));
usr.sbin/config/main.cc
711
hl = (struct hdr_list *)calloc(1, sizeof(*hl));
usr.sbin/config/main.cc
745
o = (char *)calloc(1, osz);
usr.sbin/config/mkmakefile.cc
102
fp = (struct file_list *) calloc(1, sizeof *fp);
usr.sbin/config/mkoptions.cc
102
op = (struct opt *)calloc(1, sizeof(*op));
usr.sbin/config/mkoptions.cc
229
op = (struct opt *) calloc(1, sizeof *op);
usr.sbin/config/mkoptions.cc
257
op = (struct opt *) calloc(1, sizeof *op);
usr.sbin/config/mkoptions.cc
331
po = (struct opt_list *) calloc(1, sizeof *po);
usr.sbin/config/mkoptions.cc
67
op = (struct opt *)calloc(1, sizeof(*op));
usr.sbin/config/mkoptions.cc
87
op = (struct opt *)calloc(1, sizeof(*op));
usr.sbin/cron/cron/popen.c
75
if (!(pids = calloc(fds, sizeof(PID_T))))
usr.sbin/cron/lib/entry.c
130
e = (entry *) calloc(sizeof(entry), sizeof(char));
usr.sbin/ctladm/ctladm.c
2854
cur_conn = calloc(1, sizeof(*cur_conn));
usr.sbin/ctladm/ctladm.c
3286
cur_lun = calloc(1, sizeof(*cur_lun));
usr.sbin/ctladm/ctladm.c
3546
cur_port = calloc(1, sizeof(*cur_port));
usr.sbin/ctladm/ctladm.c
3890
cur_conn = calloc(1, sizeof(*cur_conn));
usr.sbin/cxgbetool/cxgbetool.c
545
regs.data = calloc(1, len);
usr.sbin/edquota/edquota.c
155
if ((qup = calloc(1, sizeof(*qup))) == NULL)
usr.sbin/edquota/edquota.c
377
if ((qup = (struct quotause *)calloc(1, sizeof(*qup))) == NULL)
usr.sbin/fifolog/lib/fifolog_create.c
102
buf = calloc(1, recsize);
usr.sbin/fifolog/lib/fifolog_int.c
128
f->zs = calloc(1, sizeof(*f->zs));
usr.sbin/fifolog/lib/fifolog_reader.c
62
fr = calloc(1, sizeof(*fr));
usr.sbin/fifolog/lib/fifolog_reader.c
70
fr->obuf = calloc(16, fr->ff->recsize);
usr.sbin/fifolog/lib/fifolog_write_poll.c
48
(*(ptr)) = calloc(1, size); \
usr.sbin/fifolog/lib/miniobj.h
31
(to) = calloc(1, sizeof *(to)); \
usr.sbin/inetd/inetd.c
918
sc = calloc(1, sizeof(*sc));
usr.sbin/iostat/iostat.c
321
cur.dinfo = (struct devinfo *)calloc(1, sizeof(struct devinfo));
usr.sbin/iostat/iostat.c
325
last.dinfo = (struct devinfo *)calloc(1, sizeof(struct devinfo));
usr.sbin/iscsid/iscsid.c
232
conn = calloc(1, sizeof(*conn));
usr.sbin/kbdmap/kbdmap.c
361
listitems = calloc(num_keymaps + 1, sizeof(struct bsddialog_menuitem));
usr.sbin/lpr/pac/pac.c
251
base = (struct hent **) calloc(hcount, sizeof(hp));
usr.sbin/lpr/pac/pac.c
329
hp = (struct hent *) calloc(1, sizeof(*hp));
usr.sbin/mailwrapper/mailwrapper.c
67
if ((al->argv = calloc(al->maxc, sizeof(char *))) == NULL)
usr.sbin/mfiutil/mfi_config.c
343
info->drives = calloc(count, sizeof(struct mfi_pd_info));
usr.sbin/mfiutil/mfi_config.c
685
arrays = calloc(narrays, sizeof(*arrays));
usr.sbin/mfiutil/mfi_config.c
726
state.arrays = calloc(config->array_count, sizeof(int));
usr.sbin/mfiutil/mfi_config.c
743
state.volumes = calloc(config->log_drv_count, sizeof(int));
usr.sbin/mfiutil/mfi_config.c
784
config = calloc(1, config_size);
usr.sbin/mlx5tool/mlx5tool.c
100
rege = calloc(fdg.reg_filled, sizeof(*rege));
usr.sbin/mountd/mountd.c
2513
ep = (struct exportlist *)calloc(1, sizeof (struct exportlist));
usr.sbin/mountd/mountd.c
2527
gp = (struct grouplist *)calloc(1, sizeof (struct grouplist));
usr.sbin/moused/moused/moused.c
1979
r = calloc(1, sizeof(struct rodent));
usr.sbin/moused/moused/util.h
170
p = calloc(1, size);
usr.sbin/mpsutil/mps_cmd.c
508
*firmware = calloc(size, sizeof(unsigned char));
usr.sbin/mptutil/mpt_cam.c
152
ccb.cdm.matches = calloc(1, bufsize);
usr.sbin/mptutil/mpt_cam.c
157
ccb.cdm.patterns = calloc(1, bufsize);
usr.sbin/mptutil/mpt_cam.c
357
inq_buf = calloc(1, sizeof(*inq_buf));
usr.sbin/mptutil/mpt_cam.c
417
ccb.cdm.matches = calloc(1, bufsize);
usr.sbin/mptutil/mpt_cam.c
422
ccb.cdm.patterns = calloc(1, bufsize);
usr.sbin/mptutil/mpt_cam.c
484
disks = calloc(ccb.cdm.num_matches, sizeof(*disks));
usr.sbin/mptutil/mpt_cam.c
78
ccb.cdm.matches = calloc(1, bufsize);
usr.sbin/mptutil/mpt_cam.c
83
ccb.cdm.patterns = calloc(1, bufsize);
usr.sbin/mptutil/mpt_config.c
195
config_page = calloc(1, sizeof(CONFIG_PAGE_RAID_PHYS_DISK_0));
usr.sbin/mptutil/mpt_config.c
407
info->drives = calloc(count, sizeof(struct drive_info));
usr.sbin/mptutil/mpt_config.c
530
vol = calloc(1, page_size);
usr.sbin/mptutil/mpt_config.c
724
info = calloc(1, sizeof(*info));
usr.sbin/mptutil/mpt_drive.c
205
list = calloc(1, listsize);
usr.sbin/newsyslog/newsyslog.c
1969
zwork = calloc(1, sz);
usr.sbin/newsyslog/newsyslog.c
2169
args = calloc(ct->nflags + 3, sizeof(*args));
usr.sbin/nscd/agent.c
62
retval = calloc(1, sizeof(*retval));
usr.sbin/nscd/agents/group.c
141
name = calloc(1, size);
usr.sbin/nscd/agents/group.c
225
retval = calloc(1, sizeof(*retval));
usr.sbin/nscd/agents/group.c
244
retval = calloc(1,
usr.sbin/nscd/agents/passwd.c
150
login = calloc(1, size);
usr.sbin/nscd/agents/passwd.c
233
retval = calloc(1, sizeof(*retval));
usr.sbin/nscd/agents/passwd.c
252
retval = calloc(1,
usr.sbin/nscd/agents/services.c
146
name = calloc(1, size + 1);
usr.sbin/nscd/agents/services.c
169
proto = calloc(1, size + 1);
usr.sbin/nscd/agents/services.c
246
retval = calloc(1, sizeof(*retval));
usr.sbin/nscd/agents/services.c
265
retval = calloc(1,
usr.sbin/nscd/cachelib.c
1077
retval = calloc(1,
usr.sbin/nscd/cachelib.c
482
retval = calloc(1, sizeof(*retval));
usr.sbin/nscd/cachelib.c
488
retval->entries = calloc(INITIAL_ENTRIES_CAPACITY,
usr.sbin/nscd/cachelib.c
541
new_entries = calloc(new_capacity,
usr.sbin/nscd/cachelib.c
557
new_common_entry = calloc(1,
usr.sbin/nscd/cachelib.c
566
new_common_entry->common_params.cep.entry_name = calloc(1,
usr.sbin/nscd/cachelib.c
583
new_common_entry->policies = calloc(policies_size,
usr.sbin/nscd/cachelib.c
611
new_mp_entry = calloc(1,
usr.sbin/nscd/cachelib.c
620
new_mp_entry->mp_params.cep.entry_name = calloc(1,
usr.sbin/nscd/cachelib.c
939
retval = calloc(1,
usr.sbin/nscd/cachelib.c
974
new_item = calloc(1,
usr.sbin/nscd/cacheplcs.c
193
retval = calloc(1,
usr.sbin/nscd/cacheplcs.c
333
retval = calloc(1,
usr.sbin/nscd/cacheplcs.c
537
retval = calloc(1,
usr.sbin/nscd/cacheplcs.c
87
retval = calloc(1,
usr.sbin/nscd/config.c
126
retval = calloc(1,
usr.sbin/nscd/config.c
168
retval->name = calloc(1, size + 1);
usr.sbin/nscd/config.c
275
new_entries = calloc(config->entries_capacity,
usr.sbin/nscd/config.c
518
retval = calloc(1, sizeof(*retval));
usr.sbin/nscd/config.c
522
retval->entries = calloc(retval->entries_capacity,
usr.sbin/nscd/config.c
544
config->socket_path = calloc(1, len + 1);
usr.sbin/nscd/config.c
549
config->pidfile_path = calloc(1, len + 1);
usr.sbin/nscd/hashtable.h
76
(table)->entries = calloc(_entries_size, \
usr.sbin/nscd/mp_rs_query.c
117
c_mp_rs_request->entry = calloc(1,
usr.sbin/nscd/mp_ws_query.c
122
c_mp_ws_request->entry = calloc(1,
usr.sbin/nscd/mp_ws_query.c
375
write_request->data = calloc(1, write_request->data_size);
usr.sbin/nscd/nscd.c
163
retval = calloc(1, sizeof(*retval));
usr.sbin/nscd/nscd.c
413
qstate->io_buffer = calloc(1,
usr.sbin/nscd/nscd.c
834
threads = calloc(s_configuration->threads_num,
usr.sbin/nscd/nscdcli.c
201
retval = calloc(1, sizeof(*retval));
usr.sbin/nscd/query.c
1231
retval = calloc(1, sizeof(*retval));
usr.sbin/nscd/query.c
335
write_request->entry = calloc(1,
usr.sbin/nscd/query.c
339
write_request->cache_key = calloc(1,
usr.sbin/nscd/query.c
347
write_request->data = calloc(1,
usr.sbin/nscd/query.c
608
read_request->entry = calloc(1,
usr.sbin/nscd/query.c
612
read_request->cache_key = calloc(1,
usr.sbin/nscd/query.c
935
transform_request->entry = calloc(1,
usr.sbin/pkg/config.c
229
temp_config = calloc(CONFIG_SIZE, sizeof(struct config_entry));
usr.sbin/pkg/config.c
385
repo = calloc(1, sizeof(struct repository));
usr.sbin/pkg/config.c
681
struct repository *r = calloc(1, sizeof(*r));
usr.sbin/pkg/dns_utils.c
142
res = calloc(ancount, sizeof(struct dns_srvinfo *));
usr.sbin/pkg/pkg.c
128
nctx = calloc(1, ctx_size);
usr.sbin/pkg/pkg.c
385
f = calloc(1, sizeof(struct fingerprint));
usr.sbin/pkg/pkg.c
447
fingerprints = calloc(1, sizeof(struct fingerprint_list));
usr.sbin/pkg/pkg.c
545
pk = calloc(1, sizeof(struct pubkey));
usr.sbin/pkg/pkg.c
547
pk->sig = calloc(1, pk->siglen);
usr.sbin/pkg/pkg.c
624
sc = calloc(1, sizeof(struct sig_cert));
usr.sbin/pmcannotate/pmcannotate.c
161
agg = calloc(1, sizeof(struct aggent));
usr.sbin/pmcannotate/pmcannotate.c
281
obj = calloc(1, sizeof(struct entry));
usr.sbin/pmccontrol/pmccontrol.c
149
if ((map = calloc(npmc, ncpu)) == NULL)
usr.sbin/pmcstat/pmcpl_gprof.c
465
if ((pgf = calloc(1, sizeof(*pgf))) == NULL)
usr.sbin/ppp/mppe.c
650
if ((mp = calloc(1, sizeof *mp)) != NULL) {
usr.sbin/ppp/throughput.c
51
calloc(period, sizeof *t->in.SampleOctets);
usr.sbin/ppp/throughput.c
54
calloc(period, sizeof *t->out.SampleOctets);
usr.sbin/pw/pw_user.c
1218
if ((cmdcnf = calloc(1, sizeof(struct userconf))) == NULL)
usr.sbin/quot/quot.c
192
if ((users = calloc(nusers, sizeof(*users))) == NULL)
usr.sbin/quot/quot.c
211
if ((users = calloc(nusers, sizeof(*users))) == NULL)
usr.sbin/repquota/repquota.c
313
if ((fup = (struct fileusage *)calloc(1, sizeof(*fup) + len)) == NULL)
usr.sbin/rpc.tlsservd/rpc.tlsservd.c
422
gidp = calloc(NGROUPS, sizeof(*gidp));
usr.sbin/rpcbind/rpcb_svc_com.c
1038
if ((dst->buf = calloc(1, src->maxlen)) == NULL)
usr.sbin/rpcbind/rpcb_svc_com.c
1054
if ((np = calloc(1, sizeof(struct netbuf))) == NULL)
usr.sbin/rtsold/cap_script.c
192
argv = calloc(argc + 1, sizeof(*argv));
usr.sbin/services_mkdb/services_mkdb.c
247
if ((svc = calloc(PMASK + 1, sizeof(StringList **))) == NULL)
usr.sbin/services_mkdb/services_mkdb.c
303
svc[pnum] = calloc(PROTOMAX, sizeof(StringList *));
usr.sbin/sesutil/sesutil.c
251
objp = calloc(nobj, sizeof(encioc_element_t));
usr.sbin/sesutil/sesutil.c
429
e_desc.elm_desc_str = calloc(UINT16_MAX, sizeof(char));
usr.sbin/sesutil/sesutil.c
433
e_devname.elm_devnames = calloc(128, sizeof(char));
usr.sbin/sesutil/sesutil.c
469
e_ptr = calloc(nobj, sizeof(encioc_element_t));
usr.sbin/sesutil/sesutil.c
635
e_devname.elm_devnames = calloc(128, sizeof(char));
usr.sbin/sesutil/sesutil.c
737
e_desc.elm_desc_str = calloc(UINT16_MAX, sizeof(char));
usr.sbin/sesutil/sesutil.c
772
e_ptr = calloc(nobj, sizeof(encioc_element_t));
usr.sbin/setfmac/setfmac.c
254
spec->entries = calloc(nlines, sizeof(*spec->entries));
usr.sbin/setfmac/setfmac.c
292
spec->entries = calloc(spec->nentries, sizeof(*spec->entries));
usr.sbin/sndctl/sndctl.c
412
if ((tmp = calloc(1, size)) == NULL)
usr.sbin/sndctl/sndctl.c
486
if ((dp = calloc(1, sizeof(struct snd_dev))) == NULL)
usr.sbin/sndctl/sndctl.c
573
if ((ch = calloc(1, sizeof(struct snd_chan))) == NULL)
usr.sbin/syslogd/syslogd.c
3079
f->f_addr_fds = calloc(f->f_num_addr_fds, sizeof(*f->f_addr_fds));
usr.sbin/syslogd/syslogd.c
3080
f->f_addrs = calloc(f->f_num_addr_fds, sizeof(*f->f_addrs));
usr.sbin/syslogd/syslogd.c
3446
ap = calloc(1, sizeof(*ap));
usr.sbin/syslogd/syslogd.c
3925
sl = calloc(1, sizeof(*sl) + ai->ai_addrlen);
usr.sbin/syslogd/syslogd.c
394
struct peer *pe = calloc(1, sizeof(*pe));
usr.sbin/syslogd/syslogd.c
478
struct socklist *sl = calloc(1, sizeof(*sl));
usr.sbin/syslogd/syslogd_cap_config.c
173
filed = calloc(1, sizeof(*filed));
usr.sbin/syslogd/syslogd_cap_config.c
220
filed->f_addr_fds = calloc(filed->f_num_addr_fds,
usr.sbin/syslogd/syslogd_cap_config.c
74
pfilter = calloc(1, sizeof(*pfilter));
usr.sbin/syslogd/syslogd_cap_config.c
84
pfilter->pflt_re = calloc(1, sizeof(*pfilter->pflt_re));
usr.sbin/syslogd/syslogd_cap_log.c
139
iov = calloc(iovcnt, sizeof(*iov));
usr.sbin/syslogd/syslogd_cap_log.c
198
iov = calloc(sz, sizeof(*iov));
usr.sbin/traceroute/traceroute.c
1927
hi = calloc(1, sizeof(*hi));
usr.sbin/traceroute/traceroute.c
1936
hi->addrs = calloc(1, sizeof(hi->addrs[0]));
usr.sbin/traceroute/traceroute.c
1964
hi->addrs = calloc(n, sizeof(hi->addrs[0]));
usr.sbin/tzsetup/tzsetup.c
112
listitems = calloc(item_no + 1, sizeof(struct bsddialog_menuitem));
usr.sbin/uefisign/child.c
238
x = calloc(1, sizeof(*x));
usr.sbin/uefisign/pe.c
527
pc = calloc(1, pc_len);
usr.sbin/uefisign/uefisign.c
107
buf = calloc(1, len);
usr.sbin/uefisign/uefisign.c
207
tmp = buf = calloc(1, len);
usr.sbin/vidcontrol/vidcontrol.c
381
if ((t = calloc(nmappings, sizeof(*t))) == NULL) {
usr.sbin/virtual_oss/virtual_oss/eq.c
184
calloc(2 * size, sizeof(pvc->tx_filter_out[x][0]));
usr.sbin/virtual_oss/virtual_oss/eq.c
194
calloc(2 * size, sizeof(pvc->rx_filter_out[x][0]));
usr.sbin/wlanstat/wlanstat.c
1039
wf = calloc(1, sizeof(struct wlanstatfoo_p));
usr.sbin/ypbind/yp_ping.c
222
reqs = calloc(cnt, sizeof(struct ping_req *));
usr.sbin/ypbind/yp_ping.c
234
reqs[i] = calloc(1, sizeof(struct ping_req));
usr.sbin/ypldap/aldap.c
1188
if ((str = calloc(len + 1, sizeof(char))) == NULL)
usr.sbin/ypldap/aldap.c
1217
if ((buffer = calloc(1, len + 1)) == NULL)
usr.sbin/ypldap/aldap.c
259
if ((m = calloc(1, sizeof(struct aldap_message))) == NULL)
usr.sbin/ypldap/aldap.c
675
if ((lu = calloc(1, sizeof(*lu))) == NULL)
usr.sbin/ypldap/aldap.c
714
if ((ret = calloc(i + 1, sizeof(char *))) == NULL)
usr.sbin/ypldap/aldap.c
75
if ((a = calloc(1, sizeof(*a))) == NULL)
usr.sbin/ypldap/ber.c
272
if ((string = calloc(1, len)) == NULL)
usr.sbin/ypldap/ber.c
316
if ((v = calloc(1, len)) == NULL)
usr.sbin/ypldap/ber.c
450
if ((buf = calloc(1, len)) == NULL)
usr.sbin/ypldap/ber.c
66
if ((elm = calloc(1, sizeof(*elm))) == NULL)
usr.sbin/ypldap/entries.c
57
if ((linep = calloc(1, env->sc_user_line_len + 1)) == NULL) {
usr.sbin/ypldap/entries.c
93
if ((linep = calloc(1, env->sc_group_line_len + 1)) == NULL) {
usr.sbin/ypldap/ldapclient.c
211
if ((h = calloc(1, sizeof(*h))) == NULL)
usr.sbin/ypldap/ldapclient.c
307
if ((idm = calloc(1, sizeof(*idm))) == NULL)
usr.sbin/ypldap/ldapclient.c
404
if ((env.sc_iev = calloc(1, sizeof(*env.sc_iev))) == NULL)
usr.sbin/ypldap/ldapclient.c
406
if ((env.sc_iev_dns = calloc(1, sizeof(*env.sc_iev_dns))) == NULL)
usr.sbin/ypldap/parse.y
273
if ((idm = calloc(1, sizeof(*idm))) == NULL)
usr.sbin/ypldap/parse.y
682
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/ypldap/parse.y
792
if ((sym = calloc(1, sizeof(*sym))) == NULL)
usr.sbin/ypldap/yp.c
109
if ((yp = calloc(1, sizeof(*yp))) == NULL)
usr.sbin/ypldap/yp.c
341
key = calloc(arg->key.keydat_len + 1, 1);
usr.sbin/ypldap/yp.c
491
key = calloc(arg->key.keydat_len + 1, 1);
usr.sbin/ypldap/yp.c
528
key = calloc(arg->key.keydat_len + 1, 1);
usr.sbin/ypldap/yp.c
88
if ((ye = calloc(1, sizeof(*ye))) == NULL)
usr.sbin/ypldap/ypldap.c
134
if ((env->sc_user_names_t = calloc(1,
usr.sbin/ypldap/ypldap.c
136
(env->sc_group_names_t = calloc(1,
usr.sbin/ypldap/ypldap.c
212
if ((ue->ue_netid_line = calloc(1, LINE_WIDTH)) == NULL) {
usr.sbin/ypldap/ypldap.c
395
if ((ue = calloc(1, sizeof(*ue))) == NULL ||
usr.sbin/ypldap/ypldap.c
421
if ((ge = calloc(1, sizeof(*ge))) == NULL ||
usr.sbin/ypldap/ypldap.c
588
if ((env.sc_iev = calloc(1, sizeof(*env.sc_iev))) == NULL)
usr.sbin/ypldap/ypldap_dns.c
108
if ((env.sc_iev = calloc(1, sizeof(*env.sc_iev))) == NULL)
usr.sbin/ypldap/ypldap_dns.c
230
if ((h = calloc(1, sizeof(struct ypldap_addr))) == NULL)