HomeSort by relevance Sort by last modified time
    Searched refs:iov (Results 1 - 25 of 246) sorted by null

1 2 3 4 5 6 7 8 910

  /external/virglrenderer/src/
iov.c 44 size_t vrend_get_iovec_size(const struct iovec *iov, int iovlen) {
48 size += iov->iov_len;
49 iov++;
56 size_t vrend_read_from_iovec(const struct iovec *iov, int iovlen,
64 if (iov->iov_len > offset) {
65 len = iov->iov_len - offset;
69 memcpy(buf, (char*)iov->iov_base + offset, len);
76 offset -= iov->iov_len;
79 iov++;
86 size_t vrend_write_to_iovec(const struct iovec *iov, int iovlen
    [all...]
vrend_iov.h 40 size_t vrend_get_iovec_size(const struct iovec *iov, int iovlen);
41 size_t vrend_read_from_iovec(const struct iovec *iov, int iov_cnt,
43 size_t vrend_write_to_iovec(const struct iovec *iov, int iov_cnt,
46 size_t vrend_read_from_iovec_cb(const struct iovec *iov, int iov_cnt,
  /external/compiler-rt/test/asan/TestCases/Posix/
readv.cc 16 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/strace/tests/
pwritev.c 42 print_iov(const struct iovec *iov)
45 unsigned char *buf = iov->iov_base;
48 for (i = 0; i < iov->iov_len; ++i) {
53 i > LIM ? "..." : "", (unsigned) iov->iov_len);
57 print_iovec(const struct iovec *iov, unsigned int cnt, unsigned int size)
60 printf("%p", iov);
69 printf("... /* %p */", &iov[i]);
76 print_iov(&iov[i]);
93 struct iovec *iov = tail_alloc(sizeof(*iov) * LEN) local
    [all...]
preadv.c 41 print_iov(const struct iovec *iov)
44 unsigned char *buf = iov->iov_base;
47 for (i = 0; i < iov->iov_len; ++i)
49 printf("\", iov_len=%u}", (unsigned) iov->iov_len);
53 print_iovec(const struct iovec *iov, unsigned int cnt)
60 print_iov(&iov[i]);
70 TAIL_ALLOC_OBJECT_CONST_PTR(struct iovec, iov);
71 iov->iov_base = buf;
72 iov->iov_len = LEN;
78 if (preadv(0, iov, 1, offset) != LEN
    [all...]
uio.c 43 struct iovec iov = { buf, sizeof(buf) }; local
48 assert(preadv(0, &iov, 1, offset) == 4);
53 assert(pwritev(0, &iov, 1, offset) == 4);
  /external/strace/tests-m32/
pwritev.c 42 print_iov(const struct iovec *iov)
45 unsigned char *buf = iov->iov_base;
48 for (i = 0; i < iov->iov_len; ++i) {
53 i > LIM ? "..." : "", (unsigned) iov->iov_len);
57 print_iovec(const struct iovec *iov, unsigned int cnt, unsigned int size)
60 printf("%p", iov);
69 printf("... /* %p */", &iov[i]);
76 print_iov(&iov[i]);
93 struct iovec *iov = tail_alloc(sizeof(*iov) * LEN) local
    [all...]
preadv.c 41 print_iov(const struct iovec *iov)
44 unsigned char *buf = iov->iov_base;
47 for (i = 0; i < iov->iov_len; ++i)
49 printf("\", iov_len=%u}", (unsigned) iov->iov_len);
53 print_iovec(const struct iovec *iov, unsigned int cnt)
60 print_iov(&iov[i]);
70 TAIL_ALLOC_OBJECT_CONST_PTR(struct iovec, iov);
71 iov->iov_base = buf;
72 iov->iov_len = LEN;
78 if (preadv(0, iov, 1, offset) != LEN
    [all...]
uio.c 43 struct iovec iov = { buf, sizeof(buf) }; local
48 assert(preadv(0, &iov, 1, offset) == 4);
53 assert(pwritev(0, &iov, 1, offset) == 4);
  /external/strace/tests-mx32/
pwritev.c 42 print_iov(const struct iovec *iov)
45 unsigned char *buf = iov->iov_base;
48 for (i = 0; i < iov->iov_len; ++i) {
53 i > LIM ? "..." : "", (unsigned) iov->iov_len);
57 print_iovec(const struct iovec *iov, unsigned int cnt, unsigned int size)
60 printf("%p", iov);
69 printf("... /* %p */", &iov[i]);
76 print_iov(&iov[i]);
93 struct iovec *iov = tail_alloc(sizeof(*iov) * LEN) local
    [all...]
preadv.c 41 print_iov(const struct iovec *iov)
44 unsigned char *buf = iov->iov_base;
47 for (i = 0; i < iov->iov_len; ++i)
49 printf("\", iov_len=%u}", (unsigned) iov->iov_len);
53 print_iovec(const struct iovec *iov, unsigned int cnt)
60 print_iov(&iov[i]);
70 TAIL_ALLOC_OBJECT_CONST_PTR(struct iovec, iov);
71 iov->iov_base = buf;
72 iov->iov_len = LEN;
78 if (preadv(0, iov, 1, offset) != LEN
    [all...]
uio.c 43 struct iovec iov = { buf, sizeof(buf) }; local
48 assert(preadv(0, &iov, 1, offset) == 4);
53 assert(pwritev(0, &iov, 1, offset) == 4);
  /external/ltp/include/lapi/
vmsplice.h 30 ssize_t vmsplice(int fd, const struct iovec *iov,
33 return tst_syscall(__NR_vmsplice, fd, iov, nr_segs, flags);
preadv2.h 18 ssize_t preadv2(int fd, const struct iovec *iov, int iovcnt, off_t offset,
21 return tst_syscall(__NR_preadv2, fd, iov, iovcnt,
pwritev2.h 18 ssize_t pwritev2(int fd, const struct iovec *iov, int iovcnt, off_t offset,
21 return tst_syscall(__NR_pwritev2, fd, iov, iovcnt,
  /external/ltp/testcases/kernel/syscalls/preadv/
preadv.h 25 int preadv(int fd, const struct iovec *iov, int iovcnt, off_t offset)
27 return tst_syscall(__NR_preadv, fd, iov, iovcnt, offset);
  /external/ltp/testcases/kernel/syscalls/pwritev/
pwritev.h 25 int pwritev(int fd, const struct iovec *iov, int iovcnt, off_t offset)
27 return tst_syscall(__NR_pwritev, fd, iov, iovcnt, offset);
  /device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
puts.c 64 struct __siov iov[2]; local
74 iov[0].iov_base = __UNCONST(s);
75 iov[0].iov_len = c;
76 iov[1].iov_base = __UNCONST("\n");
77 iov[1].iov_len = 1;
79 uio.uio_iov = &iov[0];
fputs.c 63 struct __siov iov; local
76 iov.iov_base = __UNCONST(s);
77 uio.uio_resid = (int)(iov.iov_len = strlen(s));
78 uio.uio_iov = &iov;
fwrite.c 64 struct __siov iov; local
79 iov.iov_base = __UNCONST(buf);
80 uio.uio_resid = (int)(iov.iov_len = n);
81 uio.uio_iov = &iov;
  /external/kernel-headers/original/uapi/linux/
mic_ioctl.h 30 * @iov: An array of IOVEC structures containing user space buffers.
31 * @iovcnt: Number of IOVEC structures in iov.
39 struct iovec __user *iov; member in struct:mic_copy_desc
41 struct iovec *iov;
  /cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-10229/
poc.c 50 struct iovec iov[2]; local
63 memset(iov, 0, sizeof(iov));
65 msg.msg_iov = iov;
67 iov[0].iov_base = buf1;
68 iov[0].iov_len = sizeof(buf1);
69 iov[1].iov_base = buf2;
70 iov[1].iov_len = sizeof(buf2);
76 memset(iov, 0, sizeof(iov));
    [all...]
  /external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
ptrace.h 108 struct iovec iov; local
113 iov.iov_base = regs;
114 iov.iov_len = n * sizeof(unsigned long);
116 ret = ptrace(PTRACE_GETREGSET, child, type, &iov);
128 struct iovec iov; local
133 iov.iov_base = regs;
134 iov.iov_len = n * sizeof(unsigned long);
136 ret = ptrace(PTRACE_SETREGSET, child, type, &iov);
146 struct iovec iov; local
155 iov.iov_base = (u64 *) reg
192 struct iovec iov; local
235 struct iovec iov; local
283 struct iovec iov; local
370 struct iovec iov; local
394 struct iovec iov; local
475 struct iovec iov; local
504 struct iovec iov; local
548 struct iovec iov; local
578 struct iovec iov; local
608 struct iovec iov; local
637 struct iovec iov; local
655 struct iovec iov; local
    [all...]
  /external/openssh/
atomicio.c 107 struct iovec iov_array[IOV_MAX], *iov = iov_array; local
114 /* Make a copy of the iov array because we may modify it below */
115 memcpy(iov, _iov, (size_t)iovcnt * sizeof(*_iov));
121 for (; iovcnt > 0 && iov[0].iov_len > 0;) {
122 res = (f) (fd, iov, iovcnt);
140 /* skip completed iov entries */
141 while (iovcnt > 0 && rem >= iov[0].iov_len) {
142 rem -= iov[0].iov_len;
143 iov++;
147 if (rem > 0 && (iovcnt <= 0 || rem > iov[0].iov_len))
    [all...]
  /device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
herror.c 96 struct iovec iov[4]; local
97 register struct iovec *v = iov;
113 writev(STDERR_FILENO, iov, (v - iov) + 1);
117 for (i = 0; i < (v - iov) + 1; i++)
118 fprintf( stderr, iov[i].iov_base);

Completed in 1792 milliseconds

1 2 3 4 5 6 7 8 910