Lines Matching defs:outx
93 struct output *outx = &errout;
148 outstr(p, outx);
160 if (file == out2 || (file == outx && c == '\n'))
175 outshstr(p, outx);
653 flushout(outx);
658 outx = out2;
668 if (!(outx->flags & OUTPUT_CLONE))
669 sh_close(outx->fd);
673 * need a new output struct to become outx
677 outx = outxtop;
679 if (outx != out2) {
680 outx->flags &= ~OUTPUT_CLONE;
681 outx->fd = to_upper_fd(dup(out2->fd));
682 register_sh_fd(outx->fd, xtrace_fd_swap);
686 outx->fd, out2->fd));
696 new, (outx == out2 ? "out2: " : ""),
697 outx->fd, outx->buf, outx->nleft, outx->flags));
699 flushout(outx);
708 o->fd = outx->fd;
710 o->bufsize = outx->bufsize;
715 outx = o;
718 CTRACE(DBG_OUTPUT, ("-> fd=%d flags=%x[CLONE]\n", outx->fd, o->flags));
727 outx->fd, outx->buf, outx->nleft, outx->flags));
729 flushout(outx);
740 outx = o->chain;
741 if (outx == NULL)
742 outx = &errout;
753 outx->fd, outx->buf, outx->nleft, outx->flags));