Home | History | Annotate | Download | only in src

Lines Matching refs:iop

915 		struct ioword *iop = alloc(sizeof(struct ioword), ATEMP);
918 iop->unit = c == '<' ? 0 : 1;
919 else for (iop->unit = 0, c2 = 0; c2 < Xlength(ws, wp); c2 += 2) {
924 iop->unit = (iop->unit * 10) + dp[c2 + 1] - '0';
927 if (iop->unit >= FDBASE)
936 iop->flag = IOBASH;
938 iop->flag = 0;
943 iop->flag |= c == c2 ?
945 if (iop->flag == IOHERE) {
947 iop->flag |= IOSKIP;
950 iop->flag |= IOHERESTR;
953 iop->flag |= IONDELIM;
956 iop->flag |= IODUP | (c == '<' ? IORDUP : 0);
958 iop->flag |= c == '>' ? IOWRITE : IOREAD;
960 iop->flag |= IOCLOB;
965 iop->name = NULL;
966 iop->delim = NULL;
967 iop->heredoc = NULL;
970 yylval.iop = iop;
973 afree(iop, ATEMP);
1127 readhere(struct ioword *iop)
1135 if (iop->flag & IOHERESTR) {
1137 iop->heredoc = xp = evalstr(iop->delim, DOBLANK);
1144 eof = iop->flag & IONDELIM ? "<<" : evalstr(iop->delim, 0);
1146 if (!(iop->flag & IOEVAL))
1155 if (iop->flag & IOSKIP) {
1215 iop->heredoc = Xclose(xs, xp);
1217 if (!(iop->flag & IOEVAL))