Lines Matching defs:iop
956 struct ioword *iop = alloc(sizeof(struct ioword), ATEMP);
959 iop->unit = c == '<' ? 0 : 1;
960 else for (iop->unit = 0, c2 = 0; c2 < Xlength(ws, wp); c2 += 2) {
965 iop->unit = (iop->unit * 10) + dp[c2 + 1] - '0';
968 if (iop->unit >= FDBASE)
977 iop->flag = IOBASH;
979 iop->flag = 0;
984 iop->flag |= c == c2 ?
986 if (iop->flag == IOHERE) {
988 iop->flag |= IOSKIP;
993 iop->flag |= IODUP | (c == '<' ? IORDUP : 0);
995 iop->flag |= c == '>' ? IOWRITE : IOREAD;
997 iop->flag |= IOCLOB;
1002 iop->name = NULL;
1003 iop->delim = NULL;
1004 iop->heredoc = NULL;
1006 yylval.iop = iop;
1158 readhere(struct ioword *iop)
1168 if (iop->delim[1] == '<') {
1170 xp = iop->heredoc = evalstr(iop->delim, DOBLANK);
1177 eof = evalstr(iop->delim, 0);
1179 if (!(iop->flag & IOEVAL))
1186 skiptabs = iop->flag & IOSKIP;
1218 iop->heredoc = Xclose(xs, xp);
1220 if (!(iop->flag & IOEVAL))