/external/strace/tests/ |
preadv-pwritev.test | 3 # Check decoding and dumping of preadv and pwritev syscalls. 6 run_strace_match_diff -a19 -eread=0 -ewrite=1 -e trace=preadv,pwritev
|
pwritev.c | 104 if (pwritev(0, iov, i + 1, offset + i) != written) 105 perror_msg_and_fail("pwritev"); 106 fputs("pwritev(0, ", stdout); 114 fputs("pwritev(0, ", stdout); 116 rc = pwritev(0, iov + i, n, offset + LEN + i); 122 rc = pwritev(0, iov, 1, -1); 123 printf("pwritev(0, [{iov_base=%p, iov_len=%d}], 1, -1) = %ld %s (%m)\n", 127 rc = pwritev(0, iov, 42, -2); 128 printf("pwritev(0, %p, 42, -2) = %ld %s (%m)\n", 131 rc = pwritev(0, NULL, 1, -3) [all...] |
uio.c | 52 assert(pwritev(0, &iov, 1, offset) == 4);
|
preadv-pwritev.c | 2 * Check decoding of preadv and pwritev syscalls. 44 static char tmp[] = "preadv-pwritev-tmpfile"; 68 rc = pwritev(1, efault, 42, 0); 69 tprintf("pwritev(1, %p, 42, 0) = %ld %s (%m)\n", 95 rc = pwritev(1, w_iov, 0, 0); 97 perror_msg_and_fail("pwritev: expected 0, returned %ld", rc); 98 tprintf("pwritev(1, [], 0, 0) = 0\n"); 100 rc = pwritev(1, w_iov + ARRAY_SIZE(w_iov_) - 1, 2, 0); 101 tprintf("pwritev(1, [{iov_base=\"%s\", iov_len=%u}, %p], 2, 0)" 109 rc = pwritev(1, w_iov, ARRAY_SIZE(w_iov_), 0) [all...] |
/external/strace/tests-m32/ |
preadv-pwritev.test | 3 # Check decoding and dumping of preadv and pwritev syscalls. 6 run_strace_match_diff -a19 -eread=0 -ewrite=1 -e trace=preadv,pwritev
|
pwritev.c | 104 if (pwritev(0, iov, i + 1, offset + i) != written) 105 perror_msg_and_fail("pwritev"); 106 fputs("pwritev(0, ", stdout); 114 fputs("pwritev(0, ", stdout); 116 rc = pwritev(0, iov + i, n, offset + LEN + i); 122 rc = pwritev(0, iov, 1, -1); 123 printf("pwritev(0, [{iov_base=%p, iov_len=%d}], 1, -1) = %ld %s (%m)\n", 127 rc = pwritev(0, iov, 42, -2); 128 printf("pwritev(0, %p, 42, -2) = %ld %s (%m)\n", 131 rc = pwritev(0, NULL, 1, -3) [all...] |
uio.c | 52 assert(pwritev(0, &iov, 1, offset) == 4);
|
preadv-pwritev.c | 2 * Check decoding of preadv and pwritev syscalls. 44 static char tmp[] = "preadv-pwritev-tmpfile"; 68 rc = pwritev(1, efault, 42, 0); 69 tprintf("pwritev(1, %p, 42, 0) = %ld %s (%m)\n", 95 rc = pwritev(1, w_iov, 0, 0); 97 perror_msg_and_fail("pwritev: expected 0, returned %ld", rc); 98 tprintf("pwritev(1, [], 0, 0) = 0\n"); 100 rc = pwritev(1, w_iov + ARRAY_SIZE(w_iov_) - 1, 2, 0); 101 tprintf("pwritev(1, [{iov_base=\"%s\", iov_len=%u}, %p], 2, 0)" 109 rc = pwritev(1, w_iov, ARRAY_SIZE(w_iov_), 0) [all...] |
/external/strace/tests-mx32/ |
preadv-pwritev.test | 3 # Check decoding and dumping of preadv and pwritev syscalls. 6 run_strace_match_diff -a19 -eread=0 -ewrite=1 -e trace=preadv,pwritev
|
pwritev.c | 104 if (pwritev(0, iov, i + 1, offset + i) != written) 105 perror_msg_and_fail("pwritev"); 106 fputs("pwritev(0, ", stdout); 114 fputs("pwritev(0, ", stdout); 116 rc = pwritev(0, iov + i, n, offset + LEN + i); 122 rc = pwritev(0, iov, 1, -1); 123 printf("pwritev(0, [{iov_base=%p, iov_len=%d}], 1, -1) = %ld %s (%m)\n", 127 rc = pwritev(0, iov, 42, -2); 128 printf("pwritev(0, %p, 42, -2) = %ld %s (%m)\n", 131 rc = pwritev(0, NULL, 1, -3) [all...] |
uio.c | 52 assert(pwritev(0, &iov, 1, offset) == 4);
|
preadv-pwritev.c | 2 * Check decoding of preadv and pwritev syscalls. 44 static char tmp[] = "preadv-pwritev-tmpfile"; 68 rc = pwritev(1, efault, 42, 0); 69 tprintf("pwritev(1, %p, 42, 0) = %ld %s (%m)\n", 95 rc = pwritev(1, w_iov, 0, 0); 97 perror_msg_and_fail("pwritev: expected 0, returned %ld", rc); 98 tprintf("pwritev(1, [], 0, 0) = 0\n"); 100 rc = pwritev(1, w_iov + ARRAY_SIZE(w_iov_) - 1, 2, 0); 101 tprintf("pwritev(1, [{iov_base=\"%s\", iov_len=%u}, %p], 2, 0)" 109 rc = pwritev(1, w_iov, ARRAY_SIZE(w_iov_), 0) [all...] |
/bionic/libc/arch-arm64/syscalls/ |
pwritev.S | 5 ENTRY(pwritev) function 14 END(pwritev) 16 ALIAS_SYMBOL(pwritev64, pwritev)
|
/bionic/libc/arch-x86_64/syscalls/ |
pwritev.S | 5 ENTRY(pwritev) function 16 END(pwritev) 18 ALIAS_SYMBOL(pwritev64, pwritev)
|
/bionic/libc/arch-mips64/syscalls/ |
pwritev.S | 5 ENTRY(pwritev) function 25 END(pwritev) 27 ALIAS_SYMBOL(pwritev64, pwritev)
|
/external/ltp/testcases/kernel/syscalls/pwritev/ |
pwritev.h | 25 int pwritev(int fd, const struct iovec *iov, int iovcnt, off_t offset) function
|
pwritev01.c | 21 * Testcase to check the basic functionality of the pwritev(2). 22 * pwritev(2) should succeed to write the expected content of data 29 #include "pwritev.h" 62 TEST(pwritev(fd, wr_iovec, tc->count, tc->offset)); 64 tst_res(TFAIL | TTERRNO, "pwritev() failed"); 69 tst_res(TFAIL, "pwritev() wrote %li bytes, expected %li", 75 tst_res(TFAIL, "pwritev() had changed file offset");
|
pwritev02.c | 21 * 1) pwritev(2) fails if iov_len is invalid. 22 * 2) pwritev(2) fails if the vector count iovcnt is less than zero. 23 * 3) pwritev(2) fails if offset is negative. 24 * 4) pwritev(2) fails when attempts to write from a invalid address 25 * 5) pwritev(2) fails if file descriptor is invalid. 26 * 6) pwritev(2) fails if file descriptor is not open for writing. 27 * 7) pwritev(2) fails if fd is associated with a pipe. 30 * 1) pwritev(2) should return -1 and set errno to EINVAL. 31 * 2) pwritev(2) should return -1 and set errno to EINVAL. 32 * 3) pwritev(2) should return -1 and set errno to EINVAL [all...] |
/bionic/libc/include/sys/ |
uio.h | 43 ssize_t pwritev(int, const struct iovec*, int, off_t) __RENAME(pwritev64); 46 ssize_t pwritev(int, const struct iovec*, int, off_t) __INTRODUCED_IN(24);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/sys/ |
uio.h | 78 extern ssize_t pwritev (int __fd, __const struct iovec *__iovec, int __count, 85 extern ssize_t __REDIRECT (pwritev, (int __fd, __const struct iovec *__iovec, 90 # define pwritev pwritev64 macro
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/ |
uio.h | 78 extern ssize_t pwritev (int __fd, __const struct iovec *__iovec, int __count, 85 extern ssize_t __REDIRECT (pwritev, (int __fd, __const struct iovec *__iovec, 90 # define pwritev pwritev64 macro
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/ |
uio.h | 78 extern ssize_t pwritev (int __fd, __const struct iovec *__iovec, int __count, 85 extern ssize_t __REDIRECT (pwritev, (int __fd, __const struct iovec *__iovec, 90 # define pwritev pwritev64 macro
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
uio.h | 115 ssize_t pwritev(int, const struct iovec *, int, off_t);
|
/bionic/tests/ |
sys_uio_test.cpp | 64 TestPreadVPwriteV(preadv, pwritev);
|
/bionic/libc/bionic/ |
legacy_32_bit_support.cpp | 83 // On LP32, there is no off_t preadv/pwritev, and even the 64-bit preadv/pwritev 93 ssize_t pwritev(int fd, const struct iovec* ios, int count, off_t offset) { function
|