Lines Matching refs:ncmd
886 struct ncmd { struct
992 struct ncmd ncmd; member
1291 for (np = cmd->ncmd.args; np; np = np->narg.next) { in shcmd()
1297 for (np = cmd->ncmd.redirect; np; np = np->nfile.next) { in shcmd()
5053 cmdlist(n->ncmd.args, 1); in cmdtxt()
5054 cmdlist(n->ncmd.redirect, 0); in cmdtxt()
5190 && n->ncmd.args && strcmp(n->ncmd.args->narg.text, "trap") == 0 in forkchild()
5191 && n->ncmd.args->narg.next == NULL /* "trap" with no arguments */ in forkchild()
5278 && n->ncmd.args && strcmp(n->ncmd.args->narg.text, "jobs") == 0 in forkchild()
8903 [NCMD ] = SHELL_ALIGN(sizeof(struct ncmd)),
8955 funcblocksize = calcsize(funcblocksize, n->ncmd.redirect); in calcsize()
8956 funcblocksize = calcsize(funcblocksize, n->ncmd.args); in calcsize()
8957 funcblocksize = calcsize(funcblocksize, n->ncmd.assign); in calcsize()
9071 new->ncmd.redirect = copynode(n->ncmd.redirect); in copynode()
9072 new->ncmd.args = copynode(n->ncmd.args); in copynode()
9073 new->ncmd.assign = copynode(n->ncmd.assign); in copynode()
9074 new->ncmd.linno = n->ncmd.linno; in copynode()
10311 errlinno = lineno = cmd->ncmd.linno; in evalcommand()
10336 argp = cmd->ncmd.args; in evalcommand()
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()
10424 for (argp = cmd->ncmd.assign; argp; argp = argp->narg.next) { in evalcommand()
10573 if (cmd->ncmd.redirect) in evalcommand()
10640 if (n->type == NCMD && n->ncmd.args && goodname(n->ncmd.args->narg.text)) in prehash()
10641 find_command(n->ncmd.args->narg.text, &entry, 0, pathval()); in prehash()
12091 n = stzalloc(sizeof(struct ncmd)); in simplecmd()
12094 n->ncmd.linno = savelinno; in simplecmd()
12095 n->ncmd.args = args; in simplecmd()
12096 n->ncmd.assign = vars; in simplecmd()
12097 n->ncmd.redirect = redir; in simplecmd()