Home | History | Annotate | Download | only in sh

Lines Matching refs:n2

152 	union node *n1, *n2, *n3;
160 n2 = andor();
163 if (n2->type == NCMD || n2->type == NPIPE) {
164 n2->ncmd.backgnd = 1;
165 } else if (n2->type == NREDIR) {
166 n2->type = NBACKGND;
170 n3->nredir.n = n2;
172 n2 = n3;
176 n1 = n2;
182 n3->nbinary.ch2 = n2;
222 union node *n1, *n2, *n3;
235 n2 = pipeline();
239 n3->nbinary.ch2 = n2;
249 union node *n1, *n2, *pipenode;
277 n2 = (union node *)stalloc(sizeof (struct nnot));
278 n2->type = NNOT;
279 n2->nnot.com = n1;
280 return n2;
290 union node *n1, *n2;
303 *rpp = n2 = redirnode;
304 rpp = &n2->nfile.next;
323 n2 = n1;
325 n2->nif.elsepart = (union node *)stalloc(sizeof (struct nif));
326 n2 = n2->nif.elsepart;
327 n2->type = NIF;
328 n2->nif.test = list(0);
331 n2->nif.ifpart = list(0);
334 n2->nif.elsepart = list(0);
336 n2->nif.elsepart = NULL;
368 n2 = (union node *)stalloc(sizeof (struct narg));
369 n2->type = NARG;
370 n2->narg.text = wordtext;
371 n2->narg.backquote = backquotelist;
372 *app = n2;
373 app = &n2->narg.next;
382 n2 = (union node *)stalloc(sizeof (struct narg));
383 n2->type = NARG;
384 n2->narg.text = argvars;
385 n2->narg.backquote = NULL;
386 n2->narg.next = NULL;
387 n1->nfor.args = n2;
412 n1->ncase.expr = n2 = (union node *)stalloc(sizeof (struct narg));
413 n2->type = NARG;
414 n2->narg.text = wordtext;
415 n2->narg.backquote = backquotelist;
416 n2->narg.next = NULL;
500 *rpp = n2 = redirnode;
501 rpp = &n2->nfile.next;
508 n2 = (union node *)stalloc(sizeof (struct nredir));
509 n2->type = NREDIR;
510 n2->nredir.n = n1;
511 n1 = n2;
518 n2 = (union node *)stalloc(sizeof (struct nnot));
519 n2->type = NNOT;
520 n2->nnot.com = n1;
521 return n2;
533 union node *n = NULL, *n2;
595 n2 = (union node *)stalloc(sizeof (struct nnot));
596 n2->type = NNOT;
597 n2->nnot.com = n;
598 return n2;