Home
last modified time | relevance | path

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

12

/openbsd-src/usr.bin/less/
H A Dfilename.c45 name = p = ecalloc(strlen(str)+1, sizeof (char)); in shell_unquote()
167 newstr = r = ecalloc(len, sizeof (char)); in shell_quote()
283 e = ecalloc(n+1, sizeof (char)); in fexpand()
423 gfilename = ecalloc(length, sizeof (char)); in lglob()
H A Dpattern.c32 comp = ecalloc(1, sizeof (regex_t)); in compile_pattern2()
56 cvt_pattern = ecalloc(1, cvt_length(strlen(pattern))); in compile_pattern()
H A Dsearch.c445 hl = ecalloc(1, sizeof (struct hilite)); in create_hilites()
462 hl = ecalloc(1, sizeof (struct hilite)); in create_hilites()
748 cline = ecalloc(1, cvt_len); in search_range()
764 ecalloc(1, sizeof (struct hilite)); in search_range()
H A Dcvt.c44 int *chpos = ecalloc(sizeof (int), len); in cvt_alloc_chpos()
H A Dposition.c119 table = ecalloc(sc_height, sizeof (off_t)); in pos_init()
H A Difile.c109 p = ecalloc(1, sizeof (struct ifile)); in new_ifile()
H A Dfuncs.h12 void *ecalloc(int, unsigned int);
H A Dmain.c279 ecalloc(int count, unsigned int size) in ecalloc() function
H A Dtags.c95 tp = ecalloc(sizeof (struct tag), 1); in maketagent()
H A Dline.c83 linebuf = ecalloc(LINEBUF_SIZE, sizeof (char)); in init_line()
84 attr = ecalloc(LINEBUF_SIZE, sizeof (char)); in init_line()
/openbsd-src/usr.sbin/makefs/
H A Dwalk.c199 cur = ecalloc(1, sizeof(*cur)); in create_fsnode()
202 cur->inode = ecalloc(1, sizeof(*cur->inode)); in create_fsnode()
335 htable = ecalloc(htmask+1, sizeof(*htable)); in link_check()
H A Dxmalloc.c18 ecalloc(size_t nmemb, size_t size) in ecalloc() function
H A Dmakefs.h192 void *ecalloc(size_t, size_t);
H A Dcd9660.c173 cd9660node *temp = ecalloc(1, sizeof(*temp)); in cd9660_allocate_cd9660node()
239 iso9660_disk *diskStructure = ecalloc(1, sizeof(*diskStructure)); in cd9660_prep_opts()
651 t->volumeDescriptorData = ecalloc(1, 2048); in cd9660_setup_volume_descriptors()
661 t->volumeDescriptorData = ecalloc(1, 2048); in cd9660_setup_volume_descriptors()
1880 temp->node->inode = ecalloc(1, sizeof(*temp->node->inode)); in cd9660_create_file()
1907 temp->node->inode = ecalloc(1, sizeof(*temp->node->inode)); in cd9660_create_directory()
H A Dmsdos.c53 struct msdos_options *msdos_opt = ecalloc(1, sizeof(*msdos_opt)); in msdos_prep_opts()
H A Dmakefs.c310 return memcpy(ecalloc(i, sizeof(*o)), o, i * sizeof(*o)); in copy_opts()
/openbsd-src/usr.sbin/makefs/ffs/
H A Dbuf.h97 #define pool_get(p, f) ecalloc(1, (p)->size)
H A Dbuf.c177 bp = ecalloc(1, sizeof(*bp)); in getblk()
/openbsd-src/usr.sbin/makefs/msdos/
H A Dmsdosfs_vfsops.c112 pmp = ecalloc(1, sizeof *pmp); in msdosfs_mount()
310 pmp->pm_inusemap = ecalloc(sizeof(*pmp->pm_inusemap), in msdosfs_mount()
H A Dmsdosfs_denode.c101 ldep = ecalloc(1, sizeof(*ldep)); in deget()
/openbsd-src/usr.bin/make/
H A Dstats.c170 statarray = ecalloc(STAT_NUMBER, sizeof(unsigned long)); in Init_Stats()
/openbsd-src/usr.sbin/config/
H A Dutil.c87 ecalloc(size_t sz1, size_t sz2) in ecalloc() function
H A Dconfig.h373 void *ecalloc(size_t, size_t);
H A Dhash.c112 h = ecalloc(n, sizeof *h); in ht_expand()
/openbsd-src/usr.sbin/makefs/cd9660/
H A Dcd9660_eltorito.c97 new_image = ecalloc(1, sizeof(*new_image)); in cd9660_add_boot_disk()
216 return ecalloc(1, sizeof(struct boot_catalog_entry)); in cd9660_init_boot_catalog_entry()

12