Home
last modified time | relevance | path

Searched refs:CALLOC (Results 1 – 25 of 27) sorted by relevance

12

/netbsd-src/external/bsd/am-utils/dist/amd/
H A Dsun_map_parse.y114 entry = CALLOC(struct sun_entry);
134 entry = CALLOC(struct sun_entry);
170 entry = CALLOC(struct sun_entry);
191 entry = CALLOC(struct sun_entry);
232 mountpt = CALLOC(struct sun_mountpt);
255 mountpt = CALLOC(struct sun_mountpt);
298 location = CALLOC(struct sun_location);
320 location = CALLOC(struct sun_location);
336 struct sun_host *host = CALLOC(struct sun_host);
361 struct sun_host *host = CALLOC(struct sun_host);
[all …]
H A Dconf.c318 cur_map = CALLOC(cf_map_t); in set_conf_kv()
331 cf_map_t *tmp_map = CALLOC(cf_map_t); in set_conf_kv()
H A Dmntfs.c222 am_loc *loc = CALLOC(struct am_loc); in new_loc()
H A Dsrvr_nfs.c792 ip = CALLOC(struct sockaddr_in); in find_nfs_srvr()
H A Damfs_generic.c269 fs_opts = CALLOC(am_opts); in amfs_lookup_one_location()
H A Dopts.c1383 newopts = CALLOC(struct am_opts); in copy_opts()
/netbsd-src/external/bsd/am-utils/dist/fsinfo/
H A Dfsi_util.c313 automount *ap = CALLOC(struct automount); in new_automount()
328 auto_tree *tp = CALLOC(struct auto_tree); in new_auto_tree()
341 host *hp = CALLOC(struct host); in new_host()
428 ether_if *ep = CALLOC(struct ether_if); in new_ether_if()
533 disk_fs *dp = CALLOC(struct disk_fs); in new_disk_fs()
577 fsi_mount *fp = CALLOC(struct fsi_mount); in new_mount()
631 fsmount *fp = CALLOC(struct fsmount); in new_fsmount()
649 qelem *q = CALLOC(qelem); in new_que()
H A Dfsi_dict.c67 dict *dp = CALLOC(struct dict); in new_dict()
76 dict_data *dd = CALLOC(struct dict_data); in dict_add_data()
87 dict_ent *de = CALLOC(struct dict_ent); in new_dict_ent()
H A Dfsi_lex.l258 ioloc *ip = CALLOC(struct ioloc);
/netbsd-src/external/gpl2/gmake/dist/
H A Dhash.c22 #define CALLOC(t, n) ((t *) calloc (sizeof (t), (n))) macro
48 ht->ht_vec = (void**) CALLOC (struct token *, ht->ht_size); in hash_init()
264 ht->ht_vec = (void **) CALLOC (struct token *, ht->ht_size); in hash_rehash()
/netbsd-src/crypto/dist/ipsec-tools/src/libipsec/
H A Dpfkey.c53 #define CALLOC(size, cast) (cast)calloc(1, (size)) macro
427 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_getspi_nat()
635 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_delete_all()
1165 if ((newmsg = CALLOC(len, struct sadb_msg *)) == NULL) { in pfkey_send_migrate()
1334 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_x1()
1522 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_x2()
1602 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_x3()
1673 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_x4()
1728 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_x5()
1892 if ((newmsg = CALLOC((size_t)reallen, struct sadb_msg *)) == 0) { in pfkey_recv()
/netbsd-src/external/bsd/nvi/dist/ex/
H A Dex_argv.c447 CALLOC(sp, exp->args[off], ARGS *, 1, sizeof(ARGS)); in argv_alloc()
470 CALLOC(sp, exp->args[off], ARGS *, 1, sizeof(ARGS)); in argv_alloc()
H A Dex_global.c241 CALLOC(sp, rp, RANGE *, 1, sizeof(RANGE)); in ex_g_setup()
H A Dex_args.c319 CALLOC(sp, s_argv, char **, argc + 1, sizeof(char *)); in ex_buildargv()
H A Dex_cscope.c642 CALLOC(sp, tqp, TAGQ *, 1, sizeof(TAGQ) + tlen + 3); in create_cs_cmd()
/netbsd-src/external/bsd/nvi/dist/common/
H A Dcut.c312 CALLOC(sp, tp, TEXT *, 1, sizeof(TEXT)); in text_init()
H A Dmem.h156 #define CALLOC(sp, p, cast, nmemb, size) { \ macro
H A Dseq.c75 CALLOC(sp, qp, SEQ *, 1, sizeof(SEQ)); in seq_set()
H A Dexf.c98 CALLOC(sp, frp, FREF *, 1, sizeof(FREF)); in file_add()
/netbsd-src/usr.sbin/syslogd/
H A Dsyslogd.h218 #define CALLOC(ptr, size) do { \ macro
H A Dtls.c1313 CALLOC(tls_in, sizeof(*tls_in)); in dispatch_tls_accept()
1314 CALLOC(tls_in->inbuf, (size_t)TLS_MIN_LINELENGTH); in dispatch_tls_accept()
/netbsd-src/external/bsd/nvi/dist/vi/
H A Dvs_split.c72 CALLOC(sp, _HMAP(new), SMAP *, SIZE_HMAP(sp), sizeof(SMAP)); in vs_split()
232 CALLOC(sp, _HMAP(new), SMAP *, SIZE_HMAP(sp), sizeof(SMAP)); in vs_vsplit()
/netbsd-src/external/bsd/am-utils/dist/include/
H A Dam_utils.h140 #define CALLOC(ty) ((ty *) xzalloc(sizeof(ty))) macro
/netbsd-src/external/gpl2/grep/dist/src/
H A Ddfa.c164 #define CALLOC(p, t, n) ((p) = (t *) xcalloc((size_t)(n), sizeof (t))) macro
1713 CALLOC(d->follows, position_set, d->tindex); in dfaanalyze()
2310 CALLOC(d->realtrans, int *, d->tralloc + 1); in build_state_zero()
2312 CALLOC(d->fails, int *, d->tralloc); in build_state_zero()
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgrep/
H A Ddfa.c138 #define CALLOC(p, t, n) ((p) = (t *) xcalloc((size_t)(n), sizeof (t))) macro
1692 CALLOC(d->follows, position_set, d->tindex); in dfaanalyze()
2289 CALLOC(d->realtrans, int *, d->tralloc + 1); in build_state_zero()
2291 CALLOC(d->fails, int *, d->tralloc); in build_state_zero()

12