Lines Matching full:iop
73 io_init(struct io_state *iop, FILE *fp) in io_init() argument
76 iop->uio.uio_iov = iop->iov; in io_init()
77 iop->uio.uio_resid = 0; in io_init()
78 iop->uio.uio_iovcnt = 0; in io_init()
79 iop->fp = fp; in io_init()
87 io_print(struct io_state *iop, const CHAR * __restrict ptr, int len, locale_t locale) in io_print() argument
90 iop->iov[iop->uio.uio_iovcnt].iov_base = (char *)ptr; in io_print()
91 iop->iov[iop->uio.uio_iovcnt].iov_len = len; in io_print()
92 iop->uio.uio_resid += len; in io_print()
93 if (++iop->uio.uio_iovcnt >= NIOV) in io_print()
94 return (__sprint(iop->fp, &iop->uio, locale)); in io_print()
115 io_pad(struct io_state *iop, int howmany, const CHAR * __restrict with, in io_pad() argument
122 if (io_print(iop, with, n, locale)) in io_pad()
134 io_printandpad(struct io_state *iop, const CHAR *p, const CHAR *ep, in io_printandpad() argument
143 if (io_print(iop, p, p_len, locale)) in io_printandpad()
148 return (io_pad(iop, len - p_len, with, locale)); in io_printandpad()
152 io_flush(struct io_state *iop, locale_t locale) in io_flush() argument
155 return (__sprint(iop->fp, &iop->uio, locale)); in io_flush()