Home
last modified time | relevance | path

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

/dflybsd-src/bin/sh/
H A Dinput.c316 sp = ckmalloc(sizeof (struct strpush)); in pushstring()
397 parsefile->buf = ckmalloc(BUFSIZ + 1); in setinputfd()
403 parsefile->buf = ckmalloc(BUFSIZ + 1); in setinputfd()
442 pf = (struct parsefile *)ckmalloc(sizeof (struct parsefile)); in pushfile()
H A Dmemalloc.c65 ckmalloc(size_t nbytes) in ckmalloc() function
113 p = ckmalloc(len + 1); in savestr()
155 sp = ckmalloc(allocsize); in stnewblock()
H A Dalias.c69 ap = ckmalloc(sizeof (struct alias)); in setalias()
185 sorted = ckmalloc(aliases * sizeof(*sorted)); in printaliases()
H A Dvar.c260 nameeq = ckmalloc(len); in setvar()
383 vp = ckmalloc(sizeof (*vp)); in setvareq()
617 vars = ckmalloc(n * sizeof(*vars)); in showvarscmd()
760 lvp = ckmalloc(sizeof (struct localvar)); in mklocal()
762 lvp->text = ckmalloc(sizeof optval); in mklocal()
H A Dmemalloc.h51 pointer ckmalloc(size_t);
H A Doptions.c327 ap = newparam = ckmalloc((argc + 1) * sizeof *ap); in setparam()
447 shellparam.optp = ckmalloc((argc - 2) * sizeof *ap); in getoptscmd()
H A Djobs.c769 jobtab = ckmalloc(4 * sizeof jobtab[0]); in makejob()
774 jp = ckmalloc((njobs + 4) * sizeof jobtab[0]); in makejob()
816 jp->ps = ckmalloc(nprocs * sizeof (struct procstat)); in makejob()
1349 cmdnextc = name = ckmalloc(MAXCMDTEXT); in commandtext()
H A Doutput.c218 dest->buf = ckmalloc(dest->bufsize); in emptyoutbuf()
H A Dredir.c126 sv = ckmalloc(sizeof (struct redirtab)); in redirect()
H A Dparser.c144 t = ckmalloc(sizeof(*t)); in parser_temp_alloc()
148 t->data = ckmalloc(len); in parser_temp_alloc()
1121 str = ckmalloc(savelen); in parsebackq()
1172 ostr = ckmalloc(olen); in parsebackq()
H A Dnodes.c.pat90 fn = ckmalloc(sz.blocksize + sz.stringsize);
H A Dexec.c583 cmdp = *pp = ckmalloc(sizeof (struct tblentry) + len + 1); in cmdlookup()
H A Dexpand.c912 buf = ckmalloc(buflen); in reprocess()
/dflybsd-src/bin/sh/pregenerated/
H A Dnodes.c122 fn = ckmalloc(sz.blocksize + sz.stringsize); in copyfunc()