Home
last modified time | relevance | path

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

12

/dragonfly/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.c104 char *env = (char *) ecalloc(strlen(drive) + in main()
317 p = (char *) ecalloc(strlen(s)+1, sizeof(char)); in save()
332 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 Dsearch.c183 info->text = (char *) ecalloc(1, strlen(pattern)+1); in set_pattern()
624 s = (struct hilite_storage *) ecalloc(1, sizeof(struct hilite_storage)); in hlist_getstorage()
625 s->nodes = (struct hilite_node *) ecalloc(capacity, sizeof(struct hilite_node)); in hlist_getstorage()
1320 cline = (char *) ecalloc(1, cvt_len); in search_range()
1827 filter = ecalloc(1, sizeof(struct pattern_info)); in set_filter_pattern()
H A Dposition.c116 table = (POSITION *) ecalloc(sc_height, sizeof(POSITION)); in pos_init()
H A Dxbuf.c35 data = (unsigned char *) ecalloc(xbuf->size, sizeof(unsigned char)); in xbuf_add_byte()
H A Dlsystem.c140 p = (char *) ecalloc(len, sizeof(char)); in lsystem()
H A Dcmdbuf.c752 ml = (struct mlist *) ecalloc(1, sizeof(struct mlist)); in cmd_addhist()
1043 tk_original = (char *) ecalloc(cp-word+1, sizeof(char)); in init_compl()
1532 char *tempname = ecalloc(1, strlen(filename)+1); in make_tempname()
/dragonfly/usr.bin/bmake/
H A Dutil.h73 ecalloc(size_t n, size_t s) in ecalloc() function
/dragonfly/usr.sbin/makefs/msdos/
H A Dmsdosfs_vfsops.c106 pmp = ecalloc(1, sizeof(*pmp)); in m_msdosfs_mount()
299 pmp->pm_inusemap = ecalloc(sizeof(*pmp->pm_inusemap), in m_msdosfs_mount()
H A Dmsdosfs_denode.c107 ldep = ecalloc(1, sizeof(*ldep)); in deget()
/dragonfly/usr.sbin/makefs/cd9660/
H A Dcd9660_archimedes.c97 arc = ecalloc(1, sizeof(*arc)); in archimedes_convert_node()
H A Dcd9660_write.c176 buffer = ecalloc(path_table_sectors, diskStructure->sectorSize); in cd9660_write_path_table()
275 temp_file_name = ecalloc(CD9660MAXPATH + 1, 1); in cd9660_write_file()
/dragonfly/usr.sbin/makefs/hammer2/
H A Dhammer2_compat.h76 #define kmalloc(size, type, flags) ecalloc(1, size)
82 #define kmalloc_obj(size, type, flags) ecalloc(1, size)
566 vp = ecalloc(1, sizeof(*vp)); in getnewvnode()
H A Dhammer2_strategy.c172 compressed_buffer = ecalloc(1, 65536); in hammer2_decompress_LZ4_callback()
221 compressed_buffer = ecalloc(1, 65536); in hammer2_decompress_ZLIB_callback()
955 comp_buffer = ecalloc(1, 32768); in hammer2_compress_and_write()
979 comp_buffer = ecalloc(1, 32768); in hammer2_compress_and_write()
/dragonfly/lib/libutil/
H A Defun.c111 ecalloc(size_t n, size_t s) in ecalloc() function
H A Dlibutil.h154 void *ecalloc(size_t, size_t);
H A DMakefile78 efun.3 ecalloc.3 \
/dragonfly/usr.sbin/makefs/
H A Dwalk.c226 cur = ecalloc(1, sizeof(*cur)); in create_fsnode()
229 cur->inode = ecalloc(1, sizeof(*cur->inode)); in create_fsnode()
668 htable = ecalloc(htmask+1, sizeof(*htable)); in link_check()
H A Dcd9660.c176 cd9660node *temp = ecalloc(1, sizeof(*temp)); in cd9660_allocate_cd9660node()
250 iso9660_disk *diskStructure = ecalloc(1, sizeof(*diskStructure)); in cd9660_prep_opts()
774 t->volumeDescriptorData = ecalloc(1, 2048); in cd9660_setup_volume_descriptors()
786 t->volumeDescriptorData = ecalloc(1, 2048); in cd9660_setup_volume_descriptors()
2016 temp->node->inode = ecalloc(1, sizeof(*temp->node->inode)); in cd9660_create_file()
2043 temp->node->inode = ecalloc(1, sizeof(*temp->node->inode)); in cd9660_create_directory()
H A Dmtree.c267 var = ecalloc(p - v, 1); in mtree_resolve()
430 n = ecalloc(1, sizeof(*n)); in create_node()
435 n->inode = ecalloc(1, sizeof(*n->inode)); in create_node()
/dragonfly/usr.sbin/makefs/ffs/
H A Dbuf.c222 bp = ecalloc(1, sizeof(*bp)); in getblk()

12