Searched refs:ncase (Results 1 – 6 of 6) sorted by relevance
79 struct ncase { struct142 struct ncase ncase; member
71 SHELL_ALIGN(sizeof (struct ncase)),156 calcsize(n->ncase.cases);157 calcsize(n->ncase.expr);254 new->ncase.cases = copynode(n->ncase.cases);255 new->ncase.expr = copynode(n->ncase.expr);
408 n1 = (union node *)stalloc(sizeof (struct ncase)); in command()412 n1->ncase.expr = n2 = (union node *)stalloc(sizeof (struct narg)); in command()420 cpp = &n1->ncase.cases; in command()
400 expandarg(n->ncase.expr, &arglist, EXP_TILDE); in evalcase()401 for (cp = n->ncase.cases ; cp && evalskip == 0 ; cp = cp->nclist.next) { in evalcase()
93 NCASE ncase # a case statement
1319 cmdputs(n->ncase.expr->narg.text); in cmdtxt()1321 for (np = n->ncase.cases; np; np = np->nclist.next) { in cmdtxt()