Home
last modified time | relevance | path

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

12

/dflybsd-src/contrib/less/
H A Dfilename.c69 name = p = (char *) ecalloc(strlen(str)+1, sizeof(char)); in shell_unquote()
200 newstr = np = (char *) ecalloc(len, sizeof(char)); in shell_quoten()
293 pathname = (char *) ecalloc(_MAX_PATH, sizeof(char)); in homefile()
392 e = (char *) ecalloc(n, sizeof(char)); in fexpand()
435 fpat = (char *) ecalloc(len, sizeof(char)); in fcomplete()
444 fpat = (char *) ecalloc(len, sizeof(char)); in fcomplete()
573 scmd = (char *) ecalloc(len, sizeof(char)); in shellcmd()
632 gfilename = (char *) ecalloc(length, sizeof(char)); in lglob()
671 gfilename = (char *) ecalloc(len, sizeof(char)); in lglob()
675 pfilename = (char *) ecalloc(n, sizeof(char)); in lglob()
[all …]
H A Dmain.c82 u8 = ecalloc(n, sizeof(char)); in utf8_from_wide()
116 u8argv = (constant char **) ecalloc(n + 1, sizeof(char *)); in try_utf8_locale()
156 char *msg = ecalloc(msglen, sizeof(char)); in security_feature_error()
267 char *env = (char *) ecalloc(strlen(drive) + in main()
479 char *p = (char *) ecalloc(n+1, sizeof(char)); in saven()
500 public void * ecalloc(size_t count, size_t size) in ecalloc() function
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(size_t count, size_t size) in ecalloc() function
147 pathname = ecalloc(strlen(dirname) + strlen(filename) + 2, sizeof(char)); in mkpathname()
301 char *env = (char *) ecalloc(strlen(drive) + in main()
H A Dposition.c116 table = (POSITION *) ecalloc((size_t) sc_height, sizeof(POSITION)); /*{{type-issue}}*/ in pos_init()
259 cline = (char *) ecalloc(1, line_len+1); in pos_shift()
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 char *cvt_pattern = (char*) ecalloc(1, cvt_length(strlen(pattern), CVT_TO_LC)); in compile_pattern()
H A Dcvt.c41 int *chpos = (int *) ecalloc(len, sizeof(int)); in cvt_alloc_chpos()
H A Dsearch.c201 info->text = (char *) ecalloc(1, strlen(pattern)+1); in set_pattern()
716 s = (struct hilite_storage *) ecalloc(1, sizeof(struct hilite_storage)); in hlist_getstorage()
717 s->nodes = (struct hilite_node *) ecalloc(capacity, sizeof(struct hilite_node)); in hlist_getstorage()
1655 cline = (char *) ecalloc(1, cvt_len); in search_range()
1922 char *param = ecalloc(uri_len+3, sizeof(char)); in osc8_open()
2391 filter = ecalloc(1, sizeof(struct pattern_info)); in set_filter_pattern()
H A Dxbuf.c47 data = (unsigned char *) ecalloc(xbuf->size, sizeof(unsigned char)); in xbuf_add_byte()
H A Dlsystem.c139 p = (char *) ecalloc(len, sizeof(char)); in lsystem()
H A Devar.c73 repl = ecalloc(1, sizeof(struct replace)); in make_replaces()
H A Dscreen.c726 p = (struct env *) ecalloc(1, sizeof(struct env)); in ltget_env()
728 p->value = (char *) ecalloc(strlen(capname)+3, sizeof(char)); in ltget_env()
1239 termcap = (char *) ecalloc(strlen(sp)+9, sizeof(char)); in get_term()
1565 blanks = (char *) ecalloc(width+1, sizeof(char)); in initcolor()
2197 blanks = (char *) ecalloc(w.numtextcols, sizeof(char)); in create_flash()
2901 WIN32_CHAR *wch = (WIN32_CHAR *) ecalloc(1, sizeof(WIN32_CHAR)); in win32_enqueue()
2921 WIN32_CHAR *wch = (WIN32_CHAR *) ecalloc(1, sizeof(WIN32_CHAR)); in WIN32ungetch()
/dflybsd-src/usr.bin/bmake/
H A Dutil.h73 ecalloc(size_t n, size_t s) in ecalloc() function
/dflybsd-src/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()
/dflybsd-src/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()
/dflybsd-src/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()
/dflybsd-src/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 \
/dflybsd-src/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()

12