Home
last modified time | relevance | path

Searched refs:iop (Results 1 – 19 of 19) sorted by relevance

/openbsd/lib/libc/gen/
H A Dpopen.c59 FILE *iop; in popen() local
119 iop = fdopen(pdes[target], type); in popen()
120 fwide(iop, -1); in popen()
124 cur->fp = iop; in popen()
138 return (iop); in popen()
148 pclose(FILE *iop) in pclose() argument
157 if (cur->fp == iop) in pclose()
172 (void)fclose(iop); in pclose()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D20031201-1.c63 io *iop = i; in test() local
64 if (iop->i12.e0 != 8 || iop->i16.e0 != 8) in test()
73 io *iop = i; in f0() local
74 if (washere++ || iop->i12.e0 != 32 || iop->i16.e0 != 32) in f0()
/openbsd/usr.sbin/cron/
H A Dpopen.c70 FILE *iop; in cron_popen() local
124 iop = fdopen(pdes[0], type); in cron_popen()
127 iop = fdopen(pdes[1], type); in cron_popen()
132 return (iop); in cron_popen()
136 cron_pclose(FILE *iop, pid_t pid) in cron_pclose() argument
142 (void)fclose(iop); in cron_pclose()
/openbsd/libexec/ftpd/
H A Dpopen.c64 FILE *iop; in ftpd_ls() local
98 iop = NULL; in ftpd_ls()
122 iop = fdopen(pdes[0], "r"); in ftpd_ls()
130 return (iop); in ftpd_ls()
134 ftpd_pclose(FILE *iop, pid_t pid) in ftpd_pclose() argument
140 (void)fclose(iop); in ftpd_pclose()
/openbsd/bin/ksh/
H A Dtree.c174 if ((iop->flag & IOTYPE) == IOHERE && iop->heredoc) { in ptree()
194 int flag = iop->flag; in pioact()
200 (type == IODUP && (iop->unit == !(flag & IORDUP))) ? iop->unit : in pioact()
201 iop->unit + 1; in pioact()
202 if (iop->unit != expected) in pioact()
203 tputc('0' + iop->unit, shf); in pioact()
236 if (iop->delim) in pioact()
238 } else if (iop->name) in pioact()
240 iop->name); in pioact()
677 struct ioword **iop; in iofree() local
[all …]
H A Dsyn.c150 struct ioword *iop; in synio() local
156 iop = yylval.iop; in synio()
157 ishere = (iop->flag&IOTYPE) == IOHERE; in synio()
160 iop->delim = yylval.cp; in synio()
162 iop->flag |= IOEVAL; in synio()
165 *herep++ = iop; in synio()
167 iop->name = yylval.cp; in synio()
168 return iop; in synio()
196 struct ioword *iop, **iops; in get_command() local
390 iops[iopn++] = iop; in get_command()
[all …]
H A Dlex.c733 struct ioword *iop = alloc(sizeof(*iop), ATEMP); in yylex() local
736 iop->unit = dp[1] - '0'; in yylex()
743 iop->flag = c == c2 ? in yylex()
747 iop->flag |= IOSKIP; in yylex()
756 iop->flag |= IOCLOB; in yylex()
761 iop->name = NULL; in yylex()
762 iop->delim = NULL; in yylex()
763 iop->heredoc = NULL; in yylex()
765 yylval.iop = iop; in yylex()
883 if (!(iop->flag & IOEVAL)) in readhere()
[all …]
H A Dexec.c1049 char *cp = iop->name; in iosetup()
1050 int iotype = iop->flag & IOTYPE; in iosetup()
1059 iotmp = *iop; in iosetup()
1094 u = herein(iop->heredoc, iop->flag & IOEVAL); in iosetup()
1113 if (u == iop->unit) in iosetup()
1136 if (genv->savefd[iop->unit] == 0) { in iosetup()
1138 if (u == iop->unit) in iosetup()
1139 genv->savefd[iop->unit] = -1; in iosetup()
1147 genv->savefd[iop->unit] = savefd(iop->unit); in iosetup()
1151 close(iop->unit); in iosetup()
[all …]
H A Dlex.h56 struct ioword *iop; member
/openbsd/lib/libc/stdio/
H A Dfsetpos.c40 fsetpos(FILE *iop, const fpos_t *pos) in fsetpos() argument
42 return (fseeko(iop, *pos, SEEK_SET)); in fsetpos()
/openbsd/usr.bin/mandoc/
H A Dterm_ascii.c152 ascii_setwidth(struct termp *p, int iop, int width) in ascii_setwidth() argument
157 if (iop > 0) in ascii_setwidth()
159 else if (iop == 0) in ascii_setwidth()
H A Dterm.c927 int iop, width; in term_setwidth() local
929 iop = 0; in term_setwidth()
934 iop = 1; in term_setwidth()
938 iop = -1; in term_setwidth()
947 iop = 0; in term_setwidth()
949 (*p->setwidth)(p, iop, width); in term_setwidth()
H A Dterm_ps.c622 ps_setwidth(struct termp *p, int iop, int width) in ps_setwidth() argument
627 if (iop > 0) in ps_setwidth()
629 else if (iop == 0) in ps_setwidth()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DSVEInstrFormats.td2221 bits<3> iop;
2232 bits<3> iop;
2239 bits<2> iop;
2245 bit iop;
2305 bit iop;
2546 bits<3> iop;
3131 bit iop;
3332 bit iop;
3359 bit iop;
3455 bit iop;
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D920428-2.c57 int setvbuf(struct _iobuf *iop, char *buf, int type, size_t size);
79 int fread(void *ptr, size_t size, size_t count, struct _iobuf *iop);
80 int fwrite(const void *ptr, size_t size, size_t count, struct _iobuf *iop);
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCScheduleP9.td36 // 11-entry iop issue queue.
58 // The xa and xb ports can be used to send an iop to either of the two slices
/openbsd/sys/dev/ic/
H A Dadvlib.h1214 #define ASC_GET_EISA_SLOT(iop) ((iop) & 0xF000) argument
H A Dmfi.c662 mfi_attach(struct mfi_softc *sc, enum mfi_iop iop) in mfi_attach() argument
668 switch (iop) { in mfi_attach()
682 panic("%s: unknown iop %d", DEVNAME(sc), iop); in mfi_attach()
708 if (iop == MFI_IOP_SKINNY) in mfi_attach()
/openbsd/gnu/usr.bin/perl/
H A Ddoio.c1284 PerlIO *iop = IoIFP(io); in S_argvout_free() local
1300 (void)PerlIO_close(iop); in S_argvout_free()