Lines Matching refs:redirect
891 union node *redirect; member
904 union node *redirect; member
1297 for (np = cmd->ncmd.redirect; np; np = np->nfile.next) { in shcmd()
5054 cmdlist(n->ncmd.redirect, 0); in cmdtxt()
5821 redirect(union node *redir, int flags) in redirect() function
5919 redirect(redir, flags); in redirectsafe()
8955 funcblocksize = calcsize(funcblocksize, n->ncmd.redirect); in calcsize()
8965 funcblocksize = calcsize(funcblocksize, n->nredir.redirect); in calcsize()
9071 new->ncmd.redirect = copynode(n->ncmd.redirect); in copynode()
9083 new->nredir.redirect = copynode(n->nredir.redirect); in copynode()
9313 expredir(n->nredir.redirect); in evaltree()
9314 pushredir(n->nredir.redirect); in evaltree()
9315 status = redirectsafe(n->nredir.redirect, REDIR_PUSH); in evaltree()
9319 if (n->nredir.redirect) in evaltree()
9555 expredir(n->nredir.redirect); in evalsubshell()
9569 redirect(n->nredir.redirect, 0); in evalsubshell()
10395 expredir(cmd->ncmd.redirect); in evalcommand()
10397 redir_stop = pushredir(cmd->ncmd.redirect); in evalcommand()
10399 pushredir(cmd->ncmd.redirect); in evalcommand()
10411 status = redirectsafe(cmd->ncmd.redirect, REDIR_PUSH | REDIR_SAVEFD2); in evalcommand()
10573 if (cmd->ncmd.redirect) in evalcommand()
12097 n->ncmd.redirect = redir; in simplecmd()
12298 n1->nredir.redirect = redir; in parse_command()