Home
last modified time | relevance | path

Searched refs:stalloc (Results 1 – 10 of 10) sorted by relevance

/src/bin/sh/
H A Dmemalloc.h52 pointer stalloc(int);
66 #define grabstackblock(n) stalloc(n)
82 #define grabstackstr(p) stalloc((char *)p - stackblock())
H A Dmemalloc.c158 stalloc(int nbytes) in stalloc() function
191 p = stalloc(len + 1); in stsavestr()
205 stalloc(1); in setstackmark()
276 p = stalloc(newlen); in growstackblock()
H A Dparser.c286 n3 = (union node *)stalloc(sizeof (struct nredir)); in list()
378 pipenode = (union node *)stalloc(sizeof (struct npipe)); in pipeline()
381 lp = (struct nodelist *)stalloc(sizeof (struct nodelist)); in pipeline()
386 lp = (struct nodelist *)stalloc(sizeof (struct nodelist)); in pipeline()
401 n2 = (union node *)stalloc(sizeof (struct nnot)); in pipeline()
437 n1 = (union node *)stalloc(sizeof (struct nif)); in command()
445 n2->nif.elsepart = (union node *)stalloc(sizeof (struct nif)); in command()
475 n1 = (union node *)stalloc(sizeof (struct nfor)); in command()
497 n2 = (union node *)stalloc(sizeof (struct narg)); in command()
522 n1 = (union node *)stalloc(sizeof (struct ncase)); in command()
[all …]
H A Darith_yylex.c168 yylval.name = stalloc(buf - p + 1); in yylex()
H A Dcd.c392 pwd = stalloc(i); in getpwd2()
H A Dhistedit.c449 editcmd = stalloc(strlen(editor) + strlen(editfile) + 2); in histcmd()
H A Dexec.c243 return stalloc(len); in padvance()
H A Dvar.c556 ep = env = stalloc((nenv + 1) * sizeof *env); in environment()
H A Dexpand.c131 newargs = stalloc(newcapacity * sizeof(newargs[0])); in appendarglist()
/src/bin/sh/bltin/
H A Dbltin.h75 pointer stalloc(int);