Home | History | Annotate | Download | only in src

Lines Matching refs:iop

221 			struct ioword *iop = *ioact++;
224 if ((iop->flag & (IOTYPE | IOHERESTR)) == IOHERE &&
225 iop->heredoc) {
227 shf_puts(iop->heredoc, shf);
229 iop->flag & IONDELIM ? "<<" :
230 evalstr(iop->delim, 0));
247 pioact(struct shf *shf, struct ioword *iop)
249 int flag = iop->flag;
255 (type == IODUP && (iop->unit == !(flag & IORDUP))) ? iop->unit :
256 iop->unit + 1;
257 if (iop->unit != expected)
258 shf_fprintf(shf, "%d", iop->unit);
286 if (iop->delim)
287 wdvarput(shf, iop->delim, 0, WDS_TPUTS);
288 if (iop->flag & IOHERESTR)
290 } else if (iop->name) {
291 if (iop->flag & IONAMEXP)
292 print_value_quoted(shf, iop->name);
294 wdvarput(shf, iop->name, 0, WDS_TPUTS);
730 struct ioword **iop;
733 iop = iow;
734 while ((p = *iop++) != NULL) {
905 struct ioword **ioact, *iop;
911 while ((iop = *ioact++) != NULL) {
912 int type = iop->flag & IOTYPE;
914 #define DB(x) if (iop->flag & x) shf_puts("|" #x, shf);
935 shf_fprintf(shf, ",unit=%d", iop->unit);
936 if (iop->delim) {
938 dumpwdvar(shf, iop->delim);
941 if (iop->name) {
942 if (iop->flag & IONAMEXP) {
944 print_value_quoted(shf, iop->name);
947 dumpwdvar(shf, iop->name);
951 if (iop->heredoc) {
953 print_value_quoted(shf, iop->heredoc);