Home
last modified time | relevance | path

Searched refs:readv (Results 26 - 49 of 49) sorted by relevance

12

/third_party/ltp/testcases/kernel/io/direct_io/
H A Ddiotest6.c26 * 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 Dtest_uio.rs91 let read = readv(reader, &mut iovecs[..]).expect("read failed"); in test_readv()
/third_party/ltp/testcases/kernel/fs/ftest/
H A Dftest07.c23 * 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 Dftest03.c23 * 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 Dlibc_unistd.cpp479 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 Dsyscalls.rs92 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 Dsyscalls.rs96 pub(crate) fn readv(fd: BorrowedFd<'_>, bufs: &mut [IoSliceMut<'_>]) -> io::Result<usize> {
/third_party/node/lib/
H A Dfs.js761 function readv(fd, buffers, position, callback) { function
779 ObjectDefineProperty(readv, kCustomPromisifyArgsSymbol,
3127 readv,
/third_party/python/Lib/test/
H A Dtest_posix.py513 @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 Dtest_os.py2241 @unittest.skipUnless(hasattr(os, 'readv'), 'test needs os.readv()')
2244 self.check(os.readv, [buf])
/third_party/ltp/lib/
H A Dtlibio.c107 #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 Dmod.rs734 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 Dwasi.rs705 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 Dmod.rs1077 pub fn readv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in readv() functions
/third_party/libuv/src/unix/
H A Dfs.c452 r = readv(fd, bufs, nbufs); in uv__fs_read()
/third_party/node/deps/uv/src/unix/
H A Dfs.c475 result = readv(req->file, (struct iovec*) req->bufs, req->nbufs); in uv__fs_read()
/third_party/rust/crates/libc/src/vxworks/
H A Dmod.rs1787 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 Dmod.rs1798 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 Dmod.rs1742 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 Ddoio.c73 #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 Dmod.rs2725 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 Dmod.rs2866 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 Dmod.rs4073 pub fn readv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in readv() functions
/third_party/python/Modules/
H A Dposixmodule.c9698 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

Completed in 89 milliseconds

12