Lines Matching refs:iop
915 struct ioword *iop = alloc(sizeof(struct ioword), ATEMP); in yylex() local
917 iop->unit = c2 == 2 ? ksh_numdig(dp[1]) : c == '<' ? 0 : 1; in yylex()
925 iop->ioflag = IOBASH; in yylex()
927 iop->ioflag = 0; in yylex()
933 iop->ioflag |= c == c2 ? in yylex()
935 if (iop->ioflag == IOHERE) { in yylex()
937 iop->ioflag |= IOSKIP; in yylex()
939 iop->ioflag |= IOHERESTR; in yylex()
944 iop->ioflag |= IODUP | ((unsigned int)c == ORD('<') ? IORDUP : 0); in yylex()
946 iop->ioflag |= (unsigned int)c == ORD('>') ? IOWRITE : IOREAD; in yylex()
948 iop->ioflag |= IOCLOB; in yylex()
953 iop->ioname = NULL; in yylex()
954 iop->delim = NULL; in yylex()
955 iop->heredoc = NULL; in yylex()
958 yylval.iop = iop; in yylex()
961 afree(iop, ATEMP); in yylex()
1127 readhere(struct ioword *iop) in readhere() argument
1135 eof = evalstr(iop->delim, 0); in readhere()
1137 if (!(iop->ioflag & IOEVAL)) in readhere()
1146 if (iop->ioflag & IOSKIP) { in readhere()
1206 iop->heredoc = Xclose(xs, xp); in readhere()
1208 if (!(iop->ioflag & IOEVAL)) in readhere()