Searched refs:CALLOC (Results 1 - 18 of 18) sorted by relevance

/freebsd-10.1-release/contrib/amd/fsinfo/
H A Dfsi_dict.c69 dict *dp = CALLOC(struct dict);
78 dict_data *dd = CALLOC(struct dict_data);
89 dict_ent *de = CALLOC(struct dict_ent);
H A Dfsi_util.c315 automount *ap = CALLOC(struct automount);
330 auto_tree *tp = CALLOC(struct auto_tree);
343 host *hp = CALLOC(struct host);
430 ether_if *ep = CALLOC(struct ether_if);
535 disk_fs *dp = CALLOC(struct disk_fs);
579 fsi_mount *fp = CALLOC(struct fsi_mount);
633 fsmount *fp = CALLOC(struct fsmount);
651 qelem *q = CALLOC(qelem);
/freebsd-10.1-release/lib/libipsec/
H A Dpfkey.c51 #define CALLOC(size, cast) (cast)calloc(1, (size)) macro
395 if ((newmsg = CALLOC(len, struct sadb_msg *)) == NULL) {
596 if ((newmsg = CALLOC(len, struct sadb_msg *)) == NULL) {
1204 if ((newmsg = CALLOC(len, struct sadb_msg *)) == NULL) {
1324 if ((newmsg = CALLOC(len, struct sadb_msg *)) == NULL) {
1404 if ((newmsg = CALLOC(len, struct sadb_msg *)) == NULL) {
1481 if ((newmsg = CALLOC(len, struct sadb_msg *)) == NULL) {
1539 if ((newmsg = CALLOC(len, struct sadb_msg *)) == NULL) {
1648 if ((newmsg = CALLOC(reallen, struct sadb_msg *)) == 0) {
/freebsd-10.1-release/contrib/nvi/common/
H A Dcut.c305 CALLOC(sp, tp, TEXT *, 1, sizeof(TEXT));
H A Dmem.h159 #define CALLOC(sp, p, cast, nmemb, size) { \ macro
H A Dseq.c79 CALLOC(sp, qp, SEQ *, 1, sizeof(SEQ));
H A Dexf.c93 CALLOC(sp, frp, FREF *, 1, sizeof(FREF));
/freebsd-10.1-release/contrib/nvi/ex/
H A Dex_args.c314 CALLOC(sp, s_argv, char **, argc + 1, sizeof(char *));
H A Dex_global.c237 CALLOC(sp, rp, RANGE *, 1, sizeof(RANGE));
H A Dex_argv.c487 CALLOC(sp, exp->args[off], ARGS *, 1, sizeof(ARGS));
510 CALLOC(sp, exp->args[off], ARGS *, 1, sizeof(ARGS));
H A Dex_cscope.c655 CALLOC(sp, tqp, TAGQ *, 1, sizeof(TAGQ) + tlen + 3);
/freebsd-10.1-release/contrib/amd/include/
H A Dam_utils.h132 #define CALLOC(ty) ((ty *) xzalloc(sizeof(ty))) macro
/freebsd-10.1-release/contrib/byacc/
H A Dmain.c394 p = CALLOC(1, n);
H A Dreader.c1224 bp->argtags = CALLOC(sizeof(char *), args + 1);
2901 symbol_destructor = CALLOC(sizeof(char *), nsyms);
2904 symbol_type_tag = CALLOC(sizeof(char *), nsyms);
/freebsd-10.1-release/contrib/amd/amd/
H A Dconf.c311 cur_map = CALLOC(cf_map_t);
324 cf_map_t *tmp_map = CALLOC(cf_map_t);
H A Damfs_generic.c265 fs_opts = CALLOC(am_opts);
/freebsd-10.1-release/contrib/nvi/vi/
H A Dvs_split.c67 CALLOC(sp, _HMAP(new), SMAP *, SIZE_HMAP(sp), sizeof(SMAP));
227 CALLOC(sp, _HMAP(new), SMAP *, SIZE_HMAP(sp), sizeof(SMAP));
/freebsd-10.1-release/gnu/usr.bin/grep/
H A Ddfa.c164 #define CALLOC(p, t, n) ((p) = (t *) xcalloc((size_t)(n), sizeof (t))) macro
1711 CALLOC(d->follows, position_set, d->tindex);
2308 CALLOC(d->realtrans, int *, d->tralloc + 1);
2310 CALLOC(d->fails, int *, d->tralloc);

Completed in 231 milliseconds