Lines Matching refs:node
884 union node;
889 union node *assign;
890 union node *args;
891 union node *redirect;
903 union node *n;
904 union node *redirect;
909 union node *ch1;
910 union node *ch2;
915 union node *test;
916 union node *ifpart;
917 union node *elsepart;
923 union node *args;
924 union node *body;
931 union node *expr;
932 union node *cases;
937 union node *next;
938 union node *pattern;
939 union node *body;
946 union node *body;
951 union node *next;
962 union node *next;
965 union node *fname;
971 union node *next;
974 union node *vname;
980 union node *next;
982 union node *doc;
987 union node *com;
990 union node { union
1012 #define NODE_EOF ((union node *) -1L)
1016 union node *n;
1021 union node n;
1186 static void shtree(union node *n, int ind, char *pfx, FILE *fp);
1189 sharg(union node *arg, FILE *fp) in sharg()
1283 shcmd(union node *cmd, FILE *fp) in shcmd()
1285 union node *np; in shcmd()
1327 shtree(union node *n, int ind, char *pfx, FILE *fp) in shtree()
1382 showtree(union node *n) in showtree()
3647 static int forkshell(struct job *, union node *, int);
4946 static void cmdtxt(union node *n);
4949 cmdlist(union node *np, int sep) in cmdlist()
4961 cmdtxt(union node *n) in cmdtxt()
4963 union node *np; in cmdtxt()
5116 commandtext(union node *n) in commandtext()
5173 forkchild(struct job *jp, union node *n, int mode) in forkchild()
5298 forkparent(struct job *jp, union node *n, int mode, pid_t pid) in forkparent()
5333 forkshell(struct job *jp, union node *n, int mode) in forkshell()
5476 static void expandhere(union node *arg);
5478 openhere(union node *redir) in openhere()
5499 if (forkshell((struct job *)NULL, (union node *)NULL, FORK_NOJOB) == 0) { in openhere()
5516 openredirect(union node *redir) in openredirect()
5821 redirect(union node *redir, int flags) in redirect()
5907 redirectsafe(union node *redir, int flags) in redirectsafe()
5944 pushredir(union node *redir) in pushredir()
6565 static int evaltree(union node *, int);
6573 evaltreenr(union node *n, int flags) in evaltreenr()
6581 evalbackcmd(union node *n, struct backcmd *result
6655 expbackq(union node *cmd, int flag IF_BASH_PROCESS_SUBST(, int ctl))
8081 expandarg(union node *arg, struct arglist *arglist, int flag) in expandarg()
8125 expandhere(union node *arg) in expandhere()
8146 casematch(union node *pattern, char *val) in casematch()
8804 fill_arglist(struct arglist *arglist, union node **argpp) in fill_arglist()
8807 union node *argp; in fill_arglist()
8822 parse_command_args(struct arglist *arglist, union node **argpp, const char **path) in parse_command_args()
8934 static int calcsize(int funcblocksize, union node *n);
8948 calcsize(int funcblocksize, union node *n) in calcsize()
9039 static union node *copynode(union node *);
9059 static union node *
9060 copynode(union node *n) in copynode()
9062 union node *new; in copynode()
9163 copyfunc(union node *n) in copyfunc()
9182 defun(union node *func) in defun()
9266 static int evalloop(union node *, int);
9267 static int evalfor(union node *, int);
9268 static int evalcase(union node *, int);
9269 static int evalsubshell(union node *, int);
9270 static void expredir(union node *);
9271 static int evalpipe(union node *, int);
9272 static int evalcommand(union node *, int);
9274 static void prehash(union node *);
9281 evaltree(union node *n, int flags) in evaltree()
9284 int (*evalfn)(union node *, int); in evaltree()
9453 evalloop(union node *n, int flags) in evalloop()
9483 evalfor(union node *n, int flags) in evalfor()
9486 union node *argp; in evalfor()
9513 evalcase(union node *n, int flags) in evalcase()
9515 union node *cp; in evalcase()
9516 union node *patp; in evalcase()
9547 evalsubshell(union node *n, int flags) in evalsubshell()
9584 static void fixredir(union node *, const char *, int);
9586 expredir(union node *n) in expredir()
9588 union node *redir; in expredir()
9651 evalpipe(union node *n, int flags) in evalpipe()
10284 evalcommand(union node *cmd, int flags) in evalcommand()
10292 union node *argp; in evalcommand()
10636 prehash(union node *n) in prehash()
11698 union node *here; /* redirection node */
11709 static union node *redirnode;
11742 static union node *andor(void);
11743 static union node *pipeline(void);
11744 static union node *parse_command(void);
11748 static union node *
11752 union node *n1, *n2, *n3; in list()
11821 static union node *
11824 union node *n1, *n2, *n3; in andor()
11848 static union node *
11851 union node *n1, *n2, *pipenode; in pipeline()
11890 static union node *
11893 union node *n; in makename()
11904 fixredir(union node *n, const char *text, int err) in fixredir()
11927 union node *n = redirnode; in parsefname()
11957 static union node *
11960 union node *args, **app; in simplecmd()
11961 union node *n = NULL; in simplecmd()
11962 union node *vars, **vpp; in simplecmd()
11963 union node **rpp, *redir; in simplecmd()
12101 static union node *
12104 union node *n1, *n2; in parse_command()
12105 union node *ap, **app; in parse_command()
12106 union node *cp, **cpp; in parse_command()
12107 union node *redir, **rpp; in parse_command()
12108 union node **rpp2; in parse_command()
12689 union node *np; in readtoken1()
12941 union node *n; in readtoken1()
13294 static union node *
13313 union node *n; in parseheredoc()
13345 union node n; in expandstr()
13410 union node *n; in evalstring()
13491 union node *n; in cmdloop()