Searched refs:ecalloc (Results 1 - 25 of 105) sorted by relevance

12345

/netbsd-current/tests/lib/libutil/
H A Dt_efun.c50 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 Decalloc.c1 /* $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 Dfilename.c72 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 Dcvt.c42 int *chpos = (int *) ecalloc(sizeof(int), len);
H A Dmain.c107 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 Dlesskey.c135 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 Dtags.c120 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 Dpattern.c32 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 Dcolumn.c220 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 Dsetup.c426 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 Dnpf_var.c66 npfvar_t *vp = ecalloc(1, sizeof(*vp));
115 el = ecalloc(1, sizeof(*el));
116 el->e_data = ecalloc(1, len);
H A Dnpf_extmod.c82 ext = ecalloc(1, sizeof(npf_extmod_t));
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/asn1/
H A Dsymbol.c83 s = (Symbol *) ecalloc(1, sizeof(*s));
/netbsd-current/usr.sbin/makefs/cd9660/
H A Dcd9660_archimedes.c102 arc = ecalloc(1, sizeof(*arc));
/netbsd-current/external/bsd/top/dist/
H A Dos.h59 #define ecalloc calloc macro
/netbsd-current/usr.sbin/makefs/ffs/
H A Dbuf.h128 #define pool_get(p, f) ecalloc(1, (p)->size)
/netbsd-current/usr.bin/config/
H A Dpack.c130 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 Dparse.c102 tfs = ecalloc(1, sizeof(FS));
118 tfu = ecalloc(1, sizeof(FU));
236 pr = ecalloc(1, sizeof(*pr));
/netbsd-current/usr.bin/mail/
H A Dcmd4.c177 np = ecalloc(1, sizeof(*np));
199 sp = ecalloc(1, sizeof(*sp));
295 np = ecalloc(1, sizeof(*np));
H A Dvars.c125 vp = ecalloc(1, sizeof(*vp));
/netbsd-current/usr.sbin/makefs/
H A Dv7fs.c64 v7fs_opt_t *v7fs_opts = ecalloc(1, sizeof(*v7fs_opts));
/netbsd-current/crypto/external/bsd/heimdal/lib/libroken/
H A DMakefile24 ecalloc.c \
/netbsd-current/include/
H A Dutil.h156 void *ecalloc(size_t, size_t);
/netbsd-current/sbin/mount_puffs/
H A Dmount_puffs.c94 argv = ecalloc(1 + 2 + 1 + 1, sizeof(*argv));
/netbsd-current/usr.bin/sortinfo/
H A Dsortinfo.c70 slist[nsections].lines = ecalloc(slist[nsections].maxlines,

Completed in 333 milliseconds

12345