Home | History | Annotate | Download | only in src

Lines Matching refs:iop

232 			struct ioword *iop = *ioact++;
235 if ((iop->ioflag & (IOTYPE | IOHERESTR)) == IOHERE &&
236 iop->heredoc) {
238 shf_puts(iop->heredoc, shf);
240 evalstr(iop->delim, 0));
257 pioact(struct shf *shf, struct ioword *iop)
259 unsigned short flag = iop->ioflag;
265 (type == IODUP && (iop->unit == !(flag & IORDUP))) ? iop->unit :
266 iop->unit + 1;
267 if (iop->unit != expected)
268 shf_fprintf(shf, Tf_d, (int)iop->unit);
298 if (iop->delim && !(iop->ioflag & IONDELIM))
299 wdvarput(shf, iop->delim, 0, WDS_TPUTS);
300 } else if (iop->ioname) {
302 print_value_quoted(shf, iop->ioname);
304 wdvarput(shf, iop->ioname, 0, WDS_TPUTS);
752 struct ioword **iop;
755 iop
756 while ((p = *iop++) != NULL) {
938 struct ioword **ioact, *iop;
944 while ((iop = *ioact++) != NULL) {
945 unsigned short type = iop->ioflag & IOTYPE;
947 #define DB(x) if (iop->ioflag & x) shf_puts("|" #x, shf);
968 shf_fprintf(shf, ",unit=%d", (int)iop->unit);
969 if (iop->delim && !(iop->ioflag & IONDELIM)) {
971 dumpwdvar(shf, iop->delim);
974 if (iop->ioname) {
975 if (iop->ioflag & IONAMEXP) {
977 print_value_quoted(shf, iop->ioname);
980 dumpwdvar(shf, iop->ioname);
984 if (iop->heredoc) {
986 print_value_quoted(shf, iop->heredoc);