Home | History | Annotate | Download | only in src

Lines Matching refs:iop

179 	struct ioword *iop;
184 iop = nextiop;
186 return (iop);
192 iop = yylval.iop;
193 if (iop->flag & IONDELIM)
195 ishere = (iop->flag & IOTYPE) == IOHERE;
198 iop->delim = yylval.cp;
202 iop->flag |= IOEVAL;
205 *herep++ = iop;
207 iop->name = yylval.cp;
209 if (iop->flag & IOBASH) {
212 nextiop = alloc(sizeof(*iop), ATEMP);
215 if (iop->unit > 9) {
217 *cp++ = '0' + (iop->unit / 10);
220 *cp++ = '0' + (iop->unit % 10);
223 iop->flag &= ~IOBASH;
229 return (iop);
263 struct ioword *iop, **iops;
294 while ((iop = synio(cf)) != NULL) {
298 iops[iopn++] = iop;
488 while ((iop = synio(syniocf)) != NULL) {
491 iops[iopn++] = iop;
853 s = snptreef(redir, sizeof(redir), "%R", yylval.iop);
999 (yylval.iop->flag == IOREAD || yylval.iop->flag == IOWRITE)) {
1001 save = wdcopy(yylval.iop->flag == IOREAD ?