Searched refs:stalloc (Results 1 – 10 of 10) sorted by relevance
172 n3 = (union node *)stalloc(sizeof (struct nredir)); in list()183 n3 = (union node *)stalloc(sizeof (struct nbinary)); in list()241 n3 = (union node *)stalloc(sizeof (struct nbinary)); in andor()269 pipenode = (union node *)stalloc(sizeof (struct npipe)); in pipeline()272 lp = (struct nodelist *)stalloc(sizeof (struct nodelist)); in pipeline()277 lp = (struct nodelist *)stalloc(sizeof (struct nodelist)); in pipeline()287 n2 = (union node *)stalloc(sizeof (struct nnot)); in pipeline()329 n1 = (union node *)stalloc(sizeof (struct nif)); in command()337 n2->nif.elsepart = (union node *)stalloc(sizeof (struct nif)); in command()358 n1 = (union node *)stalloc(sizeof (struct nbinary)); in command()[all …]
109 d = stalloc(strlen(curdir) + strlen(argptr[1]) + 1); in cdcmd()173 cdcomppath = stalloc(strlen(dest) + 1); in docd()275 cdcomppath = stalloc(strlen(dir) + 1); in updatepwd()404 pwd = stalloc(i); in find_curdir()423 pwd = stalloc(MAXPWD); in find_curdir()
53 pointer stalloc(int);75 #define grabstackstr(p) stalloc(stackblocksize() - sstrnleft)
124 stalloc(int nbytes) in stalloc() function239 char *p = stalloc(newlen); in growstackblock()
415 evalstring(strcpy(stalloc(strlen(s) + 1), s), 0); in histcmd()441 editcmd = stalloc(cmdlen); in histcmd()
165 sp = (struct strlist *)stalloc(sizeof (struct strlist)); in expandarg()1005 sp = (struct strlist *)stalloc(sizeof *sp); in ifsbreakup()1046 sp = (struct strlist *)stalloc(sizeof *sp); in ifsbreakup()1080 sp = (struct strlist *)stalloc(sizeof *sp); in ifsbreakup()1301 p = stalloc(strlen(name) + 1); in addfname()1303 sp = (struct strlist *)stalloc(sizeof *sp); in addfname()
328 return stalloc(len); in padvance()556 stalloc(strlen(fullname) + 1); in find_command()581 stalloc(strlen(fullname) + 1); in find_command()
423 ep = env = stalloc((nenv + 1) * sizeof *env); in environment()
764 argv = stalloc(sizeof (char *) * (argc + 1)); in evalcommand()
95 pointer stalloc(int);