Searched refs:ckmalloc (Results 1 – 13 of 13) sorted by relevance
57 ckmalloc(size_t nbytes) in ckmalloc() function105 p = ckmalloc(len + 1); in savestr()147 sp = ckmalloc(allocsize); in stnewblock()
308 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()
61 ap = ckmalloc(sizeof (struct alias)); in setalias()177 sorted = ckmalloc(aliases * sizeof(*sorted)); in printaliases()
252 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()
48 pointer ckmalloc(size_t);
327 ap = newparam = ckmalloc((argc + 1) * sizeof *ap); in setparam()447 shellparam.optp = ckmalloc((argc - 2) * sizeof *ap); in getoptscmd()
753 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()
209 dest->buf = ckmalloc(dest->bufsize); in emptyoutbuf()
118 sv = ckmalloc(sizeof (struct redirtab)); in redirect()
137 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()
87 fn = ckmalloc(sz.blocksize + sz.stringsize);
582 cmdp = *pp = ckmalloc(sizeof (struct tblentry) + len + 1); in cmdlookup()
904 buf = ckmalloc(buflen); in reprocess()