Home
last modified time | relevance | path

Searched refs:ecalloc (Results 1 – 25 of 62) sorted by relevance

123

/freebsd-14.2/contrib/netbsd-tests/lib/libutil/
H A Dt_efun.c50 ATF_TC(ecalloc);
51 ATF_TC_HEAD(ecalloc, tc) in ATF_TC_HEAD() argument
56 ATF_TC_BODY(ecalloc, tc) in ATF_TC_BODY() argument
61 x = ecalloc(-1, 1); in ATF_TC_BODY()
67 x = ecalloc(SIZE_MAX, 2); in ATF_TC_BODY()
129 ATF_TP_ADD_TC(tp, ecalloc); in ATF_TP_ADD_TCS()
/freebsd-14.2/contrib/less/
H A Dfilename.c188 newstr = p = (char *) ecalloc(len, sizeof(char)); in shell_quote()
345 e = (char *) ecalloc(n+1, sizeof(char)); in fexpand()
413 fpat = (char *) ecalloc(len, sizeof(char)); in fcomplete()
422 fpat = (char *) ecalloc(len, sizeof(char)); in fcomplete()
517 buf = (char *) ecalloc(len, sizeof(char)); in readfd()
530 p = (char *) ecalloc(len, sizeof(char)); in readfd()
570 scmd = (char *) ecalloc(len, sizeof(char)); in shellcmd()
687 p = (char *) ecalloc(len, sizeof(char)); in lglob()
735 cmd = (char *) ecalloc(len, sizeof(char)); in lglob()
879 cmd = (char *) ecalloc(len, sizeof(char)); in open_altfile()
[all …]
H A Dtags.c118 tp = (struct tag *) ecalloc(sizeof(struct tag), 1); in maketagent()
119 tp->tag_file = (char *) ecalloc(strlen(file) + 1, sizeof(char)); in maketagent()
127 tp->tag_pattern = (char *) ecalloc(strlen(pattern) + 1, sizeof(char)); in maketagent()
461 char *cline = (char *) ecalloc(1, cvt_len); in ctagsearch()
540 command = (char *) ecalloc(strlen(cmd) + strlen(flag) + in findgtag()
H A Dlesskey.c133 void * ecalloc(int count, unsigned int size) in ecalloc() function
147 pathname = ecalloc(strlen(dirname) + strlen(filename) + 2, sizeof(char)); in mkpathname()
294 char *env = (char *) ecalloc(strlen(drive) + in main()
H A Dmain.c105 char *env = (char *) ecalloc(strlen(drive) + in main()
325 p = (char *) ecalloc(strlen(s)+1, sizeof(char)); in save()
340 public void * ecalloc(int count, unsigned int size) in ecalloc() function
H A Dpattern.c30 ecalloc(1, sizeof(struct re_pattern_buffer)); in compile_pattern2()
47 regex_t *comp = (regex_t *) ecalloc(1, sizeof(regex_t)); in compile_pattern2()
154 cvt_pattern = (char*) ecalloc(1, cvt_length(strlen(pattern), CVT_TO_LC)); in compile_pattern()
H A Dcvt.c40 int *chpos = (int *) ecalloc(sizeof(int), len); in cvt_alloc_chpos()
H A Dposition.c116 table = (POSITION *) ecalloc(sc_height, sizeof(POSITION)); in pos_init()
/freebsd-14.2/usr.sbin/makefs/zfs/
H A Dobjset.c82 os = ecalloc(1, sizeof(*os)); in objset_alloc()
91 chunk = ecalloc(1, sizeof(*chunk)); in objset_alloc()
96 os->phys = ecalloc(1, os->osblksz); in objset_alloc()
205 chunk = ecalloc(1, sizeof(*chunk)); in objset_dnode_bonus_alloc()
H A Dvdev.c174 label = ecalloc(1, sizeof(*label)); in vdev_label_write()
310 objarrblk = ecalloc(1, objarrblksz); in vdev_spacemap_write()
325 sma = ecalloc(zfs->mscount, sizeof(*sma)); in vdev_spacemap_write()
352 smblk = ecalloc(1, smblksz); in vdev_spacemap_write()
H A Dzap.c118 zap = ecalloc(1, sizeof(*zap)); in zap_alloc()
139 ent = ecalloc(1, sizeof(*ent)); in zap_add()
151 ent->valp = ecalloc(intcnt, intsz); in zap_add()
278 leafchunks = ecalloc(1u << prefixlen, sizeof(*leafchunks)); in zap_fat_write_prefixlen()
400 leafblks = ecalloc(lblkcnt, blksz); in zap_fat_write()
/freebsd-14.2/crypto/heimdal/appl/gssmask/
H A Dcommon.c58 (*list)[*listlen] = ecalloc(len, sizeof(**list)); in add_list()
90 list = ecalloc(strings->num_strings, sizeof(*list)); in permutate_all()
/freebsd-14.2/crypto/heimdal/lib/asn1/
H A Dasn1parse.y363 $$ = ecalloc(1, sizeof(*$$));
371 $$ = ecalloc(1, sizeof(*$$));
379 $$ = ecalloc(1, sizeof(*$$));
387 $$ = ecalloc(1, sizeof(*$$));
758 struct member *m = ecalloc(1, sizeof(*m));
993 Type *t = ecalloc(1, sizeof(*t)); in new_type()
1001 struct constraint_spec *c = ecalloc(1, sizeof(*c)); in new_constraint_spec()
H A Dasn1parse.c1864 (yyval.range) = ecalloc(1, sizeof(*(yyval.range)));
1875 (yyval.range) = ecalloc(1, sizeof(*(yyval.range)));
1886 (yyval.range) = ecalloc(1, sizeof(*(yyval.range)));
1897 (yyval.range) = ecalloc(1, sizeof(*(yyval.range)));
2349 struct member *m = ecalloc(1, sizeof(*m));
2816 Type *t = ecalloc(1, sizeof(*t)); in new_type()
2824 struct constraint_spec *c = ecalloc(1, sizeof(*c)); in new_constraint_spec()
H A Dcheck-common.c71 *map = ecalloc(1, sizeof(**map)); in map_alloc()
87 *map = ecalloc(1, sizeof(**map)); in map_alloc()
/freebsd-14.2/sbin/rcorder/
H A Dealloc.h6 void *ecalloc(size_t nmemb, size_t size);
H A Dealloc.c112 ecalloc(size_t nmemb, size_t size) in ecalloc() function
/freebsd-14.2/crypto/heimdal/lib/roken/
H A Decalloc.c46 ecalloc (size_t number, size_t size) in ecalloc() function
/freebsd-14.2/lib/libnetbsd/
H A Dutil.h47 void *ecalloc(size_t, size_t);
H A Defun.c114 ecalloc(size_t n, size_t s) in ecalloc() function
/freebsd-14.2/usr.sbin/makefs/cd9660/
H A Dcd9660_archimedes.c96 arc = ecalloc(1, sizeof(*arc)); in archimedes_convert_node()
H A Dcd9660_write.c175 buffer = ecalloc(path_table_sectors, diskStructure->sectorSize); in cd9660_write_path_table()
274 temp_file_name = ecalloc(PATH_MAX, 1); in cd9660_write_file()
/freebsd-14.2/usr.sbin/makefs/
H A Dzfs.c127 dsdesc = ecalloc(1, sizeof(*dsdesc)); in zfs_parse_opts()
392 configbuf = ecalloc(1, configblksz); in pool_init_objdir_config()
573 label = ecalloc(1, sizeof(*label)); in pool_labels_write()
676 c = ecalloc(1, sizeof(*c)); in dnode_cursor_init()
/freebsd-14.2/usr.sbin/makefs/msdos/
H A Dmsdosfs_vfsops.c104 pmp = ecalloc(1, sizeof(*pmp)); in m_msdosfs_mount()
296 pmp->pm_inusemap = ecalloc(sizeof(*pmp->pm_inusemap), in m_msdosfs_mount()
/freebsd-14.2/kerberos5/lib/libroken/
H A DMakefile21 ecalloc.c \

123