Lines Matching refs:nfor
920 struct nfor { struct
997 struct nfor nfor; member
5042 cmdputs(n->nfor.var); in cmdtxt()
5044 cmdlist(n->nfor.args, 1); in cmdtxt()
5045 n = n->nfor.body; in cmdtxt()
8914 [NFOR ] = SHELL_ALIGN(sizeof(struct nfor)),
8982 funcblocksize += SHELL_ALIGN(strlen(n->nfor.var) + 1); /* was funcstringsize += ... */ in calcsize()
8983 funcblocksize = calcsize(funcblocksize, n->nfor.body); in calcsize()
8984 funcblocksize = calcsize(funcblocksize, n->nfor.args); in calcsize()
9101 new->nfor.var = nodeckstrdup(n->nfor.var); in copynode()
9102 new->nfor.body = copynode(n->nfor.body); in copynode()
9103 new->nfor.args = copynode(n->nfor.args); in copynode()
9104 new->nfor.linno = n->nfor.linno; in copynode()
9494 for (argp = n->nfor.args; argp; argp = argp->narg.next) { in evalfor()
9502 setvar0(n->nfor.var, sp->text); in evalfor()
9503 status = evaltree(n->nfor.body, flags); in evalfor()
12165 n1 = stzalloc(sizeof(struct nfor)); in parse_command()
12167 n1->nfor.linno = savelinno; in parse_command()
12168 n1->nfor.var = wordtext; in parse_command()
12182 n1->nfor.args = ap; in parse_command()
12191 n1->nfor.args = n2; in parse_command()
12202 n1->nfor.body = list(0); in parse_command()