/third_party/musl/src/unistd/ |
H A D | preadv.c | 6 ssize_t preadv(int fd, const struct iovec *iov, int count, off_t ofs) in preadv() function 12 weak_alias(preadv, preadv64);
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | uio.h | 30 ssize_t preadv (int, const struct iovec *, int, off_t); 33 #define preadv64 preadv
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | uio.h | 30 ssize_t preadv (int, const struct iovec *, int, off_t); 33 #define preadv64 preadv
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | uio.h | 30 ssize_t preadv (int, const struct iovec *, int, off_t); 33 #define preadv64 preadv
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
H A D | uio.h | 20 ssize_t preadv (int, const struct iovec *, int, off_t); 23 #define preadv64 preadv
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | uio.h | 33 ssize_t preadv (int, const struct iovec *, int, off_t); 36 #define preadv64 preadv
|
/third_party/musl/include/sys/ |
H A D | uio.h | 30 ssize_t preadv (int, const struct iovec *, int, off_t); 33 #define preadv64 preadv
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | preadv.c | 25 * @tc.desc : Create and open the preadv_function_value.c file, write data to the file, call the preadv function 48 char data[] = "preadv test"; in preadv_0100() 56 ret = preadv(fd, iov, count, 0); in preadv_0100() 69 * @tc.desc : Pass in the abnormal file descriptor and call the preadv function to read the data(failed) 83 int ret = preadv(-1, iov, count, 0); in preadv_0200()
|
/third_party/rust/crates/rustix/tests/io/ |
H A D | read_write.rs | 5 #[cfg(not(target_os = "solaris"))] // no preadv/pwritev 6 #[cfg(not(target_os = "haiku"))] // no preadv/pwritev 10 use rustix::io::{preadv, pwritev}; in test_readwrite_pv() 38 preadv(&foo, &mut [IoSliceMut::new(&mut buf)], 200).unwrap(); in test_readwrite_pv() 40 preadv(&foo, &mut [IoSliceMut::new(&mut buf)], 300).unwrap(); in test_readwrite_pv()
|
/third_party/rust/crates/nix/src/sys/ |
H A D | uio.rs | 74 pub fn preadv( in preadv() functions 84 libc::preadv( in preadv()
|
/third_party/ltp/testcases/kernel/syscalls/preadv/ |
H A D | preadv.h | 25 int preadv(int fd, const struct iovec *iov, int iovcnt, off_t offset) in preadv() function
|
H A D | preadv02.c | 11 * 1) preadv(2) fails if iov_len is invalid. 12 * 2) preadv(2) fails if the vector count iovcnt is less than zero. 13 * 3) preadv(2) fails if offset is negative. 14 * 4) preadv(2) fails when attempts to read into a invalid address. 15 * 5) preadv(2) fails if file descriptor is invalid. 16 * 6) preadv(2) fails if file descriptor is not open for reading. 17 * 7) preadv(2) fails when fd refers to a directory. 18 * 8) preadv(2) fails if fd is associated with a pipe. 21 * 1) preadv(2) should return -1 and set errno to EINVAL. 22 * 2) preadv( [all...] |
H A D | preadv01.c | 11 * Testcase to check the basic functionality of the preadv(2). 22 #include "preadv.h" 52 TEST(preadv(fd, rd_iovec, tc->count, tc->offset)); in verify_preadv()
|
H A D | preadv03.c | 9 * Check the basic functionality of the preadv(2) for the file 11 * preadv(2) should succeed to read the expected content of data 22 #include "preadv.h" 59 TEST(preadv(fd, rd_iovec, tc->count, *tc->offset)); in verify_direct_preadv() 61 tst_res(TFAIL | TTERRNO, "preadv(O_DIRECT) fails"); in verify_direct_preadv() 66 tst_res(TFAIL, "preadv(O_DIRECT) read %li bytes, expected %zi", in verify_direct_preadv() 83 tst_res(TFAIL, "preadv(O_DIRECT) has changed file offset"); in verify_direct_preadv() 87 tst_res(TPASS, "preadv(O_DIRECT) read %zi bytes successfully " in verify_direct_preadv()
|
/third_party/rust/crates/rustix/src/backend/libc/ |
H A D | offset.rs | 316 pub(super) use c::{preadv as libc_preadv, pwritev as libc_pwritev}; 319 // macOS added preadv and pwritev in version 11.0 325 pub(in super::super) fn preadv( 343 pub(super) use readwrite_pv::{preadv as libc_preadv, pwritev as libc_pwritev};
|
/third_party/rust/crates/libc/src/unix/solarish/ |
H A D | illumos.rs | 84 pub fn preadv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int, offset: ::off_t) -> ::ssize_t; in preadv() functions
|
/third_party/rust/crates/rustix/src/io/ |
H A D | read_write.rs | 112 /// `preadv(fd, bufs, offset)`—Reads from a file at a given position into in readv() 118 /// [Linux]: https://man7.org/linux/man-pages/man2/preadv.2.html in readv() 121 pub fn preadv<Fd: AsFd>(fd: Fd, bufs: &mut [IoSliceMut<'_>], offset: u64) -> io::Result<usize> { in readv() functions 122 backend::io::syscalls::preadv(fd.as_fd(), bufs, offset) in readv()
|
H A D | mod.rs | 89 pub use read_write::{preadv, pwritev};
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_uio.rs | 204 // Borrow the buffers into IoVecs and preadv into them in test_preadv() 209 assert_eq!(Ok(100), preadv(file.as_raw_fd(), &mut iovecs, 100)); in test_preadv()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/uclibc/ |
H A D | mod.rs | 356 pub fn preadv( in preadv() functions
|
/third_party/rust/crates/rustix/src/backend/libc/io/ |
H A D | syscalls.rs | 115 pub(crate) fn preadv(
|
/third_party/rust/crates/rustix/src/backend/linux_raw/io/ |
H A D | syscalls.rs | 103 pub(crate) fn preadv(
|
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/ |
H A D | mod.rs | 676 pub fn preadv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int, offset: ::off_t) -> ::ssize_t; in preadv() functions
|
/third_party/libuv/src/unix/ |
H A D | fs.c | 90 #define preadv(fd, bufs, nbufs, off) \ macro 457 r = preadv(fd, bufs, nbufs, off); in uv__fs_read()
|
/third_party/python/Lib/test/ |
H A D | test_posix.py | 300 @unittest.skipUnless(hasattr(posix, 'preadv'), "test needs posix.preadv()") 306 self.assertEqual(posix.preadv(fd, buf, 3), 10) 311 @unittest.skipUnless(hasattr(posix, 'preadv'), "test needs posix.preadv()") 318 self.assertEqual(posix.preadv(fd, buf, 3, os.RWF_HIPRI), 10) 333 @unittest.skipUnless(hasattr(posix, 'preadv'), "test needs posix.preadv()") 340 os.preadv(fd, buf, 0) 1971 self.assertTrue(hasattr(os, "preadv"), "o [all...] |