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()
69 iov = uio->uio_iov; in __sfvwrite()
91 } while ((uio->uio_resid -= w) != 0); in __sfvwrite()
153 } while ((uio->uio_resid -= w) != 0); in __sfvwrite()
197 } while ((uio->uio_resid -= w) != 0); in __sfvwrite()
/bionic/libc/stdio/
Dvfprintf.cpp90 struct __suio uio; /* output information: summary */ in FUNCTION_NAME() local
122 uio.uio_resid += (len); \ in FUNCTION_NAME()
124 if (++uio.uio_iovcnt >= NIOV) { \ in FUNCTION_NAME()
125 if (helpers::sprint(fp, &uio)) goto error; \ in FUNCTION_NAME()
131 if (uio.uio_resid && helpers::sprint(fp, &uio)) goto error; \ in FUNCTION_NAME()
132 uio.uio_iovcnt = 0; \ in FUNCTION_NAME()
153 uio.uio_iov = iovp = iov; in FUNCTION_NAME()
154 uio.uio_resid = 0; in FUNCTION_NAME()
155 uio.uio_iovcnt = 0; in FUNCTION_NAME()
Dprintf_common.h674 static int sprint(FILE* fp, struct __suio* uio) { in sprint()
675 if (uio->uio_resid == 0) { in sprint()
676 uio->uio_iovcnt = 0; in sprint()
679 int result = __sfvwrite(fp, uio); in sprint()
680 uio->uio_resid = 0; in sprint()
681 uio->uio_iovcnt = 0; in sprint()
750 struct __suio uio; in xfputwc() local
751 uio.uio_iov = &iov; in xfputwc()
752 uio.uio_resid = len; in xfputwc()
753 uio.uio_iovcnt = 1; in xfputwc()
[all …]
Dvfwprintf.cpp90 struct __suio uio; /* output information: summary */ in FUNCTION_NAME() local
142 uio.uio_iov = iovp = iov; in FUNCTION_NAME()
143 uio.uio_resid = 0; in FUNCTION_NAME()
144 uio.uio_iovcnt = 0; in FUNCTION_NAME()
Dstdio.cpp1169 __suio uio = { .uio_iov = &iov, .uio_iovcnt = 1, .uio_resid = n }; in fwrite_unlocked() local
1175 return (__sfvwrite(fp, &uio) == 0) ? count : ((n - uio.uio_resid) / size); in fwrite_unlocked()
/bionic/docs/
Dstatus.md166 * <sys/uio.h> `process_vm_readv`/`process_vm_writev`.