Lines Matching refs:n2
186 union node *ntop, *n1, *n2, *n3;
196 n2 = andor();
199 if (n2->type == NCMD || n2->type == NPIPE)
200 n2->ncmd.backgnd = 1;
201 else if (n2->type == NREDIR)
202 n2->type = NBACKGND;
206 n3->nredir.n = n2;
208 n2 = n3;
213 ntop = n2;
218 n1->nbinary.ch2 = n2;
224 n3->nbinary.ch2 = n2;
263 union node *n1, *n2, *n3;
278 n2 = pipeline();
282 n3->nbinary.ch2 = n2;
290 union node *n1, *n2, *pipenode;
328 n2 = stalloc(sizeof(struct nnot));
329 n2->type = (negate & 1) ? NNOT : NDNOT;
330 n2->nnot.com = n1;
331 return n2;
341 union node *n1, *n2;
359 *rpp = n2 = redirnode;
360 rpp = &n2->nfile.next;
380 n2 = n1;
382 n2->nif.elsepart = stalloc(sizeof(struct nif));
383 n2 = n2->nif.elsepart;
384 n2->type = NIF;
385 n2->nif.test = list(0);
387 n2->nif.ifpart = list(0);
390 n2->nif.elsepart = list(0);
392 n2->nif.elsepart = NULL;
419 n2 = makeword(startlinno);
420 *app = n2;
421 app = &n2->narg.next;
434 n2 = stalloc(sizeof(struct narg));
435 n2->type = NARG;
436 n2->narg.text = argvars;
437 n2->narg.backquote = NULL;
438 n2->narg.next = NULL;
439 n2->narg.lineno = startlinno;
440 n1->nfor.args = n2;
588 *rpp = n2 = redirnode;
589 rpp = &n2->nfile.next;
596 n2 = stalloc(sizeof(struct nredir));
597 n2->type = NREDIR;
598 n2->nredir.n = n1;
599 n1 = n2;
609 n2 = stalloc(sizeof(struct nnot));
610 n2->type = (negate & 1) ? NNOT : NDNOT;
611 n2->nnot.com = n1;
612 return n2;
628 union node *n2;
718 n2 = stalloc(sizeof(struct nnot));
719 n2->type = (negate & 1) ? NNOT : NDNOT;
720 n2->nnot.com = n;
721 return n2;