/netbsd-current/tests/lib/libutil/ |
H A D | t_efun.c | 50 ATF_TC(ecalloc); variable 51 ATF_TC_HEAD(ecalloc, tc) 53 atf_tc_set_md_var(tc, "descr", "A basic test of ecalloc(3)"); 56 ATF_TC_BODY(ecalloc, tc) 61 x = ecalloc(-1, 1); 67 x = ecalloc(SIZE_MAX, 2); 129 ATF_TP_ADD_TC(tp, ecalloc);
|
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | ecalloc.c | 1 /* $NetBSD: ecalloc.c,v 1.2 2017/01/28 21:31:50 christos Exp $ */ 48 ecalloc (size_t number, size_t size) function
|
/netbsd-current/external/bsd/less/dist/ |
H A D | filename.c | 72 name = p = (char *) ecalloc(strlen(str)+1, sizeof(char)); 190 newstr = p = (char *) ecalloc(len, sizeof(char)); 270 pathname = (char *) ecalloc(_MAX_PATH, sizeof(char)); 347 e = (char *) ecalloc(n+1, sizeof(char)); 415 fpat = (char *) ecalloc(len, sizeof(char)); 424 fpat = (char *) ecalloc(len, sizeof(char)); 519 buf = (char *) ecalloc(len, sizeof(char)); 532 p = (char *) ecalloc(len, sizeof(char)); 572 scmd = (char *) ecalloc(len, sizeof(char)); 631 gfilename = (char *) ecalloc(lengt [all...] |
H A D | cvt.c | 42 int *chpos = (int *) ecalloc(sizeof(int), len);
|
H A D | main.c | 107 char *env = (char *) ecalloc(strlen(drive) + 323 p = (char *) ecalloc(strlen(s)+1, sizeof(char)); 338 public void * ecalloc(int count, unsigned int size) function
|
H A D | lesskey.c | 135 void * ecalloc(int count, unsigned int size) function 149 pathname = ecalloc(strlen(dirname) + strlen(filename) + 2, sizeof(char)); 296 char *env = (char *) ecalloc(strlen(drive) +
|
H A D | tags.c | 120 tp = (struct tag *) ecalloc(sizeof(struct tag), 1); 121 tp->tag_file = (char *) ecalloc(strlen(file) + 1, sizeof(char)); 129 tp->tag_pattern = (char *) ecalloc(strlen(pattern) + 1, sizeof(char)); 463 char *cline = (char *) ecalloc(1, cvt_len); 542 command = (char *) ecalloc(strlen(cmd) + strlen(flag) +
|
H A D | pattern.c | 32 ecalloc(1, sizeof(struct re_pattern_buffer)); 49 regex_t *comp = (regex_t *) ecalloc(1, sizeof(regex_t)); 156 cvt_pattern = (char*) ecalloc(1, cvt_length(strlen(pattern), CVT_TO_LC));
|
/netbsd-current/usr.bin/column/ |
H A D | column.c | 220 t = tbl = ecalloc(entries, sizeof(*t)); 221 cols = ecalloc((maxcols = DEFCOLS), sizeof(*cols)); 222 lens = ecalloc(maxcols, sizeof(*lens)); 239 t->list = ecalloc(coloff, sizeof(*(t->list))); 240 t->len = ecalloc(coloff, sizeof(*(t->len))); 271 list = ecalloc((maxentry = DEFNUM), sizeof(*list));
|
/netbsd-current/sbin/fsck_lfs/ |
H A D | setup.c | 426 din_table = ecalloc(maxino, sizeof(*din_table)); 427 seg_table = ecalloc(lfs_sb_getnseg(fs), sizeof(SEGUSE)); 443 blockmap = ecalloc(bmapsize, sizeof(char)); 445 blockmap = ecalloc(maxfsblock, sizeof(ino_t)); 447 statemap = ecalloc(maxino, sizeof(char)); 448 typemap = ecalloc(maxino, sizeof(char)); 449 lncntp = ecalloc(maxino, sizeof(int16_t)); 457 inpsort = ecalloc(listmax, sizeof(struct inoinfo *)); 458 inphead = ecalloc(numdirs, sizeof(struct inoinfo *));
|
/netbsd-current/usr.sbin/npf/npfctl/ |
H A D | npf_var.c | 66 npfvar_t *vp = ecalloc(1, sizeof(*vp)); 115 el = ecalloc(1, sizeof(*el)); 116 el->e_data = ecalloc(1, len);
|
H A D | npf_extmod.c | 82 ext = ecalloc(1, sizeof(npf_extmod_t));
|
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/asn1/ |
H A D | symbol.c | 83 s = (Symbol *) ecalloc(1, sizeof(*s));
|
/netbsd-current/usr.sbin/makefs/cd9660/ |
H A D | cd9660_archimedes.c | 102 arc = ecalloc(1, sizeof(*arc));
|
/netbsd-current/external/bsd/top/dist/ |
H A D | os.h | 59 #define ecalloc calloc macro
|
/netbsd-current/usr.sbin/makefs/ffs/ |
H A D | buf.h | 128 #define pool_get(p, f) ecalloc(1, (p)->size)
|
/netbsd-current/usr.bin/config/ |
H A D | pack.c | 130 locators.vec = ecalloc((size_t)locspace, sizeof(*locators.vec)); 178 packed = ecalloc((size_t)ndevi + 1, sizeof *packed); 282 t = ecalloc(1, sizeof(*t));
|
/netbsd-current/usr.bin/hexdump/ |
H A D | parse.c | 102 tfs = ecalloc(1, sizeof(FS)); 118 tfu = ecalloc(1, sizeof(FU)); 236 pr = ecalloc(1, sizeof(*pr));
|
/netbsd-current/usr.bin/mail/ |
H A D | cmd4.c | 177 np = ecalloc(1, sizeof(*np)); 199 sp = ecalloc(1, sizeof(*sp)); 295 np = ecalloc(1, sizeof(*np));
|
H A D | vars.c | 125 vp = ecalloc(1, sizeof(*vp));
|
/netbsd-current/usr.sbin/makefs/ |
H A D | v7fs.c | 64 v7fs_opt_t *v7fs_opts = ecalloc(1, sizeof(*v7fs_opts));
|
/netbsd-current/crypto/external/bsd/heimdal/lib/libroken/ |
H A D | Makefile | 24 ecalloc.c \
|
/netbsd-current/include/ |
H A D | util.h | 156 void *ecalloc(size_t, size_t);
|
/netbsd-current/sbin/mount_puffs/ |
H A D | mount_puffs.c | 94 argv = ecalloc(1 + 2 + 1 + 1, sizeof(*argv));
|
/netbsd-current/usr.bin/sortinfo/ |
H A D | sortinfo.c | 70 slist[nsections].lines = ecalloc(slist[nsections].maxlines,
|