Searched defs:iov (Results 1 - 25 of 152) sorted by relevance

1234567

/external/strace/tests/
H A Duio.c42 struct iovec iov = { buf, sizeof buf }; local
47 assert(preadv(0, &iov, 1, offset) == 4);
52 assert(pwritev(0, &iov, 1, offset) == 4);
H A Dioctl_sg_io_v3.c153 const struct iovec iov[] = { local
162 struct iovec *const t_iov = tail_memdup(iov, sizeof(iov));
168 sg_io->iovec_count = ARRAY_SIZE(iov);
169 sg_io->dxfer_len = iov[0].iov_len + iov[1].iov_len - 1;
201 * (unsigned char *) (iov[0].iov_base + 0),
202 * (unsigned char *) (iov[0].iov_base + 1),
203 (unsigned int) iov[0].iov_len,
204 * (unsigned char *) (iov[
[all...]
H A Dioctl_sg_io_v4.c131 const struct iovec iov[] = { local
140 const struct iovec *const t_iov = tail_memdup(iov, sizeof(iov));
141 sg_io->dout_iovec_count = ARRAY_SIZE(iov);
142 sg_io->dout_xfer_len = iov[0].iov_len + iov[1].iov_len - 1;
204 * (unsigned char *) (iov[0].iov_base + 0),
205 * (unsigned char *) (iov[0].iov_base + 1),
206 (unsigned int) iov[0].iov_len,
207 * (unsigned char *) (iov[
[all...]
H A Dmmsg-silent.c43 struct iovec iov = { .iov_base = &buf, .iov_len = sizeof(buf) }; local
46 .msg_iov = &iov,
H A Drecvmmsg-timeout.c46 struct iovec iov = { .iov_base = &buf, .iov_len = sizeof(buf) }; local
49 .msg_iov = &iov,
/external/strace/tests-m32/
H A Duio.c42 struct iovec iov = { buf, sizeof buf }; local
47 assert(preadv(0, &iov, 1, offset) == 4);
52 assert(pwritev(0, &iov, 1, offset) == 4);
H A Dioctl_sg_io_v3.c153 const struct iovec iov[] = { local
162 struct iovec *const t_iov = tail_memdup(iov, sizeof(iov));
168 sg_io->iovec_count = ARRAY_SIZE(iov);
169 sg_io->dxfer_len = iov[0].iov_len + iov[1].iov_len - 1;
201 * (unsigned char *) (iov[0].iov_base + 0),
202 * (unsigned char *) (iov[0].iov_base + 1),
203 (unsigned int) iov[0].iov_len,
204 * (unsigned char *) (iov[
[all...]
H A Dioctl_sg_io_v4.c131 const struct iovec iov[] = { local
140 const struct iovec *const t_iov = tail_memdup(iov, sizeof(iov));
141 sg_io->dout_iovec_count = ARRAY_SIZE(iov);
142 sg_io->dout_xfer_len = iov[0].iov_len + iov[1].iov_len - 1;
204 * (unsigned char *) (iov[0].iov_base + 0),
205 * (unsigned char *) (iov[0].iov_base + 1),
206 (unsigned int) iov[0].iov_len,
207 * (unsigned char *) (iov[
[all...]
H A Dmmsg-silent.c43 struct iovec iov = { .iov_base = &buf, .iov_len = sizeof(buf) }; local
46 .msg_iov = &iov,
H A Drecvmmsg-timeout.c46 struct iovec iov = { .iov_base = &buf, .iov_len = sizeof(buf) }; local
49 .msg_iov = &iov,
/external/strace/tests-mx32/
H A Duio.c42 struct iovec iov = { buf, sizeof buf }; local
47 assert(preadv(0, &iov, 1, offset) == 4);
52 assert(pwritev(0, &iov, 1, offset) == 4);
H A Dioctl_sg_io_v3.c153 const struct iovec iov[] = { local
162 struct iovec *const t_iov = tail_memdup(iov, sizeof(iov));
168 sg_io->iovec_count = ARRAY_SIZE(iov);
169 sg_io->dxfer_len = iov[0].iov_len + iov[1].iov_len - 1;
201 * (unsigned char *) (iov[0].iov_base + 0),
202 * (unsigned char *) (iov[0].iov_base + 1),
203 (unsigned int) iov[0].iov_len,
204 * (unsigned char *) (iov[
[all...]
H A Dioctl_sg_io_v4.c131 const struct iovec iov[] = { local
140 const struct iovec *const t_iov = tail_memdup(iov, sizeof(iov));
141 sg_io->dout_iovec_count = ARRAY_SIZE(iov);
142 sg_io->dout_xfer_len = iov[0].iov_len + iov[1].iov_len - 1;
204 * (unsigned char *) (iov[0].iov_base + 0),
205 * (unsigned char *) (iov[0].iov_base + 1),
206 (unsigned int) iov[0].iov_len,
207 * (unsigned char *) (iov[
[all...]
H A Dmmsg-silent.c43 struct iovec iov = { .iov_base = &buf, .iov_len = sizeof(buf) }; local
46 .msg_iov = &iov,
H A Drecvmmsg-timeout.c46 struct iovec iov = { .iov_base = &buf, .iov_len = sizeof(buf) }; local
49 .msg_iov = &iov,
/external/compiler-rt/test/asan/TestCases/Posix/
H A Dreadv.cc16 struct iovec iov[2]; local
19 iov[0].iov_base = buf_ - 1;
21 iov[0].iov_base = buf + 1;
23 iov[0].iov_len = 5;
24 iov[1].iov_base = buf + 10;
25 iov[1].iov_len = 2000;
28 readv(fd, iov, 2);
/external/libvncserver/libvncserver/
H A Drfbcrypto_gnutls.c28 void digestmd5(const struct iovec *iov, int iovcnt, void *dest) argument
35 gcry_md_write(c, iov[i].iov_base, iov[i].iov_len);
40 void digestsha1(const struct iovec *iov, int iovcnt, void *dest) argument
47 gcry_md_write(c, iov[i].iov_base, iov[i].iov_len);
H A Drfbcrypto_included.c29 void digestmd5(const struct iovec *iov, int iovcnt, void *dest) argument
36 __md5_process_bytes(iov[i].iov_base, iov[i].iov_len, &c);
40 void digestsha1(const struct iovec *iov, int iovcnt, void *dest) argument
47 SHA1Input(&c, iov[i].iov_base, iov[i].iov_len);
H A Drfbcrypto_openssl.c29 void digestmd5(const struct iovec *iov, int iovcnt, void *dest) argument
36 MD5_Update(&c, iov[i].iov_base, iov[i].iov_len);
40 void digestsha1(const struct iovec *iov, int iovcnt, void *dest) argument
47 SHA1_Update(&c, iov[i].iov_base, iov[i].iov_len);
H A Drfbcrypto_polarssl.c6 void digestmd5(const struct iovec *iov, int iovcnt, void *dest) argument
13 md5_update(&c, iov[i].iov_base, iov[i].iov_len);
17 void digestsha1(const struct iovec *iov, int iovcnt, void *dest) argument
24 sha1_update(&c, iov[i].iov_base, iov[i].iov_len);
/external/ltp/include/lapi/
H A Dvmsplice.h30 ssize_t vmsplice(int fd, const struct iovec *iov, argument
33 return ltp_syscall(__NR_vmsplice, fd, iov, nr_segs, flags);
/external/ltp/testcases/kernel/syscalls/preadv/
H A Dpreadv.h25 int preadv(int fd, const struct iovec *iov, int iovcnt, off_t offset) argument
27 return tst_syscall(__NR_preadv, fd, iov, iovcnt, offset);
/external/ltp/testcases/kernel/syscalls/pwritev/
H A Dpwritev.h25 int pwritev(int fd, const struct iovec *iov, int iovcnt, off_t offset) argument
27 return tst_syscall(__NR_pwritev, fd, iov, iovcnt, offset);
/external/c-ares/
H A Dares_writev.c28 ssize_t ares_writev(ares_socket_t s, const struct iovec *iov, int iovcnt) argument
42 /* Validate and find the sum of the iov_len values in the iov array */
45 if (iov[i].iov_len > INT_MAX - bytes)
50 bytes += iov[i].iov_len;
67 memcpy (bp, iov[i].iov_base, iov[i].iov_len);
68 bp += iov[i].iov_len;
/external/compiler-rt/test/msan/Linux/
H A Dsendmsg.cc53 struct iovec iov[2] = {{buf, 5}, {buf + 5, 5}}; local
57 msg.msg_iov = iov;

Completed in 391 milliseconds

1234567