Lines Matching refs:iop
911 struct ioword *iop = alloc(sizeof(struct ioword), ATEMP); in yylex() local
914 iop->unit = c == '<' ? 0 : 1; in yylex()
915 else for (iop->unit = 0, c2 = 0; c2 < Xlength(ws, wp); c2 += 2) { in yylex()
920 iop->unit = iop->unit * 10 + ksh_numdig(dp[c2 + 1]); in yylex()
921 if (iop->unit >= FDBASE) in yylex()
931 iop->ioflag = IOBASH; in yylex()
933 iop->ioflag = 0; in yylex()
938 iop->ioflag |= c == c2 ? in yylex()
940 if (iop->ioflag == IOHERE) { in yylex()
942 iop->ioflag |= IOSKIP; in yylex()
944 iop->ioflag |= IOHERESTR; in yylex()
949 iop->ioflag |= IODUP | (c == '<' ? IORDUP : 0); in yylex()
951 iop->ioflag |= c == '>' ? IOWRITE : IOREAD; in yylex()
953 iop->ioflag |= IOCLOB; in yylex()
958 iop->ioname = NULL; in yylex()
959 iop->delim = NULL; in yylex()
960 iop->heredoc = NULL; in yylex()
963 yylval.iop = iop; in yylex()
966 afree(iop, ATEMP); in yylex()
1118 readhere(struct ioword *iop) in readhere() argument
1126 eof = evalstr(iop->delim, 0); in readhere()
1128 if (!(iop->ioflag & IOEVAL)) in readhere()
1137 if (iop->ioflag & IOSKIP) { in readhere()
1197 iop->heredoc = Xclose(xs, xp); in readhere()
1199 if (!(iop->ioflag & IOEVAL)) in readhere()