Searched refs:ckmalloc (Results 1 – 15 of 15) sorted by relevance
59 ckmalloc(int nbytes) in ckmalloc() function93 p = ckmalloc(strlen(s) + 1); in savestr()137 sp = ckmalloc(sizeof(struct stack_block) - MINSIZE + blocksize); in stalloc()
393 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()
81 ap = ckmalloc(sizeof (struct alias)); in setalias()105 ap->val = ckmalloc(len + 2); in setalias()
252 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()
50 pointer ckmalloc(int);
123 sv = ckmalloc(sizeof (struct redirtab)); in redirect()
78 funcblock = ckmalloc(funcblocksize + funcstringsize);
791 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()
266 new = ckmalloc(i + ((char *)ap2 - (char *)argv)); in execinterp()837 cmdp = *pp = ckmalloc(sizeof (struct tblentry) - ARB in cmdlookup()
157 dest->buf = ckmalloc(dest->bufsize); in emptyoutbuf()
279 ap = newparam = ckmalloc((nparam + 1) * sizeof *ap); in setparam()
109 funcblock = ckmalloc(funcblocksize + funcstringsize);
926 ifsp = (struct ifsregion *)ckmalloc(sizeof (struct ifsregion)); in recordregion()1090 expdir = ckmalloc(i < 2048 ? 2048 : i); /* XXX */ in expandmeta()
619 (sys_path = ckmalloc(len + 5)) != NULL && in syspath()
1390 str = ckmalloc(savelen); in readtoken1()