Home
last modified time | relevance | path

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

/system/core/sh/
Dmemalloc.c59 ckmalloc(int nbytes) in ckmalloc() function
93 p = ckmalloc(strlen(s) + 1); in savestr()
137 sp = ckmalloc(sizeof(struct stack_block) - MINSIZE + blocksize); in stalloc()
Dinput.c393 sp = ckmalloc(sizeof (struct strpush)); in pushstring()
464 parsefile->buf = ckmalloc(BUFSIZ); in setinputfd()
470 parsefile->buf = ckmalloc(BUFSIZ); in setinputfd()
509 pf = (struct parsefile *)ckmalloc(sizeof (struct parsefile)); in pushfile()
Dalias.c81 ap = ckmalloc(sizeof (struct alias)); in setalias()
105 ap->val = ckmalloc(len + 2); in setalias()
Dvar.c252 d = nameeq = ckmalloc(len); in setvar()
304 vp = ckmalloc(sizeof (*vp)); in setvareq()
519 list = ckmalloc(list_len * sizeof *list); in showvars()
624 lvp = ckmalloc(sizeof (struct localvar)); in mklocal()
627 p = ckmalloc(sizeof_optlist); in mklocal()
Dmemalloc.h50 pointer ckmalloc(int);
Dredir.c123 sv = ckmalloc(sizeof (struct redirtab)); in redirect()
Dnodes.c.pat78 funcblock = ckmalloc(funcblocksize + funcstringsize);
Djobs.c791 jobtab = ckmalloc(4 * sizeof jobtab[0]); in makejob()
793 jp = ckmalloc((njobs + 4) * sizeof jobtab[0]); in makejob()
820 jp->ps = ckmalloc(nprocs * sizeof (struct procstat)); in makejob()
Dexec.c266 new = ckmalloc(i + ((char *)ap2 - (char *)argv)); in execinterp()
837 cmdp = *pp = ckmalloc(sizeof (struct tblentry) - ARB in cmdlookup()
Doutput.c157 dest->buf = ckmalloc(dest->bufsize); in emptyoutbuf()
Doptions.c279 ap = newparam = ckmalloc((nparam + 1) * sizeof *ap); in setparam()
Dnodes.c109 funcblock = ckmalloc(funcblocksize + funcstringsize);
Dexpand.c926 ifsp = (struct ifsregion *)ckmalloc(sizeof (struct ifsregion)); in recordregion()
1090 expdir = ckmalloc(i < 2048 ? 2048 : i); /* XXX */ in expandmeta()
Deval.c619 (sys_path = ckmalloc(len + 5)) != NULL && in syspath()
Dparser.c1390 str = ckmalloc(savelen); in readtoken1()