Home
last modified time | relevance | path

Searched refs:ckmalloc (Results 1 – 13 of 13) sorted by relevance

/freebsd-14.2/bin/sh/
H A Dmemalloc.c63 ckmalloc(size_t nbytes) in ckmalloc() function
111 p = ckmalloc(len + 1); in savestr()
153 sp = ckmalloc(allocsize); in stnewblock()
H A Dinput.c314 sp = ckmalloc(sizeof (struct strpush)); in pushstring()
400 parsefile->buf = ckmalloc(BUFSIZ + 1); in setinputfd()
406 parsefile->buf = ckmalloc(BUFSIZ + 1); in setinputfd()
445 pf = (struct parsefile *)ckmalloc(sizeof (struct parsefile)); in pushfile()
H A Dalias.c67 ap = ckmalloc(sizeof (struct alias)); in setalias()
183 sorted = ckmalloc(aliases * sizeof(*sorted)); in printaliases()
H A Dvar.c258 nameeq = ckmalloc(len); in setvar()
381 vp = ckmalloc(sizeof (*vp)); in setvareq()
615 vars = ckmalloc(n * sizeof(*vars)); in showvarscmd()
758 lvp = ckmalloc(sizeof (struct localvar)); in mklocal()
760 lvp->text = ckmalloc(sizeof optval); in mklocal()
H A Dmemalloc.h50 pointer ckmalloc(size_t);
H A Doptions.c325 ap = newparam = ckmalloc((argc + 1) * sizeof *ap); in setparam()
445 shellparam.optp = ckmalloc((argc - 2) * sizeof *ap); in getoptscmd()
H A Djobs.c759 jobtab = ckmalloc(4 * sizeof jobtab[0]); in makejob()
764 jp = ckmalloc((njobs + 4) * sizeof jobtab[0]); in makejob()
806 jp->ps = ckmalloc(nprocs * sizeof (struct procstat)); in makejob()
1344 cmdnextc = name = ckmalloc(MAXCMDTEXT); in commandtext()
H A Dredir.c124 sv = ckmalloc(sizeof (struct redirtab)); in redirect()
H A Doutput.c215 dest->buf = ckmalloc(dest->bufsize); in emptyoutbuf()
H A Dparser.c142 t = ckmalloc(sizeof(*t)); in parser_temp_alloc()
146 t->data = ckmalloc(len); in parser_temp_alloc()
1120 str = ckmalloc(savelen); in parsebackq()
1171 ostr = ckmalloc(olen); in parsebackq()
H A Dnodes.c.pat89 fn = ckmalloc(sz.blocksize + sz.stringsize);
H A Dexec.c581 cmdp = *pp = ckmalloc(sizeof (struct tblentry) + len + 1); in cmdlookup()
H A Dexpand.c910 buf = ckmalloc(buflen); in reprocess()