Home
last modified time | relevance | path

Searched refs:nif (Results 1 – 6 of 6) sorted by relevance

/system/core/sh/
Dnodes.c67 SHELL_ALIGN(sizeof (struct nif)),
146 calcsize(n->nif.elsepart);
147 calcsize(n->nif.ifpart);
148 calcsize(n->nif.test);
244 new->nif.elsepart = copynode(n->nif.elsepart);
245 new->nif.ifpart = copynode(n->nif.ifpart);
246 new->nif.test = copynode(n->nif.test);
Dnodes.h63 struct nif { struct
140 struct nif nif; member
Dparser.c317 n1 = (union node *)stalloc(sizeof (struct nif)); in command()
319 n1->nif.test = list(0); in command()
322 n1->nif.ifpart = list(0); in command()
325 n2->nif.elsepart = (union node *)stalloc(sizeof (struct nif)); in command()
326 n2 = n2->nif.elsepart; in command()
328 n2->nif.test = list(0); in command()
331 n2->nif.ifpart = list(0); in command()
334 n2->nif.elsepart = list(0); in command()
336 n2->nif.elsepart = NULL; in command()
Deval.c264 evaltree(n->nif.test, EV_TESTED); in evaltree()
268 evaltree(n->nif.ifpart, flags); in evaltree()
269 else if (n->nif.elsepart) in evaltree()
270 evaltree(n->nif.elsepart, flags); in evaltree()
Djobs.c1288 cmdtxt(n->nif.test); in cmdtxt()
1290 cmdtxt(n->nif.ifpart); in cmdtxt()
1291 if (n->nif.elsepart) { in cmdtxt()
1293 cmdtxt(n->nif.elsepart); in cmdtxt()
Dnodetypes78 NIF nif # the if statement. Elif clauses are handled