/external/strace/tests/ |
preadv-pwritev.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (preadv-pwritev -a19 -eread=0 -ewrite=1 -e trace=preadv,pwritev); do not edit. 4 run_strace_match_diff -a19 -eread=0 -ewrite=1 -e trace=preadv,pwritev
|
preadv.c | 78 if (preadv(0, iov, 1, offset) != LEN) 79 perror_msg_and_fail("preadv"); 80 printf("preadv(0, "); 84 if (preadv(0, iov, 1, -1) != -1) 85 perror_msg_and_fail("preadv"); 86 printf("preadv(0, [{iov_base=%p, iov_len=%zu}], 1, -1) = " 89 if (preadv(0, NULL, 1, -2) != -1) 90 perror_msg_and_fail("preadv"); 91 printf("preadv(0, NULL, 1, -2) = -1 EINVAL (%m)\n"); 93 if (preadv(0, iov, 0, -3) != -1 [all...] |
uio.c | 48 assert(preadv(0, &iov, 1, offset) == 4);
|
preadv-pwritev.c | 2 * Check decoding of preadv and pwritev syscalls. 45 static char tmp[] = "preadv-pwritev-tmpfile"; 73 rc = preadv(0, efault, 42, 0); 74 tprintf("preadv(0, %p, 42, 0) = %ld %s (%m)\n", 139 rc = preadv(0, r_iov, ARRAY_SIZE(r0_iov_), 0); 141 perror_msg_and_fail("preadv: expected %u, returned %ld", 143 tprintf("preadv(0, [{iov_base=\"%s\", iov_len=%u}], %u, 0) = %u\n" 163 rc = preadv(0, r_iov, ARRAY_SIZE(r1_iov_), r_len); 165 perror_msg_and_fail("preadv: expected %d, returned %ld", 167 tprintf("preadv(0, [{iov_base=\"%s\", iov_len=%u} [all...] |
/external/strace/tests-m32/ |
preadv-pwritev.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (preadv-pwritev -a19 -eread=0 -ewrite=1 -e trace=preadv,pwritev); do not edit. 4 run_strace_match_diff -a19 -eread=0 -ewrite=1 -e trace=preadv,pwritev
|
preadv.c | 78 if (preadv(0, iov, 1, offset) != LEN) 79 perror_msg_and_fail("preadv"); 80 printf("preadv(0, "); 84 if (preadv(0, iov, 1, -1) != -1) 85 perror_msg_and_fail("preadv"); 86 printf("preadv(0, [{iov_base=%p, iov_len=%zu}], 1, -1) = " 89 if (preadv(0, NULL, 1, -2) != -1) 90 perror_msg_and_fail("preadv"); 91 printf("preadv(0, NULL, 1, -2) = -1 EINVAL (%m)\n"); 93 if (preadv(0, iov, 0, -3) != -1 [all...] |
uio.c | 48 assert(preadv(0, &iov, 1, offset) == 4);
|
preadv-pwritev.c | 2 * Check decoding of preadv and pwritev syscalls. 45 static char tmp[] = "preadv-pwritev-tmpfile"; 73 rc = preadv(0, efault, 42, 0); 74 tprintf("preadv(0, %p, 42, 0) = %ld %s (%m)\n", 139 rc = preadv(0, r_iov, ARRAY_SIZE(r0_iov_), 0); 141 perror_msg_and_fail("preadv: expected %u, returned %ld", 143 tprintf("preadv(0, [{iov_base=\"%s\", iov_len=%u}], %u, 0) = %u\n" 163 rc = preadv(0, r_iov, ARRAY_SIZE(r1_iov_), r_len); 165 perror_msg_and_fail("preadv: expected %d, returned %ld", 167 tprintf("preadv(0, [{iov_base=\"%s\", iov_len=%u} [all...] |
/external/strace/tests-mx32/ |
preadv-pwritev.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (preadv-pwritev -a19 -eread=0 -ewrite=1 -e trace=preadv,pwritev); do not edit. 4 run_strace_match_diff -a19 -eread=0 -ewrite=1 -e trace=preadv,pwritev
|
preadv.c | 78 if (preadv(0, iov, 1, offset) != LEN) 79 perror_msg_and_fail("preadv"); 80 printf("preadv(0, "); 84 if (preadv(0, iov, 1, -1) != -1) 85 perror_msg_and_fail("preadv"); 86 printf("preadv(0, [{iov_base=%p, iov_len=%zu}], 1, -1) = " 89 if (preadv(0, NULL, 1, -2) != -1) 90 perror_msg_and_fail("preadv"); 91 printf("preadv(0, NULL, 1, -2) = -1 EINVAL (%m)\n"); 93 if (preadv(0, iov, 0, -3) != -1 [all...] |
uio.c | 48 assert(preadv(0, &iov, 1, offset) == 4);
|
preadv-pwritev.c | 2 * Check decoding of preadv and pwritev syscalls. 45 static char tmp[] = "preadv-pwritev-tmpfile"; 73 rc = preadv(0, efault, 42, 0); 74 tprintf("preadv(0, %p, 42, 0) = %ld %s (%m)\n", 139 rc = preadv(0, r_iov, ARRAY_SIZE(r0_iov_), 0); 141 perror_msg_and_fail("preadv: expected %u, returned %ld", 143 tprintf("preadv(0, [{iov_base=\"%s\", iov_len=%u}], %u, 0) = %u\n" 163 rc = preadv(0, r_iov, ARRAY_SIZE(r1_iov_), r_len); 165 perror_msg_and_fail("preadv: expected %d, returned %ld", 167 tprintf("preadv(0, [{iov_base=\"%s\", iov_len=%u} [all...] |
/bionic/libc/arch-arm64/syscalls/ |
preadv.S | 5 ENTRY(preadv) function 14 END(preadv) 16 ALIAS_SYMBOL(preadv64, preadv)
|
/bionic/libc/arch-x86_64/syscalls/ |
preadv.S | 5 ENTRY(preadv) function 16 END(preadv) 18 ALIAS_SYMBOL(preadv64, preadv)
|
/bionic/libc/arch-mips64/syscalls/ |
preadv.S | 5 ENTRY(preadv) function 25 END(preadv) 27 ALIAS_SYMBOL(preadv64, preadv)
|
/external/ltp/testcases/kernel/syscalls/preadv/ |
preadv.h | 25 int preadv(int fd, const struct iovec *iov, int iovcnt, off_t offset) function
|
preadv01.c | 21 * Testcase to check the basic functionality of the preadv(2). 22 * Preadv(2) should succeed to read the expected content of data 30 #include "preadv.h" 64 TEST(preadv(fd, rd_iovec, tc->count, tc->offset)); 66 tst_res(TFAIL | TTERRNO, "Preadv(2) failed"); 71 tst_res(TFAIL, "Preadv(2) read %li bytes, expected %zi", 88 tst_res(TFAIL, "Preadv(2) has changed file offset"); 92 tst_res(TPASS, "Preadv(2) read %zi bytes successfully "
|
preadv02.c | 21 * 1) preadv(2) fails if iov_len is invalid. 22 * 2) preadv(2) fails if the vector count iovcnt is less than zero. 23 * 3) preadv(2) fails if offset is negative. 24 * 4) preadv(2) fails when attempts to read into a invalid address. 25 * 5) preadv(2) fails if file descriptor is invalid. 26 * 6) preadv(2) fails if file descriptor is not open for reading. 27 * 7) preadv(2) fails when fd refers to a directory. 28 * 8) preadv(2) fails if fd is associated with a pipe. 31 * 1) preadv(2) should return -1 and set errno to EINVAL. 32 * 2) preadv(2) should return -1 and set errno to EINVAL [all...] |
preadv03.c | 21 * Check the basic functionality of the preadv(2) for the file 23 * preadv(2) should succeed to read the expected content of data 34 #include "preadv.h" 71 TEST(preadv(fd, rd_iovec, tc->count, *tc->offset)); 73 tst_res(TFAIL | TTERRNO, "preadv(O_DIRECT) fails"); 78 tst_res(TFAIL, "preadv(O_DIRECT) read %li bytes, expected %zi", 95 tst_res(TFAIL, "preadv(O_DIRECT) has changed file offset"); 99 tst_res(TPASS, "preadv(O_DIRECT) read %zi bytes successfully "
|
/bionic/libc/include/sys/ |
uio.h | 42 ssize_t preadv(int __fd, const struct iovec* __iov, int __count, off_t __offset) __RENAME_IF_FILE_OFFSET64(preadv64) __INTRODUCED_IN(24);
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
uio.h | 114 ssize_t preadv(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 87 ssize_t preadv(int fd, const struct iovec* ios, int count, off_t offset) { function
|
/external/strace/ |
io.c | 225 SYS_FUNC(preadv)
|
sys_func.h | 182 extern SYS_FUNC(preadv);
|