Searched refs:stalloc (Results 1 – 10 of 10) sorted by relevance
55 pointer stalloc(int);69 #define grabstackblock(n) stalloc(n)85 #define grabstackstr(p) stalloc((char *)p - stackblock())
166 stalloc(int nbytes) in stalloc() function199 p = stalloc(len + 1); in stsavestr()213 stalloc(1); in setstackmark()281 p = stalloc(newlen); in growstackblock()
291 n3 = (union node *)stalloc(sizeof (struct nredir)); in list()383 pipenode = (union node *)stalloc(sizeof (struct npipe)); in pipeline()386 lp = (struct nodelist *)stalloc(sizeof (struct nodelist)); in pipeline()391 lp = (struct nodelist *)stalloc(sizeof (struct nodelist)); in pipeline()406 n2 = (union node *)stalloc(sizeof (struct nnot)); in pipeline()442 n1 = (union node *)stalloc(sizeof (struct nif)); in command()450 n2->nif.elsepart = (union node *)stalloc(sizeof (struct nif)); in command()480 n1 = (union node *)stalloc(sizeof (struct nfor)); in command()500 n2 = (union node *)stalloc(sizeof (struct narg)); in command()525 n1 = (union node *)stalloc(sizeof (struct ncase)); in command()[all …]
168 yylval.name = stalloc(buf - p + 1); in yylex()
400 pwd = stalloc(i); in getpwd2()
378 editcmd = stalloc(strlen(editor) + strlen(editfile) + 2); in histcmd()
249 return stalloc(len); in padvance()
564 ep = env = stalloc((nenv + 1) * sizeof *env); in environment()
137 newargs = stalloc(newcapacity * sizeof(newargs[0])); in appendarglist()
78 pointer stalloc(int);