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