Home
last modified time | relevance | path

Searched refs:iov (Results 1 – 16 of 16) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfvwrite.c53 struct __siov *iov; in __sfvwrite() local
69 iov = uio->uio_iov; in __sfvwrite()
70 p = iov->iov_base; in __sfvwrite()
71 len = iov->iov_len; in __sfvwrite()
72 iov++; in __sfvwrite()
76 p = iov->iov_base; \ in __sfvwrite()
77 len = iov->iov_len; \ in __sfvwrite()
78 iov++; \ in __sfvwrite()
Dfputwc.c47 struct __siov iov; in __fputwc_unlock() local
49 iov.iov_base = buf; in __fputwc_unlock()
50 uio.uio_iov = &iov; in __fputwc_unlock()
69 uio.uio_resid = iov.iov_len = size; in __fputwc_unlock()
/bionic/libc/upstream-netbsd/lib/libc/gen/
Dpsignal.c61 struct iovec iov[4]; in __weak_alias() local
64 v = iov; in __weak_alias()
78 (void)writev(STDERR_FILENO, iov, (int)((v - iov) + 1)); in __weak_alias()
/bionic/libc/dns/resolv/
Dherror.c99 struct iovec iov[4], *v = iov; in herror() local
119 writev(STDERR_FILENO, iov, (v - iov) + 1); in herror()
Dres_send.c768 struct iovec iov[2]; in send_vc() local
863 iov[0] = evConsIovec(&len, INT16SZ); in send_vc()
865 iov[1] = evConsIovec(tmp, (size_t)buflen); in send_vc()
866 if (writev(statp->_vcsock, iov, 2) != (INT16SZ + buflen)) { in send_vc()
/bionic/libc/upstream-netbsd/lib/libc/isc/
Dev_streams.c48 static int copyvec(evStream *str, const struct iovec *iov, int iocnt);
67 evWrite(evContext opaqueCtx, int fd, const struct iovec *iov, int iocnt, in evWrite() argument
81 if (copyvec(new, iov, iocnt) < 0) in evWrite()
101 evRead(evContext opaqueCtx, int fd, const struct iovec *iov, int iocnt, in evRead() argument
115 if (copyvec(new, iov, iocnt) < 0) in evRead()
211 copyvec(evStream *str, const struct iovec *iov, int iocnt) { in copyvec() argument
221 str->iovOrig[i] = iov[i]; in copyvec()
222 str->ioTotal += iov[i].iov_len; in copyvec()
/bionic/tests/
Dsys_ptrace_test.cpp87 iovec iov; in check_hw_feature_supported()
88 iov.iov_base = &dreg_state; in check_hw_feature_supported()
89 iov.iov_len = sizeof(dreg_state); in check_hw_feature_supported()
92 feature == HwFeature::Watchpoint ? NT_ARM_HW_WATCH : NT_ARM_HW_BREAK, &iov); in check_hw_feature_supported()
127 iovec iov; in set_watchpoint() local
128 iov.iov_base = &dreg_state; in set_watchpoint()
129 iov.iov_len = offsetof(user_hwdebug_state, dbg_regs) + sizeof(dreg_state.dbg_regs[0]); in set_watchpoint()
131 ASSERT_EQ(0, ptrace(PTRACE_SETREGSET, child, NT_ARM_HW_WATCH, &iov)) << strerror(errno); in set_watchpoint()
312 iovec iov; in set_breakpoint() local
313 iov.iov_base = &dreg_state; in set_breakpoint()
[all …]
/bionic/libc/bionic/
Dandroid_profiling_dynamic.cpp160 iovec iov = { reinterpret_cast<void*>(iobuf), sizeof(iobuf) }; in HandleTracedPerfSignal() local
161 msg_hdr.msg_iov = &iov; in HandleTracedPerfSignal()
/bionic/libc/kernel/uapi/linux/
Dmic_ioctl.h23 struct iovec * iov; member
Dtarget_core_user.h60 struct iovec iov[0]; member
/bionic/libc/stdio/
Dvfprintf.cpp91 struct __siov iov[NIOV]; /* ... and individual io vectors */ in FUNCTION_NAME() local
126 iovp = iov; \ in FUNCTION_NAME()
133 iovp = iov; \ in FUNCTION_NAME()
153 uio.uio_iov = iovp = iov; in FUNCTION_NAME()
Dprintf_common.h747 struct __siov iov; in xfputwc() local
748 iov.iov_base = buf; in xfputwc()
749 iov.iov_len = len; in xfputwc()
751 uio.uio_iov = &iov; in xfputwc()
Dvfwprintf.cpp91 struct __siov iov[NIOV]; /* ... and individual io vectors */ in FUNCTION_NAME() local
142 uio.uio_iov = iovp = iov; in FUNCTION_NAME()
Dstdio.cpp1168 __siov iov = { .iov_base = const_cast<void*>(buf), .iov_len = n }; in fwrite_unlocked() local
1169 __suio uio = { .uio_iov = &iov, .uio_iovcnt = 1, .uio_resid = n }; in fwrite_unlocked()
/bionic/libc/
DSECCOMP_ALLOWLIST_COMMON.TXT55 ssize_t preadv2(int fd, const struct iovec* iov, int iovcnt, off_t offset, int flags) all
56 ssize_t pwritev2(int fd, const struct iovec* iov, int iovcnt, off_t offset, int flags) all
/bionic/libc/async_safe/
Dasync_safe_log.cpp551 struct iovec iov[2] = { in async_safe_fatal_va_list() local
554 TEMP_FAILURE_RETRY(writev(2, iov, 2)); in async_safe_fatal_va_list()