Home
last modified time | relevance | path

Searched refs:uio (Results 1 – 7 of 7) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfputwc.c46 struct __suio uio; in __fputwc_unlock() local
50 uio.uio_iov = &iov; in __fputwc_unlock()
51 uio.uio_iovcnt = 1; in __fputwc_unlock()
69 uio.uio_resid = iov.iov_len = size; in __fputwc_unlock()
70 if (__sfvwrite(fp, &uio)) { in __fputwc_unlock()
Dfvwrite.c49 __sfvwrite(FILE *fp, struct __suio *uio) in __sfvwrite() argument
58 if ((len = uio->uio_resid) == 0) in __sfvwrite()
67 iov = uio->uio_iov; in __sfvwrite()
90 } while ((uio->uio_resid -= w) != 0); in __sfvwrite()
161 } while ((uio->uio_resid -= w) != 0); in __sfvwrite()
205 } while ((uio->uio_resid -= w) != 0); in __sfvwrite()
/bionic/libc/stdio/
Dvfprintf.cpp48 uio.uio_resid += (len); \
50 if (++uio.uio_iovcnt >= NIOV) { \
51 if (helpers::sprint(fp, &uio)) goto error; \
58 if (uio.uio_resid && helpers::sprint(fp, &uio)) goto error; \
59 uio.uio_iovcnt = 0; \
110 struct __suio uio; /* output information: summary */ in FUNCTION_NAME() local
155 uio.uio_iov = iovp = iov; in FUNCTION_NAME()
156 uio.uio_resid = 0; in FUNCTION_NAME()
157 uio.uio_iovcnt = 0; in FUNCTION_NAME()
Dprintf_common.h699 static int sprint(FILE* fp, struct __suio* uio) { in sprint()
700 if (uio->uio_resid == 0) { in sprint()
701 uio->uio_iovcnt = 0; in sprint()
704 int result = __sfvwrite(fp, uio); in sprint()
705 uio->uio_resid = 0; in sprint()
706 uio->uio_iovcnt = 0; in sprint()
775 struct __suio uio; in xfputwc() local
776 uio.uio_iov = &iov; in xfputwc()
777 uio.uio_resid = len; in xfputwc()
778 uio.uio_iovcnt = 1; in xfputwc()
[all …]
Dvfwprintf.cpp113 struct __suio uio; /* output information: summary */ in FUNCTION_NAME() local
158 uio.uio_iov = iovp = iov; in FUNCTION_NAME()
159 uio.uio_resid = 0; in FUNCTION_NAME()
160 uio.uio_iovcnt = 0; in FUNCTION_NAME()
Dstdio.cpp1166 __suio uio = { .uio_iov = &iov, .uio_iovcnt = 1, .uio_resid = n }; in fwrite_unlocked() local
1172 return (__sfvwrite(fp, &uio) == 0) ? count : ((n - uio.uio_resid) / size); in fwrite_unlocked()
/bionic/docs/
Dstatus.md223 * <sys/uio.h> `process_vm_readv`/`process_vm_writev`.