bin/chio/chio.c
584
cmd.cesr_data = calloc(count, sizeof(*cmd.cesr_data));
bin/chio/chio.c
669
cmd.cesr_data = calloc(count, sizeof(*cmd.cesr_data));
bin/chio/chio.c
744
cmd.cesr_data = calloc(count, sizeof(*cmd.cesr_data));
bin/chio/parse.y
398
if ((nfile = calloc(1, sizeof(struct file))) == NULL)
bin/chio/parse.y
475
if ((p = calloc(1, sizeof(*p))) == NULL)
bin/cp/utils.c
72
zeroes = calloc(1, buflen);
bin/csh/alloc.c
71
if ((ptr = calloc(s, n)) == NULL) {
bin/df/df.c
128
mntbuf = calloc(argc, sizeof(struct statfs));
bin/df/df.c
234
if ((av = typelist = calloc(i + 1, sizeof(char *))) == NULL)
bin/md5/md5.c
791
sel_found = calloc((size_t)selcount, sizeof(*sel_found));
bin/mv/cp.c
409
zeroes = calloc(1, buflen);
bin/pax/sel_subs.c
144
((usrtb = calloc(USR_TB_SZ, sizeof(USRT *))) == NULL)) {
bin/pax/sel_subs.c
239
((grptb = calloc(GRP_TB_SZ, sizeof(GRPT *))) == NULL)) {
bin/pax/tables.c
1131
if ((dtab = calloc(D_TAB_SZ, sizeof(DEVT *))) == NULL) {
bin/pax/tables.c
1375
if ((atab = calloc(A_TAB_SZ, sizeof(ATDIR *))) == NULL) {
bin/pax/tables.c
235
if ((ltab = calloc(L_TAB_SZ, sizeof(HRDLNK *))) == NULL) {
bin/pax/tables.c
462
if ((ftab = calloc(F_TAB_SZ, sizeof(FTM *))) == NULL) {
bin/pax/tables.c
653
if ((slitab = calloc(SL_TAB_SZ, sizeof *slitab)) == NULL) {
bin/pax/tables.c
955
if ((ntab = calloc(N_TAB_SZ, sizeof(NAMT *))) == NULL) {
bin/pax/tar.c
1011
rec = calloc(1, sizeof(*rec));
bin/pax/tar.c
932
rec = calloc(1, sizeof(*rec));
bin/pax/tar.c
964
rec = calloc(1, sizeof(*rec));
bin/ps/ps.c
372
if ((pinfo = calloc(nentries, sizeof(struct pinfo))) == NULL)
bin/ps/ps.c
596
path = calloc(1, (maxlvl + 7) / 8);
games/adventure/io.c
351
t = travel[locc] = calloc(1, sizeof(*t));
games/adventure/io.c
376
t->next = calloc(1, sizeof (*t->next));
games/atc/list.c
54
if ((p = calloc(1, sizeof (PLANE))) == NULL)
games/backgammon/backgammon/move.c
300
new = calloc (1, sizeof(struct BOARD));
games/boggle/boggle/bog.c
684
letter_map = calloc(26, sizeof(int *));
games/boggle/boggle/bog.c
688
letter_map[i] = calloc(ncubes, sizeof(int));
games/boggle/boggle/bog.c
692
pword = calloc(maxpwords, sizeof(char *));
games/boggle/boggle/bog.c
698
mword = calloc(maxmwords, sizeof(char *));
games/boggle/boggle/bog.c
722
adjacency = calloc(ncubes, sizeof(int *));
games/boggle/boggle/bog.c
731
adj = adjacency[cube] = calloc(ncubes, sizeof(int));
games/fortune/strfile/strfile.c
75
ptr = calloc(CHUNKSIZE, sizeof *ptr); \
games/hunt/hunt/list.c
106
drivers = calloc(sizeof *driver, maxdrivers);
games/hunt/huntd/answer.c
84
sp = calloc(1, sizeof *sp);
games/hunt/huntd/expl.c
157
rem_index = removed = calloc(conf_maxremove, sizeof(REGEN));
games/monop/cards.c
93
if ((dp->offsets = calloc(dp->num_cards, sizeof (int32_t))) == NULL)
games/monop/execute.c
329
if ((play = calloc(num_play, sizeof(PLAY))) == NULL)
games/monop/initdeck.c
82
if ((CC_D.offsets = calloc(CC_D.num_cards + 1,
games/monop/initdeck.c
84
(CH_D.offsets = calloc(CH_D.num_cards + 1,
games/monop/monop.c
93
if ((cur_p = play = calloc(num_play, sizeof (PLAY))) == NULL)
games/monop/prop.c
62
if ((op = calloc(1, sizeof (OWN))) == NULL)
games/sail/dr_main.c
63
(sp->file = calloc(1, sizeof (struct File))) == NULL) {
games/sail/pl_main.c
88
(sp->file = calloc(1, sizeof (struct File))) == NULL)
games/worms/worms.c
230
if (!(worm = calloc(number, sizeof(struct worm))))
games/worms/worms.c
243
!(ref = calloc(LI, sizeof(short *)))) {
games/worms/worms.c
255
if (!(ip = calloc(length, sizeof(short)))) {
games/worms/worms.c
262
if (!(ip = calloc(length, sizeof(short)))) {
include/bitstring.h
66
(bitstr_t *)calloc((size_t)bitstr_size(nbits), sizeof(bitstr_t))
include/stdlib.h
105
void *calloc(size_t, size_t);
lib/libagentx/agentx.c
1135
if ((axr = calloc(1, sizeof(*axr))) == NULL)
lib/libagentx/agentx.c
1667
if ((axi = calloc(1, sizeof(*axi))) == NULL)
lib/libagentx/agentx.c
208
if ((ax = calloc(1, sizeof(*ax))) == NULL)
lib/libagentx/agentx.c
2103
if ((axo = calloc(1, sizeof(*axo))) == NULL)
lib/libagentx/agentx.c
2556
if ((axg = calloc(1, sizeof(*axg))) == NULL) {
lib/libagentx/agentx.c
2598
if ((axg->axg_varbind = calloc(axg->axg_nvarbind,
lib/libagentx/agentx.c
2696
if ((vbl = calloc(nvarbind, sizeof(*vbl))) == NULL) {
lib/libagentx/agentx.c
3879
curvalue->aos_string = calloc(1, sizeof(*addr));
lib/libagentx/agentx.c
391
if ((axs = calloc(1, sizeof(*axs))) == NULL)
lib/libagentx/agentx.c
3925
if ((axr = calloc(1, sizeof(*axr))) == NULL) {
lib/libagentx/agentx.c
650
if ((axc = calloc(1, sizeof(*axc))) == NULL)
lib/libagentx/agentx.c
889
if ((axa = calloc(1, sizeof(*axa))) == NULL)
lib/libagentx/ax.c
167
if ((pdu = calloc(1, sizeof(*pdu))) == NULL)
lib/libagentx/ax.c
69
if ((ax = calloc(1, sizeof(*ax))) == NULL)
lib/libc/asr/asr.c
279
if (ac == NULL || (as = calloc(1, sizeof(*as))) == NULL)
lib/libc/asr/asr.c
533
if ((ac = calloc(1, sizeof(*ac))) == NULL)
lib/libc/asr/asr.c
611
if ((ac->ac_ns[ac->ac_nscount] = calloc(1, ss.ss_len)) == NULL)
lib/libc/asr/asr.c
78
if ((asr = calloc(1, sizeof(*asr))) == NULL)
lib/libc/asr/getaddrinfo_async.c
566
ai = calloc(1, sizeof(*ai) + sa->sa_len);
lib/libc/asr/gethostnamadr_async.c
575
if ((h = calloc(1, alloc)) == NULL)
lib/libc/asr/gethostnamadr_async.c
675
if ((n = calloc(1, sizeof(*n) + 1024)) == NULL) {
lib/libc/asr/getrrsetbyname_async.c
279
rrset = calloc(1, sizeof(struct rrsetinfo));
lib/libc/asr/getrrsetbyname_async.c
307
rrset->rri_rdatas = calloc(rrset->rri_nrdatas,
lib/libc/asr/getrrsetbyname_async.c
315
rrset->rri_sigs = calloc(rrset->rri_nsigs, sizeof(struct rdatainfo));
lib/libc/asr/getrrsetbyname_async.c
373
resp = calloc(1, sizeof(*resp));
lib/libc/asr/getrrsetbyname_async.c
451
curr = calloc(1, sizeof(struct dns_query));
lib/libc/asr/getrrsetbyname_async.c
511
curr = calloc(1, sizeof(struct dns_rr));
lib/libc/db/btree/bt_open.c
153
if ((t = calloc(1, sizeof(BTREE))) == NULL)
lib/libc/db/btree/bt_open.c
162
if ((t->bt_dbp = dbp = calloc(1, sizeof(DB))) == NULL)
lib/libc/db/hash/hash.c
105
if (!(hashp = (HTAB *)calloc(1, sizeof(HTAB))))
lib/libc/db/hash/hash.c
804
(SEGMENT)calloc(hashp->SGSIZE, sizeof(SEGMENT))) == NULL)
lib/libc/db/hash/hash.c
873
(SEGMENT *)calloc(hashp->DSIZE, sizeof(SEGMENT *))) == NULL) {
lib/libc/db/hash/hash.c
883
if ((store = (SEGMENT)calloc(nsegs << hashp->SSHIFT,
lib/libc/db/mpool/mpool.c
75
if ((mp = (MPOOL *)calloc(1, sizeof(MPOOL))) == NULL)
lib/libc/gen/auth_subr.c
168
if ((as = calloc(1, sizeof(auth_session_t))) != NULL) {
lib/libc/gen/fts.c
92
if ((sp = calloc(1, sizeof(FTS))) == NULL)
lib/libc/gen/fts.c
920
if ((p = calloc(1, len)) == NULL)
lib/libc/gen/getnetgrent.c
93
sl->sl_str = calloc(sl->sl_max, sizeof(char *));
lib/libc/gen/glob.c
563
if ((path_stat = calloc(n, sizeof(*path_stat))) == NULL)
lib/libc/gen/login_cap.c
179
f2 = authtypes = calloc(sizeof(char *), i);
lib/libc/gen/login_cap.c
89
if ((lc = calloc(1, sizeof(login_cap_t))) == NULL) {
lib/libc/gen/posix_spawn.c
370
sa = calloc(1, sizeof(struct __posix_spawnattr));
lib/libc/gen/pwcache.c
121
if ((uidtb = calloc(UID_SZ, sizeof(UIDC *))) == NULL) {
lib/libc/gen/pwcache.c
143
if ((gidtb = calloc(GID_SZ, sizeof(GIDC *))) == NULL) {
lib/libc/gen/pwcache.c
165
if ((usrtb = calloc(UNM_SZ, sizeof(UIDC *))) == NULL) {
lib/libc/gen/pwcache.c
187
if ((grptb = calloc(GNM_SZ, sizeof(GIDC *))) == NULL) {
lib/libc/gen/scandir.c
84
names = calloc(arraysz, sizeof(struct dirent *));
lib/libc/gen/setmode.c
190
if ((set = calloc((u_int)sizeof(BITCMD), setlen)) == NULL)
lib/libc/gen/strtofflags.c
85
if ((string = calloc(nmappings, longestflaglen + 1)) == NULL)
lib/libc/hidden/stdlib.h
71
PROTO_NORMAL(calloc);
lib/libc/locale/rune.c
138
re[i].re_rune_types = calloc(l, sizeof(_RuneType));
lib/libc/locale/rune.c
259
if ((hostdata = calloc(hostdatalen, 1)) == NULL)
lib/libc/locale/setlocale.c
43
if ((newgl = calloc(_LC_LAST, sizeof(*newgl))) == NULL)
lib/libc/net/getifaddrs.c
174
data = calloc(dsize, 1);
lib/libc/net/getprotoent.c
113
pd->aliases = calloc(pd->maxaliases, sizeof(char *));
lib/libc/net/getservent.c
122
sd->aliases = calloc(sd->maxaliases, sizeof(char *));
lib/libc/net/if_nameindex.c
117
ifni = calloc(ni + 1, sizeof(struct if_nameindex) + IF_NAMESIZE);
lib/libc/net/rcmdsh.c
160
ap = argv = calloc(sizeof(char *), n);
lib/libc/rpc/auth_none.c
78
ap = calloc(1, sizeof (*ap));
lib/libc/rpc/clnt_raw.c
92
clp = calloc(1, sizeof (*clp));
lib/libc/rpc/clnt_simple.c
67
crp = calloc(1, sizeof (*crp));
lib/libc/rpc/getrpcent.c
63
d = calloc(1, sizeof (struct rpcdata));
lib/libc/rpc/pmap_rmt.c
177
addrs = calloc(n, sizeof(*addrs));
lib/libc/rpc/svc.c
106
xp = calloc(size, sizeof(SVCXPRT *));
lib/libc/rpc/svc_raw.c
79
srp = calloc(1, sizeof (*srp));
lib/libc/rpc/svc_udp.c
340
(uc->uc_entries = calloc(size, sizeof(cache_ptr) * SPARSENESS)) == NULL) {
lib/libc/rpc/svc_udp.c
344
uc->uc_fifo = calloc(sizeof(cache_ptr), size);
lib/libc/rpc/xdr_reference.c
71
*pp = loc = (caddr_t) calloc(size, 1);
lib/libc/stdio/findfp.c
81
data = calloc(1, sizeof(*g) + ALIGNBYTES + n * sizeof(FILE));
lib/libc/stdio/open_memstream.c
132
if ((st->string = calloc(1, st->size)) == NULL) {
lib/libc/stdio/open_wmemstream.c
142
if ((st->string = calloc(1, st->size)) == NULL) {
lib/libc/stdio/vfwprintf.c
204
convbuf = calloc(insize + 1, sizeof(*convbuf));
lib/libc/stdlib/hcreate.c
118
htable = calloc(htablesize, sizeof htable[0]);
lib/libc/stdlib/icdb.c
130
if (!(db = calloc(1, sizeof(*db))))
lib/libc/stdlib/icdb.c
132
if (!(info = calloc(1, sizeof(*info)))) {
lib/libc/stdlib/icdb.c
179
if (!(db = calloc(1, sizeof(*db))))
lib/libc/stdlib/malloc.c
1989
DEF_STRONG(calloc);
lib/libc/stdlib/malloc.c
2088
return calloc(newnmemb, size);
lib/libc/stdlib/radixsort.c
107
if ((ta = calloc(n, sizeof(a))) == NULL)
lib/libc/stdlib/recallocarray.c
37
return calloc(newnmemb, size);
lib/libc/stdlib/thread_atexit.c
32
fnp = calloc(1, sizeof(struct thread_atexit_fn));
lib/libc/thread/rthread_cond.c
35
cond = calloc(1, sizeof(*cond));
lib/libc/thread/rthread_condattr.c
34
attr = calloc(1, sizeof(*attr));
lib/libc/thread/rthread_libc.c
109
ret = calloc(1, sz);
lib/libc/thread/rthread_mutex.c
53
mutex = calloc(1, sizeof(*mutex));
lib/libc/thread/rthread_sync.c
250
cond = calloc(1, sizeof(*cond));
lib/libc/thread/rthread_sync.c
43
mutex = calloc(1, sizeof(*mutex));
lib/libc/thread/rthread_tls.c
116
rs = calloc(1, sizeof(*rs));
lib/libc/time/localtime.c
1143
lclptr = calloc(1, sizeof *lclptr);
lib/libc/time/localtime.c
1192
lclptr = calloc(1, sizeof *lclptr);
lib/libc/time/localtime.c
1356
gmtptr = calloc(1, sizeof(*gmtptr));
lib/libc/time/localtime.c
386
up = calloc(1, sizeof *up);
lib/libc/yp/yp_bind.c
64
ypbinding = calloc(1, sizeof (*ypbinding));
lib/libcrypto/asn1/a_object.c
631
buf = calloc(1, objsize);
lib/libcrypto/asn1/a_object.c
83
if ((a = calloc(1, sizeof(ASN1_OBJECT))) == NULL) {
lib/libcrypto/asn1/a_string.c
187
if ((astr->data = calloc(1, len + 1)) == NULL) {
lib/libcrypto/asn1/a_string.c
80
if ((astr = calloc(1, sizeof(ASN1_STRING))) == NULL) {
lib/libcrypto/asn1/asn1_item.c
301
if ((out = calloc(1, out_len)) == NULL) {
lib/libcrypto/asn1/bio_asn1.c
156
if ((ctx = calloc(1, sizeof(*ctx))) == NULL)
lib/libcrypto/asn1/bio_ndef.c
139
if ((ndef_aux = calloc(1, sizeof(*ndef_aux))) == NULL)
lib/libcrypto/asn1/tasn_enc.c
119
if ((buf = calloc(1, len)) == NULL)
lib/libcrypto/asn1/tasn_new.c
139
*pval = calloc(1, it->size);
lib/libcrypto/asn1/tasn_new.c
157
*pval = calloc(1, it->size);
lib/libcrypto/bio/bio_lib.c
139
if ((bio = calloc(1, sizeof(BIO))) == NULL) {
lib/libcrypto/bio/bio_meth.c
29
if ((biom = calloc(1, sizeof(*biom))) == NULL)
lib/libcrypto/bio/bss_acpt.c
144
if ((ret = calloc(1, sizeof(BIO_ACCEPT))) == NULL)
lib/libcrypto/bio/bss_dgram.c
144
data = calloc(1, sizeof(bio_dgram_data));
lib/libcrypto/bio/bss_mem.c
160
if ((bm = calloc(1, sizeof(*bm))) == NULL)
lib/libcrypto/bn/bn_ctx.c
71
return calloc(1, sizeof(struct bignum_ctx));
lib/libcrypto/bn/bn_exp.c
445
if ((powerbufFree = calloc(powerbufLen +
lib/libcrypto/bn/bn_lib.c
710
if ((cb = calloc(1, sizeof(*cb))) == NULL)
lib/libcrypto/bn/bn_lib.c
75
if ((bn = calloc(1, sizeof(BIGNUM))) == NULL) {
lib/libcrypto/bn/bn_mont.c
132
if ((mctx = calloc(1, sizeof(BN_MONT_CTX))) == NULL)
lib/libcrypto/bn/bn_recp.c
76
if ((recp = calloc(1, sizeof(*recp))) == NULL)
lib/libcrypto/buffer/buffer.c
79
if ((ret = calloc(1, sizeof(BUF_MEM))) == NULL) {
lib/libcrypto/bytestring/bs_cbb.c
31
if ((base = calloc(1, sizeof(struct cbb_buffer_st))) == NULL)
lib/libcrypto/bytestring/bs_cbb.c
55
if ((buf = calloc(1, initial_capacity)) == NULL)
lib/libcrypto/cmac/cmac.c
115
if ((ctx = calloc(1, sizeof(CMAC_CTX))) == NULL)
lib/libcrypto/cms/cms_sd.c
791
if ((sig = calloc(1, sig_len)) == NULL)
lib/libcrypto/conf/conf_api.c
233
if ((v = calloc(1, sizeof(*v))) == NULL)
lib/libcrypto/conf/conf_def.c
88
ret = calloc(1, sizeof(CONF) + sizeof(unsigned short *));
lib/libcrypto/conf/conf_mod.c
230
if ((mod = calloc(1, sizeof(*mod))) == NULL)
lib/libcrypto/conf/conf_mod.c
288
if ((imod = calloc(1, sizeof(*imod))) == NULL)
lib/libcrypto/crypto_ex_data.c
103
if ((new_class = calloc(1, sizeof(*new_class))) == NULL)
lib/libcrypto/crypto_ex_data.c
105
if ((new_class->indexes = calloc(CRYPTO_EX_DATA_MAX_INDEX,
lib/libcrypto/crypto_ex_data.c
121
if ((index = calloc(1, sizeof(*index))) == NULL)
lib/libcrypto/crypto_ex_data.c
202
if ((ced = calloc(1, sizeof(*ced))) == NULL)
lib/libcrypto/crypto_ex_data.c
207
if ((ced->slots = calloc(CRYPTO_EX_DATA_MAX_INDEX, sizeof(*ced->slots))) == NULL)
lib/libcrypto/crypto_ex_data.c
54
if ((classes_new = calloc(CRYPTO_EX_INDEX__COUNT,
lib/libcrypto/ct/ct_log.c
116
CTLOG_STORE_LOAD_CTX *ctx = calloc(1, sizeof(*ctx));
lib/libcrypto/ct/ct_log.c
153
CTLOG_STORE *ret = calloc(1, sizeof(*ret));
lib/libcrypto/ct/ct_log.c
303
CTLOG *ret = calloc(1, sizeof(*ret));
lib/libcrypto/ct/ct_policy.c
77
CT_POLICY_EVAL_CTX *ctx = calloc(1, sizeof(CT_POLICY_EVAL_CTX));
lib/libcrypto/ct/ct_sct.c
79
SCT *sct = calloc(1, sizeof(*sct));
lib/libcrypto/ct/ct_sct_ctx.c
76
SCT_CTX *sctx = calloc(1, sizeof(*sctx));
lib/libcrypto/dh/dh_lib.c
119
if ((dh = calloc(1, sizeof(*dh))) == NULL) {
lib/libcrypto/dsa/dsa_lib.c
125
if ((dsa = calloc(1, sizeof(DSA))) == NULL) {
lib/libcrypto/dsa/dsa_meth.c
31
if ((meth = calloc(1, sizeof(*meth))) == NULL)
lib/libcrypto/dsa/dsa_meth.c
59
if ((copy = calloc(1, sizeof(*copy))) == NULL)
lib/libcrypto/dsa/dsa_ossl.c
421
return calloc(1, sizeof(DSA_SIG));
lib/libcrypto/ec/ec_asn1.c
682
if ((buf = calloc(1, len + 1)) == NULL)
lib/libcrypto/ec/ec_convert.c
368
if ((buf = calloc(1, len)) == NULL)
lib/libcrypto/ec/ec_convert.c
525
if ((buf = calloc(1, buf_len)) == NULL)
lib/libcrypto/ec/ec_curve.c
1322
if ((buf = calloc(1, param_len)) == NULL)
lib/libcrypto/ec/ec_curve.c
1372
if ((curve = calloc(1, sizeof(*curve))) == NULL)
lib/libcrypto/ec/ec_curve.c
1408
if ((seed = calloc(1, seed_len)) == NULL)
lib/libcrypto/ec/ec_key.c
567
if ((ret = calloc(1, sizeof(EC_KEY))) == NULL) {
lib/libcrypto/ec/ec_key.c
601
if ((ret = calloc(1, sizeof(*meth))) == NULL)
lib/libcrypto/ec/ec_lib.c
815
if ((point = calloc(1, sizeof(*point))) == NULL) {
lib/libcrypto/ec/ec_lib.c
87
if ((group = calloc(1, sizeof(*group))) == NULL) {
lib/libcrypto/ec/ec_mult.c
170
if ((val = calloc(len, sizeof(*val))) == NULL) {
lib/libcrypto/ec/ec_mult.c
222
if ((wnaf = calloc(1, sizeof(*wnaf))) == NULL)
lib/libcrypto/ec/ec_mult.c
226
if ((wnaf->digits = calloc(wnaf->num_digits,
lib/libcrypto/ec/ec_mult.c
234
if ((wnaf->multiples = calloc(wnaf->num_multiples,
lib/libcrypto/ec/ec_pmeth.c
100
if ((dctx = calloc(1, sizeof(EC_PKEY_CTX))) == NULL) {
lib/libcrypto/ec/ec_pmeth.c
137
if ((dctx->kdf_ukm = calloc(1, sctx->kdf_ukmlen)) == NULL)
lib/libcrypto/ec/ec_pmeth.c
265
if ((ktmp = calloc(1, ktmplen)) == NULL) {
lib/libcrypto/ec/ecp_hp_methods.c
712
if ((prod_Z = calloc(num, sizeof *prod_Z)) == NULL)
lib/libcrypto/ec/ecp_hp_methods.c
817
if ((scalar_bytes = calloc(1, scalar_len)) == NULL)
lib/libcrypto/ec/ecp_methods.c
546
if ((prod_Z = calloc(num, sizeof *prod_Z)) == NULL)
lib/libcrypto/ec/ecx_methods.c
109
if ((pub_key = calloc(1, ecx_key->key_len)) == NULL)
lib/libcrypto/ec/ecx_methods.c
111
if ((priv_key = calloc(1, ecx_key->key_len)) == NULL)
lib/libcrypto/ec/ecx_methods.c
154
if ((pub_key = calloc(1, ecx_key->key_len)) == NULL)
lib/libcrypto/ec/ecx_methods.c
69
if ((ecx_key = calloc(1, sizeof(*ecx_key))) == NULL)
lib/libcrypto/ecdh/ecdh.c
199
if ((buf = calloc(1, buf_len)) == NULL) {
lib/libcrypto/evp/bio_enc.c
128
if ((ctx = calloc(1, sizeof(BIO_ENC_CTX))) == NULL)
lib/libcrypto/evp/e_aes.c
1400
if ((gcm_ctx = calloc(1, sizeof(struct aead_aes_gcm_ctx))) == NULL)
lib/libcrypto/evp/e_aes.c
798
if ((gctx_out->iv = calloc(1, gctx->ivlen)) == NULL)
lib/libcrypto/evp/evp_aead.c
80
return calloc(1, sizeof(EVP_AEAD_CTX));
lib/libcrypto/evp/evp_cipher.c
1107
if ((cipher = calloc(1, sizeof(*cipher))) == NULL)
lib/libcrypto/evp/evp_cipher.c
1123
if ((copy = calloc(1, sizeof(*copy))) == NULL)
lib/libcrypto/evp/evp_cipher.c
162
ctx->cipher_data = calloc(1, ctx->cipher->ctx_size);
lib/libcrypto/evp/evp_cipher.c
617
return calloc(1, sizeof(EVP_CIPHER_CTX));
lib/libcrypto/evp/evp_cipher.c
722
out->cipher_data = calloc(1, in->cipher->ctx_size);
lib/libcrypto/evp/evp_digest.c
145
ctx->md_data = calloc(1, type->ctx_size);
lib/libcrypto/evp/evp_digest.c
229
return calloc(1, sizeof(EVP_MD_CTX));
lib/libcrypto/evp/evp_digest.c
345
out->md_data = calloc(1, out->digest->ctx_size);
lib/libcrypto/evp/evp_encode.c
129
return calloc(1, sizeof(EVP_ENCODE_CTX));
lib/libcrypto/evp/p_lib.c
385
if ((pkey = calloc(1, sizeof(*pkey))) == NULL) {
lib/libcrypto/evp/pmeth_lib.c
133
if ((pkey_ctx = calloc(1, sizeof(*pkey_ctx))) == NULL) {
lib/libcrypto/evp/pmeth_lib.c
176
if ((rctx = calloc(1, sizeof(*rctx))) == NULL) {
lib/libcrypto/hmac/hm_pmeth.c
83
if ((hctx = calloc(1, sizeof(HMAC_PKEY_CTX))) == NULL)
lib/libcrypto/hmac/hmac.c
175
return calloc(1, sizeof(HMAC_CTX));
lib/libcrypto/kdf/hkdf_evp.c
78
if ((kctx = calloc(1, sizeof(*kctx))) == NULL) {
lib/libcrypto/kdf/tls1_prf.c
130
if ((kctx->secret = calloc(1, p1)) == NULL)
lib/libcrypto/kdf/tls1_prf.c
275
if ((tmp = calloc(1, out_len)) == NULL) {
lib/libcrypto/kdf/tls1_prf.c
85
if ((kctx = calloc(1, sizeof(*kctx))) == NULL) {
lib/libcrypto/lhash/lhash.c
212
if ((ret = calloc(1, sizeof(_LHASH))) == NULL)
lib/libcrypto/lhash/lhash.c
214
if ((ret->b = calloc(MIN_NODES, sizeof(LHASH_NODE *))) == NULL) {
lib/libcrypto/mlkem/mlkem.c
115
if ((entropy_buf = calloc(1, MLKEM_SEED_LENGTH)) == NULL)
lib/libcrypto/mlkem/mlkem.c
203
if ((secret = calloc(1, MLKEM_SHARED_SECRET_LENGTH)) == NULL)
lib/libcrypto/mlkem/mlkem.c
208
if ((ciphertext = calloc(1, ciphertext_len)) == NULL)
lib/libcrypto/mlkem/mlkem.c
263
if ((s = calloc(1, MLKEM_SHARED_SECRET_LENGTH)) == NULL)
lib/libcrypto/mlkem/mlkem.c
80
if ((k = calloc(1, k_len)) == NULL)
lib/libcrypto/mlkem/mlkem_internal.c
1114
if ((expected_ciphertext = calloc(1, expected_ciphertext_length)) ==
lib/libcrypto/mlkem/mlkem_internal.c
895
if ((public_key_buf = calloc(1, public_key_buf_len)) == NULL)
lib/libcrypto/mlkem/mlkem_key.c
113
if ((key = calloc(1, sizeof(*key))) == NULL)
lib/libcrypto/mlkem/mlkem_key.c
118
if ((key->key_768 = calloc(1, sizeof(*key->key_768))) == NULL)
lib/libcrypto/mlkem/mlkem_key.c
122
if ((key->key_1024 = calloc(1, sizeof(*key->key_1024))) == NULL)
lib/libcrypto/mlkem/mlkem_key.c
31
if ((key = calloc(1, sizeof(*key))) == NULL)
lib/libcrypto/mlkem/mlkem_key.c
36
if ((key->key_768 = calloc(1, sizeof(*key->key_768))) == NULL)
lib/libcrypto/mlkem/mlkem_key.c
40
if ((key->key_1024 = calloc(1, sizeof(*key->key_1024))) == NULL)
lib/libcrypto/modes/gcm128.c
241
if ((ctx = calloc(1, sizeof(*ctx))) == NULL)
lib/libcrypto/objects/obj_dat.c
541
if ((buf = calloc(1, len)) == NULL) {
lib/libcrypto/pem/pem_info.c
108
if ((ret = calloc(1, sizeof(X509_INFO))) == NULL) {
lib/libcrypto/pem/pem_info.c
85
if ((x_pkey = calloc(1, sizeof(*x_pkey))) == NULL) {
lib/libcrypto/rsa/rsa_ameth.c
1172
if ((label = calloc(1, label_len)) == NULL)
lib/libcrypto/rsa/rsa_blinding.c
144
if ((ret = calloc(1, sizeof(BN_BLINDING))) == NULL) {
lib/libcrypto/rsa/rsa_lib.c
133
if ((ret = calloc(1, sizeof(RSA))) == NULL) {
lib/libcrypto/rsa/rsa_meth.c
30
if ((meth = calloc(1, sizeof(*meth))) == NULL)
lib/libcrypto/rsa/rsa_meth.c
58
if ((copy = calloc(1, sizeof(*copy))) == NULL)
lib/libcrypto/rsa/rsa_pmeth.c
111
if ((rctx = calloc(1, sizeof(RSA_PKEY_CTX))) == NULL)
lib/libcrypto/rsa/rsa_pmeth.c
153
if ((dctx->oaep_label = calloc(1, sctx->oaep_label_len)) == NULL)
lib/libcrypto/rsa/rsa_pmeth.c
167
if ((ctx->tbuf = calloc(1, EVP_PKEY_size(pk->pkey))) == NULL) {
lib/libcrypto/sm2/sm2_crypt.c
337
if ((x2y2 = calloc(2, field_size)) == NULL) {
lib/libcrypto/sm2/sm2_crypt.c
342
if ((C3 = calloc(1, C3_size)) == NULL) {
lib/libcrypto/sm2/sm2_crypt.c
383
if ((msg_mask = calloc(1, msg_len)) == NULL) {
lib/libcrypto/sm2/sm2_crypt.c
526
if ((msg_mask = calloc(1, msg_len)) == NULL) {
lib/libcrypto/sm2/sm2_crypt.c
530
if ((x2y2 = calloc(2, field_size)) == NULL) {
lib/libcrypto/sm2/sm2_crypt.c
534
if ((computed_C3 = calloc(1, hash_size)) == NULL) {
lib/libcrypto/sm2/sm2_pmeth.c
49
if ((dctx = calloc(1, sizeof(*dctx))) == NULL) {
lib/libcrypto/sm2/sm2_sign.c
49
if ((za = calloc(1, md_size)) == NULL) {
lib/libcrypto/sm2/sm2_za.c
93
if ((buf = calloc(1, p_bytes)) == NULL)
lib/libcrypto/ts/ts_rsp_sign.c
161
if (!(ctx = calloc(1, sizeof(TS_RESP_CTX)))) {
lib/libcrypto/ts/ts_verify_ctx.c
70
TS_VERIFY_CTX *ctx = calloc(1, sizeof(TS_VERIFY_CTX));
lib/libcrypto/ui/ui_lib.c
155
if ((uis = calloc(1, sizeof(UI_STRING))) == NULL) {
lib/libcrypto/ui/ui_lib.c
573
if ((method = calloc(1, sizeof(UI_METHOD))) == NULL)
lib/libcrypto/ui/ui_lib.c
83
if ((ret = calloc(1, sizeof(UI))) == NULL) {
lib/libcrypto/x509/x509_asid.c
761
if ((r = calloc(1, sizeof(*r))) == NULL) {
lib/libcrypto/x509/x509_conf.c
195
if ((ext_der = calloc(1, ext_len)) == NULL)
lib/libcrypto/x509/x509_constraints.c
115
if ((new = calloc(1, sizeof(struct x509_constraints_names))) == NULL)
lib/libcrypto/x509/x509_constraints.c
63
return (calloc(1, sizeof(struct x509_constraints_name)));
lib/libcrypto/x509/x509_issuer_cache.c
164
if ((new = calloc(1, sizeof(struct x509_issuer))) == NULL)
lib/libcrypto/x509/x509_issuer_cache.c
166
if ((new->parent_md = calloc(1, EVP_MAX_MD_SIZE)) == NULL)
lib/libcrypto/x509/x509_issuer_cache.c
169
if ((new->child_md = calloc(1, EVP_MAX_MD_SIZE)) == NULL)
lib/libcrypto/x509/x509_lu.c
145
if ((store = calloc(1, sizeof(*store))) == NULL)
lib/libcrypto/x509/x509_lu.c
176
if ((obj = calloc(1, sizeof(*obj))) == NULL) {
lib/libcrypto/x509/x509_lu.c
76
if ((lu = calloc(1, sizeof(*lu))) == NULL) {
lib/libcrypto/x509/x509_policy.c
202
if ((node = calloc(1, sizeof(*node))) == NULL)
lib/libcrypto/x509/x509_policy.c
238
if ((level = calloc(1, sizeof(*level))) == NULL)
lib/libcrypto/x509/x509_utl.c
101
if ((conf_value = calloc(1, sizeof(*conf_value))) == NULL) {
lib/libcrypto/x509/x509_verify.c
1000
if ((ctx = calloc(1, sizeof(struct x509_verify_ctx))) == NULL)
lib/libcrypto/x509/x509_verify.c
1015
if ((ctx->chains = calloc(X509_VERIFY_MAX_CHAINS,
lib/libcrypto/x509/x509_verify.c
133
if ((new_chain = calloc(1, sizeof(*chain))) == NULL)
lib/libcrypto/x509/x509_verify.c
137
if ((new_chain->cert_errors = calloc(X509_VERIFY_MAX_CHAIN_CERTS,
lib/libcrypto/x509/x509_verify.c
91
if ((chain = calloc(1, sizeof(*chain))) == NULL)
lib/libcrypto/x509/x509_verify.c
95
if ((chain->cert_errors = calloc(X509_VERIFY_MAX_CHAIN_CERTS,
lib/libcrypto/x509/x509_vfy.c
2230
ctx = calloc(1, sizeof(X509_STORE_CTX));
lib/libcrypto/x509/x509_vpm.c
191
param = calloc(1, sizeof(X509_VERIFY_PARAM));
lib/libcurses/nc_alloc.h
120
#define typeCalloc(type,elts) (type *)calloc((size_t)(elts),sizeof(type))
lib/libcurses/tinfo/alloc_ttype.c
671
if ((new_table = calloc(str_size, 1)) == NULL)
lib/libcurses/tinfo/obsolete.c
303
: calloc(nmemb, size));
lib/libedit/chared.c
393
el->el_line.buffer = calloc(EL_BUFSIZ, sizeof(*el->el_line.buffer));
lib/libedit/chared.c
400
el->el_chared.c_undo.buf = calloc(EL_BUFSIZ,
lib/libedit/chared.c
418
el->el_chared.c_kill.buf = calloc(EL_BUFSIZ,
lib/libedit/el.c
60
EditLine *el = (EditLine *) calloc(1, sizeof(EditLine));
lib/libedit/terminal.c
275
el->el_terminal.t_str = calloc(T_str, sizeof(char *));
lib/libedit/terminal.c
278
el->el_terminal.t_val = calloc(T_val, sizeof(int));
lib/libedit/terminal.c
416
b = calloc(c->v + 1, sizeof(*b));
lib/libedit/terminal.c
420
b[i] = calloc(c->h + 1, sizeof(**b));
lib/libedit/terminal.c
431
b = calloc(c->v + 1, sizeof(*b));
lib/libedit/terminal.c
435
b[i] = calloc(c->h + 1, sizeof(**b));
lib/libelf/libelf_allocate.c
124
if ((d = calloc((size_t) 1, sizeof(*d))) == NULL) {
lib/libelf/libelf_allocate.c
151
if ((s = calloc((size_t) 1, sizeof(Elf_Scn))) == NULL) {
lib/libelf/libelf_allocate.c
46
if ((e = calloc((size_t) 1, sizeof(*e))) == NULL) {
lib/libelf/libelf_ehdr.c
154
if ((ehdr = calloc((size_t) 1, msz)) == NULL) {
lib/libelf/libelf_phdr.c
136
if (count > 0 && (newphdr = calloc(count, msz)) == NULL) {
lib/libelf/libelf_phdr.c
93
if ((phdr = calloc(phnum, msz)) == NULL) {
lib/libevent/buffer.c
51
buffer = calloc(1, sizeof(struct evbuffer));
lib/libevent/evbuffer.c
219
if ((bufev = calloc(1, sizeof(struct bufferevent))) == NULL)
lib/libevent/event.c
113
if ((base = calloc(1, sizeof(struct event_base))) == NULL)
lib/libevent/event.c
278
calloc(base->nactivequeues, sizeof(struct event_list *));
lib/libevent/event.c
538
if ((eonce = calloc(1, sizeof(struct event_once))) == NULL)
lib/libevent/event.c
965
eva = calloc(1, sizeof *eva);
lib/libevent/event_tagging.c
393
*pstring = calloc(EVBUFFER_LENGTH(_buf) + 1, 1);
lib/libevent/kqueue.c
107
kqueueop->changes = calloc(NEVENT, sizeof(struct kevent));
lib/libevent/kqueue.c
112
kqueueop->events = calloc(NEVENT, sizeof(struct kevent));
lib/libevent/kqueue.c
91
if (!(kqueueop = calloc(1, sizeof(struct kqop))))
lib/libevent/poll.c
87
if (!(pollop = calloc(1, sizeof(struct pollop))))
lib/libevent/select.c
88
if (!(sop = calloc(1, sizeof(struct selectop))))
lib/libexpat/tests/minicheck.c
133
SRunner *const runner = (SRunner *)calloc(1, sizeof(SRunner));
lib/libexpat/tests/minicheck.c
57
Suite *suite = (Suite *)calloc(1, sizeof(Suite));
lib/libexpat/tests/minicheck.c
66
TCase *tc = (TCase *)calloc(1, sizeof(TCase));
lib/libfido2/src/aes256.c
136
if ((out->ptr = calloc(1, out->len)) == NULL) {
lib/libfido2/src/aes256.c
28
if ((out->ptr = calloc(1, out->len)) == NULL) {
lib/libfido2/src/aes256.c
99
(out->ptr = calloc(1, sizeof(iv) + cout.len)) == NULL) {
lib/libfido2/src/assert.c
176
if ((assert->stmt = calloc(1, sizeof(fido_assert_stmt))) == NULL)
lib/libfido2/src/assert.c
661
return (calloc(1, sizeof(fido_assert_t)));
lib/libfido2/src/bio.c
220
if ((ta->ptr = calloc(cbor_array_size(val), sizeof(*ta->ptr))) == NULL)
lib/libfido2/src/bio.c
728
return (calloc(1, sizeof(fido_bio_template_array_t)));
lib/libfido2/src/bio.c
734
return (calloc(1, sizeof(fido_bio_template_t)));
lib/libfido2/src/bio.c
799
return (calloc(1, sizeof(fido_bio_enroll_t)));
lib/libfido2/src/bio.c
805
return (calloc(1, sizeof(fido_bio_info_t)));
lib/libfido2/src/blob.c
12
return calloc(1, sizeof(fido_blob_t));
lib/libfido2/src/compress.c
120
if ((out->ptr = calloc(1, olen)) == NULL) {
lib/libfido2/src/compress.c
28
if ((out->ptr = calloc(1, olen)) == NULL)
lib/libfido2/src/compress.c
65
if ((out->ptr = calloc(1, olen)) == NULL) {
lib/libfido2/src/cred.c
512
return (calloc(1, sizeof(fido_cred_t)));
lib/libfido2/src/credman.c
657
return (calloc(1, sizeof(fido_credman_rk_t)));
lib/libfido2/src/credman.c
691
return (calloc(1, sizeof(fido_credman_metadata_t)));
lib/libfido2/src/credman.c
721
return (calloc(1, sizeof(fido_credman_rp_t)));
lib/libfido2/src/dev.c
416
if ((dev = calloc(1, sizeof(*dev))) == NULL)
lib/libfido2/src/dev.c
436
if ((dev = calloc(1, sizeof(*dev))) == NULL)
lib/libfido2/src/ecdh.c
140
(secret->ptr = calloc(1, secret->len)) == NULL ||
lib/libfido2/src/ecdh.c
89
if ((key->ptr = calloc(1, key->len)) == NULL ||
lib/libfido2/src/ecdh.c
98
if ((key->ptr = calloc(1, key->len)) == NULL ||
lib/libfido2/src/eddsa.c
107
return (calloc(1, sizeof(eddsa_pk_t)));
lib/libfido2/src/es256.c
145
return (calloc(1, sizeof(es256_sk_t)));
lib/libfido2/src/es256.c
163
return (calloc(1, sizeof(es256_pk_t)));
lib/libfido2/src/hid.c
121
return (calloc(n, sizeof(fido_dev_info_t)));
lib/libfido2/src/hid_openbsd.c
151
if ((ret = calloc(1, sizeof(*ret))) == NULL ||
lib/libfido2/src/info.c
103
o->name = calloc(cbor_map_size(item), sizeof(char *));
lib/libfido2/src/info.c
104
o->value = calloc(cbor_map_size(item), sizeof(bool));
lib/libfido2/src/info.c
142
p->ptr = calloc(cbor_array_size(item), sizeof(uint8_t));
lib/libfido2/src/info.c
227
aa->ptr = calloc(cbor_array_size(item), sizeof(fido_algo_t));
lib/libfido2/src/info.c
350
return (calloc(1, sizeof(fido_cbor_info_t)));
lib/libfido2/src/info.c
38
v->ptr = calloc(cbor_array_size(item), sizeof(char *));
lib/libfido2/src/iso7816.c
16
if ((apdu = calloc(1, alloc_len)) == NULL)
lib/libfido2/src/largeblob.c
25
return calloc(1, sizeof(largeblob_t));
lib/libfido2/src/pin.c
21
if ((digest->ptr = calloc(1, SHA256_DIGEST_LENGTH)) == NULL)
lib/libfido2/src/pin.c
84
if (ppin_len < pin_len || ((*ppin)->ptr = calloc(1, ppin_len)) == NULL) {
lib/libfido2/src/rs256.c
81
return (calloc(1, sizeof(rs256_pk_t)));
lib/libfido2/src/types.c
63
if ((sa->ptr = calloc(n, sizeof(char *))) == NULL) {
lib/libfido2/src/u2f.c
522
ptr = authdata_blob.ptr = calloc(1, authdata_blob.len);
lib/libfido2/src/u2f.c
56
if ((sig->ptr = calloc(1, sig->len)) == NULL ||
lib/libfido2/src/u2f.c
596
(kh = calloc(1, kh_len)) == NULL ||
lib/libfido2/src/u2f.c
86
if ((x5c->ptr = calloc(1, x5c->len)) == NULL ||
lib/libfuse/fuse.c
133
fc = calloc(1, sizeof(*fc));
lib/libfuse/fuse.c
263
if ((fuse = calloc(1, sizeof(*fuse))) == NULL)
lib/libfuse/fuse.c
302
ictx = calloc(1, sizeof(*ictx));
lib/libfuse/fuse_lowlevel.c
88
se = calloc(1, sizeof(*se));
lib/libfuse/fuse_ops.c
300
fd.buf = calloc(1, size);
lib/libfuse/fuse_ops.c
495
buf = calloc(1, size);
lib/libfuse/fuse_opt.c
50
argv = calloc(args->argc, sizeof(*argv));
lib/libfuse/fuse_session.c
99
fbuf.fb_dat = calloc(1, FUSEBUFMAXSIZE);
lib/libkeynote/auxil.c
145
kl = calloc(1, sizeof(struct keylist));
lib/libkeynote/environment.c
137
calloc(cachesize, sizeof(char));
lib/libkeynote/environment.c
256
en = calloc(1, sizeof(struct environment));
lib/libkeynote/environment.c
418
keynote_current_session = calloc(1, sizeof(struct keynote_session));
lib/libkeynote/environment.c
802
if ((buf = calloc(bufsize, sizeof(char *))) == NULL) {
lib/libkeynote/environment.c
825
buf[*numassertions] = calloc((buffer + i) - ptr
lib/libkeynote/environment.c
90
calloc(cachesize, sizeof(char));
lib/libkeynote/keynote-keygen.c
123
algname = calloc(len, sizeof(char));
lib/libkeynote/keynote-keygen.c
252
privalgname = calloc(len, sizeof(char));
lib/libkeynote/keynote-keygen.c
333
privalgname = calloc(len, sizeof(char));
lib/libkeynote/keynote-sign.c
126
buf = calloc(buflen, sizeof(char));
lib/libkeynote/keynote-sign.c
161
buf2 = calloc(sb.st_size + 1, sizeof(char));
lib/libkeynote/keynote-sign.c
92
algname = calloc(len, sizeof(char));
lib/libkeynote/keynote-sigver.c
78
buf = calloc(sb.st_size + 1, sizeof(char));
lib/libkeynote/keynote-verify.c
123
buf = calloc(cl, sizeof(char));
lib/libkeynote/keynote-verify.c
184
foov = calloc(numretv, sizeof(char **));
lib/libkeynote/keynote-verify.c
201
retv[numret] = calloc((ptr - optarg) + 1,
lib/libkeynote/keynote-verify.c
243
buf = calloc(cl, sizeof(char));
lib/libkeynote/keynote-verify.c
327
buf = calloc(cl, sizeof(char));
lib/libkeynote/keynote-verify.c
69
if ((buf = calloc(cl, sizeof(char))) == NULL)
lib/libkeynote/keynote-verify.c
75
if ((retv = calloc(numretv, sizeof(char *))) == NULL)
lib/libkeynote/keynote.y
534
gr = calloc(pmatch[i].rm_eo - pmatch[i].rm_so +
lib/libkeynote/keynote.y
572
$$ = calloc(len, sizeof(char));
lib/libkeynote/keynote.y
857
keynote_kth_array = calloc(i, sizeof(int));
lib/libkeynote/parse_assertion.c
375
as = calloc(1, sizeof(struct assertion));
lib/libkeynote/signature.c
1159
ptr = foo = calloc(i, sizeof(char));
lib/libkeynote/signature.c
116
*dest = calloc(decodedlen, sizeof(char));
lib/libkeynote/signature.c
1185
s = calloc(2 * i, sizeof(char));
lib/libkeynote/signature.c
1222
ptr = foo = calloc(i, sizeof(char));
lib/libkeynote/signature.c
1248
s = calloc(2 * i, sizeof(char));
lib/libkeynote/signature.c
1285
s = calloc(2 * bn->bn_len, sizeof(char));
lib/libkeynote/signature.c
403
decoded = calloc(len, sizeof(unsigned char));
lib/libkeynote/signature.c
532
dc->dec_key = calloc(1, sizeof(struct keynote_binary));
lib/libkeynote/signature.c
717
decoded = calloc(len, sizeof(unsigned char));
lib/libkeynote/signature.c
81
*dest = calloc(2 * len + 1, sizeof(char));
lib/libkeynote/signature.c
869
sbuf = calloc(DSA_size(dsa), sizeof(unsigned char));
lib/libkeynote/signature.c
891
sbuf = calloc(RSA_size(rsa), sizeof(unsigned char));
lib/libkeynote/signature.c
933
sbuf = calloc(RSA_size(rsa), sizeof(char));
lib/libkeynote/signature.c
972
finalbuf = calloc(2 * slen, sizeof(unsigned char));
lib/libkeynote/signature.c
996
as->as_signature = calloc(len, sizeof(char));
lib/libossaudio/ossaudio.c
196
pfds = calloc(sioctl_nfds(hdl), sizeof(struct pollfd));
lib/libpcap/fad-getad.c
129
curdev = calloc(1, sizeof(pcap_if_t));
lib/libpcap/fad-getad.c
313
curaddr = calloc(1, sizeof(pcap_addr_t));
lib/libpcap/gencode.c
187
m->ptrs = calloc(sizeof (char *), MEMBAG0SIZE << cur_membag);
lib/libpcap/gencode.c
194
p = calloc(1, n);
lib/libpcap/optimize.c
1902
offset = calloc(slen, sizeof(struct slist *));
lib/libpcap/optimize.c
2047
fp = calloc(n, sizeof(*fp));
lib/libpcap/pcap-bpf.c
226
bdlp->bfl_list = calloc(bdlp->bfl_len + 1, sizeof(u_int));
lib/libpcap/pcap-bpf.c
672
media_list = calloc(req.ifm_count, sizeof(*media_list));
lib/libpcap/pcap-bpf.c
822
p = calloc(1, sizeof(*p));
lib/libpcap/pcap.c
645
p = calloc(1, sizeof(*p));
lib/libpcap/savefile.c
132
p = calloc(1, sizeof(*p));
lib/librthread/rthread.c
512
clfn = calloc(1, sizeof(*clfn));
lib/librthread/rthread_attr.c
55
attr = calloc(1, sizeof(*attr));
lib/librthread/rthread_barrier.c
45
b = calloc(1, sizeof *b);
lib/librthread/rthread_barrier_attr.c
31
*attr = calloc(1, sizeof **attr);
lib/librthread/rthread_mutexattr.c
38
attr = calloc(1, sizeof(*attr));
lib/librthread/rthread_rwlock.c
49
rwlock = calloc(1, sizeof(*rwlock));
lib/librthread/rthread_rwlock_compat.c
40
lock = calloc(1, sizeof(*lock));
lib/librthread/rthread_rwlockattr.c
36
attr = calloc(1, sizeof(*attr));
lib/librthread/rthread_sem.c
145
sem = calloc(1, sizeof(*sem));
lib/librthread/rthread_sem_compat.c
157
sem = calloc(1, sizeof(*sem));
lib/librthread/rthread_spin_lock.c
36
l = calloc(1, sizeof *l);
lib/libssl/bio_ssl.c
113
bs = calloc(1, sizeof(BIO_SSL));
lib/libssl/bs_cbb.c
31
if ((base = calloc(1, sizeof(struct cbb_buffer_st))) == NULL)
lib/libssl/bs_cbb.c
55
if ((buf = calloc(1, initial_capacity)) == NULL)
lib/libssl/d1_both.c
176
if ((frag = calloc(1, sizeof(*frag))) == NULL)
lib/libssl/d1_both.c
180
if ((frag->fragment = calloc(1, frag_len)) == NULL)
lib/libssl/d1_both.c
186
if ((frag->reassembly = calloc(1,
lib/libssl/d1_lib.c
84
if ((s->d1 = calloc(1, sizeof(*s->d1))) == NULL)
lib/libssl/pqueue.c
95
return calloc(1, sizeof(pqueue_s));
lib/libssl/s3_lib.c
1259
if ((s->s3 = calloc(1, sizeof(*s->s3))) == NULL)
lib/libssl/ssl_both.c
499
if ((p = calloc(1, len)) == NULL)
lib/libssl/ssl_both.c
529
if ((s->s3->wbuf.buf = calloc(1, len)) == NULL)
lib/libssl/ssl_cert.c
167
ret = calloc(1, sizeof(SSL_CERT));
lib/libssl/ssl_cert.c
186
ret = calloc(1, sizeof(SSL_CERT));
lib/libssl/ssl_ciph.c
828
number_uses = calloc((max_strength_bits + 1), sizeof(int));
lib/libssl/ssl_clnt.c
2011
if ((signature = calloc(1, signature_len)) == NULL) {
lib/libssl/ssl_clnt.c
2050
if ((signature = calloc(1, EVP_PKEY_size(pkey))) == NULL)
lib/libssl/ssl_clnt.c
2085
if ((signature = calloc(1, EVP_PKEY_size(pkey))) == NULL)
lib/libssl/ssl_kex.c
249
if ((key = calloc(1, key_len)) == NULL)
lib/libssl/ssl_kex.c
406
if ((key = calloc(1, key_len)) == NULL)
lib/libssl/ssl_lib.c
2086
if ((ret = calloc(1, sizeof(*ret))) == NULL) {
lib/libssl/ssl_lib.c
251
if ((s = calloc(1, sizeof(*s))) == NULL)
lib/libssl/ssl_lib.c
306
calloc(ctx->tlsext_ecpointformatlist_length,
lib/libssl/ssl_lib.c
319
calloc(ctx->tlsext_supportedgroups_length,
lib/libssl/ssl_sess.c
223
if ((ss = calloc(1, sizeof(*ss))) == NULL) {
lib/libssl/ssl_sess.c
255
if ((copy = calloc(1, sizeof(*copy))) == NULL) {
lib/libssl/ssl_sess.c
330
if ((copy->tlsext_supportedgroups = calloc(sizeof(uint16_t),
lib/libssl/ssl_srvr.c
1528
if ((signature = calloc(1, signature_len)) == NULL) {
lib/libssl/ssl_srvr.c
1695
if ((pms = calloc(1, pms_len)) == NULL)
lib/libssl/ssl_srvr.c
2261
if ((enc_session = calloc(1, enc_session_max_len)) == NULL)
lib/libssl/ssl_tlsext.c
2396
return calloc(1, sizeof(struct tlsext_data));
lib/libssl/ssl_tlsext.c
2465
if ((s->tlsext_build_order = calloc(N_TLS_EXTENSIONS,
lib/libssl/ssl_tlsext.c
2494
if ((s->tlsext_build_order = calloc(N_TLS_EXTENSIONS,
lib/libssl/t1_lib.c
1119
if ((sdec = calloc(1, sdec_len)) == NULL)
lib/libssl/t1_lib.c
586
if ((group_ids = calloc(ngroups, sizeof(uint16_t))) == NULL)
lib/libssl/tls12_key_schedule.c
137
if ((key_block = calloc(1, key_block_len)) == NULL)
lib/libssl/tls12_key_schedule.c
41
return calloc(1, sizeof(struct tls12_key_block));
lib/libssl/tls12_record_layer.c
189
if ((rl = calloc(1, sizeof(struct tls12_record_layer))) == NULL)
lib/libssl/tls12_record_layer.c
405
if ((rp->mac_key = calloc(1, mac_key_len)) == NULL)
lib/libssl/tls12_record_layer.c
437
rp->aead_nonce = calloc(1, EVP_AEAD_nonce_length(rl->aead));
lib/libssl/tls12_record_layer.c
58
return calloc(1, sizeof(struct tls12_record_protection));
lib/libssl/tls12_record_layer.c
886
if ((content = calloc(1, CBS_len(fragment))) == NULL) {
lib/libssl/tls12_record_layer.c
977
if ((content = calloc(1, CBS_len(fragment))) == NULL)
lib/libssl/tls12_record_layer.c
995
if ((mac = calloc(1, mac_len)) == NULL)
lib/libssl/tls13_client.c
756
if ((verify_data = calloc(1, verify_data_len)) == NULL)
lib/libssl/tls13_client.c
969
if ((sig = calloc(1, sig_len)) == NULL)
lib/libssl/tls13_handshake_msg.c
41
if ((msg = calloc(1, sizeof(struct tls13_handshake_msg))) == NULL)
lib/libssl/tls13_key_schedule.c
33
if ((secret->data = calloc(1, len)) == NULL)
lib/libssl/tls13_key_schedule.c
62
if ((secrets = calloc(1, sizeof(struct tls13_secrets))) == NULL)
lib/libssl/tls13_lib.c
541
if ((ctx = calloc(1, sizeof(*ctx))) == NULL)
lib/libssl/tls13_lib.c
673
(ctx->hs->tls13.clienthello_hash = calloc(1, EVP_MAX_MD_SIZE)) ==
lib/libssl/tls13_record.c
37
if ((rec = calloc(1, sizeof(struct tls13_record))) == NULL)
lib/libssl/tls13_record_layer.c
137
if ((rl = calloc(1, sizeof(struct tls13_record_layer))) == NULL)
lib/libssl/tls13_record_layer.c
37
return calloc(1, sizeof(struct tls13_record_protection));
lib/libssl/tls13_record_layer.c
572
if ((content = calloc(1, CBS_len(&enc_record))) == NULL)
lib/libssl/tls13_server.c
1052
if ((verify_data = calloc(1, verify_data_len)) == NULL)
lib/libssl/tls13_server.c
753
if ((sig = calloc(1, sig_len)) == NULL)
lib/libssl/tls_buffer.c
41
if ((buf = calloc(1, sizeof(struct tls_buffer))) == NULL)
lib/libssl/tls_content.c
36
return calloc(1, sizeof(struct tls_content));
lib/libssl/tls_content.c
87
if ((dup = calloc(1, data_len)) == NULL)
lib/libssl/tls_key_share.c
232
if ((public = calloc(1, X25519_KEY_LENGTH)) == NULL)
lib/libssl/tls_key_share.c
234
if ((private = calloc(1, X25519_KEY_LENGTH)) == NULL)
lib/libssl/tls_key_share.c
64
if ((ks = calloc(1, sizeof(struct tls_key_share))) == NULL)
lib/libssl/tls_key_share.c
693
if ((sk = calloc(1, X25519_KEY_LENGTH)) == NULL)
lib/libtls/tls.c
230
return (calloc(1, sizeof(struct tls_sni_ctx)));
lib/libtls/tls.c
250
if ((ctx = calloc(1, sizeof(*ctx))) == NULL)
lib/libtls/tls_config.c
99
if ((config = calloc(1, sizeof(*config))) == NULL)
lib/libtls/tls_conninfo.c
258
if ((ctx->conninfo = calloc(1, sizeof(struct tls_conninfo))) == NULL) {
lib/libtls/tls_keypair.c
29
return calloc(1, sizeof(struct tls_keypair));
lib/libtls/tls_ocsp.c
44
return (calloc(1, sizeof(struct tls_ocsp)));
lib/libtls/tls_ocsp.c
87
if ((info = calloc(1, sizeof (struct tls_ocsp_result))) == NULL) {
lib/libtls/tls_signer.c
139
if ((skey = calloc(1, sizeof(*skey))) == NULL) {
lib/libtls/tls_signer.c
225
if ((signature = calloc(1, rsa_size)) == NULL) {
lib/libtls/tls_signer.c
273
if ((signature = calloc(1, signature_len)) == NULL) {
lib/libtls/tls_signer.c
55
if ((signer = calloc(1, sizeof(*signer))) == NULL)
lib/libusbhid/parse.c
149
s = calloc(1, sizeof *s);
lib/libusbhid/usage.c
150
pages = calloc(len,
lib/libusbhid/usage.c
176
curpage->page_contents = calloc(curpage->pagesizemax,
lib/libutil/ber.c
271
if ((string = calloc(1, len + 1)) == NULL)
lib/libutil/ber.c
346
if ((v = calloc(1, len)) == NULL)
lib/libutil/ber.c
507
if ((buf = calloc(1, len)) == NULL)
lib/libutil/ber.c
63
if ((elm = calloc(1, sizeof(*elm))) == NULL)
lib/libutil/imsg-buffer.c
1002
if ((bufq = calloc(1, sizeof(*bufq))) == NULL)
lib/libutil/imsg-buffer.c
61
if ((buf = calloc(1, sizeof(struct ibuf))) == NULL)
lib/libutil/imsg-buffer.c
633
if ((msgbuf = calloc(1, sizeof(*msgbuf))) == NULL)
lib/libutil/imsg-buffer.c
64
if ((buf->buf = calloc(len, 1)) == NULL) {
lib/libutil/imsg-buffer.c
85
if ((buf = calloc(1, sizeof(struct ibuf))) == NULL)
lib/libutil/imsg-buffer.c
88
if ((buf->buf = calloc(len, 1)) == NULL) {
lib/libutil/ohash.c
196
h->info.calloc = info->calloc;
lib/libutil/ohash.c
200
h->t = (h->info.calloc)(h->size, sizeof(struct _ohash_record),
lib/libutil/ohash.c
93
n = (h->info.calloc)(ns, sizeof(struct _ohash_record), h->info.data);
lib/libutil/ohash.h
30
void *(*calloc)(size_t, size_t, void *);
lib/libz/zutil.c
294
extern voidp calloc(uInt items, uInt size);
libexec/ftpd/ftpcmd.y
680
$$ = calloc(1, sizeof(char));
libexec/ftpd/ftpd.c
422
fds = calloc(n, sizeof(int));
libexec/ftpd/ftpd.c
423
pfds = calloc(n, sizeof(struct pollfd));
libexec/ld.so/ldconfig/etc.c
55
ptr = calloc(nmemb, size);
libexec/login_ldap/aldap.c
1324
if ((str = calloc(len + 1, sizeof(char))) == NULL)
libexec/login_ldap/aldap.c
1353
if ((buffer = calloc(1, len + 1)) == NULL)
libexec/login_ldap/aldap.c
358
if ((m = calloc(1, sizeof(struct aldap_message))) == NULL)
libexec/login_ldap/aldap.c
817
if ((lu = calloc(1, sizeof(*lu))) == NULL)
libexec/login_ldap/aldap.c
89
if ((a = calloc(1, sizeof(*a))) == NULL)
libexec/login_ldap/util.c
227
if ((url = calloc(1, sizeof(*url))) == NULL) {
libexec/snmpd/snmpd_metrics/kroute.c
1116
if ((ka = calloc(1, sizeof(struct kif_addr))) == NULL)
libexec/snmpd/snmpd_metrics/kroute.c
1554
if ((ka = calloc(1, sizeof(struct kif_arp))) == NULL) {
libexec/snmpd/snmpd_metrics/kroute.c
1597
if ((kr = calloc(1,
libexec/snmpd/snmpd_metrics/kroute.c
1644
if ((kr6 = calloc(1,
libexec/snmpd/snmpd_metrics/kroute.c
244
kt = krt[rtableid] = calloc(1, sizeof(struct ktable));
libexec/snmpd/snmpd_metrics/kroute.c
832
if ((kif = calloc(1, sizeof(struct kif_node))) == NULL)
libexec/snmpd/snmpd_metrics/mib.c
2332
cif = calloc(1, sizeof(struct carpif));
libexec/snmpd/snmpd_metrics/mib.c
2428
if ((ifgr.ifgr_groups = calloc(1, len)) == NULL) {
libexec/snmpd/snmpd_metrics/mib.c
2438
if ((ifg = calloc(1, sizeof *ifg)) == NULL) {
libexec/snmpd/snmpd_metrics/mib.c
3123
stats = calloc(diskcount, sizeof(*stats));
libexec/snmpd/snmpd_metrics/mib.c
795
klist = calloc(count, sizeof(*klist));
libexec/snmpd/snmpd_metrics/pf.c
141
b->pfrb_caddr = calloc(bs, minsize);
libexec/snmpd/snmpd_metrics/timer.c
100
cp_old[i] = calloc(CPUSTATES, sizeof(int64_t));
libexec/snmpd/snmpd_metrics/timer.c
101
cp_diff[i] = calloc(CPUSTATES, sizeof(int64_t));
libexec/snmpd/snmpd_metrics/timer.c
90
snmpd_env->sc_cpustates = calloc(snmpd_env->sc_ncpu,
libexec/snmpd/snmpd_metrics/timer.c
92
cp_time = calloc(snmpd_env->sc_ncpu, sizeof(int64_t *));
libexec/snmpd/snmpd_metrics/timer.c
93
cp_old = calloc(snmpd_env->sc_ncpu, sizeof(int64_t *));
libexec/snmpd/snmpd_metrics/timer.c
94
cp_diff = calloc(snmpd_env->sc_ncpu, sizeof(int64_t *));
libexec/snmpd/snmpd_metrics/timer.c
99
cp_time[i] = calloc(CPUSTATES, sizeof(int64_t));
libexec/spamd-setup/spamd-setup.c
327
argv = calloc(len, sizeof(char *));
libexec/spamd/spamd.c
1400
con = calloc(maxcon, sizeof(*con));
libexec/spamd/sync.c
91
calloc(1, sizeof(struct sync_host))) == NULL) {
regress/lib/libc/explicit_bzero/explicit_bzero.c
63
altstack = calloc(1, ALTSTACK_SIZE);
regress/lib/libc/sys/t_dup.c
320
buf = calloc(n, sizeof(int));
regress/lib/libc/sys/t_msgget.c
210
buf = calloc(lim + 1, sizeof(*buf));
regress/lib/libc/sys/t_revoke.c
68
buf = calloc(n, sizeof(int));
regress/lib/libc/sys/t_sendmmsg.c
104
mmsghdr = calloc(mmsgcnt, sizeof(*mmsghdr));
regress/lib/libc/sys/t_setrlimit.c
88
buf = calloc(__arraycount(rlimit), sizeof(int));
regress/lib/libcrypto/asn1/asn1basic.c
1203
if ((p = calloc(1, len)) == NULL)
regress/lib/libcrypto/asn1/asn1basic.c
723
if ((p = calloc(1, len)) == NULL)
regress/lib/libcrypto/bn/bn_convert.c
522
if ((mpi_out = calloc(1, bct->mpi_len)) == NULL)
regress/lib/libcrypto/chacha/chachatest.c
471
in = calloc(1, tv->len);
regress/lib/libcrypto/chacha/chachatest.c
474
out = calloc(1, tv->len);
regress/lib/libcrypto/ec/ec_asn1_test.c
1155
if ((all_curves = calloc(ncurves, sizeof(*all_curves))) == NULL)
regress/lib/libcrypto/ec/ec_asn1_test.c
2502
if ((bin = calloc(1, bin_len)) == NULL)
regress/lib/libcrypto/ec/ec_asn1_test.c
2669
if ((all_curves = calloc(ncurves, sizeof(*all_curves))) == NULL)
regress/lib/libcrypto/ec/ec_asn1_test.c
442
if ((all_curves = calloc(ncurves, sizeof(*all_curves))) == NULL)
regress/lib/libcrypto/ec/ec_point_conversion.c
191
if ((all_curves = calloc(ncurves, sizeof(EC_builtin_curve))) == NULL)
regress/lib/libcrypto/ecdh/ecc_cdh.c
2231
if ((out = calloc(1, out_len)) == NULL)
regress/lib/libcrypto/ecdh/ecc_cdh.c
2240
if ((want = calloc(1, out_len)) == NULL)
regress/lib/libcrypto/ecdh/ecdhtest.c
131
if ((abuf = calloc(1, len)) == NULL)
regress/lib/libcrypto/ecdh/ecdhtest.c
133
if ((bbuf = calloc(1, len)) == NULL)
regress/lib/libcrypto/ecdh/ecdhtest.c
345
if ((want = calloc(1, len)) == NULL)
regress/lib/libcrypto/ecdh/ecdhtest.c
347
if ((got = calloc(1, len)) == NULL)
regress/lib/libcrypto/ecdh/ecdhtest.c
397
if ((curves = calloc(n_curves, sizeof(*curves))) == NULL)
regress/lib/libcrypto/ecdsa/ecdsatest.c
231
if ((raw_buf = calloc(1, buf_len)) == NULL)
regress/lib/libcrypto/ecdsa/ecdsatest.c
254
if ((signature = calloc(1, sig_len)) == NULL)
regress/lib/libcrypto/ecdsa/ecdsatest.c
276
if ((signature = calloc(1, sig_len)) == NULL)
regress/lib/libcrypto/evp/evp_ecx_test.c
416
if ((signature = calloc(1, signature_len)) == NULL)
regress/lib/libcrypto/lhash/lhash_test.c
260
if ((data = calloc(1, 128)) == NULL)
regress/lib/libcrypto/mlkem/mlkem_iteration_tests.c
162
if ((invalid_ciphertext = calloc(1, invalid_ciphertext_len))
regress/lib/libcrypto/mlkem/parse_test_file.c
119
if ((ps->data = calloc(max, sizeof(*ps->data))) == NULL)
regress/lib/libcrypto/mlkem/parse_test_file.c
127
if ((ps->instruction_data = calloc(instruction_max,
regress/lib/libcrypto/mlkem/parse_test_file.c
43
return calloc(1, sizeof(struct line_data));
regress/lib/libcrypto/sm2/sm2crypttest.c
123
ctext = calloc(1, ctext_len);
regress/lib/libcrypto/sm2/sm2crypttest.c
132
recovered = calloc(1, msg_len);
regress/lib/libcrypto/test/test.c
40
if ((t = calloc(1, sizeof(*t))) == NULL)
regress/lib/libedit/read/test_getcmd.c
51
if ((el.el_map.key = calloc(N_KEYS, sizeof(el_action_t))) == NULL)
regress/lib/libedit/read/test_getcmd.c
57
if ((el.el_signal = calloc(1, sizeof(*el.el_signal))) == NULL)
regress/lib/libedit/read/test_read_char.c
51
if ((el.el_signal = calloc(1, sizeof(*el.el_signal))) == NULL)
regress/lib/libpthread/malloc_duel/malloc_duel.c
36
a = calloc(MALLOC_COUNT, sizeof(int*));
regress/lib/libssl/buffer/buffertest.c
322
if ((rbuf = calloc(1, rwt->read)) == NULL)
regress/lib/libssl/dtls/dtlstest.c
249
if ((ctx->delayed_msg = calloc(1, in_len)) == NULL)
regress/lib/libssl/dtls/dtlstest.c
76
if ((ctx = calloc(1, sizeof(*ctx))) == NULL)
regress/lib/libssl/quic/quictest.c
280
if ((client_data = calloc(1, sizeof(*client_data))) == NULL)
regress/lib/libssl/quic/quictest.c
289
if ((server_data = calloc(1, sizeof(*server_data))) == NULL)
regress/lib/libssl/tlsext/tlsexttest.c
3712
ssl->session->tlsext_supportedgroups = calloc(4,
regress/lib/libssl/unit/cipher_list.c
105
CHECK((buf = calloc(1, buflen)) != NULL);
regress/lib/libssl/unit/cipher_list.c
138
CHECK((buf = calloc(1, buflen)) != NULL);
regress/lib/libz/example.c
41
return calloc(n, m);
regress/lib/libz/example.c
509
compr = (Byte*)calloc((uInt)comprLen, 1);
regress/lib/libz/example.c
510
uncompr = (Byte*)calloc((uInt)uncomprLen, 1);
regress/lib/libz/minigzip.c
154
return calloc(n, m);
regress/sbin/ifconfig/ifaddr.c
1151
media_list = calloc(ifmr.ifm_count, sizeof(*media_list));
regress/sbin/ifconfig/ifaddr.c
563
if ((ifgr.ifgr_groups = calloc(1, len)) == NULL)
regress/sbin/iked/test_helper/fuzz.c
172
struct fuzz *ret = calloc(sizeof(*ret), 1);
regress/sbin/iked/test_helper/fuzz.c
239
fuzz->fuzzed = calloc(fuzz->slen, 1);
regress/sys/dev/video/videotest.c
351
buf = calloc(1, buf_size);
regress/sys/dev/video/videotest.c
356
img = calloc(1, img_size);
regress/sys/fifofs/fifotest.c
331
rfds = calloc(howmany(maxfd + 1, NFDBITS), sizeof(fd_mask));
regress/sys/fifofs/fifotest.c
339
wfds = calloc(howmany(maxfd + 1, NFDBITS), sizeof(fd_mask));
regress/sys/kern/clock_gettime/monotonicrelapse.c
48
thread = calloc(nthreads, sizeof(*thread));
regress/sys/kern/fork-exit/fork-exit.c
336
fdset = calloc(fdlen, sizeof(fd_mask));
regress/sys/kern/signal/sigpthread/sigpthread.c
160
signaled = calloc(threadmax, sizeof(*signaled));
regress/sys/kern/signal/sigpthread/sigpthread.c
163
threads = calloc(threadmax, sizeof(*threads));
regress/sys/kern/stackpivot/pagefault/stackpivot.c
56
size_t *newstack = calloc(10, sizeof(size_t));
regress/sys/kern/stackpivot/syscall/stackpivot.c
29
size_t *newstack = calloc(10, sizeof(size_t));
regress/sys/kern/unixsockets/unsendrecvthr.c
183
if (!(rx_data[i] = calloc(ncpu, sizeof(struct rx_data))))
regress/sys/kern/unixsockets/unsendrecvthr.c
197
if (!(tx_args[i] = calloc(ncpu, sizeof(struct thr_tx_arg))))
regress/sys/kern/unixsockets/unsopassgc.c
275
if (!(thr_pass_args = calloc(ncpu, sizeof(*thr_pass_args))))
regress/sys/net/pflow/gen_traffic.c
108
l = calloc(1, sizeof(*l));
regress/sys/net/pflow/gen_traffic.c
126
sender = calloc(1, sizeof(*sender));
regress/sys/net/pflow/gen_traffic.c
188
r = calloc(1, sizeof(*r));
regress/sys/net/rtable/kern_compat.h
50
#define malloc(size, bucket, flag) calloc(1, size)
regress/sys/net/rtable/kern_compat.h
51
#define mallocarray(nelems, size, bucket, flag) calloc(nelems, size)
regress/sys/net/rtable/util.c
119
rt = calloc(1, sizeof(*rt));
regress/sys/netinet/bindconnect/bindconnect.c
439
tsocket = calloc(socket_num, sizeof(pthread_t));
regress/sys/netinet/bindconnect/bindconnect.c
448
tclose = calloc(close_num, sizeof(pthread_t));
regress/sys/netinet/bindconnect/bindconnect.c
457
tbind = calloc(bind_num, sizeof(pthread_t));
regress/sys/netinet/bindconnect/bindconnect.c
466
tconnect = calloc(connect_num, sizeof(pthread_t));
regress/sys/netinet/bindconnect/bindconnect.c
476
tdelroute = calloc(delroute_num, sizeof(pthread_t));
regress/sys/netinet/tcpthread/tcpthread.c
613
listen_addrs = calloc(sock_num, sizeof(listen_addrs[0]));
regress/sys/netinet/tcpthread/tcpthread.c
616
accept_tims = calloc(sock_num, sizeof(accept_tims[0]));
regress/sys/netinet/tcpthread/tcpthread.c
634
splice_listen_addrs = calloc(sock_num,
regress/sys/netinet/tcpthread/tcpthread.c
638
splice_accept_tims = calloc(sock_num,
regress/sys/netinet/tcpthread/tcpthread.c
691
connect_thread = calloc(connect_num, sizeof(pthread_t));
regress/sys/netinet/tcpthread/tcpthread.c
701
accept_thread = calloc(accept_num, sizeof(pthread_t));
regress/sys/netinet/tcpthread/tcpthread.c
711
send_thread = calloc(send_num, sizeof(pthread_t));
regress/sys/netinet/tcpthread/tcpthread.c
721
recv_thread = calloc(recv_num, sizeof(pthread_t));
regress/sys/netinet/tcpthread/tcpthread.c
731
close_thread = calloc(close_num, sizeof(pthread_t));
regress/sys/netinet/tcpthread/tcpthread.c
742
splice_thread = calloc(splice_num, sizeof(pthread_t));
regress/sys/netinet/tcpthread/tcpthread.c
752
unsplice_thread = calloc(unsplice_num, sizeof(pthread_t));
regress/sys/netinet/tcpthread/tcpthread.c
762
drop_thread = calloc(drop_num, sizeof(pthread_t));
regress/sys/netinet/udpthread/udpthread.c
622
listen_addrs = calloc(sock_num, sizeof(listen_addrs[0]));
regress/sys/netinet/udpthread/udpthread.c
640
splice_listen_addrs = calloc(sock_num,
regress/sys/netinet/udpthread/udpthread.c
704
connect_thread = calloc(connect_num, sizeof(pthread_t));
regress/sys/netinet/udpthread/udpthread.c
714
accept_thread = calloc(accept_num, sizeof(pthread_t));
regress/sys/netinet/udpthread/udpthread.c
724
send_thread = calloc(send_num, sizeof(pthread_t));
regress/sys/netinet/udpthread/udpthread.c
734
recv_thread = calloc(recv_num, sizeof(pthread_t));
regress/sys/netinet/udpthread/udpthread.c
744
close_thread = calloc(close_num, sizeof(pthread_t));
regress/sys/netinet/udpthread/udpthread.c
755
splice_thread = calloc(splice_num, sizeof(pthread_t));
regress/sys/netinet/udpthread/udpthread.c
765
unsplice_thread = calloc(unsplice_num, sizeof(pthread_t));
regress/sys/sys/tree/rb/rb-test.c
141
nodes = calloc((ITER + 5), sizeof(struct node));
regress/sys/sys/tree/rb/rb-test.c
142
perm = calloc(ITER, sizeof(int));
regress/sys/sys/tree/rb/rb-test.c
143
nums = calloc(ITER, sizeof(int));
regress/sys/sys/tree/rb/rbt-test.c
140
nodes = calloc((ITER + 5), sizeof(struct node));
regress/sys/sys/tree/rb/rbt-test.c
141
perm = calloc(ITER, sizeof(int));
regress/sys/sys/tree/rb/rbt-test.c
142
nums = calloc(ITER, sizeof(int));
regress/usr.bin/ssh/misc/sk-dummy/sk-dummy.c
232
if ((response = calloc(1, sizeof(*response))) == NULL) {
regress/usr.bin/ssh/misc/sk-dummy/sk-dummy.c
251
if ((response->signature = calloc(1, 1)) == NULL) {
regress/usr.bin/ssh/misc/sk-dummy/sk-dummy.c
356
if ((response->sig_r = calloc(1, response->sig_r_len)) == NULL ||
regress/usr.bin/ssh/misc/sk-dummy/sk-dummy.c
357
(response->sig_s = calloc(1, response->sig_s_len)) == NULL) {
regress/usr.bin/ssh/misc/sk-dummy/sk-dummy.c
440
if ((response->sig_r = calloc(1, response->sig_r_len)) == NULL) {
regress/usr.bin/ssh/misc/sk-dummy/sk-dummy.c
477
if ((response = calloc(1, sizeof(*response))) == NULL) {
regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c
420
k1->cert->principals = calloc(4, sizeof(*k1->cert->principals));
regress/usr.bin/ssh/unittests/test_helper/fuzz.c
214
struct fuzz *ret = calloc(sizeof(*ret), 1);
regress/usr.bin/ssh/unittests/test_helper/fuzz.c
291
fuzz->fuzzed = calloc(fuzz->slen, 1);
regress/usr.sbin/rpki-client/test-rrdp.c
141
if ((s = calloc(1, sizeof(*s))) == NULL)
regress/usr.sbin/snmpd/agentx.c
2432
if ((pool = calloc(nvarbind, sizeof(*pool))) == NULL)
regress/usr.sbin/snmpd/agentx.c
2500
if ((pool = calloc(nvarbind, sizeof(*pool))) == NULL)
sbin/atactl/atactl.c
1493
if ((newbuf = calloc(nsect, DEV_BSIZE)) == NULL)
sbin/bioctl/bioctl.c
843
dt = calloc(1, BIOC_CRMAXLEN);
sbin/dhcp6leased/control.c
153
if ((c = calloc(1, sizeof(struct ctl_conn))) == NULL) {
sbin/dhcp6leased/dhcp6leased.c
1164
xconf = calloc(1, sizeof(*xconf));
sbin/dhcp6leased/engine.c
1042
visbuf = calloc(4, opt_hdr.len - 2 + 1);
sbin/dhcp6leased/engine.c
630
if ((iface = calloc(1, sizeof(*iface))) == NULL)
sbin/dhcp6leased/frontend.c
1041
ret = calloc(count + 1, sizeof(int));
sbin/dhcp6leased/frontend.c
603
if ((iface = calloc(1, sizeof(*iface))) == NULL)
sbin/dhcp6leased/parse.y
158
iface_ia_conf = calloc(1, sizeof(*iface_ia_conf));
sbin/dhcp6leased/parse.y
547
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
sbin/dhcp6leased/parse.y
665
if ((sym = calloc(1, sizeof(*sym))) == NULL)
sbin/dhcp6leased/parse.y
710
iface = calloc(1, sizeof(*iface));
sbin/dhcp6leased/parse.y
741
iface_pd = calloc(1, sizeof(*iface_pd));
sbin/dhcpleased/control.c
153
if ((c = calloc(1, sizeof(struct ctl_conn))) == NULL) {
sbin/dhcpleased/dhcpleased.c
1327
xconf = calloc(1, sizeof(*xconf));
sbin/dhcpleased/engine.c
651
if ((iface = calloc(1, sizeof(*iface))) == NULL)
sbin/dhcpleased/frontend.c
1248
ret = calloc(count + 1, sizeof(int));
sbin/dhcpleased/frontend.c
636
if ((iface = calloc(1, sizeof(*iface))) == NULL)
sbin/dhcpleased/frontend.c
738
if ((iface = calloc(1, sizeof(*iface))) == NULL)
sbin/dhcpleased/parse.y
675
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
sbin/dhcpleased/parse.y
790
if ((sym = calloc(1, sizeof(*sym))) == NULL)
sbin/dhcpleased/parse.y
852
iface = calloc(1, sizeof(*iface));
sbin/disklabel/disklabel.c
816
if (!(omountpoints = calloc(MAXPARTITIONS, sizeof(char *))))
sbin/disklabel/editor.c
1873
if ((alloc_table = calloc(1, sizeof(struct alloc_table))) == NULL)
sbin/disklabel/editor.c
203
if (!(omountpoints = calloc(MAXPARTITIONS, sizeof(char *))) ||
sbin/disklabel/editor.c
204
!(origmountpoints = calloc(MAXPARTITIONS, sizeof(char *))) ||
sbin/disklabel/editor.c
205
!(tmpmountpoints = calloc(MAXPARTITIONS, sizeof(char *))))
sbin/dmesg/dmesg.c
106
allocated = bufdata = calloc(1, msgbufsize);
sbin/dump/itime.c
101
dtwalk = calloc(1, sizeof(struct dumptime));
sbin/dump/itime.c
118
ddatev = calloc((unsigned) (nddates + 1), sizeof(struct dumpdates *));
sbin/dump/itime.c
198
dtwalk = ddatev[nddates] = calloc(1, sizeof(struct dumpdates));
sbin/dump/main.c
465
usedinomap = calloc((unsigned) mapsize, sizeof(char));
sbin/dump/main.c
466
dumpdirmap = calloc((unsigned) mapsize, sizeof(char));
sbin/dump/main.c
467
dumpinomap = calloc((unsigned) mapsize, sizeof(char));
sbin/dump/main.c
732
if ((*argvp = nargv = calloc(argc + 1, sizeof(char *))) == NULL ||
sbin/dumpfs/dumpfs.c
299
afs.fs_csp = calloc(1, afs.fs_cssize);
sbin/fdisk/disk.c
138
secbuf = calloc(1, bytes);
sbin/fdisk/gpt.c
278
legp = calloc(1, gpbytes);
sbin/fdisk/gpt.c
857
legp = calloc(1, gpbytes);
sbin/fsck_ext2fs/setup.c
207
sblock.e2fs_gd = calloc(sblock.e2fs_ngdb, sblock.e2fs_bsize);
sbin/fsck_ext2fs/setup.c
226
blockmap = calloc((unsigned)bmapsize, sizeof (char));
sbin/fsck_ext2fs/setup.c
232
statemap = calloc((unsigned)(maxino + 2), sizeof(char));
sbin/fsck_ext2fs/setup.c
238
typemap = calloc((unsigned)(maxino + 1), sizeof(u_char));
sbin/fsck_ext2fs/setup.c
244
lncntp = calloc((unsigned)(maxino + 1), sizeof(int16_t));
sbin/fsck_ext2fs/setup.c
255
inpsort = calloc((unsigned)listmax, sizeof(struct inoinfo *));
sbin/fsck_ext2fs/setup.c
256
inphead = calloc((unsigned)numdirs, sizeof(struct inoinfo *));
sbin/fsck_ffs/setup.c
401
sblock.fs_csp = calloc(1, sblock.fs_cssize);
sbin/fsck_ffs/setup.c
425
blockmap = calloc(bmapsize, sizeof(char));
sbin/fsck_ffs/setup.c
430
inostathead = calloc((unsigned)(sblock.fs_ncg),
sbin/fsck_ffs/setup.c
440
inpsort = calloc((unsigned)listmax, sizeof(struct inoinfo *));
sbin/fsck_ffs/setup.c
446
inphead = calloc((unsigned)numdirs, sizeof(struct inoinfo *));
sbin/fsck_ffs/utilities.c
191
cgbufs = calloc(sblock.fs_ncg, sizeof(struct bufarea));
sbin/fsck_ffs/utilities.c
703
while ((retval = calloc(cnt, size)) == NULL)
sbin/fsck_msdos/fat.c
440
buffer = calloc(boot->FATsecs, boot->BytesPerSec);
sbin/fsck_msdos/fat.c
85
fat = calloc(boot->NumClusters, sizeof(struct fatEntry));
sbin/fsck_msdos/fat.c
86
buffer = calloc(boot->FATsecs, boot->BytesPerSec);
sbin/growfs/growfs.c
1116
bp = calloc(((dupper-odupper) / sblock.fs_frag + 2),
sbin/growfs/growfs.c
180
fscs = calloc(1, (size_t)sblock.fs_cssize);
sbin/growfs/growfs.c
1875
lastsector = calloc(1, lp->d_secsize);
sbin/ifconfig/ifconfig.c
1103
if ((ifgr.ifgr_groups = calloc(1, len)) == NULL)
sbin/ifconfig/ifconfig.c
1303
if ((ifcr.ifcr_buffer = calloc(ifcr.ifcr_total, IFNAMSIZ)) == NULL)
sbin/ifconfig/ifconfig.c
3435
media_list = calloc(ifmr.ifm_count, sizeof(*media_list));
sbin/ifconfig/ifconfig.c
5780
wgdata.wgd_interface = wg_interface = calloc(1, wgdata.wgd_size);
sbin/ifconfig/ifconfig.c
6708
ifgr.ifgr_groups = calloc(len / sizeof(struct ifg_req),
sbin/iked/ca.c
124
if ((store = calloc(1, sizeof(*store))) == NULL)
sbin/iked/ca.c
1725
if ((type = calloc(1, maxlen)) == NULL ||
sbin/iked/ca.c
1726
(value = calloc(1, maxlen)) == NULL ||
sbin/iked/config.c
1229
if ((server = calloc(1, len)) == NULL) {
sbin/iked/config.c
1284
if ((cfgmap = calloc(1, len)) == NULL) {
sbin/iked/config.c
1308
if ((cfgmap = calloc(1, len)) == NULL) {
sbin/iked/config.c
1362
if ((dae = calloc(1, sizeof(*dae))) == NULL) {
sbin/iked/config.c
1413
if ((client = calloc(1, len + 1)) == NULL) {
sbin/iked/config.c
205
if ((pol = calloc(1, sizeof(*pol))) == NULL)
sbin/iked/config.c
272
if ((pp = calloc(1, sizeof(*pp))) == NULL)
sbin/iked/config.c
44
if ((sa = calloc(1, sizeof(*sa))) == NULL)
sbin/iked/config.c
471
if ((usr = calloc(1, sizeof(*usr))) == NULL)
sbin/iked/config.c
669
if ((sock = calloc(1, sizeof(*sock))) == NULL)
sbin/iked/config.c
930
if ((flow = calloc(1, sizeof(*flow))) == NULL)
sbin/iked/control.c
188
if ((c = calloc(1, sizeof(struct ctl_conn))) == NULL) {
sbin/iked/crypto.c
1055
if ((tmp = calloc(1, tmplen)) == NULL)
sbin/iked/crypto.c
279
if ((hash = calloc(1, sizeof(*hash))) == NULL) {
sbin/iked/crypto.c
463
if ((encr = calloc(1, sizeof(*encr))) == NULL) {
sbin/iked/crypto.c
719
if ((dsap = calloc(1, sizeof(*dsap))) == NULL) {
sbin/iked/dh.c
309
if ((group = calloc(1, sizeof(*group))) == NULL)
sbin/iked/dh.c
725
if ((curve25519 = calloc(1, sizeof(*curve25519))) == NULL)
sbin/iked/dh.c
792
if ((kemsx = calloc(1, sizeof(*kemsx))) == NULL)
sbin/iked/iked.c
164
if ((env = calloc(1, sizeof(*env))) == NULL)
sbin/iked/ikev2.c
3131
if (((peersas = calloc(cnt, sizeof(struct iked_childsa *))) == NULL ||
sbin/iked/ikev2.c
3132
(localspi = calloc(cnt, sizeof(uint64_t))) == NULL)) {
sbin/iked/ikev2.c
4991
if ((kex = kextmp = calloc(1, sizeof(*kextmp))) == NULL) {
sbin/iked/ikev2.c
5446
if ((psk = calloc(1, hash_keylength(sa->sa_prf))) == NULL)
sbin/iked/ikev2.c
6044
if ((sa->sa_tag = calloc(1, len)) == NULL) {
sbin/iked/ikev2.c
6275
if ((flowa = calloc(1, sizeof(*flowa))) == NULL) {
sbin/iked/ikev2.c
6305
if ((flowb = calloc(1, sizeof(*flowb))) == NULL) {
sbin/iked/ikev2.c
6336
if ((csa = calloc(1, sizeof(*csa))) == NULL) {
sbin/iked/ikev2.c
6391
if ((csb = calloc(1, sizeof(*csb))) == NULL) {
sbin/iked/ikev2.c
6422
if ((csa2 = calloc(1, sizeof(*csa2))) == NULL) {
sbin/iked/ikev2.c
6426
if ((csb2 = calloc(1, sizeof(*csb2))) == NULL) {
sbin/iked/ikev2.c
7354
if ((sa->sa_addrpool = calloc(1, sizeof(addr))) == NULL)
sbin/iked/ikev2.c
7362
if ((sa->sa_addrpool6 = calloc(1, sizeof(addr))) == NULL)
sbin/iked/ikev2_msg.c
1207
if ((mr = calloc(1, sizeof(*mr))) == NULL)
sbin/iked/ikev2_pld.c
1717
el = calloc(1, sizeof(struct iked_frag_entry));
sbin/iked/ikev2_pld.c
1726
el->frag_data = calloc(1, elen);
sbin/iked/ikev2_pld.c
1977
if ((addr = calloc(1, sizeof(*addr))) == NULL) {
sbin/iked/ikev2_pld.c
2030
if ((addr = calloc(1, sizeof(*addr))) == NULL) {
sbin/iked/ikev2_pld.c
921
if ((cr = calloc(1, sizeof(struct iked_certreq))) == NULL) {
sbin/iked/ocsp.c
123
if ((oc = calloc(1, sizeof(*oc))) == NULL) {
sbin/iked/ocsp.c
280
if ((ioe = calloc(1, sizeof(*ioe))) == NULL)
sbin/iked/ocsp.c
282
if ((ocsp = calloc(1, sizeof(*ocsp))) == NULL) {
sbin/iked/ocsp.c
397
if ((sock = calloc(1, sizeof(*sock))) == NULL)
sbin/iked/parse.y
1218
if ((ipsec_filters = calloc(1,
sbin/iked/parse.y
1946
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
sbin/iked/parse.y
2103
if ((sym = calloc(1, sizeof(*sym))) == NULL)
sbin/iked/parse.y
2203
if ((hex = calloc(sb.st_size, sizeof(unsigned char))) == NULL)
sbin/iked/parse.y
2279
ipa = calloc(1, sizeof(struct ipsec_addr_wrap));
sbin/iked/parse.y
2327
ipa = calloc(1, sizeof(struct ipsec_addr_wrap));
sbin/iked/parse.y
2382
ipa = calloc(1, sizeof(struct ipsec_addr_wrap));
sbin/iked/parse.y
2397
ipa = calloc(1, sizeof(struct ipsec_addr_wrap));
sbin/iked/parse.y
2423
n = calloc(1, sizeof(struct ipsec_addr_wrap));
sbin/iked/parse.y
2503
if ((ifgr.ifgr_groups = calloc(1, len)) == NULL)
sbin/iked/parse.y
2546
n = calloc(1, sizeof(struct ipsec_addr_wrap));
sbin/iked/parse.y
2879
if ((p = calloc(1, sizeof(*p))) == NULL)
sbin/iked/parse.y
2889
if ((p = calloc(1, sizeof(*p))) == NULL)
sbin/iked/parse.y
2932
if ((p = calloc(1, sizeof(*p))) == NULL)
sbin/iked/parse.y
2961
if ((p = calloc(1, sizeof(*p))) == NULL)
sbin/iked/parse.y
2998
if ((p = calloc(1, sizeof(*p))) == NULL)
sbin/iked/parse.y
3007
if ((p = calloc(1, sizeof(*p))) == NULL)
sbin/iked/parse.y
3039
if ((p = calloc(1, sizeof(*p))) == NULL)
sbin/iked/parse.y
3068
if ((p = calloc(1, sizeof(*p))) == NULL)
sbin/iked/parse.y
3224
if ((flow = calloc(1, sizeof(struct iked_flow))) == NULL)
sbin/iked/parse.y
670
if (($$ = calloc(1, sizeof(*$$))) == NULL)
sbin/iked/parse.y
682
if (($$ = calloc(1, sizeof(*$$))) == NULL)
sbin/iked/parse.y
727
if (($$ = calloc(1, sizeof(*$$))) == NULL)
sbin/iked/parse.y
745
if (($$ = calloc(1, sizeof(*$$))) == NULL)
sbin/iked/parse.y
870
if ((ipsec_transforms = calloc(1,
sbin/iked/parse.y
967
if ((ipsec_mode = calloc(1,
sbin/iked/parse.y
996
if ((ipsec_mode = calloc(1,
sbin/iked/pfkey.c
1700
if ((sa_id = calloc(1, len)) == NULL)
sbin/iked/pfkey.c
1832
(pmp = calloc(1, sizeof(*pmp))) != NULL) {
sbin/iked/policy.c
591
if ((ts = calloc(1, sizeof(*ts))) == NULL)
sbin/iked/proc.c
326
if ((ps->ps_ievs[id] = calloc(ps->ps_instances[id],
sbin/iked/proc.c
354
if ((ps->ps_pipes[src] = calloc(ps->ps_instances[src],
sbin/iked/proc.c
364
calloc(ps->ps_instances[dst],
sbin/iked/proc.c
82
nargv = calloc(argc + 5, sizeof(char *));
sbin/iked/radius.c
595
if ((addr = calloc(1, sizeof(*addr))) == NULL) {
sbin/iked/radius.c
627
if ((addr = calloc(1, sizeof(*addr))) == NULL) {
sbin/iked/radius.c
705
if ((req = calloc(1, sizeof(struct iked_radserver_req))) == NULL) {
sbin/iked/radius.c
82
if ((sa->sa_radreq = calloc(1,
sbin/iked/util.c
723
if ((tmp = calloc(1, len)) == NULL) {
sbin/iked/util.c
756
if ((uc = calloc(1, (len * 2) + 2)) == NULL)
sbin/iked/vroute.c
159
ivr = calloc(1, sizeof(*ivr));
sbin/iked/vroute.c
385
route = calloc(1, sizeof(*route));
sbin/iked/vroute.c
430
dns = calloc(1, sizeof(*dns));
sbin/iked/vroute.c
464
vaddr = calloc(1, sizeof(*vaddr));
sbin/init/init.c
799
char **argv = calloc((strlen(command) + 1) / 2 + 1, sizeof (char *));
sbin/init/init.c
845
sp = calloc(1, sizeof (session_t));
sbin/ipsecctl/ipsecctl.c
635
rule = calloc(1, sizeof(struct ipsec_rule));
sbin/ipsecctl/ipsecctl.c
766
if ((sad = calloc(sacount, sizeof(*sad))) == NULL)
sbin/ipsecctl/parse.y
1381
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
sbin/ipsecctl/parse.y
1483
if ((sym = calloc(1, sizeof(*sym))) == NULL)
sbin/ipsecctl/parse.y
1592
key = calloc(1, sizeof(struct ipsec_key));
sbin/ipsecctl/parse.y
1597
key->data = calloc(key->len, sizeof(u_int8_t));
sbin/ipsecctl/parse.y
1621
if ((hex = calloc(sb.st_size, sizeof(unsigned char))) == NULL)
sbin/ipsecctl/parse.y
1708
ipa = calloc(1, sizeof(struct ipsec_addr_wrap));
sbin/ipsecctl/parse.y
1756
ipa = calloc(1, sizeof(struct ipsec_addr_wrap));
sbin/ipsecctl/parse.y
1794
ipa = calloc(1, sizeof(struct ipsec_addr_wrap));
sbin/ipsecctl/parse.y
1865
ipa = calloc(1, sizeof(struct ipsec_addr_wrap));
sbin/ipsecctl/parse.y
1893
n = calloc(1, sizeof(struct ipsec_addr_wrap));
sbin/ipsecctl/parse.y
1979
if ((ifgr.ifgr_groups = calloc(1, len)) == NULL)
sbin/ipsecctl/parse.y
2020
n = calloc(1, sizeof(struct ipsec_addr_wrap));
sbin/ipsecctl/parse.y
2120
life = calloc(1, sizeof(struct ipsec_lifetime));
sbin/ipsecctl/parse.y
2138
newxfs = calloc(1, sizeof(struct ipsec_transforms));
sbin/ipsecctl/parse.y
2154
newlife = calloc(1, sizeof(struct ipsec_lifetime));
sbin/ipsecctl/parse.y
2170
if ((newauth = calloc(1, sizeof(struct ipsec_auth))) == NULL)
sbin/ipsecctl/parse.y
2194
if ((newauth = calloc(1, sizeof(struct ike_auth))) == NULL)
sbin/ipsecctl/parse.y
2213
if ((newkey = calloc(1, sizeof(struct ipsec_key))) == NULL)
sbin/ipsecctl/parse.y
2215
if ((newkey->data = calloc(key->len, sizeof(u_int8_t))) == NULL)
sbin/ipsecctl/parse.y
2231
dst = calloc(1, sizeof(struct ipsec_addr_wrap));
sbin/ipsecctl/parse.y
2261
if ((r = calloc(1, sizeof(struct ipsec_rule))) == NULL)
sbin/ipsecctl/parse.y
2492
r = calloc(1, sizeof(struct ipsec_rule));
sbin/ipsecctl/parse.y
2521
reverse = calloc(1, sizeof(struct ipsec_rule));
sbin/ipsecctl/parse.y
2546
r = calloc(1, sizeof(struct ipsec_rule));
sbin/ipsecctl/parse.y
2569
r = calloc(1, sizeof(struct ipsec_rule));
sbin/ipsecctl/parse.y
2608
r->auth = calloc(1, sizeof(struct ipsec_auth));
sbin/ipsecctl/parse.y
2646
ipa->next = calloc(1, sizeof(struct ipsec_addr_wrap));
sbin/ipsecctl/parse.y
2818
reverse = calloc(1, sizeof(struct ipsec_rule));
sbin/ipsecctl/parse.y
2843
reverse->auth = calloc(1, sizeof(struct ipsec_auth));
sbin/ipsecctl/parse.y
2868
r = calloc(1, sizeof(struct ipsec_rule));
sbin/ipsecctl/parse.y
2910
r->auth = calloc(1, sizeof(struct ipsec_auth));
sbin/ipsecctl/parse.y
2917
r->ikeauth = calloc(1, sizeof(struct ike_auth));
sbin/ipsecctl/parse.y
724
if ((ipsec_transforms = calloc(1,
sbin/ipsecctl/parse.y
731
if (($$ = calloc(1,
sbin/ipsecctl/parse.y
786
if ((p1 = calloc(1, sizeof(struct ike_mode))) == NULL)
sbin/ipsecctl/parse.y
794
if ((p1 = calloc(1, sizeof(struct ike_mode))) == NULL)
sbin/ipsecctl/parse.y
804
if ((p1 = calloc(1, sizeof(struct ike_mode))) == NULL)
sbin/ipsecctl/parse.y
817
if ((p2 = calloc(1, sizeof(struct ike_mode))) == NULL)
sbin/ipsecctl/parse.y
825
if ((p2 = calloc(1, sizeof(struct ike_mode))) == NULL)
sbin/ipsecctl/parse.y
838
if ((life = calloc(1, sizeof(struct ipsec_lifetime)))
sbin/ipsecctl/parse.y
848
if ((life = calloc(1, sizeof(struct ipsec_lifetime)))
sbin/ipsecctl/pfkey.c
1019
rule->dst = calloc(1,
sbin/ipsecctl/pfkey.c
1052
rule->src = calloc(1,
sbin/ipsecctl/pfkey.c
1081
rule->dst = calloc(1,
sbin/ipsecctl/pfkey.c
256
sa_srcid = calloc(len, sizeof(u_int8_t));
sbin/ipsecctl/pfkey.c
270
sa_dstid = calloc(len, sizeof(u_int8_t));
sbin/ipsecctl/pfkey.c
849
rule->local = calloc(1, sizeof(struct ipsec_addr_wrap));
sbin/ipsecctl/pfkey.c
877
rule->peer = calloc(1, sizeof(struct ipsec_addr_wrap));
sbin/ipsecctl/pfkey.c
906
rule->auth = calloc(1, sizeof(struct
sbin/ipsecctl/pfkey.c
912
rule->auth->srcid = calloc(1, len);
sbin/ipsecctl/pfkey.c
925
rule->auth = calloc(1, sizeof(struct
sbin/ipsecctl/pfkey.c
931
rule->auth->dstid = calloc(1, len);
sbin/ipsecctl/pfkey.c
987
rule->src = calloc(1,
sbin/isakmpd/conf.c
1002
dnode->next = calloc(1,
sbin/isakmpd/conf.c
1009
dnode->next = calloc(1,
sbin/isakmpd/conf.c
1019
dnode->next = calloc(1, sizeof(struct dumper));
sbin/isakmpd/conf.c
168
node = calloc(1, sizeof *node);
sbin/isakmpd/conf.c
781
node = calloc(1, sizeof *node);
sbin/isakmpd/conf.c
816
node = calloc(1, sizeof *node);
sbin/isakmpd/conf.c
861
node = calloc(1, sizeof *node);
sbin/isakmpd/conf.c
985
dumper = dnode = calloc(1, sizeof *dumper);
sbin/isakmpd/connection.c
282
conn = calloc(1, sizeof *conn);
sbin/isakmpd/connection.c
332
conn = calloc(1, sizeof *conn);
sbin/isakmpd/crypto.c
238
ks = calloc(1, sizeof *ks);
sbin/isakmpd/dh.c
268
if ((group = calloc(1, sizeof(*group))) == NULL)
sbin/isakmpd/exchange.c
1068
node = calloc(1, (unsigned long)sizeof *node);
sbin/isakmpd/exchange.c
420
exchange_tab = calloc(bucket_mask + 1, sizeof(struct exchange_list));
sbin/isakmpd/exchange.c
597
exchange = calloc(1, sizeof *exchange);
sbin/isakmpd/exchange.c
618
exchange->data = calloc(1, exchange->doi->exchange_size);
sbin/isakmpd/exchange.c
784
node = calloc(1, (unsigned long)sizeof *node);
sbin/isakmpd/ike_auth.c
212
buf = calloc(size + 1, sizeof(char));
sbin/isakmpd/ike_auth.c
267
privkeyfile = calloc(pkflen, sizeof(char));
sbin/isakmpd/ike_auth.c
366
buf = calloc(exchange->id_i_len - ISAKMP_ID_DATA_OFF +
sbin/isakmpd/ike_auth.c
400
exchange->recv_key = calloc(keylen + 1, sizeof(char));
sbin/isakmpd/ike_auth.c
980
buf2 = calloc(id_len - ISAKMP_ID_DATA_OFF +
sbin/isakmpd/ike_phase_1.c
275
proto = calloc(1, sizeof *proto);
sbin/isakmpd/ike_phase_1.c
287
pa = calloc(1, sizeof *pa);
sbin/isakmpd/ike_phase_1.c
92
transform = calloc(conf->cnt, sizeof *transform);
sbin/isakmpd/ike_phase_1.c
98
transform_len = calloc(conf->cnt, sizeof *transform_len);
sbin/isakmpd/ike_quick_mode.c
1196
ie->id_ci = calloc(ie->id_ci_sz, sizeof(char));
sbin/isakmpd/ike_quick_mode.c
1197
ie->id_cr = calloc(ie->id_cr_sz, sizeof(char));
sbin/isakmpd/ike_quick_mode.c
125
keynote_ids = calloc(policy_asserts_num, sizeof *keynote_ids);
sbin/isakmpd/ike_quick_mode.c
159
principal = calloc(nprinc, sizeof *principal);
sbin/isakmpd/ike_quick_mode.c
1647
ie->id_ci = calloc(ie->id_ci_sz, sizeof(char));
sbin/isakmpd/ike_quick_mode.c
1648
ie->id_cr = calloc(ie->id_cr_sz, sizeof(char));
sbin/isakmpd/ike_quick_mode.c
166
principal[0] = calloc(len, sizeof(char));
sbin/isakmpd/ike_quick_mode.c
181
principal[1] = calloc(len, sizeof(char));
sbin/isakmpd/ike_quick_mode.c
195
principal[2] = calloc(len, sizeof(char));
sbin/isakmpd/ike_quick_mode.c
213
principal = calloc(nprinc, sizeof *principal);
sbin/isakmpd/ike_quick_mode.c
230
principal = calloc(2, sizeof *principal);
sbin/isakmpd/ike_quick_mode.c
269
principal[1] = calloc(259, sizeof(char));
sbin/isakmpd/ike_quick_mode.c
535
transform[prop_no] = calloc(transform_cnt[prop_no],
sbin/isakmpd/ike_quick_mode.c
544
transform_len[prop_no] = calloc(transform_cnt[prop_no],
sbin/isakmpd/ike_quick_mode.c
560
calloc(ISAKMP_TRANSFORM_SA_ATTRS_OFF +
sbin/isakmpd/ike_quick_mode.c
767
proto = calloc(1, sizeof *proto);
sbin/isakmpd/ike_quick_mode.c
775
proto->data = calloc(1, doi->proto_size);
sbin/isakmpd/ike_quick_mode.c
791
pa = calloc(1, sizeof *pa);
sbin/isakmpd/ike_quick_mode.c
953
id = calloc(sz, sizeof(char));
sbin/isakmpd/ipsec.c
1776
spis = calloc(nspis, spisz);
sbin/isakmpd/ipsec.c
329
if ((sa->tag = calloc(1, len)) == NULL) {
sbin/isakmpd/ipsec.c
669
isa->src_net = calloc(1, sizeof(struct sockaddr_in));
sbin/isakmpd/ipsec.c
675
isa->src_mask = calloc(1, sizeof(struct sockaddr_in));
sbin/isakmpd/ipsec.c
683
isa->src_net = calloc(1, sizeof(struct sockaddr_in6));
sbin/isakmpd/ipsec.c
689
isa->src_mask = calloc(1, sizeof(struct sockaddr_in6));
sbin/isakmpd/ipsec.c
718
isa->dst_net = calloc(1, sizeof(struct sockaddr_in));
sbin/isakmpd/ipsec.c
724
isa->dst_mask = calloc(1, sizeof(struct sockaddr_in));
sbin/isakmpd/ipsec.c
732
isa->dst_net = calloc(1, sizeof(struct sockaddr_in6));
sbin/isakmpd/ipsec.c
738
isa->dst_mask = calloc(1, sizeof(struct sockaddr_in6));
sbin/isakmpd/isakmp_cfg.c
245
attrp = calloc(1, attrlen);
sbin/isakmpd/isakmp_cfg.c
708
attr = calloc(1, sizeof *attr);
sbin/isakmpd/isakmp_cfg.c
795
*attrp = calloc(1, *len);
sbin/isakmpd/message.c
122
msg = calloc(1, sizeof *msg);
sbin/isakmpd/message.c
125
msg->iov = calloc(1, sizeof *msg->iov);
sbin/isakmpd/message.c
143
msg->payload = calloc(ISAKMP_PAYLOAD_MAX, sizeof *msg->payload);
sbin/isakmpd/message.c
1633
payload_node = calloc(1, sizeof *payload_node);
sbin/isakmpd/message.c
1820
buf = calloc(1, sz);
sbin/isakmpd/message.c
2324
transforms = calloc(nprotos, sizeof *transforms);
sbin/isakmpd/message.c
2331
transform_lens = calloc(nprotos, sizeof *transform_lens);
sbin/isakmpd/message.c
2338
proposals = calloc(nprotos, sizeof *proposals);
sbin/isakmpd/message.c
2345
proposal_lens = calloc(nprotos, sizeof *proposal_lens);
sbin/isakmpd/pf_key_v2.c
1147
addr = calloc(1, len);
sbin/isakmpd/pf_key_v2.c
1168
addr = calloc(1, len);
sbin/isakmpd/pf_key_v2.c
1232
sid = calloc(PF_KEY_V2_ROUND(len + 1) + sizeof *sid,
sbin/isakmpd/pf_key_v2.c
1265
sid = calloc(PF_KEY_V2_ROUND(len + 1) + sizeof *sid,
sbin/isakmpd/pf_key_v2.c
1313
addr = calloc(1, len);
sbin/isakmpd/pf_key_v2.c
1326
addr = calloc(1, len);
sbin/isakmpd/pf_key_v2.c
1340
addr = calloc(1, len);
sbin/isakmpd/pf_key_v2.c
1353
addr = calloc(1, len);
sbin/isakmpd/pf_key_v2.c
1370
if ((stag = calloc(1, len)) == NULL)
sbin/isakmpd/pf_key_v2.c
1386
siface = calloc(1, len);
sbin/isakmpd/pf_key_v2.c
1526
sid = calloc(
sbin/isakmpd/pf_key_v2.c
1547
sid = calloc(
sbin/isakmpd/pf_key_v2.c
1584
addr = calloc(1, len);
sbin/isakmpd/pf_key_v2.c
1597
addr = calloc(1, len);
sbin/isakmpd/pf_key_v2.c
1609
addr = calloc(1, len);
sbin/isakmpd/pf_key_v2.c
1621
addr = calloc(1, len);
sbin/isakmpd/pf_key_v2.c
1633
addr = calloc(1, len);
sbin/isakmpd/pf_key_v2.c
1715
res = calloc(idlen - ISAKMP_ID_DATA_OFF + ISAKMP_GEN_SZ,
sbin/isakmpd/pf_key_v2.c
1728
res = calloc(idlen - ISAKMP_ID_DATA_OFF + ISAKMP_GEN_SZ,
sbin/isakmpd/pf_key_v2.c
2065
addr = calloc(1, len);
sbin/isakmpd/pf_key_v2.c
2090
addr = calloc(1, len);
sbin/isakmpd/pf_key_v2.c
328
iov = calloc(cnt, sizeof *iov);
sbin/isakmpd/pf_key_v2.c
3297
addr = calloc(1, len);
sbin/isakmpd/pf_key_v2.c
3310
addr = calloc(1, len);
sbin/isakmpd/pf_key_v2.c
548
addr = calloc(1, len);
sbin/isakmpd/pf_key_v2.c
569
addr = calloc(1, len);
sbin/isakmpd/pf_key_v2.c
688
ssa = calloc(1, sizeof *ssa);
sbin/isakmpd/pf_key_v2.c
707
addr = calloc(1, len);
sbin/isakmpd/policy.c
1012
remote_filter = calloc(len, sizeof(char));
sbin/isakmpd/policy.c
1040
remote_filter = calloc(len, sizeof(char));
sbin/isakmpd/policy.c
1085
remote_filter = calloc(len, sizeof(char));
sbin/isakmpd/policy.c
1128
remote_filter = calloc(len,
sbin/isakmpd/policy.c
1203
= calloc(2 * (idremotesz -
sbin/isakmpd/policy.c
1337
local_filter = calloc(len, sizeof(char));
sbin/isakmpd/policy.c
1365
local_filter = calloc(len, sizeof(char));
sbin/isakmpd/policy.c
1409
local_filter = calloc(len, sizeof(char));
sbin/isakmpd/policy.c
1454
local_filter = calloc(len,
sbin/isakmpd/policy.c
1526
local_filter = calloc(2 * (idlocalsz -
sbin/isakmpd/policy.c
1958
ptr = calloc(sz + 1, sizeof(char));
sbin/isakmpd/policy.c
2083
dat = calloc(len + 1, sizeof(char));
sbin/isakmpd/policy.c
2162
file = calloc(len + id_len, sizeof(char));
sbin/isakmpd/policy.c
2196
*cert = calloc(size + 1, sizeof(char));
sbin/isakmpd/policy.c
728
remote_id = calloc(len, sizeof(char));
sbin/isakmpd/policy.c
755
remote_id = calloc(len, sizeof(char));
sbin/isakmpd/policy.c
795
remote_id = calloc(len, sizeof(char));
sbin/isakmpd/policy.c
834
remote_id = calloc(len, sizeof(char));
sbin/isakmpd/policy.c
849
remote_id = calloc(id_sz - ISAKMP_ID_DATA_OFF +
sbin/isakmpd/policy.c
866
remote_id = calloc(id_sz - ISAKMP_ID_DATA_OFF +
sbin/isakmpd/policy.c
900
remote_id = calloc(2 * (id_sz - ISAKMP_ID_DATA_OFF +
sbin/isakmpd/sa.c
1035
avs = calloc(1, sizeof *avs);
sbin/isakmpd/sa.c
1097
proto = calloc(1, sizeof *proto);
sbin/isakmpd/sa.c
1131
proto->data = calloc(1, sa->doi->proto_size);
sbin/isakmpd/sa.c
415
sa = calloc(1, sizeof *sa);
sbin/isakmpd/sa.c
436
sa->data = calloc(1, sa->doi->sa_size);
sbin/isakmpd/sa.c
94
sa_tab = calloc(bucket_mask + 1, sizeof(struct sa_list));
sbin/isakmpd/udp.c
115
t = calloc(1, sizeof *t);
sbin/isakmpd/udp_encap.c
112
t = calloc(1, sizeof *t);
sbin/isakmpd/udp_encap.c
423
new_iov = calloc(msg->iovlen + 1, sizeof *new_iov);
sbin/isakmpd/util.c
573
if ((tmp = calloc(1, len)) == NULL) {
sbin/isakmpd/vendor.c
48
openbsd_vendor_cap[i].hash = calloc(hash->hashsize,
sbin/isakmpd/vendor.c
90
if ((buf = calloc(buflen, sizeof(char))) == NULL) {
sbin/isakmpd/virtual.c
231
v = calloc(1, sizeof *v);
sbin/isakmpd/virtual.c
593
v = calloc(1, sizeof *v);
sbin/isakmpd/x509.c
1178
*id = calloc(*cnt, sizeof **id);
sbin/isakmpd/x509.c
1185
*id_len = calloc(*cnt, sizeof **id_len);
sbin/isakmpd/x509.c
520
x509_tab = calloc(bucket_mask + 1, sizeof(struct x509_list));
sbin/isakmpd/x509.c
587
certh = calloc(1, sizeof *certh);
sbin/mount_vnd/mount_vnd.c
176
if ((key = calloc(1, BLF_MAXUTILIZED)) == NULL)
sbin/mountd/mountd.c
1109
fstbl = calloc(num, sizeof (fstbl[0]));
sbin/mountd/mountd.c
1436
ep = calloc(1, sizeof (struct exportlist));
sbin/mountd/mountd.c
1450
gp = calloc(1, sizeof (struct grouplist));
sbin/newfs/mkfs.c
177
if ((fsun = calloc(1, sizeof (union fs_u))) == NULL ||
sbin/newfs/mkfs.c
178
(cgun = calloc(1, sizeof (union cg_u))) == NULL)
sbin/newfs/mkfs.c
445
fscs = calloc(1, sblock.fs_cssize);
sbin/newfs/mkfs.c
516
fsun1 = calloc(1, sizeof(union fs_u));
sbin/newfs_ext2fs/mke2fs.c
469
gd = calloc(sblock.e2fs_ngdb, bsize);
sbin/newfs_ext2fs/newfs_ext2fs.c
322
if ((buf = calloc(1, bufsize)) == NULL)
sbin/pdisk/partition_map.c
388
entry = calloc(1, sizeof(struct entry));
sbin/pfctl/parse.y
1062
loadanchor = calloc(1, sizeof(struct loadanchors));
sbin/pfctl/parse.y
1165
j = calloc(1, sizeof(struct node_if));
sbin/pfctl/parse.y
1176
h = calloc(1, sizeof(*h));
sbin/pfctl/parse.y
1387
if (!(ti = calloc(1, sizeof(*ti))))
sbin/pfctl/parse.y
1397
if (!(ti = calloc(1, sizeof(*ti))))
sbin/pfctl/parse.y
1640
stlim = calloc(1, sizeof(*stlim));
sbin/pfctl/parse.y
1796
srlim = calloc(1, sizeof(*srlim));
sbin/pfctl/parse.y
2564
calloc(1, sizeof(struct redirection));
sbin/pfctl/parse.y
2911
$$ = calloc(1, sizeof(struct node_if));
sbin/pfctl/parse.y
2931
$$ = calloc(1, sizeof(struct node_if));
sbin/pfctl/parse.y
2943
$$ = calloc(1, sizeof(struct node_if));
sbin/pfctl/parse.y
2980
$$ = calloc(1, sizeof(struct node_proto));
sbin/pfctl/parse.y
3029
$$ = calloc(1, sizeof(struct node_os));
sbin/pfctl/parse.y
3114
$$ = calloc(1, sizeof(struct node_host));
sbin/pfctl/parse.y
3123
$$ = calloc(1, sizeof(struct node_host));
sbin/pfctl/parse.y
3233
$$ = calloc(1, sizeof(struct node_host));
sbin/pfctl/parse.y
3246
$$ = calloc(1, sizeof(struct node_host));
sbin/pfctl/parse.y
3314
$$ = calloc(1, sizeof(struct node_host));
sbin/pfctl/parse.y
3348
$$ = calloc(1, sizeof(struct node_port));
sbin/pfctl/parse.y
3372
$$ = calloc(1, sizeof(struct node_port));
sbin/pfctl/parse.y
3387
$$ = calloc(1, sizeof(struct node_port));
sbin/pfctl/parse.y
3433
$$ = calloc(1, sizeof(struct node_uid));
sbin/pfctl/parse.y
3448
$$ = calloc(1, sizeof(struct node_uid));
sbin/pfctl/parse.y
3463
$$ = calloc(1, sizeof(struct node_uid));
sbin/pfctl/parse.y
3511
$$ = calloc(1, sizeof(struct node_gid));
sbin/pfctl/parse.y
3526
$$ = calloc(1, sizeof(struct node_gid));
sbin/pfctl/parse.y
3541
$$ = calloc(1, sizeof(struct node_gid));
sbin/pfctl/parse.y
3617
$$ = calloc(1, sizeof(struct node_icmp));
sbin/pfctl/parse.y
3636
$$ = calloc(1, sizeof(struct node_icmp));
sbin/pfctl/parse.y
3650
$$ = calloc(1, sizeof(struct node_icmp));
sbin/pfctl/parse.y
3662
$$ = calloc(1, sizeof(struct node_icmp));
sbin/pfctl/parse.y
3681
$$ = calloc(1, sizeof(struct node_icmp));
sbin/pfctl/parse.y
3695
$$ = calloc(1, sizeof(struct node_icmp));
sbin/pfctl/parse.y
3831
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
3840
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
3852
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
3865
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
3879
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
3894
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
3911
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
3920
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
3929
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
3938
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
3946
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
3974
$$ = calloc(1, sizeof(struct node_state_opt));
sbin/pfctl/parse.y
4073
$$ = calloc(1, sizeof(struct redirection));
sbin/pfctl/parse.y
4080
$$ = calloc(1, sizeof(struct redirection));
sbin/pfctl/parse.y
4090
$$ = calloc(1, sizeof(struct pf_poolhashkey));
sbin/pfctl/parse.y
4107
$$ = calloc(1, sizeof(struct pf_poolhashkey));
sbin/pfctl/parse.y
4122
$$ = calloc(1, sizeof(struct pf_poolhashkey));
sbin/pfctl/parse.y
4211
redir = calloc(1, sizeof(*redir));
sbin/pfctl/parse.y
4524
ukt = calloc(1, sizeof(struct pfr_uktable));
sbin/pfctl/parse.y
4593
r = calloc(1, sizeof(T)); \
sbin/pfctl/parse.y
4613
if ((tmp = calloc(1, len)) == NULL)
sbin/pfctl/parse.y
5357
if ((srch = calloc(1, sizeof(*srch))) == NULL)
sbin/pfctl/parse.y
5364
if ((dsth = calloc(1, sizeof(*dsth))) == NULL)
sbin/pfctl/parse.y
5373
calloc(1, sizeof(*binat.rdr))) == NULL)
sbin/pfctl/parse.y
5936
if ((nfile = calloc(1, sizeof(struct file))) == NULL ||
sbin/pfctl/parse.y
6051
if ((sym = calloc(1, sizeof(*sym))) == NULL)
sbin/pfctl/parse.y
985
if ((r.anchor = calloc(1, sizeof(*r.anchor))) == NULL) {
sbin/pfctl/pfctl.c
1262
if ((npath = calloc(1, PATH_MAX)) == NULL)
sbin/pfctl/pfctl.c
1606
if ((rule = calloc(1, sizeof(*rule))) == NULL)
sbin/pfctl/pfctl.c
1648
if ((qi = calloc(1, sizeof(*qi))) == NULL)
sbin/pfctl/pfctl.c
1689
if ((n = calloc(1, sizeof(*n))) == NULL)
sbin/pfctl/pfctl.c
2102
if ((path = calloc(1, PATH_MAX)) == NULL)
sbin/pfctl/pfctl.c
2117
if ((pf.anchor = calloc(1, sizeof(*pf.anchor))) == NULL)
sbin/pfctl/pfctl.c
3298
if ((path = calloc(1, PATH_MAX)) == NULL)
sbin/pfctl/pfctl_optimize.c
1199
if ((*tbl = calloc(1, sizeof(**tbl))) == NULL ||
sbin/pfctl/pfctl_optimize.c
1200
((*tbl)->pt_buf = calloc(1, sizeof(*(*tbl)->pt_buf))) ==
sbin/pfctl/pfctl_optimize.c
1230
if ((ti = calloc(1, sizeof(*ti))) == NULL)
sbin/pfctl/pfctl_optimize.c
1315
if ((block = calloc(1, sizeof(*block))) == NULL) {
sbin/pfctl/pfctl_optimize.c
291
if ((por = calloc(1, sizeof(*por))) == NULL)
sbin/pfctl/pfctl_optimize.c
319
if ((r = calloc(1, sizeof(*r))) == NULL)
sbin/pfctl/pfctl_optimize.c
642
if ((skiplist = calloc(1, sizeof(*skiplist))) ==
sbin/pfctl/pfctl_optimize.c
735
if ((newblock = calloc(1, sizeof(*newblock)))
sbin/pfctl/pfctl_optimize.c
870
if ((por = calloc(1, sizeof(*por))) == NULL) {
sbin/pfctl/pfctl_osfp.c
699
nm_entry = calloc(1, sizeof(*nm_entry));
sbin/pfctl/pfctl_parser.c
1405
if ((n = calloc(1, sizeof(*n))) == NULL)
sbin/pfctl/pfctl_parser.c
1438
n = calloc(1, sizeof(struct node_host));
sbin/pfctl/pfctl_parser.c
1544
if ((n = calloc(1, sizeof(*n))) == NULL)
sbin/pfctl/pfctl_parser.c
1579
if ((ifgr.ifgr_groups = calloc(1, len)) == NULL)
sbin/pfctl/pfctl_parser.c
1644
n = calloc(1, sizeof(struct node_host));
sbin/pfctl/pfctl_parser.c
1788
h = calloc(1, sizeof(*h));
sbin/pfctl/pfctl_parser.c
1800
h = calloc(1, sizeof(*h));
sbin/pfctl/pfctl_parser.c
1855
n = calloc(1, sizeof(struct node_host));
sbin/pfctl/pfctl_queue.c
163
node = calloc(1, sizeof(struct pfctl_queue_node));
sbin/quotacheck/quotacheck.c
608
if ((fup = calloc(1, sizeof(*fup) + len)) == NULL)
sbin/restore/dirs.c
688
itp = calloc(1, sizeof(struct inotab));
sbin/restore/interactive.c
530
list = calloc(entries, sizeof(struct afile));
sbin/restore/main.c
302
if ((*argvp = nargv = calloc(argc + 1, sizeof(char *))) == NULL ||
sbin/restore/symtab.c
224
np = calloc(1, sizeof(struct entry));
sbin/restore/symtab.c
532
entry = calloc(entrytblsize, sizeof(struct entry *));
sbin/restore/symtab.c
548
base = calloc(tblsize, sizeof(char));
sbin/restore/tape.c
181
tapebuf = calloc(size, TP_BSIZE);
sbin/restore/tape.c
258
map = calloc(1, howmany(maxino, NBBY));
sbin/restore/tape.c
266
map = calloc(1, howmany(maxino, NBBY));
sbin/savecore/zopen.c
556
if ((zs = calloc(1, sizeof(struct s_zstate))) == NULL)
sbin/slaacd/control.c
154
if ((c = calloc(1, sizeof(struct ctl_conn))) == NULL) {
sbin/slaacd/engine.c
1301
if ((iface = calloc(1, sizeof(*iface))) == NULL)
sbin/slaacd/engine.c
1418
if ((radv = calloc(1, sizeof(*radv))) == NULL)
sbin/slaacd/engine.c
1494
if ((prefix = calloc(1, sizeof(*prefix))) == NULL)
sbin/slaacd/engine.c
1536
if ((rdns = calloc(1, sizeof(*rdns))) == NULL)
sbin/slaacd/engine.c
2164
if ((addr_proposal = calloc(1, sizeof(*addr_proposal))) == NULL)
sbin/slaacd/engine.c
2257
if ((dfr_proposal = calloc(1, sizeof(*dfr_proposal))) == NULL)
sbin/slaacd/engine.c
2340
if ((rdns_proposal = calloc(1, sizeof(*rdns_proposal))) == NULL)
sbin/slaacd/frontend.c
1080
if ((icmp6ev = calloc(1, sizeof(*icmp6ev))) == NULL)
sbin/slaacd/frontend.c
533
if ((iface = calloc(1, sizeof(*iface))) == NULL)
sbin/swapctl/swaplist.c
59
fsep = sep = calloc(nswap, sizeof(*sep));
sbin/sysctl/sysctl.c
1310
if ((vfs_typenums = calloc(maxtypenum, sizeof(int))) == NULL)
sbin/sysctl/sysctl.c
1312
if ((vfsvars = calloc(maxtypenum, sizeof(*vfsvars))) == NULL) {
sbin/sysctl/sysctl.c
1316
if ((vfsname = calloc(maxtypenum, sizeof(*vfsname))) == NULL) {
sbin/sysctl/sysctl.c
1983
lp.list = calloc(stor + 2, sizeof(struct ctlname));
sbin/sysctl/sysctl.c
2014
lp.list = calloc(stor + 2, sizeof(struct ctlname));
sbin/umount/umount.c
327
if ((av = typelist = calloc(i + 1, sizeof(char *))) == NULL)
sbin/unwind/control.c
153
if ((c = calloc(1, sizeof(struct ctl_conn))) == NULL) {
sbin/unwind/frontend.c
1025
if ((pq = calloc(1, sizeof(*pq))) == NULL) {
sbin/unwind/frontend.c
1671
if ((pq = calloc(1, sizeof(*pq))) == NULL) {
sbin/unwind/frontend.c
626
calloc(new_dns64_prefix_count,
sbin/unwind/frontend.c
714
if ((pq = calloc(1, sizeof(*pq))) == NULL) {
sbin/unwind/libunbound/dns64/dns64.c
334
node = (struct name_tree_node*)calloc(1, sizeof(*node));
sbin/unwind/libunbound/dns64/dns64.c
405
(struct dns64_env*)calloc(1, sizeof(struct dns64_env));
sbin/unwind/libunbound/iterator/iter_delegpt.c
594
struct delegpt* dp=(struct delegpt*)calloc(1, sizeof(*dp));
sbin/unwind/libunbound/iterator/iter_donotq.c
54
struct iter_donotq* dq = (struct iter_donotq*)calloc(1,
sbin/unwind/libunbound/iterator/iter_fwd.c
70
struct iter_forwards* fwd = (struct iter_forwards*)calloc(1,
sbin/unwind/libunbound/iterator/iter_hints.c
56
struct iter_hints* hints = (struct iter_hints*)calloc(1,
sbin/unwind/libunbound/iterator/iter_priv.c
57
struct iter_priv* priv = (struct iter_priv*)calloc(1, sizeof(*priv));
sbin/unwind/libunbound/iterator/iter_utils.c
107
*target_fetch_policy = (int*)calloc(
sbin/unwind/libunbound/iterator/iter_utils.c
158
n = (struct name_tree_node*)calloc(1, sizeof(*n));
sbin/unwind/libunbound/iterator/iter_utils.c
413
rtt_list = calloc(num_results, sizeof(int));
sbin/unwind/libunbound/iterator/iterator.c
739
iq->target_count = (int*)calloc(TARGET_COUNT_MAX, sizeof(int));
sbin/unwind/libunbound/iterator/iterator.c
743
iq->nxns_dp = (uint8_t**)calloc(1, sizeof(uint8_t*));
sbin/unwind/libunbound/iterator/iterator.c
89
struct iter_env* iter_env = (struct iter_env*)calloc(1,
sbin/unwind/libunbound/libunbound/context.c
160
struct ctx_query* q = (struct ctx_query*)calloc(1, sizeof(*q));
sbin/unwind/libunbound/libunbound/context.c
174
q->res = (struct ub_result*)calloc(1, sizeof(*q->res));
sbin/unwind/libunbound/libunbound/context.c
216
a = (struct alloc_cache*)calloc(1, sizeof(*a));
sbin/unwind/libunbound/libunbound/context.c
265
struct ctx_query* q = (struct ctx_query*)calloc(1, sizeof(*q));
sbin/unwind/libunbound/libunbound/context.c
275
q->res = (struct ub_result*)calloc(1, sizeof(*q->res));
sbin/unwind/libunbound/libunbound/libunbound.c
1013
s = calloc(1, sizeof(*s));
sbin/unwind/libunbound/libunbound/libunbound.c
111
ctx = (struct ub_ctx*)calloc(1, sizeof(*ctx));
sbin/unwind/libunbound/libunbound/libunbound.c
1113
elem=(struct config_stub*)calloc(1, sizeof(struct config_stub));
sbin/unwind/libunbound/libunbound/libunbound.c
126
ctx->env = (struct module_env*)calloc(1, sizeof(*ctx->env));
sbin/unwind/libunbound/libunbound/libworker.c
133
struct libworker* w = (struct libworker*)calloc(1, sizeof(*w));
sbin/unwind/libunbound/libunbound/libworker.c
447
res->data = (char**)calloc(1, sizeof(char*));
sbin/unwind/libunbound/libunbound/libworker.c
450
res->len = (int*)calloc(1, sizeof(int));
sbin/unwind/libunbound/libunbound/libworker.c
463
res->data = (char**)calloc(data->count+1, sizeof(char*));
sbin/unwind/libunbound/libunbound/libworker.c
466
res->len = (int*)calloc(data->count+1, sizeof(int));
sbin/unwind/libunbound/respip/respip.c
60
struct respip_set* set = calloc(1, sizeof(*set));
sbin/unwind/libunbound/services/authzone.c
1017
sigd = (struct packed_rrset_data*)calloc(1, packed_rrset_sizeof(sigold)
sbin/unwind/libunbound/services/authzone.c
296
struct auth_zones* az = (struct auth_zones*)calloc(1, sizeof(*az));
sbin/unwind/libunbound/services/authzone.c
419
struct auth_zone* z = (struct auth_zone*)calloc(1, sizeof(*z));
sbin/unwind/libunbound/services/authzone.c
5662
a = (struct auth_addr*)calloc(1, sizeof(*a));
sbin/unwind/libunbound/services/authzone.c
6063
e = (struct auth_chunk*)calloc(1, sizeof(*e));
sbin/unwind/libunbound/services/authzone.c
7082
xfr = (struct auth_xfer*)calloc(1, sizeof(*xfr));
sbin/unwind/libunbound/services/authzone.c
7094
xfr->task_nextprobe = (struct auth_nextprobe*)calloc(1,
sbin/unwind/libunbound/services/authzone.c
7101
xfr->task_probe = (struct auth_probe*)calloc(1,
sbin/unwind/libunbound/services/authzone.c
7109
xfr->task_transfer = (struct auth_transfer*)calloc(1,
sbin/unwind/libunbound/services/authzone.c
7171
m = (struct auth_master*)calloc(1, sizeof(*m));
sbin/unwind/libunbound/services/authzone.c
739
d = (struct packed_rrset_data*)calloc(1, packed_rrset_sizeof(old) - (
sbin/unwind/libunbound/services/authzone.c
801
d = (struct packed_rrset_data*)calloc(1, packed_rrset_sizeof(old)
sbin/unwind/libunbound/services/authzone.c
868
struct auth_rrset* rrset = (struct auth_rrset*)calloc(1,
sbin/unwind/libunbound/services/authzone.c
879
d = (struct packed_rrset_data*)calloc(1,
sbin/unwind/libunbound/services/authzone.c
954
d = (struct packed_rrset_data*)calloc(1, packed_rrset_sizeof(old)
sbin/unwind/libunbound/services/cache/infra.c
1024
struct ip_rate_key* k = (struct ip_rate_key*)calloc(1, sizeof(*k));
sbin/unwind/libunbound/services/cache/infra.c
1025
struct ip_rate_data* d = (struct ip_rate_data*)calloc(1, sizeof(*d));
sbin/unwind/libunbound/services/cache/infra.c
188
d = (struct domain_limit_data*)calloc(1, sizeof(*d));
sbin/unwind/libunbound/services/cache/infra.c
263
d = (struct wait_limit_netblock_info*)calloc(1, sizeof(*d));
sbin/unwind/libunbound/services/cache/infra.c
348
struct infra_cache* infra = (struct infra_cache*)calloc(1,
sbin/unwind/libunbound/services/cache/infra.c
995
struct rate_key* k = (struct rate_key*)calloc(1, sizeof(*k));
sbin/unwind/libunbound/services/cache/infra.c
996
struct rate_data* d = (struct rate_data*)calloc(1, sizeof(*d));
sbin/unwind/libunbound/services/listen_dnsport.c
1345
ub_sock = calloc(1, sizeof(struct unbound_socket));
sbin/unwind/libunbound/services/listen_dnsport.c
1380
ub_sock = calloc(1, sizeof(struct unbound_socket));
sbin/unwind/libunbound/services/listen_dnsport.c
1442
ub_sock = calloc(1, sizeof(struct unbound_socket));
sbin/unwind/libunbound/services/listen_dnsport.c
1864
*resif = calloc(*num_resif, sizeof(**resif));
sbin/unwind/libunbound/services/listen_dnsport.c
3278
struct doq_table* table = calloc(1, sizeof(*table));
sbin/unwind/libunbound/services/listen_dnsport.c
3555
struct doq_conn* conn = calloc(1, sizeof(*conn));
sbin/unwind/libunbound/services/listen_dnsport.c
3856
struct doq_stream* stream = calloc(1, sizeof(*stream));
sbin/unwind/libunbound/services/listen_dnsport.c
4035
stream->in = calloc(1, stream->inlen);
sbin/unwind/libunbound/services/listen_dnsport.c
4722
quic_method = calloc(1, sizeof(SSL_QUIC_METHOD));
sbin/unwind/libunbound/services/listen_dnsport.c
4958
conid = calloc(1, sizeof(*conid));
sbin/unwind/libunbound/services/listen_dnsport.c
5080
struct ngtcp2_cid *scids = calloc(num_scid,
sbin/unwind/libunbound/services/localzone.c
100
struct local_zones* zones = (struct local_zones*)calloc(1,
sbin/unwind/libunbound/services/localzone.c
187
struct local_zone* z = (struct local_zone*)calloc(1, sizeof(*z));
sbin/unwind/libunbound/services/mesh.c
209
struct mesh_area* mesh = calloc(1, sizeof(struct mesh_area));
sbin/unwind/libunbound/services/modstack.c
123
stack->mod = (struct module_func_block**)calloc((size_t)
sbin/unwind/libunbound/services/outside_network.c
1631
if(!(outnet->tcp_conns = (struct pending_tcp **)calloc(
sbin/unwind/libunbound/services/outside_network.c
1635
if(!(outnet->tcp_conns[i] = (struct pending_tcp*)calloc(1,
sbin/unwind/libunbound/services/outside_network.c
1665
pif->out = (struct port_comm**)calloc(numfd,
sbin/unwind/libunbound/services/outside_network.c
1684
calloc(1, sizeof(struct outside_network));
sbin/unwind/libunbound/services/outside_network.c
1737
if(!(outnet->ip4_ifs = (struct port_if*)calloc(
sbin/unwind/libunbound/services/outside_network.c
1745
if(!(outnet->ip6_ifs = (struct port_if*)calloc(
sbin/unwind/libunbound/services/outside_network.c
1766
pc = (struct port_comm*)calloc(1, sizeof(*pc));
sbin/unwind/libunbound/services/outside_network.c
2277
struct pending* pend = (struct pending*)calloc(1, sizeof(*pend));
sbin/unwind/libunbound/services/rpz.c
1108
if(!(policydname = calloc(1, (dnamelen-aznamelen)+1))) {
sbin/unwind/libunbound/services/rpz.c
1585
if(!(policydname = calloc(1, LDNS_MAX_DOMAINLEN + 1)))
sbin/unwind/libunbound/services/rpz.c
346
struct clientip_synthesized_rrset* set = calloc(1, sizeof(*set));
sbin/unwind/libunbound/services/rpz.c
557
struct rpz* r = calloc(1, sizeof(*r));
sbin/unwind/libunbound/services/view.c
103
struct view* v = (struct view*)calloc(1, sizeof(*v));
sbin/unwind/libunbound/services/view.c
60
struct views* v = (struct views*)calloc(1,
sbin/unwind/libunbound/util/alloc.c
388
#ifdef calloc
sbin/unwind/libunbound/util/alloc.c
403
res = calloc(1, s+16);
sbin/unwind/libunbound/util/config_file.c
192
if(!(cfg->outgoing_avail_ports = (int*)calloc(65536, sizeof(int))))
sbin/unwind/libunbound/util/config_file.c
2082
s = (struct config_strlist*)calloc(1, sizeof(struct config_strlist));
sbin/unwind/libunbound/util/config_file.c
2138
s = (struct config_strlist*)calloc(1, sizeof(struct config_strlist));
sbin/unwind/libunbound/util/config_file.c
2155
s = (struct config_strlist*)calloc(1, sizeof(struct config_strlist));
sbin/unwind/libunbound/util/config_file.c
2183
s = (struct config_str2list*)calloc(1, sizeof(struct config_str2list));
sbin/unwind/libunbound/util/config_file.c
2203
s = (struct config_str3list*)calloc(1, sizeof(struct config_str3list));
sbin/unwind/libunbound/util/config_file.c
2221
s = (struct config_strbytelist*)calloc(1, sizeof(*s));
sbin/unwind/libunbound/util/config_file.c
2394
taglist = calloc(1, len);
sbin/unwind/libunbound/util/config_file.c
2431
else if (*str && (nsid = calloc(1, strlen(str) / 2))) {
sbin/unwind/libunbound/util/config_file.c
99
cfg = (struct config_file*)calloc(1, sizeof(struct config_file));
sbin/unwind/libunbound/util/configparser.y
375
s = (struct config_stub*)calloc(1, sizeof(struct config_stub));
sbin/unwind/libunbound/util/configparser.y
402
s = (struct config_stub*)calloc(1, sizeof(struct config_stub));
sbin/unwind/libunbound/util/configparser.y
429
s = (struct config_view*)calloc(1, sizeof(struct config_view));
sbin/unwind/libunbound/util/configparser.y
448
s = (struct config_auth*)calloc(1, sizeof(struct config_auth));
sbin/unwind/libunbound/util/configparser.y
547
s = (struct config_auth*)calloc(1, sizeof(struct config_auth));
sbin/unwind/libunbound/util/configparser.y
806
cfg_parser->cfg->ifs = calloc(1, sizeof(char*));
sbin/unwind/libunbound/util/configparser.y
819
cfg_parser->cfg->out_ifs = calloc(1, sizeof(char*));
sbin/unwind/libunbound/util/data/msgreply.c
400
else *data = calloc(1, s);
sbin/unwind/libunbound/util/edns.c
217
struct cookie_secrets* cookie_secrets = calloc(1,
sbin/unwind/libunbound/util/edns.c
56
struct edns_strings* edns_strings = calloc(1,
sbin/unwind/libunbound/util/mini_event.c
111
base->fds = (struct event**)calloc((size_t)base->capfd,
sbin/unwind/libunbound/util/mini_event.c
117
base->signals = (struct event**)calloc(MAX_SIG, sizeof(struct event*));
sbin/unwind/libunbound/util/module.c
247
env->edns_known_options = (struct edns_known_option*)calloc(
sbin/unwind/libunbound/util/module.c
307
callback = (struct inplace_cb*)calloc(1, sizeof(*callback));
sbin/unwind/libunbound/util/net_help.c
1808
keys = calloc(s, sizeof(struct tls_session_ticket_key));
sbin/unwind/libunbound/util/netevent.c
206
struct comm_base* b = (struct comm_base*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
212
b->eb = (struct internal_base*)calloc(1, sizeof(struct internal_base));
sbin/unwind/libunbound/util/netevent.c
232
struct comm_base* b = (struct comm_base*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
236
b->eb = (struct internal_base*)calloc(1, sizeof(struct internal_base));
sbin/unwind/libunbound/util/netevent.c
2726
doq_socket = calloc(1, sizeof(*doq_socket));
sbin/unwind/libunbound/util/netevent.c
2760
doq_socket->blocked_paddr = calloc(1,
sbin/unwind/libunbound/util/netevent.c
5068
struct http2_session* session = calloc(1, sizeof(*session));
sbin/unwind/libunbound/util/netevent.c
5094
struct http2_stream* h2_stream = calloc(1, sizeof(*h2_stream));
sbin/unwind/libunbound/util/netevent.c
5750
struct comm_point* c = (struct comm_point*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
5755
c->ev = (struct internal_event*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
5815
struct comm_point* c = (struct comm_point*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
5820
c->ev = (struct internal_event*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
5883
struct comm_point* c = (struct comm_point*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
5888
c->ev = (struct internal_event*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
5969
struct comm_point* c = (struct comm_point*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
5974
c->ev = (struct internal_event*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
6070
struct comm_point* c = (struct comm_point*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
6075
c->ev = (struct internal_event*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
6194
struct comm_point* c = (struct comm_point*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
6201
c->ev = (struct internal_event*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
6220
c->tcp_handlers = (struct comm_point**)calloc((size_t)num,
sbin/unwind/libunbound/util/netevent.c
6292
struct comm_point* c = (struct comm_point*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
6297
c->ev = (struct internal_event*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
6361
struct comm_point* c = (struct comm_point*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
6366
c->ev = (struct internal_event*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
6432
struct comm_point* c = (struct comm_point*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
6437
c->ev = (struct internal_event*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
6501
struct comm_point* c = (struct comm_point*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
6506
c->ev = (struct internal_event*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
6904
struct internal_timer *tm = (struct internal_timer*)calloc(1,
sbin/unwind/libunbound/util/netevent.c
7014
struct internal_signal* entry = (struct internal_signal*)calloc(1,
sbin/unwind/libunbound/util/random.c
148
struct ub_randstate* s = (struct ub_randstate*)calloc(1, sizeof(*s));
sbin/unwind/libunbound/util/random.c
183
struct ub_randstate* s = (struct ub_randstate*)calloc(1, sizeof(*s));
sbin/unwind/libunbound/util/random.c
90
struct ub_randstate* s = (struct ub_randstate*)calloc(1, sizeof(*s));
sbin/unwind/libunbound/util/storage/lruhash.c
246
newa = calloc(table->size*2, sizeof(struct lruhash_bin));
sbin/unwind/libunbound/util/storage/lruhash.c
67
struct lruhash* table = (struct lruhash*)calloc(1,
sbin/unwind/libunbound/util/storage/lruhash.c
85
table->array = calloc(table->size, sizeof(struct lruhash_bin));
sbin/unwind/libunbound/util/storage/slabhash.c
54
struct slabhash* sl = (struct slabhash*)calloc(1,
sbin/unwind/libunbound/util/storage/slabhash.c
59
sl->array = (struct lruhash**)calloc(sl->size, sizeof(struct lruhash*));
sbin/unwind/libunbound/util/tcp_conn_limit.c
53
struct tcl_list* tcl = (struct tcl_list*)calloc(1,
sbin/unwind/libunbound/util/timehist.c
87
struct timehist* hist = (struct timehist*)calloc(1,
sbin/unwind/libunbound/util/timehist.c
92
hist->buckets = (struct th_buck*)calloc(hist->num,
sbin/unwind/libunbound/util/tube.c
184
tube->cmd_msg = (uint8_t*)calloc(1, tube->cmd_len);
sbin/unwind/libunbound/util/tube.c
535
struct tube* tube = (struct tube*)calloc(1, sizeof(*tube));
sbin/unwind/libunbound/util/tube.c
62
struct tube* tube = (struct tube*)calloc(1, sizeof(*tube));
sbin/unwind/libunbound/util/ub_event_pluggable.c
279
struct my_event *my_ev = (struct my_event*)calloc(1,
sbin/unwind/libunbound/util/ub_event_pluggable.c
299
struct my_event *my_ev = (struct my_event*)calloc(1,
sbin/unwind/libunbound/util/ub_event_pluggable.c
320
struct my_event *my_ev = (struct my_event*)calloc(1,
sbin/unwind/libunbound/util/ub_event_pluggable.c
353
struct my_event_base* my_base = (struct my_event_base*)calloc(1,
sbin/unwind/libunbound/util/ub_event_pluggable.c
397
struct my_event_base* my_base = (struct my_event_base*)calloc(1,
sbin/unwind/libunbound/util/winsock_event.c
128
base->items = (struct event**)calloc(WSK_MAX_ITEMS,
sbin/unwind/libunbound/util/winsock_event.c
141
base->signals = (struct event**)calloc(MAX_SIG, sizeof(struct event*));
sbin/unwind/libunbound/validator/autotrust.c
319
struct autr_ta* ta = (struct autr_ta*)calloc(1, sizeof(*ta));
sbin/unwind/libunbound/validator/autotrust.c
335
struct trust_anchor* tp = (struct trust_anchor*)calloc(1, sizeof(*tp));
sbin/unwind/libunbound/validator/autotrust.c
346
tp->autr = (struct autr_point_data*)calloc(1, sizeof(*tp->autr));
sbin/unwind/libunbound/validator/autotrust.c
638
k = (struct ub_packed_rrset_key*)calloc(1, sizeof(*k));
sbin/unwind/libunbound/validator/autotrust.c
687
data = (struct packed_rrset_data*)calloc(1, len);
sbin/unwind/libunbound/validator/val_anchor.c
1340
taglist = calloc(anchor->numDS + anchor->numDNSKEY, sizeof(*taglist));
sbin/unwind/libunbound/validator/val_anchor.c
78
struct val_anchors* a = (struct val_anchors*)calloc(1, sizeof(*a));
sbin/unwind/libunbound/validator/val_kcache.c
52
struct key_cache* kcache = (struct key_cache*)calloc(1,
sbin/unwind/libunbound/validator/val_neg.c
453
(struct val_neg_zone*)calloc(1, sizeof(*zone));
sbin/unwind/libunbound/validator/val_neg.c
606
el = (struct val_neg_data*)calloc(1, sizeof(*el));
sbin/unwind/libunbound/validator/val_neg.c
88
struct val_neg_cache* neg = (struct val_neg_cache*)calloc(1,
sbin/unwind/libunbound/validator/val_secalgo.c
1589
struct secalgo_hash* h = calloc(1, sizeof(*h));
sbin/unwind/libunbound/validator/val_secalgo.c
1599
struct secalgo_hash* h = calloc(1, sizeof(*h));
sbin/unwind/libunbound/validator/val_secalgo.c
173
h = calloc(1, sizeof(*h));
sbin/unwind/libunbound/validator/val_secalgo.c
900
struct secalgo_hash* h = calloc(1, sizeof(*h));
sbin/unwind/libunbound/validator/validator.c
229
struct val_env* val_env = (struct val_env*)calloc(1,
sbin/unwind/libunbound/validator/validator.c
596
keytag_str = calloc(1, SENTINEL_KEYTAG_LEN + 1 /* null byte */);
sbin/unwind/libunbound/validator/validator.c
98
*keysize = (size_t*)calloc((size_t)c, sizeof(size_t));
sbin/unwind/libunbound/validator/validator.c
99
*maxiter = (size_t*)calloc((size_t)c, sizeof(size_t));
sbin/unwind/parse.y
255
if ((uw_fwd = calloc(1, sizeof(*uw_fwd))) ==
sbin/unwind/parse.y
358
e = calloc(1, sizeof(*e));
sbin/unwind/parse.y
739
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
sbin/unwind/parse.y
868
if ((sym = calloc(1, sizeof(*sym))) == NULL)
sbin/unwind/parse.y
952
if ((ss = calloc(1, sizeof(*ss))) == NULL)
sbin/unwind/resolver.c
1002
if ((result = calloc(1, sizeof(*result))) == NULL)
sbin/unwind/resolver.c
1244
if ((res = calloc(1, sizeof(*res))) == NULL) {
sbin/unwind/resolver.c
1965
if ((result = calloc(1, sizeof(*result))) == NULL)
sbin/unwind/resolver.c
2092
if ((uw_forwarder = calloc(1, sizeof(struct uw_forwarder))) ==
sbin/unwind/resolver.c
2116
if ((uw_forwarder = calloc(1, sizeof(struct uw_forwarder))) ==
sbin/unwind/resolver.c
2393
prefixes = calloc(an_rrset_data->count, sizeof(struct dns64_prefix));
sbin/unwind/resolver.c
752
if ((rq = calloc(1, sizeof(*rq))) == NULL) {
sbin/unwind/unwind.c
703
xconf = calloc(1, sizeof(*xconf));
sbin/vnconfig/vnconfig.c
215
if ((key = calloc(1, BLF_MAXUTILIZED)) == NULL)
sys/arch/alpha/stand/installboot.c
258
if ((bp = calloc(sz, 1)) == NULL) {
sys/kern/subr_blist.c
122
#define malloc(s,t,f) calloc(1, s)
sys/lib/libz/zutil.c
297
extern voidp calloc(uInt items, uInt size);
sys/net/pf_ruleset.c
66
#define rs_malloc(x) calloc(1, x)
sys/net/pf_ruleset.c
68
#define rs_pool_get_anchor() calloc(1, sizeof(struct pf_anchor))
usr.bin/awk/b.c
121
int *p = (int *) calloc(n, sizeof(int));
usr.bin/awk/b.c
176
f->gototab[i].entries = (gtte *) calloc(NCHARS, sizeof(gtte));
usr.bin/awk/b.c
244
if ((f = (fa *) calloc(1, sizeof(fa) + poscnt * sizeof(rrow))) == NULL)
usr.bin/awk/b.c
431
if (buf == NULL && (buf = (int *) calloc(bufsz, sizeof(int))) == NULL)
usr.bin/awk/b.c
479
retp = (int *) calloc(bp-buf+1, sizeof(int));
usr.bin/awk/lib.c
68
|| (fldtab = (Cell **) calloc(nfields+2, sizeof(*fldtab))) == NULL
usr.bin/awk/run.c
2350
files = (struct files *) calloc(nfiles, sizeof(*files));
usr.bin/awk/run.c
246
frp = frame = (struct Frame *) calloc(nframe += 100, sizeof(*frame));
usr.bin/awk/run.c
942
tmps = (Cell *) calloc(100, sizeof(*tmps));
usr.bin/awk/tran.c
165
tp = (Cell **) calloc(n, sizeof(*tp));
usr.bin/awk/tran.c
270
np = (Cell **) calloc(nsz, sizeof(*np));
usr.bin/bgplg/bgplg.c
176
if ((argv = calloc(c + 1, sizeof(char *))) == NULL) {
usr.bin/bgplg/bgplg.c
207
if ((new_argv = calloc(c + argc + 1, sizeof(char *))) == NULL) {
usr.bin/bgplg/bgplgsh.c
105
if ((argv = calloc(c + 1, sizeof(char *))) == NULL) {
usr.bin/bgplg/bgplgsh.c
139
if ((new_argv = calloc(c + n + 1, sizeof(char *))) == NULL) {
usr.bin/cdio/cddb.c
341
result = calloc(sizeof(char *), n + 1);
usr.bin/compress/gzopen.c
111
if ((s = calloc(1, sizeof(gz_stream))) == NULL)
usr.bin/compress/gzopen.c
389
if ((s = calloc(1, sizeof(gz_stream))) == NULL)
usr.bin/compress/main.c
352
argv = calloc(2, sizeof(char *));
usr.bin/compress/nullopen.c
57
if ((s = calloc(1, sizeof(null_stream))) == NULL)
usr.bin/compress/nullopen.c
76
if ((s = calloc(1, sizeof(null_stream))) == NULL)
usr.bin/compress/zipopen.c
263
if ((s = calloc(1, sizeof(*s))) == NULL)
usr.bin/compress/zopen.c
742
if ((zs = calloc(1, sizeof(struct s_zstate))) == NULL)
usr.bin/compress/zopen.c
772
if ((zs = calloc(1, sizeof(struct s_zstate))) == NULL)
usr.bin/ctfconv/hash.c
156
h = calloc(1, sizeof(*h));
usr.bin/ctfconv/hash.c
165
h->t = calloc(h->size, sizeof(struct _hash_record));
usr.bin/ctfconv/hash.c
79
n = calloc(ns, sizeof(struct _hash_record));
usr.bin/ctfconv/pool.h
64
#define pzalloc(a, b) calloc(1, b)
usr.bin/ctfconv/xmalloc.c
47
ptr = calloc(nmemb, size);
usr.bin/cvs/xmalloc.c
47
ptr = calloc(nmemb, size);
usr.bin/dc/bcode.c
237
bmachine.reg = calloc(bmachine.reg_array_size,
usr.bin/dc/bcode.c
261
bmachine.readstack = calloc(sizeof(struct source),
usr.bin/deroff/deroff.c
1604
back = calloc(size+2, sizeof(struct mactab));
usr.bin/diff/xmalloc.c
43
ptr = calloc(nmemb, size);
usr.bin/dig/dighost.c
942
sa = calloc(1, sizeof(*sa));
usr.bin/doas/parse.y
156
if (!($$.strlist = calloc(1, sizeof(char *))))
usr.bin/doas/parse.y
88
r = calloc(1, sizeof(*r));
usr.bin/env/env.c
56
if ((environ = calloc(1, sizeof(char *))) == NULL)
usr.bin/file/xmalloc.c
45
ptr = calloc(nmemb, size);
usr.bin/find/function.c
1698
if ((new = calloc(1, sizeof(PLAN)))) {
usr.bin/finger/finger.c
202
if (!(used = calloc((u_int)argc, (u_int)sizeof(int))))
usr.bin/finger/sprint.c
135
if (!(list = calloc((u_int)entries, sizeof(PERSON *))))
usr.bin/fstat/fstat.c
934
if ((cur = calloc(1, sizeof(*cur))) == NULL)
usr.bin/ftp/cookie.c
87
ck = calloc(1, sizeof(*ck));
usr.bin/ftp/stringlist.c
53
sl->sl_str = calloc(sl->sl_max, sizeof(char *));
usr.bin/getcap/getcap.c
81
pathvec = calloc(n + 1, sizeof(char *));
usr.bin/gprof/arcs.c
197
topsortnlp = calloc( nname , sizeof(nltype *) );
usr.bin/gprof/arcs.c
233
timesortnlp = calloc( nname + ncycle , sizeof(nltype *) );
usr.bin/gprof/arcs.c
372
cyclenl = calloc( ncycle + 1 , sizeof( nltype ) );
usr.bin/gprof/arcs.c
475
cyclestack = calloc( size + 1 , sizeof( arctype *) );
usr.bin/gprof/arcs.c
589
clp = calloc( 1 , sizeof ( cltype ) + ( size - 1 ) * sizeof( arctype * ) );
usr.bin/gprof/arcs.c
71
arcp = calloc( 1 , sizeof *arcp );
usr.bin/gprof/elf.c
116
if ((nl = calloc(nname + 1, sizeof(nltype))) == NULL)
usr.bin/gprof/gprof.c
415
samples = calloc(sampbytes, sizeof (UNIT));
usr.bin/gprof/printgprof.c
53
sortednlp = calloc( nname , sizeof(nltype *) );
usr.bin/gprof/printgprof.c
673
namesortnlp = calloc( nname + ncycle , sizeof(nltype *) );
usr.bin/grep/util.c
602
if ((ptr = calloc(nmemb, size)) == NULL)
usr.bin/hexdump/display.c
232
if ((curp = calloc(1, blocksize)) == NULL ||
usr.bin/hexdump/display.c
233
(savp = calloc(1, blocksize)) == NULL)
usr.bin/hexdump/parse.c
107
if ((tfu = calloc(1, sizeof(FU))) == NULL)
usr.bin/hexdump/parse.c
225
if ((pr = calloc(1, sizeof(PR))) == NULL)
usr.bin/hexdump/parse.c
90
if ((tfs = calloc(1, sizeof(FS))) == NULL)
usr.bin/indent/lexi.c
585
specials = calloc(maxspecials, sizeof specials[0]);
usr.bin/ipcs/ipcs.c
716
msqids = calloc(sizeof(struct msqid_ds),
usr.bin/ipcs/ipcs.c
772
shmsegs = calloc(sizeof(struct shmid_ds *),
usr.bin/ipcs/ipcs.c
826
sema = calloc(sizeof(struct semid_ds *),
usr.bin/lam/lam.c
121
input = calloc(inputsize+1, sizeof *input);
usr.bin/ldap/aldap.c
1324
if ((str = calloc(len + 1, sizeof(char))) == NULL)
usr.bin/ldap/aldap.c
1353
if ((buffer = calloc(1, len + 1)) == NULL)
usr.bin/ldap/aldap.c
358
if ((m = calloc(1, sizeof(struct aldap_message))) == NULL)
usr.bin/ldap/aldap.c
817
if ((lu = calloc(1, sizeof(*lu))) == NULL)
usr.bin/ldap/aldap.c
89
if ((a = calloc(1, sizeof(*a))) == NULL)
usr.bin/ldap/ldapclient.c
433
if ((out = calloc(1, outlen)) == NULL ||
usr.bin/ldap/ldapclient.c
473
p = calloc(1, 4 * value->ostr_len + 1);
usr.bin/less/ch.c
670
bp = calloc(1, sizeof (struct buf));
usr.bin/less/ch.c
747
thisfile = calloc(1, sizeof (struct filestate));
usr.bin/less/decode.c
330
if ((t = calloc(1, sizeof (struct tablelist))) == NULL) {
usr.bin/less/decode.c
654
if ((buf = calloc((int)len, sizeof (char))) == NULL) {
usr.bin/less/lesskey.c
232
pathname = calloc(1, len);
usr.bin/less/main.c
283
p = calloc(count, size);
usr.bin/lex/dfa.c
519
(struct yytbl_data *) calloc (1,
usr.bin/lex/dfa.c
526
(flex_int32_t *) calloc (yynxt_tbl->td_lolen *
usr.bin/lex/filter.c
105
f = calloc(sizeof(struct filter), 1);
usr.bin/lex/filter.c
53
f = calloc(sizeof(struct filter), 1);
usr.bin/lex/gen.c
1103
yyacclist_tbl = calloc(1, sizeof(struct yytbl_data));
usr.bin/lex/gen.c
1107
calloc(yyacclist_tbl->td_lolen, sizeof(flex_int32_t));
usr.bin/lex/gen.c
114
tbl = calloc(1, sizeof(struct yytbl_data));
usr.bin/lex/gen.c
119
calloc(tbl->td_lolen, sizeof(flex_int8_t));
usr.bin/lex/gen.c
1213
yyacc_tbl = calloc(1, sizeof(struct yytbl_data));
usr.bin/lex/gen.c
1217
calloc(yyacc_tbl->td_lolen, sizeof(flex_int32_t));
usr.bin/lex/gen.c
1269
yymeta_tbl = calloc(1, sizeof(struct yytbl_data));
usr.bin/lex/gen.c
1273
calloc(yymeta_tbl->td_lolen,
usr.bin/lex/gen.c
1316
yybase_tbl = calloc(1, sizeof(struct yytbl_data));
usr.bin/lex/gen.c
1320
calloc(yybase_tbl->td_lolen,
usr.bin/lex/gen.c
1373
yydef_tbl = calloc(1, sizeof(struct yytbl_data));
usr.bin/lex/gen.c
1377
calloc(yydef_tbl->td_lolen, sizeof(flex_int32_t));
usr.bin/lex/gen.c
1405
yynxt_tbl = calloc(1, sizeof(struct yytbl_data));
usr.bin/lex/gen.c
1409
calloc(yynxt_tbl->td_lolen, sizeof(flex_int32_t));
usr.bin/lex/gen.c
1443
yychk_tbl = calloc(1, sizeof(struct yytbl_data));
usr.bin/lex/gen.c
1447
calloc(yychk_tbl->td_lolen, sizeof(flex_int32_t));
usr.bin/lex/gen.c
1702
yynultrans_tbl = calloc(1, sizeof(struct yytbl_data));
usr.bin/lex/gen.c
1708
calloc(yynultrans_tbl->td_lolen,
usr.bin/lex/gen.c
226
tbl = calloc(1, sizeof(struct yytbl_data));
usr.bin/lex/gen.c
233
calloc(tbl->td_lolen * 2, sizeof(flex_int32_t));
usr.bin/lex/gen.c
321
tbl = calloc(1, sizeof(struct yytbl_data));
usr.bin/lex/gen.c
328
calloc(tbl->td_lolen, sizeof(flex_int32_t));
usr.bin/lex/gen.c
455
tbl = calloc(1, sizeof(struct yytbl_data));
usr.bin/lex/gen.c
462
calloc(tbl->td_lolen, sizeof(flex_int32_t));
usr.bin/lex/gen.c
662
tbl = calloc(1, sizeof(struct yytbl_data));
usr.bin/lex/gen.c
669
calloc(tbl->td_lolen, sizeof(flex_int32_t));
usr.bin/lex/main.c
381
tablesfilename = pname = (char *) calloc(nbytes, 1);
usr.bin/lex/main.c
392
tablesname = (char *) calloc(nbytes, 1);
usr.bin/lex/tables.c
442
newtbl.td_data = calloc (total_len, newsz);
usr.bin/locate/locate/util.c
110
if ((p = calloc(sizeof(char), slen + 1))
usr.bin/login/login.c
567
if ((environ = calloc(1, sizeof (char *))) == NULL)
usr.bin/m4/misc.c
316
void *p = calloc(n, s);
usr.bin/mail/cmd2.c
395
igp = calloc(1, sizeof(struct ignore));
usr.bin/mail/cmd3.c
479
if ((gh = calloc(1, sizeof(*gh))) == NULL)
usr.bin/mail/cmd3.c
494
if ((gp = calloc(1, sizeof(*gp))) == NULL)
usr.bin/mail/cmd3.c
725
if ((altnames = calloc(c, sizeof(char *))) == NULL)
usr.bin/mail/vars.c
54
if ((vp = calloc(1, sizeof(*vp))) == NULL)
usr.bin/make/generate.c
151
occupied = calloc(slots, sizeof(char *));
usr.bin/make/memory.c
110
if ((p = calloc(n, s)) == NULL)
usr.bin/mandoc/mandoc_aux.c
49
ptr = calloc(num, size);
usr.bin/mandoc/mandoc_ohash.c
36
info.calloc = hash_calloc;
usr.bin/mg/buffer.c
1035
if ((text = calloc(len + 1, sizeof(char))) == NULL)
usr.bin/mg/buffer.c
582
bp = calloc(1, sizeof(struct buffer));
usr.bin/mg/dired.c
668
if ((argv = calloc(n, sizeof(*argv))) == NULL) {
usr.bin/mg/extend.c
112
if ((pfp = calloc(c - ele->k_base + 1,
usr.bin/mg/extend.c
125
if ((pfp = calloc(ele->k_num - c + 1,
usr.bin/mg/extend.c
220
if ((pfp = calloc(ele->k_num - c + !n2,
usr.bin/mg/line.c
376
if ((sv = calloc(1, len + 1)) == NULL)
usr.bin/mg/window.c
21
wp = calloc(1, sizeof(struct mgwin));
usr.bin/mixerctl/mixerctl.c
305
if ((rfields = calloc(ndev, sizeof *rfields)) == NULL ||
usr.bin/mixerctl/mixerctl.c
306
(fields = calloc(ndev, sizeof *fields)) == NULL ||
usr.bin/mixerctl/mixerctl.c
307
(infos = calloc(ndev, sizeof *infos)) == NULL ||
usr.bin/mixerctl/mixerctl.c
308
(values = calloc(ndev, sizeof *values)) == NULL)
usr.bin/netstat/if.c
489
ifgr.ifgr_groups = calloc(len, 1);
usr.bin/netstat/route.c
110
if ((afm = calloc(af2i_max + 1, sizeof(*afm))) == NULL)
usr.bin/netstat/route.c
125
if ((tblmap = calloc(map.limit, sizeof(*tblmap))) == NULL)
usr.bin/netstat/route.c
224
heap = calloc(1, AT_HEAPSIZE(table.at_bits));
usr.bin/newsyslog/newsyslog.c
216
pidlist = calloc(listlen + 1, sizeof(struct pidinfo));
usr.bin/newsyslog/newsyslog.c
497
working = calloc(1, sizeof(*working));
usr.bin/nm/elf.c
172
if ((shdr = calloc(head->e_shnum, head->e_shentsize)) == NULL) {
usr.bin/nm/elf.c
460
if ((*pnames = calloc(*pnrawnames, sizeof(*np))) == NULL) {
usr.bin/nm/elf.c
467
if ((*psnames = calloc(*pnrawnames, sizeof(np))) == NULL) {
usr.bin/openssl/certhash.c
76
if ((hi = calloc(1, sizeof(*hi))) == NULL)
usr.bin/openssl/cms.c
294
if ((nparam = calloc(1, sizeof(struct cms_key_param))) == NULL)
usr.bin/openssl/ocsp.c
196
if ((conf_value = calloc(1, sizeof(*conf_value))) == NULL) {
usr.bin/patch/pch.c
128
p_line = calloc((size_t) hunkmax, sizeof(char *));
usr.bin/patch/pch.c
130
p_len = calloc((size_t) hunkmax, sizeof(ssize_t));
usr.bin/patch/pch.c
132
p_char = calloc((size_t) hunkmax, sizeof(char));
usr.bin/pkgconf/libpkgconf/argvsplit.c
75
*argv = calloc(argv_size, sizeof (void *));
usr.bin/pkgconf/libpkgconf/client.c
164
pkgconf_client_t *out = calloc(1, sizeof(pkgconf_client_t));
usr.bin/pkgconf/libpkgconf/dependency.c
133
dep = calloc(1, sizeof(pkgconf_dependency_t));
usr.bin/pkgconf/libpkgconf/dependency.c
473
new_dep = calloc(1, sizeof(pkgconf_dependency_t));
usr.bin/pkgconf/libpkgconf/fragment.c
175
frag = calloc(1, sizeof(pkgconf_fragment_t));
usr.bin/pkgconf/libpkgconf/fragment.c
232
frag = calloc(1, sizeof(pkgconf_fragment_t));
usr.bin/pkgconf/libpkgconf/fragment.c
241
frag = calloc(1, sizeof(pkgconf_fragment_t));
usr.bin/pkgconf/libpkgconf/fragment.c
405
frag = calloc(1, sizeof(pkgconf_fragment_t));
usr.bin/pkgconf/libpkgconf/fragment.c
479
out = dst = calloc(1, outlen);
usr.bin/pkgconf/libpkgconf/fragment.c
685
char *buf = calloc(1, buflen);
usr.bin/pkgconf/libpkgconf/path.c
269
path = calloc(1, sizeof(pkgconf_path_t));
usr.bin/pkgconf/libpkgconf/path.c
93
node = calloc(1, sizeof(pkgconf_path_t));
usr.bin/pkgconf/libpkgconf/personality.c
267
p = calloc(1, sizeof(pkgconf_cross_personality_t));
usr.bin/pkgconf/libpkgconf/pkg.c
329
char *buf = calloc(1, (strlen(path) + 1) * 2);
usr.bin/pkgconf/libpkgconf/pkg.c
498
pkg = calloc(1, sizeof(pkgconf_pkg_t));
usr.bin/pkgconf/libpkgconf/queue.c
46
pkgconf_queue_t *pkgq = calloc(1, sizeof(pkgconf_queue_t));
usr.bin/pkgconf/libpkgconf/tuple.c
159
char *buf = calloc(1, (strlen(value) + 1) * 2);
usr.bin/pkgconf/libpkgconf/tuple.c
239
pkgconf_tuple_t *tuple = calloc(1, sizeof(pkgconf_tuple_t));
usr.bin/pkill/pkill.c
287
if ((selected = calloc(nproc, 1)) == NULL)
usr.bin/pr/pr.c
381
if ((buf = calloc((unsigned)lines, mxlen)) == NULL)
usr.bin/pr/pr.c
398
if ((vc = calloc((unsigned)mvc, sizeof(struct vcol))) == NULL)
usr.bin/pr/pr.c
404
if ((lstdat = calloc((unsigned)lines, sizeof(char *))) == NULL)
usr.bin/pr/pr.c
410
if ((indy = calloc((unsigned)lines, sizeof(int))) == NULL)
usr.bin/pr/pr.c
412
if ((lindy = calloc((unsigned)lines, sizeof(int))) == NULL)
usr.bin/pr/pr.c
922
if ((fbuf = calloc((unsigned)clcnt, sizeof(FILE *))) == NULL)
usr.bin/pr/pr.c
928
if ((rc = calloc((unsigned)clcnt, sizeof(int))) == NULL)
usr.bin/rcs/xmalloc.c
45
ptr = calloc(nmemb, size);
usr.bin/rdist/common.c
781
if ((ptr = calloc(num, esize)) == NULL)
usr.bin/rs/rs.c
279
if (!(colwidths = calloc(ocols, sizeof(short))))
usr.bin/rsync/blocks.c
363
if ((s = calloc(1, sizeof(struct blkset))) == NULL) {
usr.bin/rsync/blocks.c
397
s->blks = calloc(s->blksz, sizeof(struct blk));
usr.bin/rsync/blocks.c
69
if ((p = calloc(1, sizeof(struct blktab))) == NULL) {
usr.bin/rsync/blocks.c
74
p->q = calloc(p->qsz, sizeof(struct blkhashq));
usr.bin/rsync/flist.c
1058
if ((fl = calloc(argc, sizeof(struct flist))) == NULL) {
usr.bin/rsync/flist.c
1201
if ((cargv = calloc(cargvs + 1, sizeof(char *))) == NULL) {
usr.bin/rsync/flist.c
719
ff->link = calloc(lsz + 1, 1);
usr.bin/rsync/flist.c
82
new = calloc(*sz, sizeof(struct flist));
usr.bin/rsync/ids.c
304
(*ids)[*idsz].name = calloc(sz + 1, 1);
usr.bin/rsync/main.c
88
if ((f = calloc(1, sizeof(struct fargs))) == NULL)
usr.bin/rsync/main.c
92
if ((f->sources = calloc(f->sourcesz, sizeof(char *))) == NULL)
usr.bin/rsync/sender.c
291
if ((s = calloc(1, sizeof(struct send_dl))) == NULL) {
usr.bin/rsync/sender.c
321
if ((s = calloc(1, sizeof(struct send_dl))) == NULL) {
usr.bin/rsync/socket.c
198
src = calloc(srcsz, sizeof(struct source));
usr.bin/rsync/uploader.c
814
if ((p = calloc(1, sizeof(struct upload))) == NULL) {
usr.bin/rsync/uploader.c
832
p->newdir = calloc(flsz, sizeof(int));
usr.bin/rsync/uploader.c
992
blk.blks = calloc(blk.blksz, sizeof(struct blk));
usr.bin/rusers/rusers.c
258
else if ((ut = calloc(up->uia_cnt, sizeof(*ut))) == NULL)
usr.bin/rusers/rusers.c
313
else if ((ut = calloc(up3->utmp_array_len, sizeof(*ut))) == NULL)
usr.bin/rusers/rusers.c
683
new_hostinfo = calloc(sizeof(*entry), count);
usr.bin/sdiff/sdiff.c
179
if (!(diffargv = calloc(argc, sizeof(char **) * 2)))
usr.bin/signify/signify.c
605
if (!(p = calloc(s1, s2)))
usr.bin/snmp/smi.c
352
if ((str = calloc(1, slen)) == NULL)
usr.bin/snmp/snmp.c
55
if ((v3 = calloc(1, sizeof(*v3))) == NULL)
usr.bin/snmp/usm.c
173
if ((usmcookie = calloc(1, sizeof(*usmcookie))) == NULL)
usr.bin/snmp/usm.c
94
if ((usm = calloc(1, sizeof(struct usm_sec))) == NULL) {
usr.bin/sort/mem.c
57
if ((ptr = calloc(nmemb, size)) == NULL)
usr.bin/spell/spellprog.c
281
if ((wlists = calloc(sizeof(struct wlist), (argc + 1))) == NULL)
usr.bin/ssh/auth-options.c
195
if ((ret = calloc(1, sizeof(*ret))) == NULL)
usr.bin/ssh/auth-options.c
53
(dst = calloc(nsrc, sizeof(*src))) == NULL)
usr.bin/ssh/auth-options.c
745
if (n > 0 && (a = calloc(n, sizeof(*a))) == NULL) {
usr.bin/ssh/auth-options.c
853
if ((opts = calloc(1, sizeof(*opts))) == NULL)
usr.bin/ssh/authfd.c
304
if ((idl = calloc(1, sizeof(*idl))) == NULL ||
usr.bin/ssh/authfd.c
305
(idl->keys = calloc(num, sizeof(*idl->keys))) == NULL ||
usr.bin/ssh/authfd.c
306
(idl->comments = calloc(num, sizeof(*idl->comments))) == NULL) {
usr.bin/ssh/authfd.c
805
ret = calloc(1, sizeof(*ret));
usr.bin/ssh/bitmap.c
40
if ((ret = calloc(1, sizeof(*ret))) == NULL)
usr.bin/ssh/bitmap.c
42
if ((ret->d = calloc(1, BITMAP_BYTES)) == NULL) {
usr.bin/ssh/channels.c
230
if ((sc = calloc(1, sizeof(*sc))) == NULL)
usr.bin/ssh/channels.c
2575
if ((pre = calloc(SSH_CHANNEL_MAX_TYPE, sizeof(*pre))) == NULL ||
usr.bin/ssh/channels.c
2576
(post = calloc(SSH_CHANNEL_MAX_TYPE, sizeof(*post))) == NULL)
usr.bin/ssh/cipher-chachapoly-libcrypto.c
39
if ((ctx = calloc(1, sizeof(*ctx))) == NULL)
usr.bin/ssh/cipher-chachapoly.c
39
if ((ctx = calloc(1, sizeof(*ctx))) == NULL)
usr.bin/ssh/cipher.c
242
if ((cc = calloc(1, sizeof(*cc))) == NULL)
usr.bin/ssh/clientloop.c
2520
if ((ctx->keys_match = calloc(ctx->nkeys,
usr.bin/ssh/clientloop.c
2522
(ctx->keys_verified = calloc(ctx->nkeys,
usr.bin/ssh/digest-libc.c
158
if (digest == NULL || (ret = calloc(1, sizeof(*ret))) == NULL)
usr.bin/ssh/digest-libc.c
160
if ((ret->mdctx = calloc(1, digest->ctx_len)) == NULL) {
usr.bin/ssh/digest-openssl.c
101
if (digest == NULL || ((ret = calloc(1, sizeof(*ret))) == NULL))
usr.bin/ssh/hmac.c
46
if ((ret = calloc(1, sizeof(*ret))) == NULL)
usr.bin/ssh/hmac.c
54
if ((ret->buf = calloc(1, ret->buf_len)) == NULL)
usr.bin/ssh/hostfile.c
635
if ((ctx.match_keys = calloc(nkeys, sizeof(*ctx.match_keys))) == NULL)
usr.bin/ssh/kex-names.c
205
(ret = calloc(1, len)) == NULL) {
usr.bin/ssh/kex.c
1074
if ((digest = calloc(1, ROUNDUP(need, mdsz))) == NULL) {
usr.bin/ssh/kex.c
1373
if ((remote_version = calloc(1, sshbuf_len(peer_version))) == NULL) {
usr.bin/ssh/kex.c
181
if ((proposal = calloc(PROPOSAL_MAX, sizeof(char *))) == NULL)
usr.bin/ssh/kex.c
677
if ((kex = calloc(1, sizeof(*kex))) == NULL ||
usr.bin/ssh/kex.c
997
if ((newkeys = calloc(1, sizeof(*newkeys))) == NULL) {
usr.bin/ssh/krl.c
132
if ((krl = calloc(1, sizeof(*krl))) == NULL)
usr.bin/ssh/krl.c
231
if ((rc = calloc(1, sizeof(*rc))) == NULL)
usr.bin/ssh/krl.c
350
if ((rki = calloc(1, sizeof(*rki))) == NULL ||
usr.bin/ssh/krl.c
389
if ((rb = calloc(1, sizeof(*rb))) == NULL)
usr.bin/ssh/packet.c
1406
p = calloc(1, sizeof(*p));
usr.bin/ssh/packet.c
223
if ((ssh = calloc(1, sizeof(*ssh))) == NULL ||
usr.bin/ssh/packet.c
224
(state = calloc(1, sizeof(*state))) == NULL ||
usr.bin/ssh/packet.c
2492
if ((newkey = calloc(1, sizeof(*newkey))) == NULL) {
usr.bin/ssh/readpass.c
285
if ((ret = calloc(1, sizeof(*ret))) == NULL) {
usr.bin/ssh/sk-usbhid.c
1093
if ((response = calloc(1, sizeof(*response))) == NULL) {
usr.bin/ssh/sk-usbhid.c
1220
if ((srk = calloc(1, sizeof(*srk))) == NULL ||
usr.bin/ssh/sk-usbhid.c
1221
(srk->key.key_handle = calloc(1,
usr.bin/ssh/sk-usbhid.c
1225
(srk->user_id = calloc(1, user_id_len)) == NULL)) {
usr.bin/ssh/sk-usbhid.c
140
if ((sk = calloc(1, sizeof(*sk))) == NULL) {
usr.bin/ssh/sk-usbhid.c
186
if ((skv = calloc(ndevs, sizeof(*skv))) == NULL) {
usr.bin/ssh/sk-usbhid.c
839
if ((response = calloc(1, sizeof(*response))) == NULL) {
usr.bin/ssh/sk-usbhid.c
850
if ((response->key_handle = calloc(1, len)) == NULL) {
usr.bin/ssh/sk-usbhid.c
859
if ((response->signature = calloc(1, len)) == NULL) {
usr.bin/ssh/sk-usbhid.c
869
if ((response->attestation_cert = calloc(1, len)) == NULL) {
usr.bin/ssh/sk-usbhid.c
879
if ((response->authdata = calloc(1, len)) == NULL) {
usr.bin/ssh/sk-usbhid.c
923
if ((response->sig_r = calloc(1, response->sig_r_len)) == NULL ||
usr.bin/ssh/sk-usbhid.c
924
(response->sig_s = calloc(1, response->sig_s_len)) == NULL) {
usr.bin/ssh/sk-usbhid.c
957
if ((response->sig_r = calloc(1, response->sig_r_len)) == NULL) {
usr.bin/ssh/ssh-ecdsa-sk.c
250
if ((details = calloc(1, sizeof(*details))) == NULL) {
usr.bin/ssh/ssh-ecdsa-sk.c
368
if ((sigb = calloc(1, len)) == NULL) {
usr.bin/ssh/ssh-ecdsa.c
462
if ((sigb = calloc(1, len)) == NULL) {
usr.bin/ssh/ssh-ed25519-sk.c
193
if ((details = calloc(1, sizeof(*details))) == NULL) {
usr.bin/ssh/ssh-pkcs11.c
1344
(key->ed25519_pk = calloc(1, ED25519_PK_SZ)) == NULL)
usr.bin/ssh/ssh-sk-client.c
448
if ((srk = calloc(1, sizeof(*srk))) == NULL) {
usr.bin/ssh/ssh-sk.c
102
if ((ret = calloc(1, sizeof(*ret))) == NULL) {
usr.bin/ssh/ssh-sk.c
392
if ((opts[nopts] = calloc(1, sizeof(**opts))) == NULL) {
usr.bin/ssh/ssh-sk.c
834
if ((srk = calloc(1, sizeof(*srk))) == NULL) {
usr.bin/ssh/ssh-sk.c
841
if ((srk->user_id = calloc(1, rks[i]->user_id_len)) == NULL) {
usr.bin/ssh/ssh_api.c
382
(remote_version = calloc(1, sshbuf_len(banner))) == NULL) {
usr.bin/ssh/ssh_api.c
537
if ((replace = calloc(1, maxlen)) == NULL) {
usr.bin/ssh/sshbuf.c
102
if ((ret->cd = ret->d = calloc(1, ret->alloc)) == NULL) {
usr.bin/ssh/sshbuf.c
115
(ret = calloc(1, sizeof(*ret))) == NULL)
usr.bin/ssh/sshbuf.c
95
if ((ret = calloc(1, sizeof(*ret))) == NULL)
usr.bin/ssh/sshkey.c
1002
if (dgst_raw_len > 65536 || (retval = calloc(1, rlen)) == NULL)
usr.bin/ssh/sshkey.c
1024
if ((retval = calloc(rounds, 6)) == NULL)
usr.bin/ssh/sshkey.c
1111
if ((retval = calloc((FLDSIZE_X + 3), (FLDSIZE_Y + 2))) == NULL)
usr.bin/ssh/sshkey.c
1520
if ((to->principals = calloc(from->nprincipals,
usr.bin/ssh/sshkey.c
2808
if ((key = calloc(1, keylen + ivlen)) == NULL) {
usr.bin/ssh/sshkey.c
3044
if ((key = calloc(1, keylen + ivlen)) == NULL) {
usr.bin/ssh/sshkey.c
3517
(prv->ed25519_sk = calloc(1, ED25519_SK_SZ)) == NULL ||
usr.bin/ssh/sshkey.c
3518
(prv->ed25519_pk = calloc(1, ED25519_PK_SZ)) == NULL) {
usr.bin/ssh/sshkey.c
646
if ((cert = calloc(1, sizeof(*cert))) == NULL)
usr.bin/ssh/sshkey.c
672
if ((k = calloc(1, sizeof(*k))) == NULL)
usr.bin/ssh/sshkey.c
952
if ((ret = calloc(1, SSH_DIGEST_MAX_LENGTH)) == NULL) {
usr.bin/ssh/sshkey.c
981
if (dgst_raw_len > 65536 || (ret = calloc(1, rlen)) == NULL)
usr.bin/ssh/sshsig.c
646
if ((ret = calloc(1, sizeof(*ret))) == NULL)
usr.bin/ssh/xmalloc.c
49
ptr = calloc(nmemb, size);
usr.bin/su/su.c
272
if ((environ = calloc(1, sizeof (char *))) == NULL)
usr.bin/systat/cpu.c
201
if ((cpu_states = calloc(cpu_count,
usr.bin/systat/cpu.c
204
if ((cpu_tm = calloc(cpu_count, sizeof(*cpu_tm))) == NULL ||
usr.bin/systat/cpu.c
205
(cpu_old = calloc(cpu_count, sizeof(*cpu_old))) == NULL ||
usr.bin/systat/cpu.c
206
(cpu_diff = calloc(cpu_count, sizeof(*cpu_diff))) == NULL)
usr.bin/systat/mbufs.c
122
interfaces = calloc(1, sizeof(*interfaces));
usr.bin/systat/mbufs.c
126
ifr = calloc(MCLPOOLS, sizeof(*ifr));
usr.bin/systat/pftop.c
1492
node = calloc(1, sizeof(struct pfctl_queue_node));
usr.bin/systat/swap.c
118
swap_devices = calloc(nswap, sizeof(*swap_devices));
usr.bin/systat/vmstat.c
188
intrloc = calloc(nintr, sizeof(long));
usr.bin/systat/vmstat.c
189
intrname = calloc(nintr, sizeof(char *));
usr.bin/systat/vmstat.c
653
si->intrcnt = calloc(nintr, sizeof(*si->intrcnt));
usr.bin/tcpbench/tcpbench.c
1399
if ((udp_sc = calloc(1, sizeof(*udp_sc))) == NULL)
usr.bin/tcpbench/tcpbench.c
725
if ((sc = calloc(1, sizeof(*sc))) == NULL)
usr.bin/tcpbench/tcpbench.c
812
if ((ev = calloc(1, sizeof(*ev))) == NULL)
usr.bin/tcpbench/tcpbench.c
818
if ((ts = calloc(1, sizeof(*ts))) == NULL)
usr.bin/tcpbench/tcpbench.c
946
if ((sc = calloc(1, sizeof(*sc))) == NULL)
usr.bin/tic/dump_entry.c
554
result = calloc(need + 1, sizeof(char));
usr.bin/tic/tic.c
2756
char *check = calloc((size_t) (NUM_STRINGS(tp) + 1), sizeof(char));
usr.bin/tmux/xmalloc.c
47
ptr = calloc(nmemb, size);
usr.bin/top/display.c
190
cpustate_columns = calloc(num_cpustates, sizeof(int));
usr.bin/top/display.c
382
values = calloc(num_cpustates, sizeof(*values));
usr.bin/top/machine.c
195
cpu_states = calloc(ncpu, CPUSTATES * sizeof(int64_t));
usr.bin/top/machine.c
198
cp_time = calloc(ncpu, sizeof(*cp_time));
usr.bin/top/machine.c
199
cp_old = calloc(ncpu, sizeof(*cp_old));
usr.bin/top/machine.c
200
cp_diff = calloc(ncpu, sizeof(*cp_diff));
usr.bin/top/machine.c
203
cpu_online = calloc(ncpu, sizeof(*cpu_online));
usr.bin/top/machine.c
829
swdev = calloc(nswap, sizeof(*swdev));
usr.bin/top/utils.c
155
if ((argarray = calloc(cnt, sizeof(char *))) == NULL)
usr.bin/ts/ts.c
96
if ((buf = calloc(1, bufsize)) == NULL)
usr.bin/ts/ts.c
98
if ((outbuf = calloc(1, obsize)) == NULL)
usr.bin/tsort/tsort.c
181
return emem(calloc(n, s));
usr.bin/vi/cl/cl_main.c
147
if ((gp = calloc(1, sizeof(GS))) == NULL)
usr.bin/vi/cl/cl_main.c
164
if ((clp = calloc(1, sizeof(CL_PRIVATE))) == NULL)
usr.bin/vi/common/mem.h
116
if (((p) = calloc((nmemb), (size))) == NULL) \
usr.bin/vi/common/mem.h
120
if (((p) = calloc((nmemb), (size))) == NULL) \
usr.bin/vi/common/mem.h
124
if (((p) = calloc((nmemb), (size))) == NULL) { \
usr.bin/vi/ex/ex_script.c
362
pfd = calloc(nfds, sizeof(struct pollfd));
usr.bin/vi/ex/ex_script.c
433
pfd = calloc(nfds, sizeof(struct pollfd));
usr.bin/vmstat/dkstats.c
179
dk_name = calloc((size_t)dk_ndrive, sizeof(char *));
usr.bin/vmstat/dkstats.c
485
cur.dk_time = calloc((size_t)cur.dk_ndrive, sizeof(struct timeval));
usr.bin/vmstat/dkstats.c
486
cur.dk_rxfer = calloc((size_t)cur.dk_ndrive, sizeof(u_int64_t));
usr.bin/vmstat/dkstats.c
487
cur.dk_wxfer = calloc((size_t)cur.dk_ndrive, sizeof(u_int64_t));
usr.bin/vmstat/dkstats.c
488
cur.dk_seek = calloc((size_t)cur.dk_ndrive, sizeof(u_int64_t));
usr.bin/vmstat/dkstats.c
489
cur.dk_rbytes = calloc((size_t)cur.dk_ndrive, sizeof(u_int64_t));
usr.bin/vmstat/dkstats.c
490
cur.dk_wbytes = calloc((size_t)cur.dk_ndrive, sizeof(u_int64_t));
usr.bin/vmstat/dkstats.c
491
cur.dk_select = calloc((size_t)cur.dk_ndrive, sizeof(int));
usr.bin/vmstat/dkstats.c
492
cur.dk_name = calloc((size_t)cur.dk_ndrive, sizeof(char *));
usr.bin/vmstat/dkstats.c
493
last.dk_time = calloc((size_t)cur.dk_ndrive, sizeof(struct timeval));
usr.bin/vmstat/dkstats.c
494
last.dk_rxfer = calloc((size_t)cur.dk_ndrive, sizeof(u_int64_t));
usr.bin/vmstat/dkstats.c
495
last.dk_wxfer = calloc((size_t)cur.dk_ndrive, sizeof(u_int64_t));
usr.bin/vmstat/dkstats.c
496
last.dk_seek = calloc((size_t)cur.dk_ndrive, sizeof(u_int64_t));
usr.bin/vmstat/dkstats.c
497
last.dk_rbytes = calloc((size_t)cur.dk_ndrive, sizeof(u_int64_t));
usr.bin/vmstat/dkstats.c
498
last.dk_wbytes = calloc((size_t)cur.dk_ndrive, sizeof(u_int64_t));
usr.bin/w/w.c
187
if ((ep = calloc(1, sizeof(*ep))) == NULL)
usr.bin/wall/wall.c
274
g->mem = calloc(i + 1, sizeof(char *));
usr.bin/watch/watch.c
189
if ((cmdv = calloc(argc + 1, sizeof(char *))) == NULL)
usr.bin/watch/watch.c
449
if ((child = calloc(1, sizeof(*child))) == NULL)
usr.bin/xargs/xargs.c
195
if ((av = bxp = calloc(linelen, sizeof(char *))) == NULL)
usr.bin/xargs/xargs.c
440
tmp = calloc(argc + 1, sizeof(char *));
usr.bin/yacc/lr0.c
458
nullable = calloc(1, nsyms);
usr.bin/yacc/main.c
172
v = calloc(1, n);
usr.bin/yacc/mkpar.c
210
rules_used = calloc(nrules, sizeof(short));
usr.bin/yacc/output.c
892
symnam = calloc(max+1, sizeof(char *));
usr.bin/yacc/reader.c
1093
pitem = calloc(maxitems, sizeof(bucket *));
usr.bin/yacc/symtab.c
120
symbol_table = calloc(TABLE_SIZE, sizeof(bucket *));
usr.sbin/acme-client/acctproc.c
394
if ((buf = calloc(2, bn_len)) == NULL) {
usr.sbin/acme-client/http.c
257
http = calloc(1, sizeof(struct http));
usr.sbin/acme-client/http.c
350
trans = calloc(1, sizeof(struct httpxfer));
usr.sbin/acme-client/http.c
513
h = calloc(hsz, sizeof(struct httphead));
usr.sbin/acme-client/http.c
699
if ((g = calloc(1, sizeof(struct httpget))) == NULL) {
usr.sbin/acme-client/json.c
122
n->d.array = calloc(n->fields,
usr.sbin/acme-client/json.c
192
p = calloc(1, sizeof(struct parse));
usr.sbin/acme-client/json.c
197
p->nodes = calloc(p->max, sizeof(struct jsmnn));
usr.sbin/acme-client/json.c
465
order->auths = calloc(array->fields, sizeof(*order->auths));
usr.sbin/acme-client/json.c
565
if ((tok = calloc(tokcount, sizeof(jsmntok_t))) == NULL) {
usr.sbin/acme-client/json.c
99
n->d.obj = calloc(n->fields,
usr.sbin/acme-client/main.c
177
ac = calloc(1, sizeof(struct altname_c));
usr.sbin/acme-client/netproc.c
68
if ((nbuf = calloc(buf->sz + 1, 4)) == NULL)
usr.sbin/acme-client/netproc.c
834
chngs = calloc(order.authsz, sizeof(struct chng));
usr.sbin/acme-client/parse.y
1018
if ((d = calloc(1, sizeof(struct domain_c))) == NULL)
usr.sbin/acme-client/parse.y
1052
if ((k = calloc(1, sizeof(struct keyfile))) == NULL)
usr.sbin/acme-client/parse.y
449
if ((ac = calloc(1, sizeof(struct altname_c))) == NULL)
usr.sbin/acme-client/parse.y
808
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/acme-client/parse.y
859
if ((conf = calloc(1, sizeof(struct acme_conf))) == NULL)
usr.sbin/acme-client/parse.y
924
if ((sym = calloc(1, sizeof(*sym))) == NULL)
usr.sbin/acme-client/parse.y
983
if ((a = calloc(1, sizeof(struct authority_c))) == NULL)
usr.sbin/acme-client/revokeproc.c
166
if ((found_altnames = (int *)calloc(domain->altname_count,
usr.sbin/acme-client/revokeproc.c
238
visbuf = calloc(4, name_len + 1);
usr.sbin/acme-client/revokeproc.c
259
visbuf = calloc(4, name_len + 1);
usr.sbin/acme-client/util.c
125
} else if ((p = calloc(1, *sz + 1)) == NULL) {
usr.sbin/authpf/authpf.c
695
if ((t = calloc(1, sizeof(struct pfioc_trans))) == NULL)
usr.sbin/authpf/authpf.c
697
if ((t_e = calloc(2, sizeof(struct pfioc_trans_e))) == NULL)
usr.sbin/authpf/authpf.c
712
if ((prs = calloc(1, sizeof(struct pfioc_ruleset))) == NULL)
usr.sbin/bgpctl/mrtparser.c
275
p = calloc(1, sizeof(struct mrt_peer));
usr.sbin/bgpctl/mrtparser.c
300
if ((peers = calloc(cnt, sizeof(struct mrt_peer_entry))) == NULL)
usr.sbin/bgpctl/mrtparser.c
347
r = calloc(1, sizeof(struct mrt_rib));
usr.sbin/bgpctl/mrtparser.c
409
if ((entries = calloc(r->nentries, sizeof(struct mrt_rib_entry))) ==
usr.sbin/bgpctl/mrtparser.c
461
*pp = calloc(1, sizeof(struct mrt_peer));
usr.sbin/bgpctl/mrtparser.c
464
(*pp)->peers = calloc(1, sizeof(struct mrt_peer_entry));
usr.sbin/bgpctl/mrtparser.c
471
*rp = r = calloc(1, sizeof(struct mrt_rib));
usr.sbin/bgpctl/mrtparser.c
474
re = calloc(1, sizeof(struct mrt_rib_entry));
usr.sbin/bgpctl/mrtparser.c
541
*pp = calloc(1, sizeof(struct mrt_peer));
usr.sbin/bgpctl/mrtparser.c
544
(*pp)->peers = calloc(1, sizeof(struct mrt_peer_entry));
usr.sbin/bgpctl/mrtparser.c
551
*rp = r = calloc(1, sizeof(struct mrt_rib));
usr.sbin/bgpctl/mrtparser.c
554
re = calloc(1, sizeof(struct mrt_rib_entry));
usr.sbin/bgpctl/ometric.c
120
if ((om = calloc(1, sizeof(*om))) == NULL)
usr.sbin/bgpctl/ometric.c
146
if ((om = calloc(1, sizeof(*om))) == NULL)
usr.sbin/bgpctl/parser.c
1112
if ((fs = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpctl/parser.c
1456
if ((fs = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpctl/parser.c
688
if ((fs = calloc(1, sizeof(*fs))) == NULL)
usr.sbin/bgpctl/parser.c
704
if ((fs = calloc(1, sizeof(*fs))) == NULL)
usr.sbin/bgpctl/parser.c
721
if ((fs = calloc(1, sizeof(*fs))) == NULL)
usr.sbin/bgpctl/parser.c
791
if ((fs = calloc(1,
usr.sbin/bgpd/bgpd.c
1372
if ((ce = calloc(1, sizeof(*ce))) == NULL) {
usr.sbin/bgpd/carp.c
65
if ((c = calloc(1, sizeof(struct carpgroup))) == NULL) {
usr.sbin/bgpd/chash.c
499
if ((*table = calloc(CH_H2_SIZE, sizeof(**table))) == NULL)
usr.sbin/bgpd/chash.c
501
if ((*meta = calloc(1, sizeof(**meta))) == NULL) {
usr.sbin/bgpd/config.c
124
conf = calloc(1, sizeof(*conf));
usr.sbin/bgpd/config.c
44
if ((conf = calloc(1, sizeof(struct bgpd_config))) == NULL)
usr.sbin/bgpd/config.c
47
if ((conf->filters = calloc(1, sizeof(struct filter_head))) == NULL)
usr.sbin/bgpd/config.c
49
if ((conf->listen_addrs = calloc(1, sizeof(struct listen_addrs))) ==
usr.sbin/bgpd/config.c
52
if ((conf->mrt = calloc(1, sizeof(struct mrt_head))) == NULL)
usr.sbin/bgpd/config.c
657
if ((m = calloc(1, sizeof(struct network)))
usr.sbin/bgpd/control.c
178
if ((ctl_conn = calloc(1, sizeof(struct ctl_conn))) == NULL) {
usr.sbin/bgpd/kroute.c
1073
if ((r = calloc(1, sizeof(*r))) == NULL)
usr.sbin/bgpd/kroute.c
1661
if ((kr = calloc(1, sizeof(*kr))) == NULL) {
usr.sbin/bgpd/kroute.c
1694
if ((kr6 = calloc(1, sizeof(*kr6))) == NULL) {
usr.sbin/bgpd/kroute.c
2625
if ((kif = calloc(1, sizeof(*kif))) == NULL) {
usr.sbin/bgpd/kroute.c
2947
if ((kif = calloc(1, sizeof(*kif))) == NULL) {
usr.sbin/bgpd/kroute.c
297
kt = krt[rtableid] = calloc(1, sizeof(struct ktable));
usr.sbin/bgpd/kroute.c
834
if ((h = calloc(1, sizeof(*h))) == NULL) {
usr.sbin/bgpd/name2id.c
131
if ((label = calloc(1, sizeof(struct n2id_label))) == NULL)
usr.sbin/bgpd/parse.y
1086
if ((n = calloc(1, sizeof(struct network))) == NULL)
usr.sbin/bgpd/parse.y
1124
if ((n = calloc(1, sizeof(struct network))) == NULL)
usr.sbin/bgpd/parse.y
1136
if ((n = calloc(1, sizeof(struct network))) == NULL)
usr.sbin/bgpd/parse.y
1159
if ((n = calloc(1, sizeof(struct network))) == NULL)
usr.sbin/bgpd/parse.y
1178
if ((n = calloc(1, sizeof(struct network))) == NULL)
usr.sbin/bgpd/parse.y
1196
if ((curflow = calloc(1, sizeof(*curflow))) == NULL)
usr.sbin/bgpd/parse.y
1608
if (!(curvpn = calloc(1, sizeof(struct l3vpn))))
usr.sbin/bgpd/parse.y
1667
if ((set = calloc(1, sizeof(struct filter_set))) ==
usr.sbin/bgpd/parse.y
1685
if ((set = calloc(1, sizeof(struct filter_set))) ==
usr.sbin/bgpd/parse.y
2106
if ((s = calloc(1, sizeof(struct filter_set)))
usr.sbin/bgpd/parse.y
2483
if (($$ = calloc(1, sizeof(struct filter_rib_l))) ==
usr.sbin/bgpd/parse.y
2511
if (($$ = calloc(1, sizeof(struct filter_peers_l))) ==
usr.sbin/bgpd/parse.y
2520
if (($$ = calloc(1, sizeof(struct filter_peers_l))) ==
usr.sbin/bgpd/parse.y
2538
if (($$ = calloc(1, sizeof(struct filter_peers_l))) ==
usr.sbin/bgpd/parse.y
2547
if (($$ = calloc(1, sizeof(struct filter_peers_l))) ==
usr.sbin/bgpd/parse.y
2566
if (($$ = calloc(1, sizeof(struct filter_peers_l))) ==
usr.sbin/bgpd/parse.y
2572
if (($$ = calloc(1, sizeof(struct filter_peers_l))) ==
usr.sbin/bgpd/parse.y
2585
if (($$ = calloc(1, sizeof(struct filter_prefix_l))) ==
usr.sbin/bgpd/parse.y
2600
if (($$ = calloc(1, sizeof(struct filter_prefix_l))) ==
usr.sbin/bgpd/parse.y
2635
if (($$ = calloc(1, sizeof(struct filter_prefix_l))) ==
usr.sbin/bgpd/parse.y
2683
if (($$ = calloc(1, sizeof(struct filter_as_l))) ==
usr.sbin/bgpd/parse.y
2723
if (($$ = calloc(1, sizeof(struct filter_as_l))) ==
usr.sbin/bgpd/parse.y
2731
if (($$ = calloc(1, sizeof(struct filter_as_l))) ==
usr.sbin/bgpd/parse.y
2737
if (($$ = calloc(1, sizeof(struct filter_as_l))) ==
usr.sbin/bgpd/parse.y
2745
if (($$ = calloc(1, sizeof(struct filter_as_l))) ==
usr.sbin/bgpd/parse.y
3105
if (($$ = calloc(1, sizeof(struct filter_set_head))) ==
usr.sbin/bgpd/parse.y
3120
if (($$ = calloc(1, sizeof(struct filter_set_head))) ==
usr.sbin/bgpd/parse.y
3149
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3164
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3174
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3184
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3199
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3209
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3219
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3234
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3244
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3254
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3269
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3279
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3285
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3292
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3297
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3302
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3307
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3316
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3326
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3332
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3337
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3364
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3380
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3406
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3424
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
3440
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
usr.sbin/bgpd/parse.y
4023
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/bgpd/parse.y
4111
if ((filter_l = calloc(1, sizeof(struct filter_head))) == NULL)
usr.sbin/bgpd/parse.y
4113
if ((peerfilter_l = calloc(1, sizeof(struct filter_head))) == NULL)
usr.sbin/bgpd/parse.y
4115
if ((groupfilter_l = calloc(1, sizeof(struct filter_head))) == NULL)
usr.sbin/bgpd/parse.y
4199
if ((la = calloc(1, sizeof(struct listen_addr))) == NULL)
usr.sbin/bgpd/parse.y
4211
if ((la = calloc(1, sizeof(struct listen_addr))) == NULL)
usr.sbin/bgpd/parse.y
4264
if ((sym = calloc(1, sizeof(*sym))) == NULL)
usr.sbin/bgpd/parse.y
4680
if ((p = calloc(1, sizeof(struct peer))) == NULL)
usr.sbin/bgpd/parse.y
4751
if ((n = calloc(1, sizeof(struct mrt_config))) == NULL)
usr.sbin/bgpd/parse.y
4800
if ((rr = calloc(1, sizeof(*rr))) == NULL) {
usr.sbin/bgpd/parse.y
4975
if ((r = calloc(1,
usr.sbin/bgpd/parse.y
5348
if ((r = calloc(1, sizeof(struct filter_rule))) == NULL)
usr.sbin/bgpd/parse.y
5418
if ((pset = calloc(1, sizeof(*pset))) == NULL)
usr.sbin/bgpd/parse.y
5438
if ((roa = calloc(1, sizeof(*roa))) == NULL)
usr.sbin/bgpd/parse.y
5471
n = calloc(1, sizeof(*n));
usr.sbin/bgpd/parse.y
5528
if ((aspa = calloc(1, sizeof(*aspa))) == NULL) {
usr.sbin/bgpd/parse.y
554
if (($$ = calloc(1, sizeof(*$$))) == NULL)
usr.sbin/bgpd/parse.y
666
if (($$ = calloc(1, sizeof(*$$))) == NULL)
usr.sbin/bgpd/parse.y
672
if (($$ = calloc(1, sizeof(*$$))) == NULL)
usr.sbin/bgpd/parse.y
786
if ((la = calloc(1, sizeof(struct listen_addr))) ==
usr.sbin/bgpd/parse.y
800
if ((la = calloc(1, sizeof(struct listen_addr))) ==
usr.sbin/bgpd/pftable.c
137
if ((pft = calloc(1, sizeof(*pft))) == NULL) {
usr.sbin/bgpd/printconf.c
1231
if ((peerlist = calloc(peer_cnt, sizeof(*peerlist))) == NULL)
usr.sbin/bgpd/rde.c
1096
out_rules_tmp = calloc(1, sizeof(struct filter_head));
usr.sbin/bgpd/rde.c
1175
nr = calloc(1,
usr.sbin/bgpd/rde.c
1189
ps = calloc(1, sizeof(struct rde_prefixset));
usr.sbin/bgpd/rde.c
1371
if ((aspa = calloc(1, sizeof(*aspa))) == NULL)
usr.sbin/bgpd/rde.c
211
if ((out_rules = calloc(1, sizeof(struct filter_head))) == NULL)
usr.sbin/bgpd/rde.c
3283
if ((ctx = calloc(1, sizeof(*ctx))) == NULL) {
usr.sbin/bgpd/rde.c
3506
if ((ctx = calloc(1, sizeof(*ctx))) == NULL) {
usr.sbin/bgpd/rde.c
3779
if ((pfn = calloc(1, sizeof(*pfn))) == NULL)
usr.sbin/bgpd/rde_adjout.c
231
if ((pp = calloc(1, sizeof(*pp))) == NULL)
usr.sbin/bgpd/rde_adjout.c
317
if ((a = calloc(1, sizeof(*a))) == NULL)
usr.sbin/bgpd/rde_adjout.c
679
if ((ctx = calloc(1, sizeof(*ctx))) == NULL)
usr.sbin/bgpd/rde_adjout.c
70
if ((pa = calloc(1, sizeof(*pa))) == NULL)
usr.sbin/bgpd/rde_adjout.c
708
if ((ctx = calloc(1, sizeof(*ctx))) == NULL)
usr.sbin/bgpd/rde_aspa.c
349
if ((ra = calloc(1, sizeof(*ra))) == NULL)
usr.sbin/bgpd/rde_aspa.c
352
if ((ra->table = calloc(hsize, sizeof(ra->table[0]))) == NULL)
usr.sbin/bgpd/rde_aspa.c
355
if ((ra->sets = calloc(entries, sizeof(ra->sets[0]))) == NULL)
usr.sbin/bgpd/rde_attr.c
180
if ((t->others = calloc(s->others_len, sizeof(struct attr *))) == 0)
usr.sbin/bgpd/rde_attr.c
254
a = calloc(1, sizeof(struct attr));
usr.sbin/bgpd/rde_filter.c
517
if ((rf = calloc(1, sizeof(*rf) + count * sizeof(rf->rules[0]))) ==
usr.sbin/bgpd/rde_filter.c
976
if ((rfs = calloc(1, sizeof(*rfs) + count * sizeof(*rfse))) == NULL)
usr.sbin/bgpd/rde_peer.c
166
peer = calloc(1, sizeof(struct rde_peer));
usr.sbin/bgpd/rde_rib.c
118
if ((new = calloc(1, sizeof(*new))) == NULL)
usr.sbin/bgpd/rde_rib.c
1181
p = calloc(1, sizeof(*p));
usr.sbin/bgpd/rde_rib.c
128
new->in_rules = calloc(1, sizeof(struct filter_head));
usr.sbin/bgpd/rde_rib.c
1401
nh = calloc(1, sizeof(*nh));
usr.sbin/bgpd/rde_rib.c
320
if ((re = calloc(1, sizeof(*re))) == NULL)
usr.sbin/bgpd/rde_rib.c
541
if ((ctx = calloc(1, sizeof(*ctx))) == NULL)
usr.sbin/bgpd/rde_rib.c
568
if ((ctx = calloc(1, sizeof(*ctx))) == NULL)
usr.sbin/bgpd/rde_sets.c
115
set = calloc(1, sizeof(*set));
usr.sbin/bgpd/rde_sets.c
124
set->set = calloc(nmemb, set->size);
usr.sbin/bgpd/rde_sets.c
44
aset = calloc(1, sizeof(*aset));
usr.sbin/bgpd/rde_trie.c
167
if ((b = calloc(1, sizeof(*b))) == NULL)
usr.sbin/bgpd/rde_trie.c
208
if ((new = calloc(1, sizeof(*new))) == NULL)
usr.sbin/bgpd/rde_trie.c
250
if ((b = calloc(1, sizeof(*b))) == NULL)
usr.sbin/bgpd/rde_trie.c
291
if ((new = calloc(1, sizeof(*new))) == NULL)
usr.sbin/bgpd/rtr.c
171
if ((aspa = calloc(1, sizeof(*aspa))) == NULL)
usr.sbin/bgpd/rtr.c
380
if ((aspa = calloc(1, sizeof(*aspa))) == NULL)
usr.sbin/bgpd/rtr_proto.c
1405
if ((rs = calloc(1, sizeof(*rs))) == NULL)
usr.sbin/bgpd/rtr_proto.c
664
if ((roa = calloc(1, sizeof(*roa))) == NULL) {
usr.sbin/bgpd/rtr_proto.c
729
if ((roa = calloc(1, sizeof(*roa))) == NULL) {
usr.sbin/bgpd/rtr_proto.c
816
if ((aspa = calloc(1, sizeof(*aspa))) == NULL) {
usr.sbin/bgpd/rtr_proto.c
823
if ((aspa->tas = calloc(cnt, sizeof(uint32_t))) == NULL) {
usr.sbin/bgpd/session.c
1251
if ((p = calloc(1, sizeof(struct peer))) == NULL)
usr.sbin/bgpd/session.c
1294
la = calloc(1, sizeof(struct listen_addr));
usr.sbin/bgpd/session.c
1407
mrt = calloc(1, sizeof(struct mrt));
usr.sbin/bgplgd/slowcgi.c
1048
if ((resp = calloc(1, sizeof(struct fcgi_response))) == NULL) {
usr.sbin/bgplgd/slowcgi.c
1114
if ((resp = calloc(1, sizeof(struct fcgi_response))) == NULL) {
usr.sbin/bgplgd/slowcgi.c
1145
if ((resp = calloc(1, sizeof(struct fcgi_response))) == NULL) {
usr.sbin/bgplgd/slowcgi.c
366
l = calloc(1, sizeof(*l));
usr.sbin/bgplgd/slowcgi.c
482
c = calloc(1, sizeof(*c));
usr.sbin/btrace/bt_parse.y
305
br = calloc(1, sizeof(*br));
usr.sbin/btrace/bt_parse.y
334
bf = calloc(1, sizeof(*bf));
usr.sbin/btrace/bt_parse.y
352
bc = calloc(1, sizeof(*bc));
usr.sbin/btrace/bt_parse.y
413
bp = calloc(1, sizeof(*bp));
usr.sbin/btrace/bt_parse.y
454
ba = calloc(1, sizeof(*ba));
usr.sbin/btrace/bt_parse.y
498
bs = calloc(1, sizeof(*bs));
usr.sbin/btrace/bt_parse.y
543
bv = calloc(1, sizeof(*bv));
usr.sbin/btrace/btrace.c
295
dt_args = calloc(dt_ndtpi, sizeof(*dt_args));
usr.sbin/btrace/btrace.c
598
dtrq = calloc(1, sizeof(*dtrq));
usr.sbin/btrace/ksyms.c
177
if ((syms = calloc(1, sizeof(*syms))) == NULL)
usr.sbin/btrace/ksyms.c
179
syms->table = calloc(symtab_size, sizeof *syms->table);
usr.sbin/btrace/map.c
161
elms = calloc(count, sizeof(*elms));
usr.sbin/btrace/map.c
204
hist = calloc(1, sizeof(struct hist));
usr.sbin/btrace/map.c
63
mep = calloc(1, sizeof(struct mentry));
usr.sbin/btrace/map.c
79
map = calloc(1, sizeof(struct map));
usr.sbin/config/util.c
66
if ((p = calloc(1, size)) == NULL)
usr.sbin/config/util.c
91
if ((p = calloc(sz1, sz2)) == NULL)
usr.sbin/cron/entry.c
123
e = calloc(sizeof(entry), 1);
usr.sbin/crunchgen/crunchgen.c
1025
p2 = calloc(1, sizeof(strlst_t));
usr.sbin/crunchgen/crunchgen.c
449
p2 = calloc(1, sizeof(prog_t));
usr.sbin/crunchgen/crunchide.c
142
newp = calloc(1, sizeof(struct keep));
usr.sbin/crunchgen/elf_hide.c
352
tmpsymtab = calloc(1, symtabsize);
usr.sbin/crunchgen/elf_hide.c
353
symmap = calloc(nsyms, sizeof(Symmap));
usr.sbin/dhcpd/alloc.c
63
rval = calloc(1, sizeof(*rval));
usr.sbin/dhcpd/alloc.c
81
rval = calloc(1, sizeof(*rval));
usr.sbin/dhcpd/confpars.c
1541
bufptrs = calloc(count + 1, sizeof *bufptrs);
usr.sbin/dhcpd/confpars.c
257
share = calloc(1, sizeof(struct shared_network));
usr.sbin/dhcpd/confpars.c
545
host = calloc(1, sizeof (struct host_decl));
usr.sbin/dhcpd/confpars.c
653
share = calloc(1, sizeof(struct shared_network));
usr.sbin/dhcpd/confpars.c
732
subnet = calloc(1, sizeof(struct subnet));
usr.sbin/dhcpd/dhcp.c
1035
state->prl = calloc(1, packet->options[i].len);
usr.sbin/dhcpd/dhcpd.c
178
struct interface_info *tmp = calloc(1, sizeof(*tmp));
usr.sbin/dhcpd/dispatch.c
128
tmp = calloc(1, sizeof *tmp);
usr.sbin/dhcpd/hash.c
105
bp = calloc(1, sizeof(struct hash_bucket));
usr.sbin/dhcpd/hash.c
66
rv = calloc(1, sizeof(struct hash_table));
usr.sbin/dhcpd/memory.c
247
address_range = calloc(max - min + 1, sizeof(struct lease));
usr.sbin/dhcpd/memory.c
428
comp = calloc(1, sizeof(struct lease));
usr.sbin/dhcpd/memory.c
825
class = calloc(1, sizeof(*class));
usr.sbin/dhcpd/memory.c
864
g = calloc(1, sizeof(struct group));
usr.sbin/dhcpd/options.c
176
t = calloc(1, len + 1);
usr.sbin/dhcpd/options.c
194
t = calloc(1, len + packet->options[code].len + 1);
usr.sbin/dhcpd/sync.c
90
calloc(1, sizeof(struct sync_host))) == NULL) {
usr.sbin/dhcpd/tree.c
130
buf = calloc(1, left->data.const_val.len
usr.sbin/dhcpd/tree.c
148
nt = calloc(1, sizeof(struct tree));
usr.sbin/dhcpd/tree.c
170
rv = calloc(1, sizeof(struct tree));
usr.sbin/dhcpd/tree.c
209
bp = calloc(1, bufix);
usr.sbin/dhcpd/tree.c
68
foo = calloc(1, sizeof *foo);
usr.sbin/dhcpd/tree.c
97
d = calloc(1, len);
usr.sbin/dhcpd/tree.c
98
nt = calloc(1, sizeof(struct tree));
usr.sbin/dhcpd/udpsock.c
57
if ((udpsock = calloc(1, sizeof(struct udpsock))) == NULL)
usr.sbin/dhcrelay/dhcrelay.c
164
if ((sp = calloc(1, sizeof(*sp))) == NULL)
usr.sbin/dhcrelay/dispatch.c
123
intf = calloc(1, sizeof(*intf));
usr.sbin/dhcrelay/dispatch.c
261
fds = calloc(nfds, sizeof(struct pollfd));
usr.sbin/dhcrelay6/dhcrelay6.c
135
if ((sp = calloc(1, sizeof(*sp))) == NULL)
usr.sbin/dhcrelay6/dispatch.c
152
intf = calloc(1, sizeof(*intf));
usr.sbin/dhcrelay6/dispatch.c
284
fds = calloc(nfds, sizeof(struct pollfd));
usr.sbin/dvmrpd/control.c
149
if ((c = calloc(1, sizeof(struct ctl_conn))) == NULL) {
usr.sbin/dvmrpd/dvmrpe.c
354
if ((rr = calloc(1, sizeof(*rr))) == NULL)
usr.sbin/dvmrpd/dvmrpe.c
417
if ((rr = calloc(1, sizeof(*rr))) == NULL)
usr.sbin/dvmrpd/dvmrpe.c
434
if ((rr = calloc(1, sizeof(*rr))) == NULL)
usr.sbin/dvmrpd/group.c
373
if ((ge = calloc(1, sizeof(*ge))) == NULL)
usr.sbin/dvmrpd/interface.c
169
if ((iface = calloc(1, sizeof(*iface))) == NULL)
usr.sbin/dvmrpd/interface.c
180
if ((ifr = calloc(1, sizeof(*ifr))) == NULL)
usr.sbin/dvmrpd/kmroute.c
60
if ((mroute_ptr = calloc(1, IBUF_READ_SIZE)) == NULL)
usr.sbin/dvmrpd/kroute.c
261
if ((kif = calloc(1, sizeof(struct kif_node))) == NULL) {
usr.sbin/dvmrpd/kroute.c
340
if ((kif = calloc(1, sizeof(struct kif_node))) == NULL) {
usr.sbin/dvmrpd/neighbor.c
176
nbrtable.hashtbl = calloc(hs, sizeof(struct nbr_head));
usr.sbin/dvmrpd/neighbor.c
192
if ((nbr = calloc(1, sizeof(*nbr))) == NULL)
usr.sbin/dvmrpd/parse.y
691
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/dvmrpd/parse.y
740
if ((conf = calloc(1, sizeof(struct dvmrpd_conf))) == NULL) {
usr.sbin/dvmrpd/parse.y
813
if ((sym = calloc(1, sizeof(*sym))) == NULL)
usr.sbin/dvmrpd/rde.c
387
rdegrp = calloc(1, sizeof(*rdegrp));
usr.sbin/dvmrpd/rde_mfc.c
317
if ((mn = calloc(1, sizeof(struct mfc_node))) == NULL)
usr.sbin/dvmrpd/rde_mfc.c
439
pn = calloc(1, sizeof(*pn));
usr.sbin/dvmrpd/rde_srt.c
173
if ((rn = calloc(1, sizeof(*rn))) == NULL)
usr.sbin/dvmrpd/report.c
191
if ((le = calloc(1, sizeof(*le))) == NULL)
usr.sbin/eigrpd/control.c
141
if ((c = calloc(1, sizeof(struct ctl_conn))) == NULL) {
usr.sbin/eigrpd/eigrpd.c
732
xconf = calloc(1, sizeof(*xconf));
usr.sbin/eigrpd/eigrpe.c
575
re = calloc(1, sizeof(*re));
usr.sbin/eigrpd/interface.c
139
if ((if_addr = calloc(1, sizeof(*if_addr))) == NULL)
usr.sbin/eigrpd/interface.c
289
if ((ei = calloc(1, sizeof(*ei))) == NULL)
usr.sbin/eigrpd/interface.c
65
if ((iface = calloc(1, sizeof(*iface))) == NULL)
usr.sbin/eigrpd/kroute.c
527
kp = calloc(1, sizeof((*kp)));
usr.sbin/eigrpd/kroute.c
539
kprio = calloc(1, sizeof(*kprio));
usr.sbin/eigrpd/kroute.c
558
kn = calloc(1, sizeof(*kn));
usr.sbin/eigrpd/kroute.c
682
if ((kif = calloc(1, sizeof(struct kif_node))) == NULL)
usr.sbin/eigrpd/kroute.c
898
if ((ka = calloc(1, sizeof(struct kif_addr))) == NULL)
usr.sbin/eigrpd/kroute.c
918
if ((ka = calloc(1, sizeof(struct kif_addr))) == NULL)
usr.sbin/eigrpd/neighbor.c
68
if ((nbr = calloc(1, sizeof(*nbr))) == NULL)
usr.sbin/eigrpd/packet.c
396
if ((re = calloc(1, sizeof(*re))) == NULL)
usr.sbin/eigrpd/parse.y
1073
if ((sym = calloc(1, sizeof(*sym))) == NULL)
usr.sbin/eigrpd/parse.y
1135
e = calloc(1, sizeof(struct eigrp));
usr.sbin/eigrpd/parse.y
376
if ((s = calloc(1, sizeof(*s))) == NULL)
usr.sbin/eigrpd/parse.y
405
if ((r = calloc(1, sizeof(*r))) == NULL)
usr.sbin/eigrpd/parse.y
464
if ((m = calloc(1, sizeof(*m))) == NULL)
usr.sbin/eigrpd/parse.y
940
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/eigrpd/rde_dual.c
1285
if ((nbr = calloc(1, sizeof(*nbr))) == NULL)
usr.sbin/eigrpd/rde_dual.c
206
if ((rn = calloc(1, sizeof(*rn))) == NULL)
usr.sbin/eigrpd/rde_dual.c
262
if ((route = calloc(1, sizeof(*route))) == NULL)
usr.sbin/eigrpd/rde_dual.c
446
if ((reply = calloc(1, sizeof(*reply))) == NULL)
usr.sbin/eigrpd/rtp.c
195
if ((sa = calloc(1, sizeof(*sa))) == NULL)
usr.sbin/eigrpd/rtp.c
45
if ((pbuf = calloc(1, sizeof(*pbuf))) == NULL)
usr.sbin/eigrpd/rtp.c
73
if ((pkt = calloc(1, sizeof(struct packet))) == NULL)
usr.sbin/eigrpd/tlv.c
318
if ((sa = calloc(1, sizeof(*sa))) == NULL)
usr.sbin/ftp-proxy/ftp-proxy.c
557
s = calloc(1, sizeof(struct session));
usr.sbin/hostapd/apme.c
135
calloc(apme->a_maxchan, sizeof(u_int8_t))) == NULL)
usr.sbin/hostapd/apme.c
58
calloc(1, sizeof(struct hostapd_apme))) == NULL)
usr.sbin/hostapd/hostapd.c
541
calloc(1, sizeof(struct hostapd_table))) == NULL)
usr.sbin/hostapd/hostapd.c
577
calloc(1, sizeof(struct hostapd_entry))) == NULL)
usr.sbin/hostapd/parse.y
1646
if ((sym = calloc(1, sizeof(*sym))) == NULL)
usr.sbin/hostapd/parse.y
1731
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/hostapd/parse.y
373
if ((frame_ptr = calloc(1, sizeof(struct hostapd_frame)))
usr.sbin/hostctl/hostctl.c
141
if ((pvr.pvr_key = calloc(1, pvr.pvr_keylen)) == NULL ||
usr.sbin/hostctl/hostctl.c
142
(pvr.pvr_value = calloc(1, pvr.pvr_valuelen)) == NULL)
usr.sbin/hostctl/hostctl.c
79
if ((buf = calloc(1, dstlen)) == NULL)
usr.sbin/httpd/config.c
393
if ((fp = calloc(1, sizeof(*fp))) == NULL)
usr.sbin/httpd/config.c
423
if ((iov = calloc(nc + 2, sizeof(*iov))) == NULL)
usr.sbin/httpd/config.c
507
if ((srv_conf = calloc(1, sizeof(*srv_conf))) == NULL)
usr.sbin/httpd/config.c
63
calloc(1, sizeof(*env->sc_servers))) == NULL)
usr.sbin/httpd/config.c
70
calloc(1, sizeof(*env->sc_mediatypes))) == NULL)
usr.sbin/httpd/config.c
715
if ((srv = calloc(1, sizeof(*srv))) == NULL)
usr.sbin/httpd/config.c
77
calloc(1, sizeof(*env->sc_auth))) == NULL)
usr.sbin/httpd/config.c
773
if ((*outdata = calloc(1, tls_conf->tls_len)) == NULL)
usr.sbin/httpd/control.c
162
if ((c = calloc(1, sizeof(struct ctl_conn))) == NULL) {
usr.sbin/httpd/httpd.c
1179
if ((entry = calloc(1, sizeof(*entry))) == NULL)
usr.sbin/httpd/httpd.c
175
if ((env = calloc(1, sizeof(*env))) == NULL ||
usr.sbin/httpd/httpd.c
176
(ps = calloc(1, sizeof(*ps))) == NULL)
usr.sbin/httpd/httpd.c
530
if ((tmp = calloc(1, len)) == NULL) {
usr.sbin/httpd/httpd.c
690
if ((dst = calloc(3, strlen(src) + 1)) == NULL)
usr.sbin/httpd/httpd.c
712
if ((dst = calloc(5, strlen(src) + 1)) == NULL)
usr.sbin/httpd/httpd.c
939
if ((kv = calloc(1, sizeof(*kv))) == NULL)
usr.sbin/httpd/logger.c
105
if ((log = calloc(1, sizeof(*log))) == NULL) {
usr.sbin/httpd/parse.y
1820
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/httpd/parse.y
2010
if ((sym = calloc(1, sizeof(*sym))) == NULL)
usr.sbin/httpd/parse.y
2072
if ((h = calloc(1, sizeof(*h))) == NULL)
usr.sbin/httpd/parse.y
2097
if ((h = calloc(1, sizeof(*h))) == NULL)
usr.sbin/httpd/parse.y
2148
if ((h = calloc(1, sizeof(*h))) == NULL)
usr.sbin/httpd/parse.y
2213
if ((h = calloc(1, sizeof(*h))) == NULL)
usr.sbin/httpd/parse.y
2303
if ((dst = calloc(1, sizeof(*dst))) == NULL)
usr.sbin/httpd/parse.y
2393
if ((dstl = calloc(1, sizeof(*dstl))) == NULL)
usr.sbin/httpd/parse.y
2452
if ((alias = calloc(1,
usr.sbin/httpd/parse.y
249
if ((s = calloc(1, sizeof (*s))) == NULL)
usr.sbin/httpd/parse.y
2531
ifgr.ifgr_groups = calloc(len / sizeof(struct ifg_req),
usr.sbin/httpd/parse.y
488
if ((alias = calloc(1, sizeof(*alias))) == NULL)
usr.sbin/httpd/parse.y
587
if ((s = calloc(1, sizeof (*s))) == NULL)
usr.sbin/httpd/parse.y
800
if ((param = calloc(1, sizeof(*param))) == NULL)
usr.sbin/httpd/patterns.c
682
if ((m->sm_match = calloc(ret, sizeof(char *))) == NULL) {
usr.sbin/httpd/proc.c
299
if ((ps->ps_ievs[id] = calloc(ps->ps_instances[id],
usr.sbin/httpd/proc.c
327
if ((ps->ps_pipes[src] = calloc(ps->ps_instances[src],
usr.sbin/httpd/proc.c
337
calloc(ps->ps_instances[dst],
usr.sbin/httpd/proc.c
81
nargv = calloc(argc + 5, sizeof(char *));
usr.sbin/httpd/server.c
1083
if ((clt = calloc(1, sizeof(*clt))) == NULL)
usr.sbin/httpd/server_http.c
1814
if ((ret = calloc(1, sb.st_size + 1)) == NULL)
usr.sbin/httpd/server_http.c
81
if ((desc = calloc(1, sizeof(*desc))) == NULL)
usr.sbin/httpd/server_http.c
86
if ((desc = calloc(1, sizeof(*desc))) == NULL) {
usr.sbin/identd/identd.c
404
r = calloc(1, sizeof(*r));
usr.sbin/identd/identd.c
688
l = calloc(1, sizeof(*l));
usr.sbin/identd/identd.c
737
c = calloc(1, sizeof(*c));
usr.sbin/ifstated/parse.y
193
if ((action = calloc(1, sizeof(*action))) == NULL)
usr.sbin/ifstated/parse.y
208
if ((action = calloc(1, sizeof(*action))) == NULL)
usr.sbin/ifstated/parse.y
218
if ((action = calloc(1, sizeof(*action))) == NULL)
usr.sbin/ifstated/parse.y
276
if (($$ = calloc(1, sizeof(*$$))) == NULL)
usr.sbin/ifstated/parse.y
284
if (($$ = calloc(1, sizeof(*$$))) == NULL)
usr.sbin/ifstated/parse.y
297
if (($$ = calloc(1, sizeof(*$$))) == NULL)
usr.sbin/ifstated/parse.y
305
if (($$ = calloc(1, sizeof(*$$))) == NULL)
usr.sbin/ifstated/parse.y
315
if (($$ = calloc(1, sizeof(*$$))) == NULL)
usr.sbin/ifstated/parse.y
336
if ((state = calloc(1, sizeof(*curstate))) == NULL)
usr.sbin/ifstated/parse.y
685
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/ifstated/parse.y
734
if ((conf = calloc(1, sizeof(struct ifsd_config))) == NULL) {
usr.sbin/ifstated/parse.y
850
if ((sym = calloc(1, sizeof(*sym))) == NULL)
usr.sbin/ifstated/parse.y
919
if ((state->init = calloc(1, sizeof(*state->init))) == NULL)
usr.sbin/ifstated/parse.y
924
if ((state->body = calloc(1, sizeof(*state->body))) == NULL)
usr.sbin/ifstated/parse.y
946
if ((ifstate = calloc(1, sizeof(*ifstate))) == NULL)
usr.sbin/ifstated/parse.y
977
if ((external = calloc(1, sizeof(*external))) == NULL)
usr.sbin/ikectl/ikeca.c
1112
if ((ca = calloc(1, sizeof(struct ca))) == NULL)
usr.sbin/inetd/inetd.c
1042
sep = calloc(1, sizeof(struct servtab));
usr.sbin/inetd/inetd.c
1362
newtab = calloc(1, sizeof(struct servtab));
usr.sbin/installboot/bootstrap.c
73
boot = calloc(1, bootsize);
usr.sbin/installboot/i386_installboot.c
233
secbuf = calloc(1, dl->d_secsize);
usr.sbin/installboot/i386_installboot.c
761
if ((bp = calloc(tdsize, 1)) == NULL)
usr.sbin/installboot/i386_installboot.c
973
nl = calloc(2, sizeof(struct nlist));
usr.sbin/installboot/i386_softraid.c
119
p = calloc(1, bootsize);
usr.sbin/installboot/landisk_installboot.c
120
boot = calloc(1, bootsize);
usr.sbin/installboot/sparc64_installboot.c
71
blkstore = calloc(1, blksize);
usr.sbin/iscsictl/parse.y
217
scelm = calloc(1, sizeof(*scelm));
usr.sbin/iscsictl/parse.y
655
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/iscsictl/parse.y
711
conf = calloc(1, sizeof(struct iscsi_config));
usr.sbin/iscsictl/parse.y
789
if ((sym = calloc(1, sizeof(*sym))) == NULL)
usr.sbin/iscsid/connection.c
60
if (!(c = calloc(1, sizeof(*c))))
usr.sbin/iscsid/control.c
62
if ((control_state = calloc(1, sizeof(*control_state))) == NULL) {
usr.sbin/iscsid/initiator.c
136
if (!(s = calloc(1, sizeof(*s))))
usr.sbin/iscsid/initiator.c
198
if (!(tl = calloc(1, sizeof(*tl)))) {
usr.sbin/iscsid/initiator.c
228
if (!(t = calloc(1, sizeof(*t)))) {
usr.sbin/iscsid/initiator.c
253
if (!(tl = calloc(1, sizeof(*tl)))) {
usr.sbin/iscsid/initiator.c
300
if (!(t = calloc(1, sizeof(*t)))) {
usr.sbin/iscsid/initiator.c
346
if (!(kvp = calloc(len + 1, sizeof(*kvp))))
usr.sbin/iscsid/initiator.c
358
if (!(kvp = calloc(len + 1, sizeof(*kvp))))
usr.sbin/iscsid/initiator.c
68
if (!(initiator = calloc(1, sizeof(*initiator))))
usr.sbin/iscsid/pdu.c
111
if (!(k = calloc(nkvp + 1, sizeof(*k))))
usr.sbin/iscsid/pdu.c
46
if (!(hdr = calloc(1, sizeof(struct iscsi_pdu))))
usr.sbin/iscsid/util.c
42
if (!(p = calloc(1, sizeof(*p))))
usr.sbin/iscsid/vscsi.c
90
if (!(t = calloc(1, sizeof(*t))))
usr.sbin/kvm_mkdb/nlist.c
88
sh = calloc(sizeof(Elf_Shdr), eh.e_shnum);
usr.sbin/ldapd/btree.c
1092
if ((bt = calloc(1, sizeof(*bt))) == NULL)
usr.sbin/ldapd/btree.c
1100
if ((bt->page_cache = calloc(1, sizeof(*bt->page_cache))) == NULL)
usr.sbin/ldapd/btree.c
1105
if ((bt->lru_queue = calloc(1, sizeof(*bt->lru_queue))) == NULL)
usr.sbin/ldapd/btree.c
1280
if ((ppage = calloc(1, sizeof(*ppage))) == NULL)
usr.sbin/ldapd/btree.c
1295
if ((mp = calloc(1, sizeof(*mp))) == NULL)
usr.sbin/ldapd/btree.c
1850
if ((mp = calloc(1, sizeof(*mp))) == NULL)
usr.sbin/ldapd/btree.c
2089
if ((cursor = calloc(1, sizeof(*cursor))) != NULL) {
usr.sbin/ldapd/btree.c
525
if ((copy = calloc(1, sizeof(*copy))) == NULL)
usr.sbin/ldapd/btree.c
652
if ((txn = calloc(1, sizeof(*txn))) == NULL) {
usr.sbin/ldapd/btree.c
660
txn->dirty_queue = calloc(1, sizeof(*txn->dirty_queue));
usr.sbin/ldapd/btree.c
856
if ((p = calloc(1, psize)) == NULL)
usr.sbin/ldapd/conn.c
149
if ((req = calloc(1, sizeof(*req))) == NULL) {
usr.sbin/ldapd/conn.c
296
if ((conn = calloc(1, sizeof(*conn))) == NULL) {
usr.sbin/ldapd/control.c
150
if ((c = calloc(1, sizeof(*c))) == NULL) {
usr.sbin/ldapd/ldapd.c
233
if ((iev_ldape = calloc(1, sizeof(struct imsgev))) == NULL)
usr.sbin/ldapd/ldape.c
372
if ((iev_ldapd = calloc(1, sizeof(struct imsgev))) == NULL)
usr.sbin/ldapd/parse.y
1004
if ((h = calloc(1, sizeof(*h))) == NULL)
usr.sbin/ldapd/parse.y
1041
if ((h = calloc(1, sizeof(*h))) == NULL)
usr.sbin/ldapd/parse.y
1125
if ((h = calloc(1, sizeof(*h))) == NULL)
usr.sbin/ldapd/parse.y
1146
if ((h = calloc(1, sizeof(*h))) == NULL)
usr.sbin/ldapd/parse.y
1179
if ((aci = calloc(1, sizeof(*aci))) == NULL) {
usr.sbin/ldapd/parse.y
1207
if ((ns = calloc(1, sizeof(*ns))) == NULL)
usr.sbin/ldapd/parse.y
1255
if ((s = calloc(1, sizeof(*s))) == NULL)
usr.sbin/ldapd/parse.y
222
if ((ref = calloc(1, sizeof(*ref))) == NULL) {
usr.sbin/ldapd/parse.y
275
if ((ai = calloc(1, sizeof(*ai))) == NULL) {
usr.sbin/ldapd/parse.y
295
if ((ref = calloc(1, sizeof(*ref))) == NULL) {
usr.sbin/ldapd/parse.y
780
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/ldapd/parse.y
839
if ((conf = calloc(1, sizeof(struct ldapd_config))) == NULL)
usr.sbin/ldapd/parse.y
848
if ((conf->sc_ssl = calloc(1, sizeof(*conf->sc_ssl))) == NULL)
usr.sbin/ldapd/parse.y
898
if ((sym = calloc(1, sizeof(*sym))) == NULL)
usr.sbin/ldapd/parse.y
958
if ((h = calloc(1, sizeof(*h))) == NULL)
usr.sbin/ldapd/parse.y
982
if ((h = calloc(1, sizeof(*h))) == NULL)
usr.sbin/ldapd/schema.c
186
symoid = calloc(1, sizeof(*symoid));
usr.sbin/ldapd/schema.c
208
if ((alist = calloc(1, sizeof(*alist))) == NULL) {
usr.sbin/ldapd/schema.c
215
if ((aptr = calloc(1, sizeof(*aptr))) == NULL) {
usr.sbin/ldapd/schema.c
232
if ((olist = calloc(1, sizeof(*olist))) == NULL) {
usr.sbin/ldapd/schema.c
239
if ((optr = calloc(1, sizeof(*optr))) == NULL) {
usr.sbin/ldapd/schema.c
263
if ((nl = calloc(1, sizeof(*nl))) == NULL) {
usr.sbin/ldapd/schema.c
269
if ((n = calloc(1, sizeof(*n))) == NULL) {
usr.sbin/ldapd/schema.c
429
if ((schema = calloc(1, sizeof(*schema))) == NULL)
usr.sbin/ldapd/schema.c
462
if ((oidname = calloc(1, sizeof(*oidname))) == NULL) {
usr.sbin/ldapd/schema.c
498
if ((oidname = calloc(1, sizeof(*oidname))) == NULL) {
usr.sbin/ldapd/schema.c
713
if ((attr = calloc(1, sizeof(*attr))) == NULL) {
usr.sbin/ldapd/schema.c
909
if ((obj = calloc(1, sizeof(*obj))) == NULL) {
usr.sbin/ldapd/search.c
269
if ((udn = calloc(1, sizeof(*udn))) == NULL)
usr.sbin/ldapd/search.c
639
if ((indx = calloc(1, sizeof(*indx))) == NULL)
usr.sbin/ldapd/search.c
695
if ((plan = calloc(1, sizeof(*plan))) == NULL) {
usr.sbin/ldapd/search.c
864
if ((search = calloc(1, sizeof(*search))) == NULL)
usr.sbin/ldapd/validate.c
240
if ((optr = calloc(1, sizeof(*optr))) == NULL)
usr.sbin/ldapd/validate.c
307
if ((olist = calloc(1, sizeof(*olist))) == NULL)
usr.sbin/ldpd/accept.c
56
if ((av = calloc(1, sizeof(*av))) == NULL)
usr.sbin/ldpd/adjacency.c
205
if ((tnbr = calloc(1, sizeof(*tnbr))) == NULL)
usr.sbin/ldpd/adjacency.c
47
if ((adj = calloc(1, sizeof(*adj))) == NULL)
usr.sbin/ldpd/control.c
130
if ((c = calloc(1, sizeof(struct ctl_conn))) == NULL) {
usr.sbin/ldpd/interface.c
134
if ((if_addr = calloc(1, sizeof(*if_addr))) == NULL)
usr.sbin/ldpd/interface.c
49
if ((iface = calloc(1, sizeof(*iface))) == NULL)
usr.sbin/ldpd/kroute.c
1025
if ((ka = calloc(1, sizeof(struct kif_addr))) == NULL)
usr.sbin/ldpd/kroute.c
1045
if ((ka = calloc(1, sizeof(struct kif_addr))) == NULL)
usr.sbin/ldpd/kroute.c
662
kp = calloc(1, sizeof((*kp)));
usr.sbin/ldpd/kroute.c
674
kprio = calloc(1, sizeof(*kprio));
usr.sbin/ldpd/kroute.c
693
kn = calloc(1, sizeof(*kn));
usr.sbin/ldpd/kroute.c
819
if ((kif = calloc(1, sizeof(struct kif_node))) == NULL)
usr.sbin/ldpd/l2vpn.c
107
if ((lif = calloc(1, sizeof(*lif))) == NULL)
usr.sbin/ldpd/l2vpn.c
163
if ((pw = calloc(1, sizeof(*pw))) == NULL)
usr.sbin/ldpd/l2vpn.c
39
if ((l2vpn = calloc(1, sizeof(*l2vpn))) == NULL)
usr.sbin/ldpd/lde.c
1060
if ((ln = calloc(1, sizeof(*ln))) == NULL)
usr.sbin/ldpd/lde.c
1223
me = calloc(1, sizeof(*me));
usr.sbin/ldpd/lde.c
1274
lre = calloc(1, sizeof(*lre));
usr.sbin/ldpd/lde.c
1305
lw = calloc(1, sizeof(*lw));
usr.sbin/ldpd/lde.c
1381
if ((new = calloc(1, sizeof(*new))) == NULL)
usr.sbin/ldpd/lde_lib.c
266
fn = calloc(1, sizeof(*fn));
usr.sbin/ldpd/lde_lib.c
304
fnh = calloc(1, sizeof(*fnh));
usr.sbin/ldpd/ldpd.c
1289
xconf = calloc(1, sizeof(*xconf));
usr.sbin/ldpd/ldpe.c
814
me = calloc(1, sizeof(*me));
usr.sbin/ldpd/neighbor.c
232
if ((nbr = calloc(1, sizeof(*nbr))) == NULL)
usr.sbin/ldpd/neighbor.c
758
if ((nbrp = calloc(1, sizeof(*nbrp))) == NULL)
usr.sbin/ldpd/packet.c
687
if ((tcp = calloc(1, sizeof(*tcp))) == NULL)
usr.sbin/ldpd/packet.c
694
if ((tcp->rbuf = calloc(1, sizeof(struct buf_read))) == NULL)
usr.sbin/ldpd/packet.c
730
if ((pconn = calloc(1, sizeof(*pconn))) == NULL)
usr.sbin/ldpd/parse.y
1254
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/ldpd/parse.y
1387
if ((sym = calloc(1, sizeof(*sym))) == NULL)
usr.sbin/ldpd/parse.y
431
$$ = calloc(1, sizeof(*$$));
usr.sbin/ldpd/parse.y
455
$$ = calloc(1, sizeof(*$$));
usr.sbin/ldpd/parse.y
482
$$ = calloc(1, sizeof(*$$));
usr.sbin/ldpd/parse.y
492
$$ = calloc(1, sizeof(*$$));
usr.sbin/lpd/engine_lpr.c
493
if ((j = calloc(1, sizeof(*j))) == NULL) {
usr.sbin/lpd/engine_lpr.c
613
if ((f = calloc(1, sizeof(*f))) == NULL) {
usr.sbin/lpd/frontend.c
206
conn = calloc(1, sizeof(*conn));
usr.sbin/lpd/frontend.c
274
if ((tmpconf = calloc(1, sizeof(*tmpconf))) == NULL)
usr.sbin/lpd/frontend.c
282
if ((l = calloc(1, sizeof(*l))) == NULL)
usr.sbin/lpd/frontend_lpr.c
110
if ((conn = calloc(1, sizeof(*conn))) == NULL) {
usr.sbin/lpd/io.c
178
io = calloc(1, sizeof(*io));
usr.sbin/lpd/iobuf.c
58
if ((io->buf = calloc(size, 1)) == NULL)
usr.sbin/lpd/lp.c
368
q->cfname = calloc(nqe, sizeof(*q->cfname));
usr.sbin/lpd/lp_stty.c
514
argv = calloc(256, sizeof(char *));
usr.sbin/lpd/lpd.c
172
argv = calloc(saved_argc + 3, sizeof(*argv));
usr.sbin/lpd/lpd.c
438
argv = calloc(saved_argc + 4, sizeof(*argv));
usr.sbin/lpd/parse.y
552
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/lpd/parse.y
599
conf = calloc(1, sizeof(*conf));
usr.sbin/lpd/parse.y
661
if ((sym = calloc(1, sizeof(*sym))) == NULL)
usr.sbin/lpd/parse.y
762
h = calloc(1, sizeof(*h));
usr.sbin/lpd/parse.y
789
h = calloc(1, sizeof(*h));
usr.sbin/lpd/parse.y
815
h = calloc(1, sizeof(*h));
usr.sbin/lpd/parse.y
853
h = calloc(1, sizeof(*h));
usr.sbin/lpd/parse.y
899
h = calloc(1, sizeof(*h));
usr.sbin/lpd/parse.y
953
ifgr.ifgr_groups = calloc(len/sizeof(struct ifg_req),
usr.sbin/lpd/printer.c
137
if ((lp = calloc(1, sizeof(*lp))) == NULL)
usr.sbin/lpd/printer.c
167
if ((prn = calloc(1, sizeof(*prn))) == NULL)
usr.sbin/lpd/proc.c
216
p = calloc(1, sizeof(*p));
usr.sbin/lpd/resolver.c
110
req = calloc(1, sizeof(*req));
usr.sbin/lpd/resolver.c
158
if ((s = calloc(1, sizeof(*s))) &&
usr.sbin/lpd/resolver.c
186
if ((s = calloc(1, sizeof(*s))) &&
usr.sbin/lpd/resolver.c
236
ai = calloc(1, sizeof(*ai));
usr.sbin/lpd/resolver.c
79
req = calloc(1, sizeof(*req));
usr.sbin/lpr/common_source/common.c
248
queue = calloc(arraysz, sizeof(struct queue *));
usr.sbin/lpr/lpd/lpd.c
712
socks = calloc(maxs + 1, sizeof(int));
usr.sbin/lpr/lpd/printjob.c
1546
argv = calloc(256, sizeof(char *));
usr.sbin/mailwrapper/mailwrapper.c
61
if ((al->argv = calloc(al->maxc, sizeof(char *))) == NULL)
usr.sbin/makefs/xmalloc.c
22
if ((v = calloc(nmemb, size)) == NULL)
usr.sbin/memconfig/memconfig.c
139
mrd = calloc(*nmr, sizeof(struct mem_range_desc));
usr.sbin/mkuboot/copy_elf.c
72
shp = calloc(sz, 1);
usr.sbin/mkuboot/copy_elf.c
76
wshp = calloc(sz, 1);
usr.sbin/mrinfo/mrinfo.c
350
if (!(hp->h_addr_list = calloc(2, sizeof(char *))))
usr.sbin/mrouted/main.c
227
pfd = calloc(sizeof(struct pollfd), 1 + nhandlers);
usr.sbin/mtree/spec.c
138
if ((centry = calloc(1, sizeof(NODE) + len - 1)) == NULL)
usr.sbin/netgroup_mkdb/stringlist.c
54
sl->sl_str = calloc(sl->sl_max, sizeof(char *));
usr.sbin/npppd/common/bytebuf.c
95
if ((_this = calloc(1, sizeof(bytebuffer))) == NULL)
usr.sbin/npppd/common/bytebuf.c
99
if ((_this->data = calloc(1, capacity)) == NULL)
usr.sbin/npppd/common/hash.c
53
htbl->bucket = calloc(htbl->size, sizeof(hash_link *));
usr.sbin/npppd/l2tp/l2tp_ctrl.c
109
return calloc(1, sizeof(l2tp_ctrl));
usr.sbin/npppd/l2tp/l2tp_ctrl.c
166
if ((_this->snd_buffers = calloc(_this->snd_buffercnt,
usr.sbin/npppd/l2tp/l2tpd.c
165
if ((plistener = calloc(1, sizeof(l2tpd_listener))) == NULL) {
usr.sbin/npppd/npppd/accept.c
58
if ((av = calloc(1, sizeof(*av))) == NULL)
usr.sbin/npppd/npppd/control.c
178
if ((c = calloc(1, sizeof(struct ctl_conn))) == NULL) {
usr.sbin/npppd/npppd/npppd_auth.c
76
if ((base = calloc(1, sizeof(npppd_auth_local))) != NULL) {
usr.sbin/npppd/npppd/npppd_auth.c
87
if ((base = calloc(1, sizeof(npppd_auth_radius))) != NULL) {
usr.sbin/npppd/npppd/npppd_ctl.c
73
if ((ctl = calloc(1, sizeof(struct npppd_ctl))) == NULL)
usr.sbin/npppd/npppd/npppd_pool.c
146
if ((addrs = calloc(addrs_size + 1, sizeof(struct sockaddr_npppd)))
usr.sbin/npppd/npppd/npppd_radius.c
608
if ((listen = calloc(1, sizeof(*listen))) == NULL) {
usr.sbin/npppd/npppd/parse.y
1422
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/npppd/npppd/parse.y
535
if ((client = calloc(1, offsetof(struct radclientconf,
usr.sbin/npppd/npppd/parse.y
570
if ((listen = calloc(1, sizeof(*listen))) == NULL) {
usr.sbin/npppd/npppd/parse.y
961
if ((n = calloc(1, sizeof(struct iface))) == NULL) {
usr.sbin/npppd/npppd/ppp.c
107
if ((_this = calloc(1, sizeof(npppd_ppp))) == NULL) {
usr.sbin/npppd/npppd/radius_req.c
276
if ((lap = calloc(1, sizeof(struct overlapped))) == NULL) {
usr.sbin/npppd/npppd/radius_req.c
538
return calloc(1, sizeof(radius_req_setting));
usr.sbin/npppd/pptp/pptpd.c
168
if ((plistener = calloc(1, sizeof(pptpd_listener))) == NULL) {
usr.sbin/nsd/dnstap/dnstap.c
156
struct dt_tls_writer* dtw = (struct dt_tls_writer*)calloc(1,
usr.sbin/nsd/dnstap/dnstap.c
548
env = (struct dt_env *) calloc(1, sizeof(struct dt_env));
usr.sbin/nsd/ixfrcreate.c
192
struct ixfr_create* ixfrcr = (struct ixfr_create*)calloc(1,
usr.sbin/nsd/mini_event.c
126
base->fds = (struct event**)calloc((size_t)base->capfd,
usr.sbin/nsd/mini_event.c
132
base->signals = (struct event**)calloc(MAX_SIG, sizeof(struct event*));
usr.sbin/nsd/remote.c
630
n = (struct rc_state*)calloc(1, sizeof(*n));
usr.sbin/nsd/util.c
347
void *result = calloc(1, size);
usr.sbin/nsd/util.c
358
void *result = calloc(num, size);
usr.sbin/ntpd/config.c
116
if ((h = calloc(1, sizeof(*h))) == NULL)
usr.sbin/ntpd/config.c
154
if ((p = calloc(1, sizeof(struct ntp_peer))) == NULL)
usr.sbin/ntpd/config.c
166
if ((s = calloc(1, sizeof(struct ntp_conf_sensor))) == NULL)
usr.sbin/ntpd/config.c
179
if ((p = calloc(1, sizeof(struct constraint))) == NULL)
usr.sbin/ntpd/config.c
46
if ((h = calloc(1, sizeof(*h))) == NULL)
usr.sbin/ntpd/config.c
71
if ((h = calloc(1, sizeof(*h))) == NULL)
usr.sbin/ntpd/constraint.c
255
if ((h = calloc(1, sizeof(*h))) == NULL)
usr.sbin/ntpd/constraint.c
343
if ((h = calloc(1, sizeof(*h))) == NULL ||
usr.sbin/ntpd/constraint.c
344
(*data = calloc(1, mlen)) == NULL)
usr.sbin/ntpd/constraint.c
787
if ((h = calloc(1, sizeof(*h))) == NULL)
usr.sbin/ntpd/constraint.c
846
if ((values = calloc(cnt, sizeof(time_t))) == NULL)
usr.sbin/ntpd/constraint.c
919
if ((httpsdate = calloc(1, sizeof(*httpsdate))) == NULL)
usr.sbin/ntpd/control.c
146
if ((ctl_conn = calloc(1, sizeof(struct ctl_conn))) == NULL) {
usr.sbin/ntpd/ntp.c
612
if ((h = calloc(1, sizeof(struct ntp_addr))) ==
usr.sbin/ntpd/ntp.c
779
if ((offsets = calloc(offset_cnt, sizeof(struct ntp_offset *))) == NULL)
usr.sbin/ntpd/parse.y
123
la = calloc(1, sizeof(struct listen_addr));
usr.sbin/ntpd/parse.y
334
if (($$ = calloc(1, sizeof(struct ntp_addr_wrap))) ==
usr.sbin/ntpd/parse.y
375
if (($$ = calloc(1, sizeof(struct ntp_addr_wrap))) ==
usr.sbin/ntpd/parse.y
784
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/ntpd/sensors.c
130
if ((s = calloc(1, sizeof(*s))) == NULL)
usr.sbin/ntpd/sensors.c
245
if ((offsets = calloc(SENSOR_OFFSETS, sizeof(struct ntp_offset *))) ==
usr.sbin/ntpd/server.c
76
if ((la = calloc(1, sizeof(struct listen_addr))) ==
usr.sbin/ntpd/util.c
189
nargv = calloc(argc + 3, sizeof(char *));
usr.sbin/ntpd/util.c
248
nargv = calloc((*argc) + 1, sizeof(char *));
usr.sbin/ocspcheck/http.c
280
http = calloc(1, sizeof(struct http));
usr.sbin/ocspcheck/http.c
364
trans = calloc(1, sizeof(struct httpxfer));
usr.sbin/ocspcheck/http.c
529
h = calloc(hsz, sizeof(struct httphead));
usr.sbin/ocspcheck/http.c
714
if ((g = calloc(1, sizeof(struct httpget))) == NULL) {
usr.sbin/ocspcheck/ocspcheck.c
322
if ((request = calloc(1, sizeof(ocsp_request))) == NULL) {
usr.sbin/ocspcheck/ocspcheck.c
720
instaple = calloc(OCSP_MAX_RESPONSE_SIZE, 1);
usr.sbin/ospf6d/area.c
36
if ((area = calloc(1, sizeof(*area))) == NULL)
usr.sbin/ospf6d/carp.c
64
if ((c = calloc(1, sizeof(struct carpgroup))) == NULL) {
usr.sbin/ospf6d/control.c
173
if ((c = calloc(1, sizeof(struct ctl_conn))) == NULL) {
usr.sbin/ospf6d/database.c
345
if ((le = calloc(1, sizeof(*le))) == NULL)
usr.sbin/ospf6d/interface.c
207
if ((iface = calloc(1, sizeof(*iface))) == NULL)
usr.sbin/ospf6d/kroute.c
1509
if ((kr = calloc(1,
usr.sbin/ospf6d/kroute.c
248
if ((kn = calloc(1, sizeof(*kn))) == NULL)
usr.sbin/ospf6d/kroute.c
891
if ((kr = calloc(1, sizeof(struct kroute_node))) == NULL) {
usr.sbin/ospf6d/kroute.c
993
if ((ia = calloc(1, sizeof(struct iface_addr))) == NULL)
usr.sbin/ospf6d/lsack.c
187
if ((le = calloc(1, sizeof(*le))) == NULL)
usr.sbin/ospf6d/lsreq.c
122
if ((le = calloc(1, sizeof(*le))) == NULL)
usr.sbin/ospf6d/lsupdate.c
314
if ((le = calloc(1, sizeof(*le))) == NULL)
usr.sbin/ospf6d/lsupdate.c
559
lsacache.hashtbl = calloc(hs, sizeof(struct lsa_cache_head));
usr.sbin/ospf6d/lsupdate.c
583
if ((ref = calloc(1, sizeof(*ref))) == NULL)
usr.sbin/ospf6d/name2id.c
119
if ((label = calloc(1, sizeof(struct n2id_label))) == NULL)
usr.sbin/ospf6d/neighbor.c
247
nbrtable.hashtbl = calloc(hs, sizeof(struct nbr_head));
usr.sbin/ospf6d/neighbor.c
257
if ((nbr = calloc(1, sizeof(*nbr))) == NULL)
usr.sbin/ospf6d/neighbor.c
279
if ((nbr = calloc(1, sizeof(*nbr))) == NULL)
usr.sbin/ospf6d/neighbor.c
719
if ((lsa_hdr = calloc(1, sizeof(*lsa_hdr))) == NULL)
usr.sbin/ospf6d/ospfe.c
343
if ((ia = calloc(1, sizeof(struct iface_addr))) ==
usr.sbin/ospf6d/parse.y
1025
if ((conf = calloc(1, sizeof(struct ospfd_conf))) == NULL)
usr.sbin/ospf6d/parse.y
1108
if ((sym = calloc(1, sizeof(*sym))) == NULL)
usr.sbin/ospf6d/parse.y
285
if ((r = calloc(1, sizeof(*r))) == NULL)
usr.sbin/ospf6d/parse.y
318
if ((r = calloc(1, sizeof(*r))) == NULL)
usr.sbin/ospf6d/parse.y
968
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/ospf6d/rde.c
1042
if ((nbr = calloc(1, sizeof(*nbr))) == NULL)
usr.sbin/ospf6d/rde.c
1122
if ((le = calloc(1, sizeof(*le))) == NULL)
usr.sbin/ospf6d/rde.c
1367
if ((new = calloc(1, sizeof(*new))) == NULL)
usr.sbin/ospf6d/rde.c
1448
if ((lsa = calloc(1, len)) == NULL)
usr.sbin/ospf6d/rde.c
1494
if ((lsa = calloc(1, len)) == NULL)
usr.sbin/ospf6d/rde.c
1663
if ((lsa = calloc(1, len)) == NULL)
usr.sbin/ospf6d/rde.c
1723
if ((lsa = calloc(1, len)) == NULL)
usr.sbin/ospf6d/rde.c
749
if ((ia = calloc(1, sizeof(struct iface_addr))) ==
usr.sbin/ospf6d/rde.c
983
rdenbrtable.hashtbl = calloc(hs, sizeof(struct rde_nbr_head));
usr.sbin/ospf6d/rde.c
992
if ((nbrself = calloc(1, sizeof(*nbrself))) == NULL)
usr.sbin/ospf6d/rde_lsdb.c
124
if ((vn = calloc(1, sizeof(*vn))) == NULL)
usr.sbin/ospf6d/rde_lsdb.c
73
if ((v = calloc(1, sizeof(struct vertex))) == NULL)
usr.sbin/ospf6d/rde_spf.c
891
if ((rn = calloc(1, sizeof(struct rt_nexthop))) == NULL)
usr.sbin/ospf6d/rde_spf.c
996
if ((rte = calloc(1, sizeof(struct rt_node))) == NULL)
usr.sbin/ospfd/area.c
35
if ((area = calloc(1, sizeof(*area))) == NULL)
usr.sbin/ospfd/auth.c
223
if ((md = calloc(1, sizeof(struct auth_md))) == NULL)
usr.sbin/ospfd/auth.c
239
if ((md = calloc(1, sizeof(struct auth_md))) == NULL)
usr.sbin/ospfd/carp.c
64
if ((c = calloc(1, sizeof(struct carpgroup))) == NULL) {
usr.sbin/ospfd/control.c
173
if ((c = calloc(1, sizeof(struct ctl_conn))) == NULL) {
usr.sbin/ospfd/database.c
358
if ((le = calloc(1, sizeof(*le))) == NULL)
usr.sbin/ospfd/interface.c
164
if ((iface = calloc(1, sizeof(*iface))) == NULL)
usr.sbin/ospfd/interface.c
723
if ((ifg = calloc(1, sizeof(*ifg))) == NULL)
usr.sbin/ospfd/kroute.c
1107
if ((ka = calloc(1, sizeof(struct kif_addr))) == NULL)
usr.sbin/ospfd/kroute.c
1542
if ((kr = calloc(1,
usr.sbin/ospfd/kroute.c
266
if ((kn = calloc(1, sizeof(*kn))) == NULL)
usr.sbin/ospfd/kroute.c
876
if ((kif = calloc(1, sizeof(struct kif_node))) == NULL)
usr.sbin/ospfd/kroute.c
987
if ((kr = calloc(1, sizeof(struct kroute_node))) == NULL) {
usr.sbin/ospfd/lsack.c
191
if ((le = calloc(1, sizeof(*le))) == NULL)
usr.sbin/ospfd/lsreq.c
124
if ((le = calloc(1, sizeof(*le))) == NULL)
usr.sbin/ospfd/lsupdate.c
307
if ((le = calloc(1, sizeof(*le))) == NULL)
usr.sbin/ospfd/lsupdate.c
548
lsacache.hashtbl = calloc(hs, sizeof(struct lsa_cache_head));
usr.sbin/ospfd/lsupdate.c
572
if ((ref = calloc(1, sizeof(*ref))) == NULL)
usr.sbin/ospfd/name2id.c
119
if ((label = calloc(1, sizeof(struct n2id_label))) == NULL)
usr.sbin/ospfd/neighbor.c
246
nbrtable.hashtbl = calloc(hs, sizeof(struct nbr_head));
usr.sbin/ospfd/neighbor.c
256
if ((nbr = calloc(1, sizeof(*nbr))) == NULL)
usr.sbin/ospfd/neighbor.c
277
if ((nbr = calloc(1, sizeof(*nbr))) == NULL)
usr.sbin/ospfd/neighbor.c
719
if ((lsa_hdr = calloc(1, sizeof(*lsa_hdr))) == NULL)
usr.sbin/ospfd/parse.y
1159
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/ospfd/parse.y
1216
if ((conf = calloc(1, sizeof(struct ospfd_conf))) == NULL)
usr.sbin/ospfd/parse.y
1301
if ((sym = calloc(1, sizeof(*sym))) == NULL)
usr.sbin/ospfd/parse.y
303
if ((r = calloc(1, sizeof(*r))) == NULL)
usr.sbin/ospfd/parse.y
329
if ((r = calloc(1, sizeof(*r))) == NULL)
usr.sbin/ospfd/parse.y
361
if ((r = calloc(1, sizeof(*r))) == NULL)
usr.sbin/ospfd/rde.c
1085
if ((le = calloc(1, sizeof(*le))) == NULL)
usr.sbin/ospfd/rde.c
1210
if ((an = calloc(1, sizeof(*an))) == NULL)
usr.sbin/ospfd/rde.c
1332
if ((lsa = calloc(1, len)) == NULL)
usr.sbin/ospfd/rde.c
1454
if ((lsa = calloc(1, len)) == NULL)
usr.sbin/ospfd/rde.c
926
rdenbrtable.hashtbl = calloc(hs, sizeof(struct rde_nbr_head));
usr.sbin/ospfd/rde.c
935
if ((nbrself = calloc(1, sizeof(*nbrself))) == NULL)
usr.sbin/ospfd/rde.c
989
if ((nbr = calloc(1, sizeof(*nbr))) == NULL)
usr.sbin/ospfd/rde_lsdb.c
122
if ((vn = calloc(1, sizeof(*vn))) == NULL)
usr.sbin/ospfd/rde_lsdb.c
72
if ((v = calloc(1, sizeof(struct vertex))) == NULL)
usr.sbin/ospfd/rde_spf.c
772
if ((rn = calloc(1, sizeof(struct rt_nexthop))) == NULL)
usr.sbin/ospfd/rde_spf.c
871
if ((rte = calloc(1, sizeof(struct rt_node))) == NULL)
usr.sbin/pppd/main.c
1570
script_env = (char **) calloc(16, sizeof(char *));
usr.sbin/pstat/pstat.c
1147
if ((swdev = calloc(nswap, sizeof(*swdev))) == NULL)
usr.sbin/pstat/pstat.c
288
nl = calloc(argc + 1, sizeof *nl);
usr.sbin/pstat/pstat.c
866
if ((vbuf = calloc(numvnodes + 20,
usr.sbin/quot/quot.c
194
if (!(users = calloc(nusers, sizeof(struct user)))) {
usr.sbin/quot/quot.c
214
if (!(users = calloc(nusers, sizeof(struct user))))
usr.sbin/quot/quot.c
387
if (!(usrs = calloc(nusers, sizeof(struct user))))
usr.sbin/rad/control.c
152
if ((c = calloc(1, sizeof(struct ctl_conn))) == NULL) {
usr.sbin/rad/engine.c
613
engine_iface = calloc(1, sizeof(*engine_iface));
usr.sbin/rad/frontend.c
1150
if ((new_ra_prefix_conf = calloc(1, sizeof(*ra_prefix_conf))) == NULL)
usr.sbin/rad/frontend.c
1556
if ((icmp6ev = calloc(1, sizeof(*icmp6ev))) == NULL)
usr.sbin/rad/frontend.c
882
if ((ra_iface = calloc(1, sizeof(*ra_iface))) == NULL)
usr.sbin/rad/frontend.c
936
if ((ifgr.ifgr_groups = calloc(1, len)) == NULL)
usr.sbin/rad/parse.y
1017
if ((sym = calloc(1, sizeof(*sym))) == NULL)
usr.sbin/rad/parse.y
1084
prefix = calloc(1, sizeof(*prefix));
usr.sbin/rad/parse.y
1115
pref64 = calloc(1, sizeof(*pref64));
usr.sbin/rad/parse.y
1137
iface = calloc(1, sizeof(*iface));
usr.sbin/rad/parse.y
435
if ((ra_rdnss_conf = calloc(1, sizeof(*ra_rdnss_conf)))
usr.sbin/rad/parse.y
458
if ((ra_dnssl_conf = calloc(1,
usr.sbin/rad/parse.y
849
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/rad/parse.y
963
if ((nra_rdnss = calloc(1, sizeof(*nra_rdnss))) == NULL)
usr.sbin/rad/parse.y
973
if ((nra_dnssl = calloc(1, sizeof(*nra_dnssl))) == NULL)
usr.sbin/rad/parse.y
990
if ((npref64 = calloc(1, sizeof(*npref64))) == NULL)
usr.sbin/rad/rad.c
753
xconf = calloc(1, sizeof(*xconf));
usr.sbin/radiusd/control.c
162
if ((c = calloc(1, sizeof(struct ctl_conn))) == NULL) {
usr.sbin/radiusd/parse.y
1007
if ((modref = calloc(1, sizeof(struct radiusd_module_ref))) == NULL) {
usr.sbin/radiusd/parse.y
141
if ((n = calloc(1, sizeof(struct radiusd_listen)))
usr.sbin/radiusd/parse.y
200
client0 = calloc(1, sizeof(struct radiusd_client));
usr.sbin/radiusd/parse.y
431
if ((a = calloc(1,
usr.sbin/radiusd/parse.y
490
if ((acct = calloc(1,
usr.sbin/radiusd/parse.y
533
if ((v = calloc(sizeof(char **), $$.c + 2)) == NULL)
usr.sbin/radiusd/parse.y
544
if (($$.v = calloc(sizeof(char **), 2)) == NULL)
usr.sbin/radiusd/parse.y
857
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/radiusd/parse.y
915
if ((l = calloc(1, sizeof(struct radiusd_listen))) == NULL) {
usr.sbin/radiusd/parse.y
945
if ((auth = calloc(1, sizeof(struct radiusd_authentication)))
usr.sbin/radiusd/radiusd.c
1158
module = calloc(1, sizeof(struct radiusd_module));
usr.sbin/radiusd/radiusd.c
153
if ((radiusd = calloc(1, sizeof(*radiusd))) == NULL)
usr.sbin/radiusd/radiusd.c
528
if ((q = calloc(1, sizeof(struct radius_query))) == NULL) {
usr.sbin/radiusd/radiusd.c
858
if ((q_next = calloc(1, sizeof(struct radius_query))) == NULL) {
usr.sbin/radiusd/radiusd_bsdauth.c
297
if ((groups = calloc(sizeof(char *), argc + 1)) == NULL) {
usr.sbin/radiusd/radiusd_eap2mschap.c
256
if ((req = calloc(1, sizeof(struct access_req))) == NULL) {
usr.sbin/radiusd/radiusd_file.c
217
if ((ent = calloc(1, entsz)) == NULL) {
usr.sbin/radiusd/radiusd_file.c
516
if ((pass = calloc(1, lpass * 2)) == NULL) {
usr.sbin/radiusd/radiusd_ipcp.c
1316
ip = calloc(1, sizeof(struct assigned_ipv4));
usr.sbin/radiusd/radiusd_ipcp.c
1413
if ((elm = calloc(1, offsetof(struct user, name[
usr.sbin/radiusd/radiusd_ipcp.c
1928
if ((ret = calloc(1, sizeof(struct ipcp_address))) == NULL)
usr.sbin/radiusd/radiusd_ipcp.c
543
if ((dae0 = calloc(1, sizeof(struct module_ipcp_dae))) == NULL)
usr.sbin/radiusd/radiusd_ipcp.c
597
if ((ctrl = calloc(1, sizeof(struct module_ipcp_ctrlconn)))
usr.sbin/radiusd/radiusd_ipcp.c
611
if ((dump = calloc(1, dumpsiz)) == NULL) {
usr.sbin/radiusd/radiusd_ipcp.c
680
if ((client = calloc(1, sizeof(struct
usr.sbin/radiusd/radiusd_ipcp.c
712
if ((dump = calloc(1, dumpsiz)) == NULL) {
usr.sbin/radiusd/radiusd_module.c
402
if ((argv = calloc(sizeof(const char *), arg->nparamval))
usr.sbin/radiusd/radiusd_module.c
95
if ((base = calloc(1, sizeof(struct module_base))) == NULL)
usr.sbin/radiusd/radiusd_radius.c
294
req = calloc(1, sizeof(struct module_radius_req));
usr.sbin/radiusd/radiusd_standard.c
171
if ((attr = calloc(1, sizeof(struct attr))) == NULL) {
usr.sbin/relayd/ca.c
260
if ((to = calloc(1, cko.cko_tlen)) == NULL)
usr.sbin/relayd/carp.c
68
if ((c = calloc(1, sizeof(struct carpgroup))) == NULL) {
usr.sbin/relayd/config.c
1035
if ((rlay = calloc(1, sizeof(*rlay))) == NULL)
usr.sbin/relayd/config.c
1110
if ((rlt = calloc(1, sizeof(*rlt))) == NULL)
usr.sbin/relayd/config.c
124
calloc(1, sizeof(*env->sc_rts))) == NULL)
usr.sbin/relayd/config.c
130
calloc(1, sizeof(*env->sc_routes))) == NULL)
usr.sbin/relayd/config.c
349
if ((tb = calloc(1, sizeof(*tb))) == NULL)
usr.sbin/relayd/config.c
389
if ((host = calloc(1, sizeof(*host))) == NULL)
usr.sbin/relayd/config.c
457
if ((rdr = calloc(1, sizeof(*rdr))) == NULL)
usr.sbin/relayd/config.c
493
if ((virt = calloc(1, sizeof(*virt))) == NULL)
usr.sbin/relayd/config.c
544
if ((rt = calloc(1, sizeof(*rt))) == NULL)
usr.sbin/relayd/config.c
574
if ((nr = calloc(1, sizeof(*nr))) == NULL)
usr.sbin/relayd/config.c
62
calloc(1, sizeof(*env->sc_tables))) == NULL)
usr.sbin/relayd/config.c
698
if ((proto = calloc(1, sizeof(*proto))) == NULL)
usr.sbin/relayd/config.c
738
if ((rule = calloc(1, sizeof(*rule))) == NULL)
usr.sbin/relayd/config.c
75
calloc(1, sizeof(*env->sc_rdrs))) == NULL)
usr.sbin/relayd/config.c
82
calloc(1, sizeof(*env->sc_relays))) == NULL)
usr.sbin/relayd/config.c
87
calloc(1, sizeof(*env->sc_certs))) == NULL)
usr.sbin/relayd/config.c
92
calloc(1, sizeof(*env->sc_pkeys))) == NULL)
usr.sbin/relayd/config.c
98
calloc(1, sizeof(*env->sc_protos))) == NULL)
usr.sbin/relayd/control.c
162
if ((c = calloc(1, sizeof(struct ctl_conn))) == NULL) {
usr.sbin/relayd/name2id.c
128
if ((label = calloc(1, sizeof(struct n2id_label))) == NULL)
usr.sbin/relayd/parse.y
1065
if ((p = calloc(1, sizeof (*p))) == NULL)
usr.sbin/relayd/parse.y
1352
if ((name = calloc(1, sizeof(*name))) == NULL) {
usr.sbin/relayd/parse.y
1401
if ((rule = calloc(1, sizeof(*rule))) == NULL)
usr.sbin/relayd/parse.y
1817
if ((r = calloc(1, sizeof (*r))) == NULL)
usr.sbin/relayd/parse.y
1927
if ((r = calloc(1, sizeof (*r))) == NULL)
usr.sbin/relayd/parse.y
2047
if ((rlt = calloc(1, sizeof(*rlt))) == NULL) {
usr.sbin/relayd/parse.y
2099
if ((rt = calloc(1, sizeof (*rt))) == NULL)
usr.sbin/relayd/parse.y
2152
if ((nr = calloc(1, sizeof(*nr))) == NULL)
usr.sbin/relayd/parse.y
2239
if ((hst = calloc(1, sizeof(*(hst)))) == NULL)
usr.sbin/relayd/parse.y
2833
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/relayd/parse.y
3076
if ((sym = calloc(1, sizeof(*sym))) == NULL)
usr.sbin/relayd/parse.y
3140
if ((h = calloc(1, sizeof(*h))) == NULL)
usr.sbin/relayd/parse.y
3178
if ((h = calloc(1, sizeof(*h))) == NULL)
usr.sbin/relayd/parse.y
3231
if ((h = calloc(1, sizeof(*h))) == NULL)
usr.sbin/relayd/parse.y
3371
calloc(1, sizeof (*h))) == NULL)
usr.sbin/relayd/parse.y
3463
if ((rtb = calloc(1, sizeof(*rtb))) == NULL) {
usr.sbin/relayd/parse.y
3533
ifgr.ifgr_groups = calloc(len / sizeof(struct ifg_req),
usr.sbin/relayd/parse.y
488
if ((srv = calloc(1, sizeof (*srv))) == NULL)
usr.sbin/relayd/parse.y
694
if ((tb = calloc(1, sizeof (*tb))) == NULL)
usr.sbin/relayd/parse.y
744
if ((tb = calloc(1, sizeof (*tb))) == NULL)
usr.sbin/relayd/parse.y
821
if ((hashkey = calloc(1,
usr.sbin/relayd/pfe.c
316
if ((s = calloc(1, sizeof(*s))) == NULL)
usr.sbin/relayd/pfe.c
69
if ((env->sc_pf = calloc(1, sizeof(*(env->sc_pf)))) == NULL)
usr.sbin/relayd/pfe_filter.c
156
if ((addlist = calloc(table->up, sizeof(*addlist))) == NULL)
usr.sbin/relayd/pfe_filter.c
59
if ((tables = calloc(env->sc_rdrcount, sizeof(*tables))) == NULL)
usr.sbin/relayd/proc.c
299
if ((ps->ps_ievs[id] = calloc(ps->ps_instances[id],
usr.sbin/relayd/proc.c
327
if ((ps->ps_pipes[src] = calloc(ps->ps_instances[src],
usr.sbin/relayd/proc.c
337
calloc(ps->ps_instances[dst],
usr.sbin/relayd/proc.c
81
nargv = calloc(argc + 5, sizeof(char *));
usr.sbin/relayd/relay.c
1142
if ((con = calloc(1, sizeof(*con))) == NULL)
usr.sbin/relayd/relay.c
1221
if ((cnl = calloc(1, sizeof(*cnl))) == NULL) {
usr.sbin/relayd/relay_http.c
124
if ((hs = calloc(1, sizeof(*hs))) == NULL)
usr.sbin/relayd/relay_http.c
138
if ((desc = calloc(1, sizeof(*desc))) == NULL)
usr.sbin/relayd/relay_http.c
2090
if ((hmn = calloc(1, sizeof *hmn)) == NULL)
usr.sbin/relayd/relay_udp.c
240
if ((con = calloc(1, sizeof(*con))) == NULL) {
usr.sbin/relayd/relay_udp.c
297
if ((cnl = calloc(1, sizeof(*cnl))) == NULL) {
usr.sbin/relayd/relayd.c
1255
if ((ca_pkey = calloc(1, sizeof(*ca_pkey))) == NULL)
usr.sbin/relayd/relayd.c
1276
if ((cert = calloc(1, sizeof(*cert))) == NULL)
usr.sbin/relayd/relayd.c
1319
if ((buf = calloc(1, size + 1)) == NULL)
usr.sbin/relayd/relayd.c
1477
if ((tmp = calloc(1, len)) == NULL) {
usr.sbin/relayd/relayd.c
179
if ((env = calloc(1, sizeof(*env))) == NULL ||
usr.sbin/relayd/relayd.c
180
(ps = calloc(1, sizeof(*ps))) == NULL)
usr.sbin/relayd/relayd.c
637
if ((kv = calloc(1, sizeof(*kv))) == NULL)
usr.sbin/relayd/relayd.c
988
if ((r = calloc(1, sizeof(*r))) == NULL)
usr.sbin/relayd/ssl.c
78
if ((buf = calloc(1, size)) == NULL)
usr.sbin/repquota/repquota.c
321
if ((fup = calloc(1, sizeof(*fup) + len)) == NULL) {
usr.sbin/ripd/auth.c
286
if ((md = calloc(1, sizeof(struct auth_md))) == NULL)
usr.sbin/ripd/auth.c
305
if ((md = calloc(1, sizeof(struct auth_md))) == NULL)
usr.sbin/ripd/carp.c
64
if ((c = calloc(1, sizeof(struct carpgroup))) == NULL) {
usr.sbin/ripd/control.c
140
if ((c = calloc(1, sizeof(struct ctl_conn))) == NULL) {
usr.sbin/ripd/interface.c
392
if ((iface = calloc(1, sizeof(*iface))) == NULL)
usr.sbin/ripd/interface.c
403
if ((ifr = calloc(1, sizeof(*ifr))) == NULL)
usr.sbin/ripd/kroute.c
1161
if ((kr = calloc(1,
usr.sbin/ripd/kroute.c
175
if ((kr = calloc(1, sizeof(struct kroute_node))) == NULL)
usr.sbin/ripd/kroute.c
585
if ((kr = calloc(1, sizeof(struct kroute_node))) == NULL) {
usr.sbin/ripd/kroute.c
702
if ((kif = calloc(1, sizeof(struct kif_node))) == NULL) {
usr.sbin/ripd/kroute.c
861
if ((kr = calloc(1, sizeof(struct kroute_node))) == NULL) {
usr.sbin/ripd/kroute.c
987
if ((kif = calloc(1, sizeof(struct kif_node))) == NULL) {
usr.sbin/ripd/message.c
71
if ((re = calloc(1, sizeof(*re))) == NULL)
usr.sbin/ripd/name2id.c
107
if ((label = calloc(1, sizeof(struct n2id_label))) == NULL)
usr.sbin/ripd/neighbor.c
160
nbrtable.hashtbl = calloc(hs, sizeof(struct nbr_head));
usr.sbin/ripd/neighbor.c
176
if ((nbr = calloc(1, sizeof(*nbr))) == NULL)
usr.sbin/ripd/neighbor.c
278
if ((nbr_failed = calloc(1, sizeof(*nbr_failed))) == NULL)
usr.sbin/ripd/parse.y
216
if ((r = calloc(1, sizeof(*r))) == NULL)
usr.sbin/ripd/parse.y
245
if ((r = calloc(1, sizeof(*r))) == NULL)
usr.sbin/ripd/parse.y
726
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/ripd/parse.y
773
if ((conf = calloc(1, sizeof(struct ripd_conf))) == NULL)
usr.sbin/ripd/parse.y
840
if ((sym = calloc(1, sizeof(*sym))) == NULL)
usr.sbin/ripd/rde_rib.c
151
if ((rn = calloc(1, sizeof(*rn))) == NULL)
usr.sbin/ripd/rde_rib.c
172
if ((rn = calloc(1, sizeof(*rn))) == NULL)
usr.sbin/route6d/log.c
47
logqueue = calloc(LOGQUEUE_SIZE, 1);
usr.sbin/route6d/route6d.c
1252
if ((rrt = calloc(1, sizeof(struct riprt))) == NULL) {
usr.sbin/route6d/route6d.c
1381
if ((ifcp = calloc(1, sizeof(struct ifc))) == NULL) {
usr.sbin/route6d/route6d.c
1453
if ((ifa = calloc(1, sizeof(struct ifac))) == NULL) {
usr.sbin/route6d/route6d.c
1972
if ((rrt = calloc(1, sizeof(struct riprt))) == NULL)
usr.sbin/route6d/route6d.c
2125
if ((rrt = calloc(1, sizeof(struct riprt))) == NULL) {
usr.sbin/route6d/route6d.c
2459
if ((rrt = calloc(1, sizeof(struct riprt))) == NULL) {
usr.sbin/route6d/route6d.c
2937
rrt = calloc(1, sizeof(struct riprt));
usr.sbin/route6d/route6d.c
312
if ((ripbuf = calloc(RIP6_MAXMTU, 1)) == NULL)
usr.sbin/route6d/route6d.c
3206
index2ifc = calloc(nindex2ifc, sizeof(*index2ifc));
usr.sbin/rpc.lockd/lockd_lock.c
418
return calloc(1, sizeof(struct file_lock));
usr.sbin/rpki-client/aspa.c
177
if ((aspa = calloc(1, sizeof(*aspa))) == NULL)
usr.sbin/rpki-client/aspa.c
251
if ((p = calloc(1, sizeof(struct aspa))) == NULL)
usr.sbin/rpki-client/aspa.c
262
if ((p->providers = calloc(p->num_providers,
usr.sbin/rpki-client/aspa.c
298
if ((v = calloc(1, sizeof(*v))) == NULL)
usr.sbin/rpki-client/aspa.c
72
aspa->providers = calloc(providersz, sizeof(aspa->providers[0]));
usr.sbin/rpki-client/ccr.c
1052
if ((sub = calloc(1, sizeof(*sub))) == NULL)
usr.sbin/rpki-client/ccr.c
1122
if ((vrp = calloc(1, sizeof(*vrp))) == NULL)
usr.sbin/rpki-client/ccr.c
1288
if ((vap = calloc(1, sizeof(*vap))) == NULL)
usr.sbin/rpki-client/ccr.c
1294
if ((vap->providers = calloc(p_num, sizeof(vap->providers[0]))) == NULL)
usr.sbin/rpki-client/ccr.c
1402
if ((cts = calloc(1, sizeof(*cts))) == NULL)
usr.sbin/rpki-client/ccr.c
1470
if ((brk = calloc(1, sizeof(*brk))) == NULL)
usr.sbin/rpki-client/ccr.c
1617
if ((ccr = calloc(1, sizeof(*ccr))) == NULL)
usr.sbin/rpki-client/ccr.c
703
if ((cts = calloc(1, sizeof(*cts))) == NULL)
usr.sbin/rpki-client/ccr.c
726
if ((sub = calloc(1, sizeof(*sub))) == NULL)
usr.sbin/rpki-client/ccr.c
748
if ((ccr_mft = calloc(1, sizeof(*ccr_mft))) == NULL)
usr.sbin/rpki-client/ccr.c
788
if ((vrp = calloc(1, sizeof(*vrp))) == NULL)
usr.sbin/rpki-client/cert.c
1423
as = calloc(num, sizeof(struct cert_as));
usr.sbin/rpki-client/cert.c
1805
if ((cert = calloc(1, sizeof(*cert))) == NULL)
usr.sbin/rpki-client/cert.c
2194
if ((cert = calloc(1, sizeof(struct cert))) == NULL)
usr.sbin/rpki-client/cert.c
2206
cert->ips = calloc(cert->num_ips, sizeof(cert->ips[0]));
usr.sbin/rpki-client/cert.c
2214
cert->ases = calloc(cert->num_ases, sizeof(cert->ases[0]));
usr.sbin/rpki-client/cert.c
2310
na = calloc(1, sizeof(*na));
usr.sbin/rpki-client/cert.c
2357
if ((b = calloc(1, sizeof(*b))) == NULL)
usr.sbin/rpki-client/cert.c
2437
if ((nca = calloc(1, sizeof(*nca))) == NULL)
usr.sbin/rpki-client/crl.c
215
if ((crl = calloc(1, sizeof(*crl))) == NULL)
usr.sbin/rpki-client/encoding.c
236
if ((out = calloc(2, insz + 1)) == NULL)
usr.sbin/rpki-client/filemode.c
72
if ((up = calloc(1, sizeof(*up))) == NULL)
usr.sbin/rpki-client/filemode.c
838
entp = calloc(1, sizeof(struct entity));
usr.sbin/rpki-client/http.c
583
if ((req = calloc(1, sizeof(*req))) == NULL)
usr.sbin/rpki-client/http.c
702
if ((zctx = calloc(1, sizeof(*zctx))) == NULL)
usr.sbin/rpki-client/http.c
841
if ((conn = calloc(1, sizeof(*conn))) == NULL)
usr.sbin/rpki-client/io.c
148
if ((*res = calloc(sz + 1, 1)) == NULL)
usr.sbin/rpki-client/io.c
168
if ((*res = calloc(sz + 1, 1)) == NULL)
usr.sbin/rpki-client/main.c
251
if ((p = calloc(1, sizeof(struct entity))) == NULL)
usr.sbin/rpki-client/main.c
433
if ((data = calloc(1, sizeof(mft->mfthash))) == NULL)
usr.sbin/rpki-client/mft.c
344
mft->files = calloc(sk_FileAndHash_num(mft_asn1->fileList),
usr.sbin/rpki-client/mft.c
393
if ((mft = calloc(1, sizeof(*mft))) == NULL)
usr.sbin/rpki-client/mft.c
514
if ((p = calloc(1, sizeof(struct mft))) == NULL)
usr.sbin/rpki-client/mft.c
533
if ((p->files = calloc(p->filesz, sizeof(struct mftfile))) == NULL)
usr.sbin/rpki-client/ometric.c
120
if ((om = calloc(1, sizeof(*om))) == NULL)
usr.sbin/rpki-client/ometric.c
146
if ((om = calloc(1, sizeof(*om))) == NULL)
usr.sbin/rpki-client/parser.c
1206
if ((workers = calloc(nthreads, sizeof(*workers))) == NULL)
usr.sbin/rpki-client/parser.c
1242
entp = calloc(1, sizeof(struct entity));
usr.sbin/rpki-client/parser.c
94
if ((rp = calloc(1, sizeof(*rp))) == NULL)
usr.sbin/rpki-client/repo.c
146
if ((fp = calloc(1, sizeof(*fp))) == NULL)
usr.sbin/rpki-client/repo.c
425
if ((tr = calloc(1, sizeof(*tr))) == NULL)
usr.sbin/rpki-client/repo.c
494
if ((rr = calloc(1, sizeof(*rr))) == NULL)
usr.sbin/rpki-client/repo.c
651
if ((rp = calloc(1, sizeof(*rp))) == NULL)
usr.sbin/rpki-client/repo.c
684
if ((state = calloc(1, sizeof(*state))) == NULL)
usr.sbin/rpki-client/repo.c
879
if ((s = calloc(1, sizeof(*s))) == NULL)
usr.sbin/rpki-client/repo.c
904
if ((rr = calloc(1, sizeof(*rr))) == NULL)
usr.sbin/rpki-client/roa.c
229
if ((roa = calloc(1, sizeof(struct roa))) == NULL)
usr.sbin/rpki-client/roa.c
311
if ((p = calloc(1, sizeof(struct roa))) == NULL)
usr.sbin/rpki-client/roa.c
321
if ((p->ips = calloc(p->num_ips, sizeof(p->ips[0]))) == NULL)
usr.sbin/rpki-client/rrdp.c
187
if ((s = calloc(1, sizeof(*s))) == NULL)
usr.sbin/rpki-client/rrdp.c
195
if ((s->current = calloc(1, sizeof(*s->current))) == NULL)
usr.sbin/rpki-client/rrdp.c
426
if ((state = calloc(1, sizeof(*state))) == NULL)
usr.sbin/rpki-client/rrdp_delta.c
245
if ((dxml = calloc(1, sizeof(*dxml))) == NULL)
usr.sbin/rpki-client/rrdp_notification.c
381
if ((nxml = calloc(1, sizeof(*nxml))) == NULL)
usr.sbin/rpki-client/rrdp_notification.c
76
if ((d = calloc(1, sizeof(struct delta_item))) == NULL)
usr.sbin/rpki-client/rrdp_snapshot.c
223
if ((sxml = calloc(1, sizeof(*sxml))) == NULL)
usr.sbin/rpki-client/rrdp_util.c
39
if ((pxml = calloc(1, sizeof(*pxml))) == NULL)
usr.sbin/rpki-client/rsc.c
107
if ((rsc->ases = calloc(num_ases, sizeof(struct cert_as))) == NULL)
usr.sbin/rpki-client/rsc.c
245
rsc->files = calloc(num_files, sizeof(struct rscfile));
usr.sbin/rpki-client/rsc.c
364
if ((rsc = calloc(1, sizeof(struct rsc))) == NULL)
usr.sbin/rpki-client/rsync.c
190
if ((s = calloc(1, sizeof(*s))) == NULL)
usr.sbin/rpki-client/spl.c
234
if ((spl = calloc(1, sizeof(*spl))) == NULL)
usr.sbin/rpki-client/spl.c
313
if ((s = calloc(1, sizeof(struct spl))) == NULL)
usr.sbin/rpki-client/spl.c
323
if ((s->prefixes = calloc(s->num_prefixes,
usr.sbin/rpki-client/spl.c
366
if ((vsp = calloc(1, sizeof(*vsp))) == NULL)
usr.sbin/rpki-client/tak.c
101
if ((res->uris = calloc(res->num_uris, sizeof(char *))) == NULL)
usr.sbin/rpki-client/tak.c
208
if ((tak = calloc(1, sizeof(struct tak))) == NULL)
usr.sbin/rpki-client/tak.c
76
if ((res = calloc(1, sizeof(struct takey))) == NULL)
usr.sbin/rpki-client/tak.c
81
res->comments = calloc(res->num_comments, sizeof(char *));
usr.sbin/rpki-client/tak.c
89
res->comments[i] = calloc(length + 1, 4);
usr.sbin/rpki-client/tal.c
241
if ((p = calloc(1, sizeof(struct tal))) == NULL)
usr.sbin/rpki-client/tal.c
251
if ((p->uri = calloc(p->num_uris, sizeof(char *))) == NULL)
usr.sbin/rpki-client/tal.c
52
if ((tal = calloc(1, sizeof(struct tal))) == NULL)
usr.sbin/sasyncd/conf.y
186
peer = calloc(1, sizeof *peer);
usr.sbin/sasyncd/conf.y
314
if ((yylval.hex.data = calloc(len, sizeof(unsigned char)))
usr.sbin/sasyncd/net.c
165
listeners = calloc(2, sizeof(int));
usr.sbin/sasyncd/net.c
211
listeners = calloc(count + 1, sizeof(int));
usr.sbin/sasyncd/net.c
305
qm = calloc(1, sizeof *qm);
usr.sbin/sasyncd/net.c
333
m = calloc(1, sizeof *m);
usr.sbin/sasyncd/net.c
808
p->sa = calloc(1, sizeof(struct sockaddr_storage));
usr.sbin/sasyncd/net.c
89
if (!(buf = calloc(1, blen)))
usr.sbin/sasyncd/pfkey.c
114
struct sadb_msg *m = calloc(1, sizeof *m);
usr.sbin/sasyncd/pfkey.c
489
sendbuf = calloc(m->sadb_msg_len, CHUNK);
usr.sbin/sasyncd/pfkey.c
518
sendbuf = calloc(m->sadb_msg_len, CHUNK);
usr.sbin/sasyncd/timer.c
117
new = calloc(1, sizeof *new);
usr.sbin/sensorsd/sensorsd.c
225
if ((sdlim = calloc(1, sizeof(struct sdlim_t))) == NULL)
usr.sbin/sensorsd/sensorsd.c
245
if ((limit = calloc(1, sizeof(struct limits_t))) ==
usr.sbin/slowcgi/slowcgi.c
1027
if ((resp = calloc(1, sizeof(struct fcgi_response))) == NULL) {
usr.sbin/slowcgi/slowcgi.c
375
l = calloc(1, sizeof(*l));
usr.sbin/slowcgi/slowcgi.c
491
c = calloc(1, sizeof(*c));
usr.sbin/slowcgi/slowcgi.c
765
if ((env_entry->val = calloc(sizeof(char), name_len + val_len +
usr.sbin/slowcgi/slowcgi.c
808
if ((node = calloc(1, sizeof(struct fcgi_stdin))) == NULL) {
usr.sbin/slowcgi/slowcgi.c
949
if ((env = calloc(c->env_count + 1, sizeof(char*))) == NULL)
usr.sbin/slowcgi/slowcgi.c
995
if ((resp = calloc(1, sizeof(struct fcgi_response))) == NULL) {
usr.sbin/smtpd/ca.c
230
if ((to = calloc(1, tlen)) == NULL)
usr.sbin/smtpd/ca.c
268
if ((to = calloc(1, buf_len)) == NULL)
usr.sbin/smtpd/compress_gzip.c
48
if ((strm = calloc(1, sizeof *strm)) == NULL)
usr.sbin/smtpd/compress_gzip.c
80
if ((strm = calloc(1, sizeof *strm)) == NULL)
usr.sbin/smtpd/config.c
43
if ((conf = calloc(1, sizeof(*conf))) == NULL)
usr.sbin/smtpd/config.c
71
conf->sc_tables_dict = calloc(1, sizeof(*conf->sc_tables_dict));
usr.sbin/smtpd/config.c
72
conf->sc_rules = calloc(1, sizeof(*conf->sc_rules));
usr.sbin/smtpd/config.c
73
conf->sc_dispatchers = calloc(1, sizeof(*conf->sc_dispatchers));
usr.sbin/smtpd/config.c
74
conf->sc_listeners = calloc(1, sizeof(*conf->sc_listeners));
usr.sbin/smtpd/config.c
75
conf->sc_ca_dict = calloc(1, sizeof(*conf->sc_ca_dict));
usr.sbin/smtpd/config.c
76
conf->sc_pki_dict = calloc(1, sizeof(*conf->sc_pki_dict));
usr.sbin/smtpd/config.c
77
conf->sc_ssl_dict = calloc(1, sizeof(*conf->sc_ssl_dict));
usr.sbin/smtpd/config.c
78
conf->sc_limits_dict = calloc(1, sizeof(*conf->sc_limits_dict));
usr.sbin/smtpd/config.c
79
conf->sc_mda_wrappers = calloc(1, sizeof(*conf->sc_mda_wrappers));
usr.sbin/smtpd/config.c
80
conf->sc_filter_processes_dict = calloc(1, sizeof(*conf->sc_filter_processes_dict));
usr.sbin/smtpd/config.c
81
conf->sc_dispatcher_bounce = calloc(1, sizeof(*conf->sc_dispatcher_bounce));
usr.sbin/smtpd/config.c
82
conf->sc_filters_dict = calloc(1, sizeof(*conf->sc_filters_dict));
usr.sbin/smtpd/config.c
83
limits = calloc(1, sizeof(*limits));
usr.sbin/smtpd/iobuf.c
53
if ((io->buf = calloc(size, 1)) == NULL)
usr.sbin/smtpd/ioev.c
245
if ((io = calloc(1, sizeof(*io))) == NULL)
usr.sbin/smtpd/mta.c
2637
if ((hs = calloc(1, sizeof *hs)) == NULL)
usr.sbin/smtpd/parse.y
3088
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/smtpd/parse.y
3217
if ((sym = calloc(1, sizeof(*sym))) == NULL)
usr.sbin/smtpd/parse.y
3352
h->pki = calloc(h->pkicount, sizeof(*h->pki));
usr.sbin/smtpd/parser.c
75
root = calloc(1, sizeof (*root));
usr.sbin/smtpd/parser.c
88
tmp = calloc(1, sizeof (*tmp));
usr.sbin/smtpd/proxy.c
125
if ((s = calloc(1, sizeof(*s))) == NULL)
usr.sbin/smtpd/queue_ram.c
201
evp = calloc(1, sizeof *evp);
usr.sbin/smtpd/queue_ram.c
58
msg = calloc(1, sizeof(*msg));
usr.sbin/smtpd/resolver.c
102
req = calloc(1, sizeof(*req));
usr.sbin/smtpd/resolver.c
129
req = calloc(1, sizeof(*req));
usr.sbin/smtpd/resolver.c
180
if ((s = calloc(1, sizeof(*s))) &&
usr.sbin/smtpd/resolver.c
208
if ((s = calloc(1, sizeof(*s))) &&
usr.sbin/smtpd/resolver.c
244
if ((s = calloc(1, sizeof(*s))) &&
usr.sbin/smtpd/resolver.c
278
ai = calloc(1, sizeof(*ai) + sa->sa_len);
usr.sbin/smtpd/resolver.c
71
req = calloc(1, sizeof(*req));
usr.sbin/smtpd/rfc5322.c
52
parser = calloc(1, sizeof(*parser));
usr.sbin/smtpd/smtp_client.c
140
proto = calloc(1, sizeof *proto);
usr.sbin/smtpd/smtp_session.c
2288
tx = calloc(1, sizeof(*tx));
usr.sbin/smtpd/smtp_session.c
588
if ((s = calloc(1, sizeof(*s))) == NULL)
usr.sbin/smtpd/smtpc.c
212
mail.rcpt = calloc(argc, sizeof(*mail.rcpt));
usr.sbin/smtpd/smtpd.c
1203
if ((child = calloc(1, sizeof(*child))) == NULL)
usr.sbin/smtpd/smtpd.c
827
p = calloc(1, sizeof(*p));
usr.sbin/smtpd/smtpd.c
911
p_parent = calloc(1, sizeof(*p_parent));
usr.sbin/smtpd/smtpd.c
989
p = calloc(1, sizeof(*p));
usr.sbin/smtpd/ssl.c
59
if ((buf = calloc(1, size + 1)) == NULL)
usr.sbin/smtpd/table.c
557
lk->expand = calloc(1, sizeof(*lk->expand));
usr.sbin/smtpd/table.c
629
lk->maddrmap = calloc(1, sizeof(*lk->maddrmap));
usr.sbin/smtpd/table_static.c
165
priv = calloc(1, sizeof(*priv));
usr.sbin/smtpd/util.c
62
if ((r = calloc(nmemb, size)) == NULL)
usr.sbin/snmpd/application.c
1815
if ((ureq = calloc(1, sizeof(*ureq))) == NULL)
usr.sbin/snmpd/application.c
1825
if ((ureq->aru_vblist = calloc(1, sizeof(*ureq->aru_vblist))) == NULL)
usr.sbin/snmpd/application.c
942
if ((ureq->aru_vblist = calloc(ureq->aru_varbindlen,
usr.sbin/snmpd/application_agentx.c
731
if ((srl = calloc(nsr, sizeof(*srl))) == NULL) {
usr.sbin/snmpd/application_agentx.c
782
if ((srl = calloc(nsr, sizeof(*srl))) == NULL) {
usr.sbin/snmpd/application_agentx.c
880
if ((response = calloc(nvarbind, sizeof(*response))) == NULL) {
usr.sbin/snmpd/application_internal.c
259
if ((obj = calloc(1, sizeof(*obj))) == NULL)
usr.sbin/snmpd/application_internal.c
278
if ((obj = calloc(1, sizeof(*obj))) == NULL)
usr.sbin/snmpd/application_internal.c
299
if ((obj = calloc(1, sizeof(*obj))) == NULL)
usr.sbin/snmpd/application_internal.c
327
if ((resp = calloc(i, sizeof(*resp))) == NULL) {
usr.sbin/snmpd/application_internal.c
386
if ((resp = calloc(i, sizeof(*resp))) == NULL) {
usr.sbin/snmpd/ax.c
164
if ((pdu = calloc(1, sizeof(*pdu))) == NULL)
usr.sbin/snmpd/ax.c
68
if ((ax = calloc(1, sizeof(*ax))) == NULL)
usr.sbin/snmpd/mib.y
1439
if ((item = calloc(1, sizeof(*item))) == NULL) {
usr.sbin/snmpd/mib.y
1461
if ((item->oid_unresolved = calloc(1,
usr.sbin/snmpd/mib.y
1794
if ((iso = calloc(1, sizeof(*iso))) == NULL)
usr.sbin/snmpd/mib.y
1800
if ((iso->oid.bo_id = calloc(1, sizeof(*iso->oid.bo_id))) == NULL)
usr.sbin/snmpd/mib.y
1810
if ((module = calloc(1, sizeof(*module))) == NULL)
usr.sbin/snmpd/mib.y
1914
if ((module = calloc(1, sizeof(*module))) == NULL)
usr.sbin/snmpd/mib.y
1963
if ((module = calloc(1, sizeof(*module))) == NULL)
usr.sbin/snmpd/mib.y
2091
if ((dst->bo_id = calloc(dst->bo_n, sizeof(*dst->bo_id))) == NULL) {
usr.sbin/snmpd/mib.y
330
module = calloc(1, sizeof(*module));
usr.sbin/snmpd/parse.y
1095
if ((tr = calloc(1, sizeof(*tr))) == NULL) {
usr.sbin/snmpd/parse.y
1206
if ((cmd = calloc(1, sizeof(*cmd))) == NULL ||
usr.sbin/snmpd/parse.y
1207
(args = calloc(nargs, sizeof(char *))) == NULL) {
usr.sbin/snmpd/parse.y
1229
args2 = calloc(nargs, sizeof(char *));
usr.sbin/snmpd/parse.y
1644
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/snmpd/parse.y
1726
conf->sc_blocklist = calloc(nblocklist, sizeof(*conf->sc_blocklist));
usr.sbin/snmpd/parse.y
1813
if ((conf = calloc(1, sizeof(*conf))) == NULL) {
usr.sbin/snmpd/parse.y
1978
if ((sym = calloc(1, sizeof(*sym))) == NULL)
usr.sbin/snmpd/parse.y
2077
if ((h = calloc(1, sizeof(*h))) == NULL)
usr.sbin/snmpd/proc.c
298
if ((ps->ps_ievs[id] = calloc(ps->ps_instances[id],
usr.sbin/snmpd/proc.c
326
if ((ps->ps_pipes[src] = calloc(ps->ps_instances[src],
usr.sbin/snmpd/proc.c
336
calloc(ps->ps_instances[dst],
usr.sbin/snmpd/proc.c
80
nargv = calloc(argc + 5, sizeof(char *));
usr.sbin/snmpd/smi.c
137
if ((object = calloc(1, sizeof(*object))) == NULL)
usr.sbin/snmpd/smi.c
387
if ((str = calloc(1, len * 2 + 1)) == NULL)
usr.sbin/snmpd/snmpe.c
512
if ((msg = calloc(1, sizeof(*msg))) == NULL)
usr.sbin/snmpd/snmpe.c
635
if ((nmsg = calloc(1, sizeof(*nmsg))) == NULL)
usr.sbin/snmpd/snmpe.c
672
if ((msg = calloc(1, sizeof(*msg))) == NULL)
usr.sbin/snmpd/trap.c
77
if ((msg = calloc(1, sizeof(*msg))) == NULL)
usr.sbin/snmpd/usm.c
168
if ((up = calloc(1, sizeof(*up))) == NULL)
usr.sbin/syslogd/syslogd.c
2729
if ((f = calloc(1, sizeof(*f))) == NULL)
usr.sbin/tcpdump/addrtoname.c
315
tp->e_nxt = calloc(1, sizeof(*tp));
usr.sbin/tcpdump/addrtoname.c
358
tp->e_bs = calloc(1, nlen + 1);
usr.sbin/tcpdump/addrtoname.c
362
tp->e_nxt = calloc(1, sizeof(*tp));
usr.sbin/tcpdump/addrtoname.c
405
tp->e_nxt = calloc(1, sizeof(*tp));
usr.sbin/tcpdump/addrtoname.c
433
tp->p_nxt = calloc(1, sizeof(*tp));
usr.sbin/tcpdump/addrtoname.c
888
ptr = calloc(num, sizeof (*ptr));
usr.sbin/tcpdump/addrtoname.c
907
ptr = calloc(num, sizeof (*ptr));
usr.sbin/tcpdump/pfctl_osfp.c
696
nm_entry = calloc(1, sizeof(*nm_entry));
usr.sbin/tcpdump/print-tcp.c
361
th->nxt = calloc(1, sizeof(*th));
usr.sbin/tcpdump/privsep_pcap.c
130
fcode = calloc(1, sizeof(*fcode));
usr.sbin/tcpdump/privsep_pcap.c
155
fcode->bf_insns = calloc(fcode->bf_len, sizeof(struct bpf_insn));
usr.sbin/tftp-proxy/tftp-proxy.c
306
child = calloc(1, sizeof(*child));
usr.sbin/tftp-proxy/tftp-proxy.c
365
if ((saddr = calloc(1, sizeof(struct src_addr))) == NULL)
usr.sbin/tftp-proxy/tftp-proxy.c
439
rep = calloc(1, sizeof(*rep));
usr.sbin/tftp-proxy/tftp-proxy.c
579
l = calloc(1, sizeof(*l));
usr.sbin/tftp-proxy/tftp-proxy.c
694
r = calloc(1, sizeof(*r));
usr.sbin/tftpd/tftpd.c
637
client = calloc(1, sizeof(*client));
usr.sbin/tftpd/tftpd.c
879
client->options = options = calloc(NOPT, sizeof(*client->options));
usr.sbin/traceroute/traceroute.c
341
if ((conf = calloc(1, sizeof(*conf))) == NULL)
usr.sbin/traceroute/traceroute.c
590
tr_results = calloc(sizeof(struct tr_result), conf->max_ttl *
usr.sbin/traceroute/traceroute.c
595
waiting_ttls = calloc(sizeof(int), conf->max_ttl);
usr.sbin/traceroute/traceroute.c
679
if ((outpacket = calloc(1, datalen)) == NULL)
usr.sbin/traceroute/traceroute.c
769
if ((outpacket = calloc(1, datalen)) == NULL)
usr.sbin/traceroute/worker.c
1199
if ((tr_res->asn = calloc(1, asn_size)) == NULL)
usr.sbin/traceroute/worker.c
174
if ((tr_res->exthdr = calloc(1, exthdr_size)) == NULL)
usr.sbin/unbound/cachedb/cachedb.c
109
d = (struct testframe_moddata*)calloc(1,
usr.sbin/unbound/cachedb/cachedb.c
247
struct cachedb_env* cachedb_env = (struct cachedb_env*)calloc(1,
usr.sbin/unbound/cachedb/redis.c
259
moddata = calloc(1, sizeof(struct redis_moddata));
usr.sbin/unbound/cachedb/redis.c
305
moddata->ctxs = calloc(env->cfg->num_threads, sizeof(redisContext*));
usr.sbin/unbound/cachedb/redis.c
313
moddata->replica_ctxs = calloc(env->cfg->num_threads, sizeof(redisContext*));
usr.sbin/unbound/daemon/acl_list.c
55
struct acl_list* acl = (struct acl_list*)calloc(1,
usr.sbin/unbound/daemon/daemon.c
205
struct daemon* daemon = (struct daemon*)calloc(1,
usr.sbin/unbound/daemon/daemon.c
263
if(!(daemon->env = (struct module_env*)calloc(1,
usr.sbin/unbound/daemon/daemon.c
389
if(!(daemon->ports = (struct listen_port**)calloc(
usr.sbin/unbound/daemon/daemon.c
554
shufport = (int*)calloc(65536, sizeof(int));
usr.sbin/unbound/daemon/daemon.c
573
daemon->workers = (struct worker**)calloc((size_t)daemon->num,
usr.sbin/unbound/daemon/daemon.c
595
daemon->worker_allocs = (struct alloc_cache**)calloc(
usr.sbin/unbound/daemon/daemon.c
600
struct alloc_cache* alloc = calloc(1,
usr.sbin/unbound/daemon/remote.c
200
struct daemon_remote* rc = (struct daemon_remote*)calloc(1,
usr.sbin/unbound/daemon/remote.c
350
n = (struct listen_port*)calloc(1, sizeof(*n));
usr.sbin/unbound/daemon/remote.c
473
n = (struct rc_state*)calloc(1, sizeof(*n));
usr.sbin/unbound/daemon/remote.c
5342
item = calloc(1, sizeof(*item));
usr.sbin/unbound/daemon/remote.c
5738
if(!(ct->oldcfg = (struct config_file*)calloc(1,
usr.sbin/unbound/daemon/remote.c
6976
calloc(1, sizeof(*worker->daemon->fast_reload_thread));
usr.sbin/unbound/daemon/remote.c
6997
fr->fr_output = (struct config_strlist_head*)calloc(1,
usr.sbin/unbound/daemon/remote.c
8054
struct fast_reload_printq* printq = calloc(1, sizeof(*printq));
usr.sbin/unbound/daemon/remote.c
8057
printq->to_print = calloc(1, sizeof(*printq->to_print));
usr.sbin/unbound/daemon/worker.c
2150
struct worker* worker = (struct worker*)calloc(1,
usr.sbin/unbound/dns64/dns64.c
334
node = (struct name_tree_node*)calloc(1, sizeof(*node));
usr.sbin/unbound/dns64/dns64.c
405
(struct dns64_env*)calloc(1, sizeof(struct dns64_env));
usr.sbin/unbound/dnscrypt/dnscrypt.c
115
(struct shared_secret_cache_key*)calloc(1, sizeof(*k));
usr.sbin/unbound/dnscrypt/dnscrypt.c
186
(struct nonce_cache_key*)calloc(1, sizeof(*k));
usr.sbin/unbound/dnscrypt/dnscrypt.c
947
env = (struct dnsc_env *) calloc(1, sizeof(struct dnsc_env));
usr.sbin/unbound/dnstap/dnstap.c
171
env = (struct dt_env *) calloc(1, sizeof(struct dt_env));
usr.sbin/unbound/dnstap/dtstream.c
106
struct dt_msg_queue* mq = calloc(1, sizeof(*mq));
usr.sbin/unbound/dnstap/dtstream.c
1119
dtio->read_frame.buf = calloc(1, dtio->read_frame.frame_len);
usr.sbin/unbound/dnstap/dtstream.c
306
struct dt_io_thread* dtio = calloc(1, sizeof(*dtio));
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1084
data->frame = calloc(1, data->len);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1190
struct sockaddr_un* usock = calloc(1, sizeof(struct sockaddr_un) + 1);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1215
data = calloc(1, sizeof(*data));
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1311
maindata = calloc(1, sizeof(*maindata));
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1350
struct tap_socket* socket = calloc(1, sizeof(*socket));
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1355
datas[i] = calloc(1, sizeof(struct tap_data));
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1415
socket = calloc(1, sizeof(*socket));
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1418
datas[i] = calloc(1, sizeof(struct tap_data));
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
292
struct tap_socket* s = calloc(1, sizeof(*s));
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
313
struct tap_socket* s = calloc(1, sizeof(*s));
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
335
struct tap_socket* s = calloc(1, sizeof(*s));
usr.sbin/unbound/dynlibmod/dynlibmod.c
76
struct dynlibmod_env* de = (struct dynlibmod_env*)calloc(1, sizeof(struct dynlibmod_env));
usr.sbin/unbound/dynlibmod/examples/helloworld.c
75
env->dyn_env = calloc(3, sizeof(int));
usr.sbin/unbound/edns-subnet/addrtree.c
128
tree = (struct addrtree *)calloc(1, sizeof(*tree));
usr.sbin/unbound/edns-subnet/addrtree.c
68
edge->str = (addrkey_t *)calloc(n, sizeof (addrkey_t));
usr.sbin/unbound/edns-subnet/subnet-whitelist.c
60
(struct ecs_whitelist*)calloc(1,
usr.sbin/unbound/edns-subnet/subnetmod.c
228
struct subnet_env *sn_env = (struct subnet_env*)calloc(1,
usr.sbin/unbound/edns-subnet/subnetmod.c
397
void* data = calloc(1,
usr.sbin/unbound/ipsecmod/ipsecmod-whitelist.c
66
n = (struct name_tree_node*)calloc(1, sizeof(*n));
usr.sbin/unbound/ipsecmod/ipsecmod.c
218
gateway = (char*)calloc(slen, sizeof(char));
usr.sbin/unbound/ipsecmod/ipsecmod.c
72
struct ipsecmod_env* ipsecmod_env = (struct ipsecmod_env*)calloc(1,
usr.sbin/unbound/ipset/ipset.c
327
ipset_env = (struct ipset_env *)calloc(1, sizeof(struct ipset_env));
usr.sbin/unbound/iterator/iter_delegpt.c
594
struct delegpt* dp=(struct delegpt*)calloc(1, sizeof(*dp));
usr.sbin/unbound/iterator/iter_donotq.c
54
struct iter_donotq* dq = (struct iter_donotq*)calloc(1,
usr.sbin/unbound/iterator/iter_fwd.c
70
struct iter_forwards* fwd = (struct iter_forwards*)calloc(1,
usr.sbin/unbound/iterator/iter_hints.c
56
struct iter_hints* hints = (struct iter_hints*)calloc(1,
usr.sbin/unbound/iterator/iter_priv.c
57
struct iter_priv* priv = (struct iter_priv*)calloc(1, sizeof(*priv));
usr.sbin/unbound/iterator/iter_utils.c
107
*target_fetch_policy = (int*)calloc(
usr.sbin/unbound/iterator/iter_utils.c
158
n = (struct name_tree_node*)calloc(1, sizeof(*n));
usr.sbin/unbound/iterator/iter_utils.c
413
rtt_list = calloc(num_results, sizeof(int));
usr.sbin/unbound/iterator/iterator.c
739
iq->target_count = (int*)calloc(TARGET_COUNT_MAX, sizeof(int));
usr.sbin/unbound/iterator/iterator.c
743
iq->nxns_dp = (uint8_t**)calloc(1, sizeof(uint8_t*));
usr.sbin/unbound/iterator/iterator.c
89
struct iter_env* iter_env = (struct iter_env*)calloc(1,
usr.sbin/unbound/libunbound/context.c
160
struct ctx_query* q = (struct ctx_query*)calloc(1, sizeof(*q));
usr.sbin/unbound/libunbound/context.c
174
q->res = (struct ub_result*)calloc(1, sizeof(*q->res));
usr.sbin/unbound/libunbound/context.c
216
a = (struct alloc_cache*)calloc(1, sizeof(*a));
usr.sbin/unbound/libunbound/context.c
265
struct ctx_query* q = (struct ctx_query*)calloc(1, sizeof(*q));
usr.sbin/unbound/libunbound/context.c
275
q->res = (struct ub_result*)calloc(1, sizeof(*q->res));
usr.sbin/unbound/libunbound/libunbound.c
1013
s = calloc(1, sizeof(*s));
usr.sbin/unbound/libunbound/libunbound.c
111
ctx = (struct ub_ctx*)calloc(1, sizeof(*ctx));
usr.sbin/unbound/libunbound/libunbound.c
1113
elem=(struct config_stub*)calloc(1, sizeof(struct config_stub));
usr.sbin/unbound/libunbound/libunbound.c
126
ctx->env = (struct module_env*)calloc(1, sizeof(*ctx->env));
usr.sbin/unbound/libunbound/libworker.c
133
struct libworker* w = (struct libworker*)calloc(1, sizeof(*w));
usr.sbin/unbound/libunbound/libworker.c
447
res->data = (char**)calloc(1, sizeof(char*));
usr.sbin/unbound/libunbound/libworker.c
450
res->len = (int*)calloc(1, sizeof(int));
usr.sbin/unbound/libunbound/libworker.c
463
res->data = (char**)calloc(data->count+1, sizeof(char*));
usr.sbin/unbound/libunbound/libworker.c
466
res->len = (int*)calloc(data->count+1, sizeof(int));
usr.sbin/unbound/respip/respip.c
60
struct respip_set* set = calloc(1, sizeof(*set));
usr.sbin/unbound/services/authzone.c
1017
sigd = (struct packed_rrset_data*)calloc(1, packed_rrset_sizeof(sigold)
usr.sbin/unbound/services/authzone.c
296
struct auth_zones* az = (struct auth_zones*)calloc(1, sizeof(*az));
usr.sbin/unbound/services/authzone.c
419
struct auth_zone* z = (struct auth_zone*)calloc(1, sizeof(*z));
usr.sbin/unbound/services/authzone.c
5662
a = (struct auth_addr*)calloc(1, sizeof(*a));
usr.sbin/unbound/services/authzone.c
6063
e = (struct auth_chunk*)calloc(1, sizeof(*e));
usr.sbin/unbound/services/authzone.c
7082
xfr = (struct auth_xfer*)calloc(1, sizeof(*xfr));
usr.sbin/unbound/services/authzone.c
7094
xfr->task_nextprobe = (struct auth_nextprobe*)calloc(1,
usr.sbin/unbound/services/authzone.c
7101
xfr->task_probe = (struct auth_probe*)calloc(1,
usr.sbin/unbound/services/authzone.c
7109
xfr->task_transfer = (struct auth_transfer*)calloc(1,
usr.sbin/unbound/services/authzone.c
7171
m = (struct auth_master*)calloc(1, sizeof(*m));
usr.sbin/unbound/services/authzone.c
739
d = (struct packed_rrset_data*)calloc(1, packed_rrset_sizeof(old) - (
usr.sbin/unbound/services/authzone.c
801
d = (struct packed_rrset_data*)calloc(1, packed_rrset_sizeof(old)
usr.sbin/unbound/services/authzone.c
868
struct auth_rrset* rrset = (struct auth_rrset*)calloc(1,
usr.sbin/unbound/services/authzone.c
879
d = (struct packed_rrset_data*)calloc(1,
usr.sbin/unbound/services/authzone.c
954
d = (struct packed_rrset_data*)calloc(1, packed_rrset_sizeof(old)
usr.sbin/unbound/services/cache/infra.c
1024
struct ip_rate_key* k = (struct ip_rate_key*)calloc(1, sizeof(*k));
usr.sbin/unbound/services/cache/infra.c
1025
struct ip_rate_data* d = (struct ip_rate_data*)calloc(1, sizeof(*d));
usr.sbin/unbound/services/cache/infra.c
188
d = (struct domain_limit_data*)calloc(1, sizeof(*d));
usr.sbin/unbound/services/cache/infra.c
263
d = (struct wait_limit_netblock_info*)calloc(1, sizeof(*d));
usr.sbin/unbound/services/cache/infra.c
348
struct infra_cache* infra = (struct infra_cache*)calloc(1,
usr.sbin/unbound/services/cache/infra.c
995
struct rate_key* k = (struct rate_key*)calloc(1, sizeof(*k));
usr.sbin/unbound/services/cache/infra.c
996
struct rate_data* d = (struct rate_data*)calloc(1, sizeof(*d));
usr.sbin/unbound/services/listen_dnsport.c
1345
ub_sock = calloc(1, sizeof(struct unbound_socket));
usr.sbin/unbound/services/listen_dnsport.c
1380
ub_sock = calloc(1, sizeof(struct unbound_socket));
usr.sbin/unbound/services/listen_dnsport.c
1442
ub_sock = calloc(1, sizeof(struct unbound_socket));
usr.sbin/unbound/services/listen_dnsport.c
1864
*resif = calloc(*num_resif, sizeof(**resif));
usr.sbin/unbound/services/listen_dnsport.c
3278
struct doq_table* table = calloc(1, sizeof(*table));
usr.sbin/unbound/services/listen_dnsport.c
3555
struct doq_conn* conn = calloc(1, sizeof(*conn));
usr.sbin/unbound/services/listen_dnsport.c
3856
struct doq_stream* stream = calloc(1, sizeof(*stream));
usr.sbin/unbound/services/listen_dnsport.c
4035
stream->in = calloc(1, stream->inlen);
usr.sbin/unbound/services/listen_dnsport.c
4722
quic_method = calloc(1, sizeof(SSL_QUIC_METHOD));
usr.sbin/unbound/services/listen_dnsport.c
4958
conid = calloc(1, sizeof(*conid));
usr.sbin/unbound/services/listen_dnsport.c
5080
struct ngtcp2_cid *scids = calloc(num_scid,
usr.sbin/unbound/services/localzone.c
100
struct local_zones* zones = (struct local_zones*)calloc(1,
usr.sbin/unbound/services/localzone.c
187
struct local_zone* z = (struct local_zone*)calloc(1, sizeof(*z));
usr.sbin/unbound/services/mesh.c
209
struct mesh_area* mesh = calloc(1, sizeof(struct mesh_area));
usr.sbin/unbound/services/modstack.c
123
stack->mod = (struct module_func_block**)calloc((size_t)
usr.sbin/unbound/services/outside_network.c
1631
if(!(outnet->tcp_conns = (struct pending_tcp **)calloc(
usr.sbin/unbound/services/outside_network.c
1635
if(!(outnet->tcp_conns[i] = (struct pending_tcp*)calloc(1,
usr.sbin/unbound/services/outside_network.c
1665
pif->out = (struct port_comm**)calloc(numfd,
usr.sbin/unbound/services/outside_network.c
1684
calloc(1, sizeof(struct outside_network));
usr.sbin/unbound/services/outside_network.c
1737
if(!(outnet->ip4_ifs = (struct port_if*)calloc(
usr.sbin/unbound/services/outside_network.c
1745
if(!(outnet->ip6_ifs = (struct port_if*)calloc(
usr.sbin/unbound/services/outside_network.c
1766
pc = (struct port_comm*)calloc(1, sizeof(*pc));
usr.sbin/unbound/services/outside_network.c
2277
struct pending* pend = (struct pending*)calloc(1, sizeof(*pend));
usr.sbin/unbound/services/rpz.c
1108
if(!(policydname = calloc(1, (dnamelen-aznamelen)+1))) {
usr.sbin/unbound/services/rpz.c
1585
if(!(policydname = calloc(1, LDNS_MAX_DOMAINLEN + 1)))
usr.sbin/unbound/services/rpz.c
346
struct clientip_synthesized_rrset* set = calloc(1, sizeof(*set));
usr.sbin/unbound/services/rpz.c
557
struct rpz* r = calloc(1, sizeof(*r));
usr.sbin/unbound/services/view.c
103
struct view* v = (struct view*)calloc(1, sizeof(*v));
usr.sbin/unbound/services/view.c
60
struct views* v = (struct views*)calloc(1,
usr.sbin/unbound/smallapp/unbound-anchor.c
527
struct ip_list* ip = (struct ip_list*)calloc(1, sizeof(*ip));
usr.sbin/unbound/smallapp/unbound-anchor.c
622
ip = (struct ip_list*)calloc(1, sizeof(*ip));
usr.sbin/unbound/smallapp/unbound-checkconf.c
351
resif = (char***)calloc(cfg->num_ifs, sizeof(char**));
usr.sbin/unbound/smallapp/unbound-checkconf.c
353
num_resif = (int*)calloc(cfg->num_ifs, sizeof(int));
usr.sbin/unbound/testcode/asynclook.c
306
async_ids = (struct track_id*)calloc((size_t)inf->numq, sizeof(struct track_id));
usr.sbin/unbound/testcode/asynclook.c
504
lookups = (struct lookinfo*)calloc((size_t)argc,
usr.sbin/unbound/testcode/checklocks.c
299
struct checked_lock* e = (struct checked_lock*)calloc(1,
usr.sbin/unbound/testcode/checklocks.c
758
struct thr_check* thisthr = (struct thr_check*)calloc(1,
usr.sbin/unbound/testcode/checklocks.c
794
struct thr_check* thr = (struct thr_check*)calloc(1,
usr.sbin/unbound/testcode/delayer.c
204
struct ringbuf* r = (struct ringbuf*)calloc(1, sizeof(*r));
usr.sbin/unbound/testcode/delayer.c
463
p = (struct proxy*)calloc(1, sizeof(*p));
usr.sbin/unbound/testcode/delayer.c
571
p = (struct tcp_proxy*)calloc(1, sizeof(*p));
usr.sbin/unbound/testcode/dohclient.c
156
h2_stream = calloc(1, sizeof(*h2_stream));
usr.sbin/unbound/testcode/dohclient.c
425
struct http2_session* h2_session = calloc(1,
usr.sbin/unbound/testcode/doqclient.c
1016
ngaddr->addr = calloc(1, sizeof(a4));
usr.sbin/unbound/testcode/doqclient.c
2251
data = calloc(1, sizeof(*data));
usr.sbin/unbound/testcode/doqclient.c
359
struct doq_client_stream* str = calloc(1, sizeof(*str));
usr.sbin/unbound/testcode/doqclient.c
438
struct doq_client_stream_list* list = calloc(1, sizeof(*list));
usr.sbin/unbound/testcode/doqclient.c
998
ngaddr->addr = calloc(1, sizeof(a6));
usr.sbin/unbound/testcode/fake_event.c
1071
return calloc(1, sizeof(struct comm_signal));
usr.sbin/unbound/testcode/fake_event.c
1090
struct replay_answer* ans = (struct replay_answer*)calloc(1,
usr.sbin/unbound/testcode/fake_event.c
1140
struct outside_network* outnet = calloc(1,
usr.sbin/unbound/testcode/fake_event.c
1175
struct fake_pending* pend = (struct fake_pending*)calloc(1,
usr.sbin/unbound/testcode/fake_event.c
1225
struct fake_pending* pend = (struct fake_pending*)calloc(1,
usr.sbin/unbound/testcode/fake_event.c
1281
struct fake_pending* pend = (struct fake_pending*)calloc(1,
usr.sbin/unbound/testcode/fake_event.c
1437
return calloc(1, sizeof(struct listen_port));
usr.sbin/unbound/testcode/fake_event.c
1450
struct fake_commpoint* fc = (struct fake_commpoint*)calloc(1,
usr.sbin/unbound/testcode/fake_event.c
1463
struct fake_commpoint* fc = (struct fake_commpoint*)calloc(1,
usr.sbin/unbound/testcode/fake_event.c
1661
struct fake_timer* t = (struct fake_timer*)calloc(1, sizeof(*t));
usr.sbin/unbound/testcode/fake_event.c
1792
struct fake_commpoint* fc = (struct fake_commpoint*)calloc(1,
usr.sbin/unbound/testcode/fake_event.c
1812
struct fake_commpoint* fc = (struct fake_commpoint*)calloc(1,
usr.sbin/unbound/testcode/fake_event.c
1814
struct fake_pending* pend = (struct fake_pending*)calloc(1,
usr.sbin/unbound/testcode/fake_event.c
1884
struct fake_commpoint* fc = (struct fake_commpoint*)calloc(1,
usr.sbin/unbound/testcode/fake_event.c
1913
struct fake_pending* pend = (struct fake_pending*)calloc(1,
usr.sbin/unbound/testcode/fake_event.c
459
repinfo.c = (struct comm_point*)calloc(1, sizeof(struct comm_point));
usr.sbin/unbound/testcode/fake_event.c
966
struct listen_dnsport* l= calloc(1, sizeof(struct listen_dnsport));
usr.sbin/unbound/testcode/fake_event.c
995
calloc(1, sizeof(struct replay_runtime));
usr.sbin/unbound/testcode/lock_verify.c
188
struct order_lock* o = calloc(1, sizeof(struct order_lock));
usr.sbin/unbound/testcode/lock_verify.c
217
struct order_lock* o = calloc(1, sizeof(struct order_lock));
usr.sbin/unbound/testcode/lock_verify.c
233
ref = (struct lock_ref*)calloc(1, sizeof(struct lock_ref));
usr.sbin/unbound/testcode/memstats.c
106
cl = calloc(1, sizeof(*cl));
usr.sbin/unbound/testcode/perf.c
223
info->io = (struct perfio*)calloc(info->io_num, sizeof(struct perfio));
usr.sbin/unbound/testcode/perf.c
504
uint8_t** d = (uint8_t**)calloc(newcap, sizeof(uint8_t*));
usr.sbin/unbound/testcode/perf.c
505
size_t* l = (size_t*)calloc(newcap, sizeof(size_t));
usr.sbin/unbound/testcode/testbound.c
625
return (struct daemon_remote*)calloc(1, sizeof(struct daemon_remote));
usr.sbin/unbound/testcode/testbound.c
771
return calloc(1, sizeof(struct doq_table));
usr.sbin/unbound/testcode/unitecs.c
175
elem = (struct reply_info *) calloc(1, sizeof(struct reply_info));
usr.sbin/unbound/testcode/unitecs.c
191
elem = (struct reply_info *) calloc(1, sizeof(struct reply_info));
usr.sbin/unbound/testcode/unitecs.c
203
elem = (struct reply_info *) calloc(1, sizeof(struct reply_info));
usr.sbin/unbound/testcode/unitlruhash.c
62
testkey_type* k = (testkey_type*)calloc(1, sizeof(testkey_type));
usr.sbin/unbound/testcode/unitlruhash.c
72
testdata_type* d = (testdata_type*)calloc(1,
usr.sbin/unbound/testcode/unitmain.c
789
cv1 = (struct config_view*)calloc(1, sizeof(struct config_view));
usr.sbin/unbound/testcode/unitmain.c
790
cv2 = (struct config_view*)calloc(1, sizeof(struct config_view));
usr.sbin/unbound/testcode/unitmain.c
932
cv = (struct config_view*)calloc(1, sizeof(struct config_view));
usr.sbin/unbound/testcode/unitslabhash.c
64
testkey_type* k = (testkey_type*)calloc(1, sizeof(testkey_type));
usr.sbin/unbound/testcode/unitslabhash.c
74
testdata_type* d = (testdata_type*)calloc(1,
usr.sbin/unbound/testcode/unittcpreuse.c
129
if(!(outnet->tcp_conns = (struct pending_tcp **)calloc(
usr.sbin/unbound/testcode/unittcpreuse.c
133
if(!(outnet->tcp_conns[i] = (struct pending_tcp*)calloc(1,
usr.sbin/unbound/testcode/unittcpreuse.c
58
w = calloc(1, sizeof(*w));
usr.sbin/unbound/util/alloc.c
388
#ifdef calloc
usr.sbin/unbound/util/alloc.c
403
res = calloc(1, s+16);
usr.sbin/unbound/util/config_file.c
192
if(!(cfg->outgoing_avail_ports = (int*)calloc(65536, sizeof(int))))
usr.sbin/unbound/util/config_file.c
2082
s = (struct config_strlist*)calloc(1, sizeof(struct config_strlist));
usr.sbin/unbound/util/config_file.c
2138
s = (struct config_strlist*)calloc(1, sizeof(struct config_strlist));
usr.sbin/unbound/util/config_file.c
2155
s = (struct config_strlist*)calloc(1, sizeof(struct config_strlist));
usr.sbin/unbound/util/config_file.c
2183
s = (struct config_str2list*)calloc(1, sizeof(struct config_str2list));
usr.sbin/unbound/util/config_file.c
2203
s = (struct config_str3list*)calloc(1, sizeof(struct config_str3list));
usr.sbin/unbound/util/config_file.c
2221
s = (struct config_strbytelist*)calloc(1, sizeof(*s));
usr.sbin/unbound/util/config_file.c
2394
taglist = calloc(1, len);
usr.sbin/unbound/util/config_file.c
2431
else if (*str && (nsid = calloc(1, strlen(str) / 2))) {
usr.sbin/unbound/util/config_file.c
99
cfg = (struct config_file*)calloc(1, sizeof(struct config_file));
usr.sbin/unbound/util/configparser.y
375
s = (struct config_stub*)calloc(1, sizeof(struct config_stub));
usr.sbin/unbound/util/configparser.y
402
s = (struct config_stub*)calloc(1, sizeof(struct config_stub));
usr.sbin/unbound/util/configparser.y
429
s = (struct config_view*)calloc(1, sizeof(struct config_view));
usr.sbin/unbound/util/configparser.y
448
s = (struct config_auth*)calloc(1, sizeof(struct config_auth));
usr.sbin/unbound/util/configparser.y
547
s = (struct config_auth*)calloc(1, sizeof(struct config_auth));
usr.sbin/unbound/util/configparser.y
806
cfg_parser->cfg->ifs = calloc(1, sizeof(char*));
usr.sbin/unbound/util/configparser.y
819
cfg_parser->cfg->out_ifs = calloc(1, sizeof(char*));
usr.sbin/unbound/util/data/msgreply.c
400
else *data = calloc(1, s);
usr.sbin/unbound/util/edns.c
217
struct cookie_secrets* cookie_secrets = calloc(1,
usr.sbin/unbound/util/edns.c
56
struct edns_strings* edns_strings = calloc(1,
usr.sbin/unbound/util/mini_event.c
111
base->fds = (struct event**)calloc((size_t)base->capfd,
usr.sbin/unbound/util/mini_event.c
117
base->signals = (struct event**)calloc(MAX_SIG, sizeof(struct event*));
usr.sbin/unbound/util/module.c
247
env->edns_known_options = (struct edns_known_option*)calloc(
usr.sbin/unbound/util/module.c
307
callback = (struct inplace_cb*)calloc(1, sizeof(*callback));
usr.sbin/unbound/util/net_help.c
1808
keys = calloc(s, sizeof(struct tls_session_ticket_key));
usr.sbin/unbound/util/netevent.c
206
struct comm_base* b = (struct comm_base*)calloc(1,
usr.sbin/unbound/util/netevent.c
212
b->eb = (struct internal_base*)calloc(1, sizeof(struct internal_base));
usr.sbin/unbound/util/netevent.c
232
struct comm_base* b = (struct comm_base*)calloc(1,
usr.sbin/unbound/util/netevent.c
236
b->eb = (struct internal_base*)calloc(1, sizeof(struct internal_base));
usr.sbin/unbound/util/netevent.c
2726
doq_socket = calloc(1, sizeof(*doq_socket));
usr.sbin/unbound/util/netevent.c
2760
doq_socket->blocked_paddr = calloc(1,
usr.sbin/unbound/util/netevent.c
5068
struct http2_session* session = calloc(1, sizeof(*session));
usr.sbin/unbound/util/netevent.c
5094
struct http2_stream* h2_stream = calloc(1, sizeof(*h2_stream));
usr.sbin/unbound/util/netevent.c
5750
struct comm_point* c = (struct comm_point*)calloc(1,
usr.sbin/unbound/util/netevent.c
5755
c->ev = (struct internal_event*)calloc(1,
usr.sbin/unbound/util/netevent.c
5815
struct comm_point* c = (struct comm_point*)calloc(1,
usr.sbin/unbound/util/netevent.c
5820
c->ev = (struct internal_event*)calloc(1,
usr.sbin/unbound/util/netevent.c
5883
struct comm_point* c = (struct comm_point*)calloc(1,
usr.sbin/unbound/util/netevent.c
5888
c->ev = (struct internal_event*)calloc(1,
usr.sbin/unbound/util/netevent.c
5969
struct comm_point* c = (struct comm_point*)calloc(1,
usr.sbin/unbound/util/netevent.c
5974
c->ev = (struct internal_event*)calloc(1,
usr.sbin/unbound/util/netevent.c
6070
struct comm_point* c = (struct comm_point*)calloc(1,
usr.sbin/unbound/util/netevent.c
6075
c->ev = (struct internal_event*)calloc(1,
usr.sbin/unbound/util/netevent.c
6194
struct comm_point* c = (struct comm_point*)calloc(1,
usr.sbin/unbound/util/netevent.c
6201
c->ev = (struct internal_event*)calloc(1,
usr.sbin/unbound/util/netevent.c
6220
c->tcp_handlers = (struct comm_point**)calloc((size_t)num,
usr.sbin/unbound/util/netevent.c
6292
struct comm_point* c = (struct comm_point*)calloc(1,
usr.sbin/unbound/util/netevent.c
6297
c->ev = (struct internal_event*)calloc(1,
usr.sbin/unbound/util/netevent.c
6361
struct comm_point* c = (struct comm_point*)calloc(1,
usr.sbin/unbound/util/netevent.c
6366
c->ev = (struct internal_event*)calloc(1,
usr.sbin/unbound/util/netevent.c
6432
struct comm_point* c = (struct comm_point*)calloc(1,
usr.sbin/unbound/util/netevent.c
6437
c->ev = (struct internal_event*)calloc(1,
usr.sbin/unbound/util/netevent.c
6501
struct comm_point* c = (struct comm_point*)calloc(1,
usr.sbin/unbound/util/netevent.c
6506
c->ev = (struct internal_event*)calloc(1,
usr.sbin/unbound/util/netevent.c
6904
struct internal_timer *tm = (struct internal_timer*)calloc(1,
usr.sbin/unbound/util/netevent.c
7014
struct internal_signal* entry = (struct internal_signal*)calloc(1,
usr.sbin/unbound/util/random.c
148
struct ub_randstate* s = (struct ub_randstate*)calloc(1, sizeof(*s));
usr.sbin/unbound/util/random.c
183
struct ub_randstate* s = (struct ub_randstate*)calloc(1, sizeof(*s));
usr.sbin/unbound/util/random.c
90
struct ub_randstate* s = (struct ub_randstate*)calloc(1, sizeof(*s));
usr.sbin/unbound/util/shm_side/shm_main.c
101
daemon->shm_info = (struct shm_main_info*)calloc(1, shm_size);
usr.sbin/unbound/util/storage/lruhash.c
246
newa = calloc(table->size*2, sizeof(struct lruhash_bin));
usr.sbin/unbound/util/storage/lruhash.c
67
struct lruhash* table = (struct lruhash*)calloc(1,
usr.sbin/unbound/util/storage/lruhash.c
85
table->array = calloc(table->size, sizeof(struct lruhash_bin));
usr.sbin/unbound/util/storage/slabhash.c
54
struct slabhash* sl = (struct slabhash*)calloc(1,
usr.sbin/unbound/util/storage/slabhash.c
59
sl->array = (struct lruhash**)calloc(sl->size, sizeof(struct lruhash*));
usr.sbin/unbound/util/tcp_conn_limit.c
53
struct tcl_list* tcl = (struct tcl_list*)calloc(1,
usr.sbin/unbound/util/timehist.c
87
struct timehist* hist = (struct timehist*)calloc(1,
usr.sbin/unbound/util/timehist.c
92
hist->buckets = (struct th_buck*)calloc(hist->num,
usr.sbin/unbound/util/tube.c
184
tube->cmd_msg = (uint8_t*)calloc(1, tube->cmd_len);
usr.sbin/unbound/util/tube.c
535
struct tube* tube = (struct tube*)calloc(1, sizeof(*tube));
usr.sbin/unbound/util/tube.c
62
struct tube* tube = (struct tube*)calloc(1, sizeof(*tube));
usr.sbin/unbound/util/ub_event.c
352
struct event *ev = (struct event*)calloc(1, sizeof(struct event));
usr.sbin/unbound/util/ub_event.c
376
struct event *ev = (struct event*)calloc(1, sizeof(struct event));
usr.sbin/unbound/util/ub_event.c
401
struct event *ev = (struct event*)calloc(1, sizeof(struct event));
usr.sbin/unbound/util/ub_event_pluggable.c
279
struct my_event *my_ev = (struct my_event*)calloc(1,
usr.sbin/unbound/util/ub_event_pluggable.c
299
struct my_event *my_ev = (struct my_event*)calloc(1,
usr.sbin/unbound/util/ub_event_pluggable.c
320
struct my_event *my_ev = (struct my_event*)calloc(1,
usr.sbin/unbound/util/ub_event_pluggable.c
353
struct my_event_base* my_base = (struct my_event_base*)calloc(1,
usr.sbin/unbound/util/ub_event_pluggable.c
397
struct my_event_base* my_base = (struct my_event_base*)calloc(1,
usr.sbin/unbound/util/winsock_event.c
128
base->items = (struct event**)calloc(WSK_MAX_ITEMS,
usr.sbin/unbound/util/winsock_event.c
141
base->signals = (struct event**)calloc(MAX_SIG, sizeof(struct event*));
usr.sbin/unbound/validator/autotrust.c
319
struct autr_ta* ta = (struct autr_ta*)calloc(1, sizeof(*ta));
usr.sbin/unbound/validator/autotrust.c
335
struct trust_anchor* tp = (struct trust_anchor*)calloc(1, sizeof(*tp));
usr.sbin/unbound/validator/autotrust.c
346
tp->autr = (struct autr_point_data*)calloc(1, sizeof(*tp->autr));
usr.sbin/unbound/validator/autotrust.c
638
k = (struct ub_packed_rrset_key*)calloc(1, sizeof(*k));
usr.sbin/unbound/validator/autotrust.c
687
data = (struct packed_rrset_data*)calloc(1, len);
usr.sbin/unbound/validator/val_anchor.c
1340
taglist = calloc(anchor->numDS + anchor->numDNSKEY, sizeof(*taglist));
usr.sbin/unbound/validator/val_anchor.c
78
struct val_anchors* a = (struct val_anchors*)calloc(1, sizeof(*a));
usr.sbin/unbound/validator/val_kcache.c
52
struct key_cache* kcache = (struct key_cache*)calloc(1,
usr.sbin/unbound/validator/val_neg.c
453
(struct val_neg_zone*)calloc(1, sizeof(*zone));
usr.sbin/unbound/validator/val_neg.c
606
el = (struct val_neg_data*)calloc(1, sizeof(*el));
usr.sbin/unbound/validator/val_neg.c
88
struct val_neg_cache* neg = (struct val_neg_cache*)calloc(1,
usr.sbin/unbound/validator/val_secalgo.c
1589
struct secalgo_hash* h = calloc(1, sizeof(*h));
usr.sbin/unbound/validator/val_secalgo.c
1599
struct secalgo_hash* h = calloc(1, sizeof(*h));
usr.sbin/unbound/validator/val_secalgo.c
173
h = calloc(1, sizeof(*h));
usr.sbin/unbound/validator/val_secalgo.c
900
struct secalgo_hash* h = calloc(1, sizeof(*h));
usr.sbin/unbound/validator/validator.c
229
struct val_env* val_env = (struct val_env*)calloc(1,
usr.sbin/unbound/validator/validator.c
596
keytag_str = calloc(1, SENTINEL_KEYTAG_LEN + 1 /* null byte */);
usr.sbin/unbound/validator/validator.c
98
*keysize = (size_t*)calloc((size_t)c, sizeof(size_t));
usr.sbin/unbound/validator/validator.c
99
*maxiter = (size_t*)calloc((size_t)c, sizeof(size_t));
usr.sbin/user/user.c
857
if ((up->u_rv = calloc(up->u_rsize, sizeof(range_t))) == NULL)
usr.sbin/vmctl/main.c
666
if ((buf = calloc(1, buflen)) == NULL ||
usr.sbin/vmctl/main.c
667
(zerobuf = calloc(1, buflen)) == NULL) {
usr.sbin/vmd/config.c
81
if ((env->vmd_vms = calloc(1, sizeof(*env->vmd_vms))) == NULL)
usr.sbin/vmd/config.c
83
if ((env->vmd_known = calloc(1, sizeof(*env->vmd_known))) == NULL)
usr.sbin/vmd/config.c
89
if ((env->vmd_switches = calloc(1,
usr.sbin/vmd/control.c
295
if ((c = calloc(1, sizeof(struct ctl_conn))) == NULL) {
usr.sbin/vmd/control.c
469
notify = calloc(1, sizeof(struct ctl_notify));
usr.sbin/vmd/dhcp.c
169
if ((respbuf = calloc(1, respbuflen)) == NULL)
usr.sbin/vmd/fw_cfg.c
340
if ((f = calloc(1, sizeof(*f))) == NULL)
usr.sbin/vmd/parse.y
1147
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/vmd/parse.y
1264
if ((sym = calloc(1, sizeof(*sym))) == NULL)
usr.sbin/vmd/parse.y
237
if ((vsw = calloc(1, sizeof(*vsw))) == NULL)
usr.sbin/vmd/proc.c
76
nargv = calloc(argc + 5, sizeof(char *));
usr.sbin/vmd/vioqcow2.c
255
disk->l1 = calloc(disk->l1sz, sizeof(*disk->l1));
usr.sbin/vmd/vioqcow2.c
284
disk->base = calloc(1, sizeof(struct qcdisk));
usr.sbin/vmd/vioscsi.c
1092
r_cap_data_16 = calloc(1, sizeof(struct scsi_read_cap_data_16));
usr.sbin/vmd/vioscsi.c
1194
reply_rpl = calloc(1, sizeof(struct vioscsi_report_luns_data));
usr.sbin/vmd/vioscsi.c
1588
mech_status_header = calloc(1,
usr.sbin/vmd/vioscsi.c
1941
get_conf_reply = (uint8_t*)calloc(G_CONFIG_REPLY_SIZE, sizeof(uint8_t));
usr.sbin/vmd/vioscsi.c
358
info = calloc(1, sizeof(*info));
usr.sbin/vmd/vioscsi.c
637
inq_data = calloc(1, sizeof(struct scsi_inquiry_data));
usr.sbin/vmd/vioscsi.c
730
(uint8_t*)calloc(mode_reply_len, sizeof(uint8_t));
usr.sbin/vmd/vioscsi.c
746
(uint8_t*)calloc(mode_reply_len, sizeof(uint8_t));
usr.sbin/vmd/vioscsi.c
869
(uint8_t*)calloc(mode_reply_len, sizeof(uint8_t));
usr.sbin/vmd/vioscsi.c
885
(uint8_t*)calloc(mode_reply_len, sizeof(uint8_t));
usr.sbin/vmd/vioscsi.c
998
r_cap_data = calloc(1, sizeof(struct scsi_read_cap_data));
usr.sbin/vmd/vm.c
605
tid = calloc(vmc->vmc_ncpus, sizeof(pthread_t));
usr.sbin/vmd/vm.c
610
vrp = calloc(vmc->vmc_ncpus, sizeof(struct vm_run_params *));
usr.sbin/vmd/vmd.c
1105
if ((n2i = calloc(1, sizeof(struct name2id))) == NULL) {
usr.sbin/vmd/vmd.c
1205
if ((vm = calloc(1, sizeof(*vm))) == NULL)
usr.sbin/vmd/vmd.c
554
if ((env = calloc(1, sizeof(*env))) == NULL)
usr.sbin/ypldap/aldap.c
1360
if ((str = calloc(len + 1, sizeof(char))) == NULL)
usr.sbin/ypldap/aldap.c
1389
if ((buffer = calloc(1, len + 1)) == NULL)
usr.sbin/ypldap/aldap.c
394
if ((m = calloc(1, sizeof(struct aldap_message))) == NULL)
usr.sbin/ypldap/aldap.c
853
if ((lu = calloc(1, sizeof(*lu))) == NULL)
usr.sbin/ypldap/aldap.c
89
if ((a = calloc(1, sizeof(*a))) == 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
186
if ((h = calloc(1, sizeof(*h))) == NULL)
usr.sbin/ypldap/ldapclient.c
286
if ((idm = calloc(1, sizeof(*idm))) == NULL)
usr.sbin/ypldap/ldapclient.c
389
if ((env.sc_iev = calloc(1, sizeof(*env.sc_iev))) == NULL)
usr.sbin/ypldap/ldapclient.c
391
if ((env.sc_iev_dns = calloc(1, sizeof(*env.sc_iev_dns))) == NULL)
usr.sbin/ypldap/parse.y
376
if ((idm = calloc(1, sizeof(*idm))) == NULL)
usr.sbin/ypldap/parse.y
867
if ((nfile = calloc(1, sizeof(struct file))) == NULL) {
usr.sbin/ypldap/parse.y
993
if ((sym = calloc(1, sizeof(*sym))) == NULL)
usr.sbin/ypldap/yp.c
119
if ((yp = calloc(1, sizeof(*yp))) == NULL)
usr.sbin/ypldap/yp.c
95
if ((ye = calloc(1, sizeof(*ye))) == NULL)
usr.sbin/ypldap/ypldap.c
133
if ((env->sc_user_names_t = calloc(1,
usr.sbin/ypldap/ypldap.c
135
(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
396
if ((ue = calloc(1, sizeof(*ue))) == NULL ||
usr.sbin/ypldap/ypldap.c
422
if ((ge = calloc(1, sizeof(*ge))) == NULL ||
usr.sbin/ypldap/ypldap.c
590
if ((env.sc_iev = calloc(1, sizeof(*env.sc_iev))) == NULL)
usr.sbin/ypldap/ypldap_dns.c
113
if ((env.sc_iev = calloc(1, sizeof(*env.sc_iev))) == NULL)
usr.sbin/ypldap/ypldap_dns.c
238
if ((h = calloc(1, sizeof(struct ypldap_addr))) == NULL)