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

1234

/netbsd-6-1-5-RELEASE/tests/lib/libutil/
H A Dt_efun.c49 ATF_TC(ecalloc); variable
50 ATF_TC_HEAD(ecalloc, tc)
52 atf_tc_set_md_var(tc, "descr", "A basic test of ecalloc(3)");
55 ATF_TC_BODY(ecalloc, tc)
60 x = ecalloc(-1, 1);
66 x = ecalloc(SIZE_MAX, 2);
128 ATF_TP_ADD_TC(tp, ecalloc);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/
H A Decalloc.c48 ecalloc (size_t number, size_t size) function
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/shell-backends/
H A Dpasswd-shell.c168 entry = (struct ldentry *) ecalloc( 1, sizeof( struct ldentry ));
179 entry->lde_attrs = (struct ldattr **)ecalloc( 5, sizeof( struct ldattr * ));
181 attr = (struct ldattr *)ecalloc( 1, sizeof( struct ldattr ));
183 attr->lda_values = (char **)ecalloc( 2, sizeof( char * ));
187 attr = (struct ldattr *)ecalloc( 1, sizeof( struct ldattr ));
189 attr->lda_values = (char **)ecalloc( 2, sizeof( char * ));
193 attr = (struct ldattr *)ecalloc( 1, sizeof( struct ldattr ));
195 attr->lda_values = (char **)ecalloc( 2, sizeof( char * ));
199 attr = (struct ldattr *)ecalloc( 1, sizeof( struct ldattr ));
201 attr->lda_values = (char **)ecalloc(
[all...]
H A Dshellutil.h112 char *ecalloc( unsigned nelem, unsigned elsize );
/netbsd-6-1-5-RELEASE/external/bsd/less/dist/
H A Dfilename.c81 name = p = (char *) ecalloc(strlen(str)+1, sizeof(char));
205 newstr = p = (char *) ecalloc(len, sizeof(char));
375 e = (char *) ecalloc(n+1, sizeof(char));
445 fpat = (char *) ecalloc(len, sizeof(char));
454 fpat = (char *) ecalloc(len, sizeof(char));
545 buf = (char *) ecalloc(len, sizeof(char));
558 p = (char *) ecalloc(len, sizeof(char));
606 scmd = (char *) ecalloc(len, sizeof(char));
670 gfilename = (char *) ecalloc(length, sizeof(char));
710 gfilename = (char *) ecalloc(le
[all...]
H A Dcvt.c48 int *chpos = (int *) ecalloc(sizeof(int), len);
H A Dmain.c102 char *env = (char *) ecalloc(strlen(drive) +
309 p = (char *) ecalloc(strlen(s)+1, sizeof(char));
319 ecalloc(count, size) function
H A Dposition.c126 table = (POSITION *) ecalloc(sc_height, sizeof(POSITION));
H A Dtags.c124 tp = (struct tag *) ecalloc(sizeof(struct tag), 1);
125 tp->tag_file = (char *) ecalloc(strlen(file) + 1, sizeof(char));
133 tp->tag_pattern = (char *) ecalloc(strlen(pattern) + 1, sizeof(char));
533 command = (char *) ecalloc(strlen(cmd) + strlen(flag) +
H A Dpattern.c34 regex_t *comp = (regex_t *) ecalloc(1, sizeof(regex_t));
119 cvt_pattern = (char*) ecalloc(1, cvt_length(strlen(pattern), CVT_TO_LC));
/netbsd-6-1-5-RELEASE/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-6-1-5-RELEASE/sbin/fsck_lfs/
H A Dsetup.c423 din_table = ecalloc(maxino, sizeof(*din_table));
424 seg_table = ecalloc(fs->lfs_nseg, sizeof(SEGUSE));
440 blockmap = ecalloc(bmapsize, sizeof(char));
443 blockmap = ecalloc(maxfsblock, sizeof(ino_t));
445 statemap = ecalloc(maxino, sizeof(char));
446 typemap = ecalloc(maxino, sizeof(char));
447 lncntp = ecalloc(maxino, sizeof(int16_t));
455 inpsort = ecalloc(listmax, sizeof(struct inoinfo *));
456 inphead = ecalloc(numdirs, sizeof(struct inoinfo *));
H A Dpass1.c111 dins = ecalloc(maxino, sizeof(*dins));
141 inpsort = ecalloc(listmax, sizeof(struct inoinfo *));
142 inphead = ecalloc(numdirs, sizeof(struct inoinfo *));
H A Dlfs.c345 vp = ecalloc(1, sizeof(*vp));
355 ip = ecalloc(1, sizeof(*ip));
357 ip->i_din.ffs1_din = ecalloc(1, sizeof(*ip->i_din.ffs1_din));
360 ip->inode_ext.lfs = ecalloc(1, sizeof(*ip->inode_ext.lfs));
459 devvp = ecalloc(1, sizeof(*devvp));
472 fs = ecalloc(1, sizeof(*fs));
485 fs = ecalloc(1, sizeof(*fs));
496 altfs = ecalloc(1, sizeof(*altfs));
/netbsd-6-1-5-RELEASE/external/bsd/top/dist/
H A Dos.h59 #define ecalloc calloc macro
/netbsd-6-1-5-RELEASE/usr.sbin/npf/npfctl/
H A Dnpf_extmod.c84 ext = ecalloc(1, sizeof(npf_extmod_t));
H A Dnpf_var.c63 npfvar_t *vp = ecalloc(1, sizeof(*vp));
107 el = ecalloc(1, sizeof(*el));
108 el->e_data = ecalloc(1, len);
/netbsd-6-1-5-RELEASE/usr.bin/config/
H A Dpack.c127 locators.vec = ecalloc((size_t)locspace, sizeof(*locators.vec));
175 packed = ecalloc((size_t)ndevi + 1, sizeof *packed);
279 t = ecalloc(1, sizeof(*t));
/netbsd-6-1-5-RELEASE/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-6-1-5-RELEASE/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.c127 vp = ecalloc(1, sizeof(*vp));
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/lib/libroken/
H A DMakefile22 ecalloc.c \
/netbsd-6-1-5-RELEASE/include/
H A Dutil.h141 void *ecalloc(size_t, size_t);
/netbsd-6-1-5-RELEASE/lib/libutil/
H A Defun.c113 ecalloc(size_t n, size_t s) function
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/include/
H A Droken.h249 #define ecalloc rk_ecalloc macro
250 ROKEN_LIB_FUNCTION void * ROKEN_LIB_CALL ecalloc(size_t, size_t);

Completed in 322 milliseconds

1234