Home
last modified time | relevance | path

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

/freebsd/bin/sh/
H A Dmemalloc.c57 ckmalloc(size_t nbytes) in ckmalloc() function
105 p = ckmalloc(len + 1); in savestr()
147 sp = ckmalloc(allocsize); in stnewblock()
H A Dinput.c308 sp = ckmalloc(sizeof (struct strpush)); in pushstring()
394 parsefile->buf = ckmalloc(BUFSIZ + 1); in setinputfd()
400 parsefile->buf = ckmalloc(BUFSIZ + 1); in setinputfd()
439 pf = (struct parsefile *)ckmalloc(sizeof (struct parsefile)); in pushfile()
H A Dalias.c61 ap = ckmalloc(sizeof (struct alias)); in setalias()
177 sorted = ckmalloc(aliases * sizeof(*sorted)); in printaliases()
H A Dvar.c252 nameeq = ckmalloc(len); in setvar()
375 vp = ckmalloc(sizeof (*vp)); in setvareq()
609 vars = ckmalloc(n * sizeof(*vars)); in showvarscmd()
752 lvp = ckmalloc(sizeof (struct localvar)); in mklocal()
754 lvp->text = ckmalloc(sizeof optval); in mklocal()
H A Dmemalloc.h48 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.c753 jobtab = ckmalloc(4 * sizeof jobtab[0]); in makejob()
758 jp = ckmalloc((njobs + 4) * sizeof jobtab[0]); in makejob()
800 jp->ps = ckmalloc(nprocs * sizeof (struct procstat)); in makejob()
1338 cmdnextc = name = ckmalloc(MAXCMDTEXT); in commandtext()
H A Doutput.c209 dest->buf = ckmalloc(dest->bufsize); in emptyoutbuf()
H A Dredir.c118 sv = ckmalloc(sizeof (struct redirtab)); in redirect()
H A Dparser.c137 t = ckmalloc(sizeof(*t)); in parser_temp_alloc()
141 t->data = ckmalloc(len); in parser_temp_alloc()
1115 str = ckmalloc(savelen); in parsebackq()
1166 ostr = ckmalloc(olen); in parsebackq()
H A Dnodes.c.pat87 fn = ckmalloc(sz.blocksize + sz.stringsize);
H A Dexec.c582 cmdp = *pp = ckmalloc(sizeof (struct tblentry) + len + 1); in cmdlookup()
H A Dexpand.c904 buf = ckmalloc(buflen); in reprocess()