/third_party/ltp/testcases/kernel/io/direct_io/ |
H A D | diotest6.c | 26 * Tests the combinations of buffered/direct readv(), writev() calls. 148 n = readv(fd_r, iov_r, nvector); in runtest() 150 tst_resm(TFAIL | TERRNO, "readv failed, ret = %zd", n); in runtest()
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_uio.rs | 91 let read = readv(reader, &mut iovecs[..]).expect("read failed"); in test_readv()
|
/third_party/ltp/testcases/kernel/fs/ftest/ |
H A D | ftest07.c | 23 * ftest07.c -- test file I/O with readv and writev (ported from SPIE, 29 * lseek64, readv, writev, 41 * Modified by G. Stevens to use readv and writev. 283 /* Stuff for the readv call */ in dotest() 398 if ((xfr = readv(fd, &r_iovec[0], MAXIOVCNT)) < 0) { in dotest() 401 "\tTest[%d]: readv fail at %Lx, errno = %d.", in dotest()
|
H A D | ftest03.c | 23 * ftest03.c -- test file I/O with readv and writev (ported from SPIE section2/filesuite/ftest4.c, by Airong Zhang) 26 * lseek, readv, writev, 38 * Modified by G. Stevens to use readv and writev. 283 /* Stuff for the readv call */ in dotest() 403 if ((xfr = readv(fd, &r_iovec[0], MAXIOVCNT)) < 0) { in dotest() 406 "\tTest[%d]: readv fail at %x, errno = %d.", in dotest()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_unistd.cpp | 479 perror("readv fail"); in Bm_function_Readv() 499 numRead = readv(fd, iov, IOV_SIZE); in Bm_function_Readv()
|
/third_party/rust/crates/rustix/src/backend/libc/io/ |
H A D | syscalls.rs | 92 pub(crate) fn readv(fd: BorrowedFd<'_>, bufs: &mut [IoSliceMut]) -> io::Result<usize> { 94 ret_ssize_t(c::readv(
|
/third_party/rust/crates/rustix/src/backend/linux_raw/io/ |
H A D | syscalls.rs | 96 pub(crate) fn readv(fd: BorrowedFd<'_>, bufs: &mut [IoSliceMut<'_>]) -> io::Result<usize> {
|
/third_party/node/lib/ |
H A D | fs.js | 761 function readv(fd, buffers, position, callback) { function 779 ObjectDefineProperty(readv, kCustomPromisifyArgsSymbol, 3127 readv,
|
/third_party/python/Lib/test/ |
H A D | test_posix.py | 513 @unittest.skipUnless(hasattr(posix, 'readv'), "test needs posix.readv()") 520 self.assertEqual(posix.readv(fd, buf), 10) 525 size = posix.readv(fd, []) 527 # readv(fd, []) raises OSError(22, "Invalid argument") 535 @unittest.skipUnless(hasattr(posix, 'readv'), "test needs posix.readv()") 542 os.readv(fd, buf) 1971 self.assertTrue(hasattr(os, "preadv"), "os.readv is not available") 1975 self.assertFalse(hasattr(os, "preadv"), "os.readv i [all...] |
H A D | test_os.py | 2241 @unittest.skipUnless(hasattr(os, 'readv'), 'test needs os.readv()') 2244 self.check(os.readv, [buf])
|
/third_party/ltp/lib/ |
H A D | tlibio.c | 107 #include <sys/uio.h> /* readv(2)/writev(2) */ 163 {"v", LIO_IO_SYNCV, "single buffer sync readv/writev"}, 175 {"syncv", LIO_IO_SYNCV, "single buffer sync readv/writev"}, 1071 * aio_read(3), readv(2), pread(2), 1129 struct iovec iov; /* iovec for readv(2) */ in lio_read_buffer() 1533 io_type = "readv(2)"; in lio_read_buffer() 1535 sprintf(Lio_SysCall, "readv(%d, &iov, 1) nbyte:%d", fd, size); in lio_read_buffer() 1541 if ((ret = readv(fd, &iov, 1)) == -1) { in lio_read_buffer() 1543 "%s/%d readv(%d, iov, 1) nbyte:%d ret:-1, errno=%d %s", in lio_read_buffer() 1551 "%s/%d readv( in lio_read_buffer() [all...] |
/third_party/rust/crates/libc/src/unix/bsd/ |
H A D | mod.rs | 734 link_name = "readv$UNIX2003" 736 pub fn readv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in readv() functions
|
/third_party/rust/crates/libc/src/ |
H A D | wasi.rs | 705 pub fn readv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in readv() functions
|
/third_party/rust/crates/libc/src/unix/redox/ |
H A D | mod.rs | 1077 pub fn readv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in readv() functions
|
/third_party/libuv/src/unix/ |
H A D | fs.c | 452 r = readv(fd, bufs, nbufs); in uv__fs_read()
|
/third_party/node/deps/uv/src/unix/ |
H A D | fs.c | 475 result = readv(req->file, (struct iovec*) req->bufs, req->nbufs); in uv__fs_read()
|
/third_party/rust/crates/libc/src/vxworks/ |
H A D | mod.rs | 1787 pub fn readv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in readv() functions
|
/third_party/rust/crates/libc/src/unix/linux_like/ |
H A D | mod.rs | 1798 pub fn readv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in readv() functions
|
/third_party/rust/crates/libc/src/unix/haiku/ |
H A D | mod.rs | 1742 pub fn readv(fd: ::c_int, iov: *const ::iovec, count: ::c_int) -> ::ssize_t; in readv() functions
|
/third_party/ltp/testcases/kernel/fs/doio/ |
H A D | doio.c | 73 #include <sys/uio.h> /* for struct iovec (readv) */ 2756 rc = readv(fd, iov, 1); in sy_rwv() 3036 {"readv", READV,
|
/third_party/rust/crates/libc/src/unix/nto/ |
H A D | mod.rs | 2725 pub fn readv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in readv() functions
|
/third_party/rust/crates/libc/src/unix/solarish/ |
H A D | mod.rs | 2866 pub fn readv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in readv() functions
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 4073 pub fn readv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in readv() functions
|
/third_party/python/Modules/ |
H A D | posixmodule.c | 9698 os.readv -> Py_ssize_t 9707 readv will transfer data into each buffer until it is full 9711 readv returns the total number of bytes read, 9726 "readv() arg 2 must be a sequence"); in os_readv_impl() 9739 n = readv(fd, iov, cnt); in os_readv_impl() 9816 Combines the functionality of readv() and pread(). As readv(), it will
|