Searched refs:ncmd (Results 1 – 8 of 8) sorted by relevance
60 SHELL_ALIGN(sizeof (struct ncmd)),133 calcsize(n->ncmd.redirect);134 calcsize(n->ncmd.args);229 new->ncmd.redirect = copynode(n->ncmd.redirect);230 new->ncmd.args = copynode(n->ncmd.args);231 new->ncmd.backgnd = n->ncmd.backgnd;
41 struct ncmd { struct137 struct ncmd ncmd; member
715 for (argp = cmd->ncmd.args ; argp ; argp = argp->narg.next) { in evalcommand()729 expredir(cmd->ncmd.redirect); in evalcommand()733 for (argp = cmd->ncmd.args ; argp ; argp = argp->narg.next) { in evalcommand()829 if (cmd->ncmd.backgnd in evalcommand()837 mode = cmd->ncmd.backgnd; in evalcommand()926 redirect(cmd->ncmd.redirect, REDIR_PUSH); in evalcommand()1003 redirect(cmd->ncmd.redirect, mode); in evalcommand()1060 redirect(cmd->ncmd.redirect, vforked ? REDIR_VFORK : 0); in evalcommand()1106 if (n->type == NCMD && n->ncmd.args) in prehash()1107 if (goodname(n->ncmd.args->narg.text)) in prehash()[all …]
132 for (np = cmd->ncmd.args ; np ; np = np->narg.next) { in shcmd()138 for (np = cmd->ncmd.redirect ; np ; np = np->nfile.next) { in shcmd()
164 n2->ncmd.backgnd = 1; in list()587 n = (union node *)stalloc(sizeof (struct ncmd)); in simplecmd()589 n->ncmd.backgnd = 0; in simplecmd()590 n->ncmd.args = args; in simplecmd()591 n->ncmd.redirect = redir; in simplecmd()
56 NCMD ncmd # a simple command
1334 cmdlist(n->ncmd.args, 1); in cmdtxt()1335 cmdlist(n->ncmd.redirect, 0); in cmdtxt()
1865 uint8_t ncmd; member1874 uint8_t ncmd; member