Searched refs:iop (Results 1 - 25 of 31) sorted by relevance

12

/freebsd-9.3-release/lib/libc/stdio/
H A Dfsetpos.c46 fsetpos(iop, pos)
47 FILE *iop;
50 return (fseeko(iop, (off_t)*pos, SEEK_SET));
H A Dprintfcommon.h73 io_init(struct io_state *iop, FILE *fp) argument
76 iop->uio.uio_iov = iop->iov;
77 iop->uio.uio_resid = 0;
78 iop->uio.uio_iovcnt = 0;
79 iop->fp = fp;
87 io_print(struct io_state *iop, const CHAR * __restrict ptr, int len, locale_t locale) argument
90 iop->iov[iop->uio.uio_iovcnt].iov_base = (char *)ptr;
91 iop
115 io_pad(struct io_state *iop, int howmany, const CHAR * __restrict with, locale_t locale) argument
134 io_printandpad(struct io_state *iop, const CHAR *p, const CHAR *ep, int len, const CHAR * __restrict with, locale_t locale) argument
152 io_flush(struct io_state *iop, locale_t locale) argument
[all...]
H A Dvfprintf.c124 grouping_print(struct grouping_state *gs, struct io_state *iop, argument
129 if (io_printandpad(iop, cp, ep, gs->lead, zeroes, locale))
139 if (io_print(iop, gs->thousands_sep, gs->thousep_len, locale))
141 if (io_printandpad(iop, cp, ep, *gs->grouping, zeroes, locale))
H A Dvfwprintf.c153 grouping_print(struct grouping_state *gs, struct io_state *iop, argument
158 if (io_printandpad(iop, cp, ep, gs->lead, zeroes, locale))
168 if (io_print(iop, &gs->thousands_sep, 1, locale))
170 if (io_printandpad(iop, cp, ep, *gs->grouping, zeroes, locale))
/freebsd-9.3-release/contrib/opie/
H A Dpopen.c108 FILE *iop; local
140 iop = NULL;
169 iop = fdopen(pipe_fd = pdes[0], type);
172 iop = fdopen(pipe_fd = pdes[1], type);
180 return (iop);
183 int ftpd_pclose FUNCTION((iop), FILE *iop) argument
196 if ((child_pid < 0) || (fileno(iop) != pipe_fd))
199 fclose(iop);
H A Dftpcmd.y882 char *getline FUNCTION((s, n, iop), char *s AND int n AND FILE *iop)
901 while ((c = getc(iop)) != EOF) {
904 if ((c = getc(iop)) != EOF) {
909 c = getc(iop);
915 c = getc(iop);
/freebsd-9.3-release/gnu/lib/libodialog/
H A Draw_popen.c64 FILE *iop; local
109 iop = fdopen(pdes[0], type);
112 iop = fdopen(pdes[1], type);
117 cur->fp = iop;
122 return (iop);
131 raw_pclose(FILE *iop) argument
137 (void)fclose(iop);
141 if (cur->fp == iop)
H A Ddialog.priv.h178 int raw_pclose(FILE *iop);
/freebsd-9.3-release/sys/modules/pst/
H A DMakefile6 SRCS= pst-pci.c pst-iop.c pst-raid.c
/freebsd-9.3-release/sys/dev/pst/
H A Dpst-raid.c53 #include "dev/pst/pst-iop.h"
56 struct iop_softc *iop; member in struct:pst_softc
97 psc->iop = sc;
119 if (!(reply = iop_get_util_params(psc->iop, psc->lct->local_tid,
132 if (!(reply = iop_get_util_params(psc->iop, psc->lct->local_tid,
169 device_get_nameunit(psc->iop->dev));
183 mfa = iop_get_mfa(psc->iop);
184 msg = (struct i2o_bsa_cache_flush_message *)(psc->iop->ibase + mfa);
193 if (iop_queue_wait_msg(psc->iop, mfa, (struct i2o_basic_message *)msg))
203 mtx_lock(&psc->iop
[all...]
/freebsd-9.3-release/usr.sbin/cron/cron/
H A Dpopen.c63 FILE *iop; local
114 iop = NULL;
207 iop = fdopen(pdes[0], type);
210 iop = fdopen(pdes[1], type);
213 pids[fileno(iop)] = pid;
222 return(iop);
226 cron_pclose(iop)
227 FILE *iop;
238 if (pids == 0 || pids[fdes = fileno(iop)] == 0)
240 (void)fclose(iop);
[all...]
/freebsd-9.3-release/contrib/lukemftpd/src/
H A Dpopen.c117 FILE *iop; local
122 iop = NULL;
208 iop = fdopen(pdes[0], ptype);
211 iop = fdopen(pdes[1], ptype);
214 pids[fileno(iop)] = pid;
219 return (iop);
223 ftpd_pclose(FILE *iop) argument
233 if (pids == 0 || pids[fdes = fileno(iop)] == 0)
235 (void)fclose(iop);
H A Dftpcmd.y1368 * `iop' is the FILE to read from.
1372 getline(char *s, int n, FILE *iop)
1391 while ((c = getc(iop)) != EOF) {
1396 if ((c = getc(iop)) != EOF) {
1403 c = getc(iop);
1411 c = getc(iop);
1435 while (c != '\n' && (c = getc(iop)) != EOF)
/freebsd-9.3-release/crypto/heimdal/appl/ftp/ftpd/
H A Dpopen.c106 FILE *iop; local
164 iop = NULL;
194 iop = fdopen(pdes[0], type);
197 iop = fdopen(pdes[1], type);
200 pids[fileno(iop)] = pid;
207 return (iop);
211 ftpd_pclose(FILE *iop) argument
221 if (pids == 0 || pids[fdes = fileno(iop)] == 0)
223 fclose(iop);
/freebsd-9.3-release/lib/libc/gen/
H A Dpopen.c73 FILE *iop; local
148 iop = fdopen(pdes[0], type);
151 iop = fdopen(pdes[1], type);
156 cur->fp = iop;
162 return (iop);
171 pclose(iop)
172 FILE *iop;
183 if (cur->fp == iop)
197 (void)fclose(iop);
/freebsd-9.3-release/libexec/ftpd/
H A Dpopen.c78 FILE *iop; local
122 iop = NULL;
168 iop = fdopen(pdes[0], type);
171 iop = fdopen(pdes[1], type);
174 pids[fileno(iop)] = pid;
179 return (iop);
183 ftpd_pclose(FILE *iop) argument
192 if (pids == 0 || pids[fdes = fileno(iop)] == 0)
194 (void)fclose(iop);
/freebsd-9.3-release/release/picobsd/tinyware/msh/
H A Dsh5.c41 if (ec != '\'' && e.iop->task != XGRAVE) {
56 if (e.iop >= e.iobase)
57 e.iop->peekc = c;
64 return e.iop < e.iobase || (e.iop->peekc == 0 && e.iop->prev == 0);
72 for (; e.iop >= e.iobase; e.iop--)
73 if ((c = e.iop->peekc) != '\0') {
74 e.iop
[all...]
H A Dsh2.c162 register struct ioword *iop; local
172 iop = io(iounit, i, yylval.cp);
175 markhere(yylval.cp, iop);
564 register struct ioword **iop; local
566 iop = (struct ioword **) getwords(iolist);
568 return(iop);
577 register struct ioword *iop; local
579 iop = (struct ioword *) tree(sizeof(*iop));
580 iop
[all...]
H A Dsh3.c45 _PROTOTYPE(int iosetup, (struct ioword *iop, int pipein, int pipeout ));
365 iosetup(iop, pipein, pipeout)
366 register struct ioword *iop;
372 if (iop->io_unit == IODEFAULT) /* take default */
373 iop->io_unit = iop->io_flag&(IOREAD|IOHERE)? 0: 1;
374 if (pipein && iop->io_unit == 0)
376 if (pipeout && iop->io_unit == 1)
378 msg = iop->io_flag&(IOREAD|IOHERE)? "open": "create";
379 if ((iop
[all...]
H A Dsh.h148 struct io *iop; member in struct:env
309 #define INSUB() (e.iop->task == XGRAVE || e.iop->task == XDOLL)
320 _PROTOTYPE(int gravechar , (struct ioarg *ap , struct io *iop ));
321 _PROTOTYPE(int qgravechar , (struct ioarg *ap , struct io *iop ));
327 _PROTOTYPE(void markhere , (char *s , struct ioword *iop ));
H A Dsh1.c149 if (e.iop < iostack) {
178 if (talking && e.iop <= iostack)
309 e.iop = e.iobase = iostack;
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-error-custom.c561 if (err.s.iop & (1 << 0))
563 if (err.s.iop & (1 << 1))
565 if (err.s.iop & (1 << 2))
567 if (err.s.iop & (1 << 3))
569 if (err.s.iop & (1 << 4))
571 if (err.s.iop & (1 << 5))
573 if (err.s.iop & (1 << 6))
575 if (err.s.iop & (1 << 7))
577 if (err.s.iop & (1 << 8))
579 if (err.s.iop
[all...]
/freebsd-9.3-release/gnu/usr.bin/rcs/lib/
H A Drcslex.c1441 aputs(s, iop)
1443 FILE *iop;
1444 /* Function: Put string s on file iop, abort on error.
1448 if (fputs(s, iop) < 0)
1451 awrite(s, strlen(s), iop);
1489 aprintf(FILE *iop, char const *fmt, ...) argument
1492 aprintf(iop, fmt, va_alist)
1493 FILE *iop;
1503 fvfprintf(iop, fmt, ap);
/freebsd-9.3-release/usr.bin/yacc/test/
H A Dftp.tab.c496 getline(s, n, iop)
498 register FILE *iop;
517 while ((c = getc(iop)) != EOF) {
520 if ((c = getc(iop)) != EOF) {
525 c = getc(iop);
531 c = getc(iop);
H A Dftp.y756 getline(s, n, iop)
758 register FILE *iop;
777 while ((c = getc(iop)) != EOF) {
780 if ((c = getc(iop)) != EOF) {
785 c = getc(iop);
791 c = getc(iop);

Completed in 400 milliseconds

12