Home
last modified time | relevance | path

Searched refs:readv (Results 1 - 25 of 60) sorted by relevance

123

/third_party/node/test/parallel/
H A Dtest-fs-readv-promises.js35 let { bytesRead, buffers } = await handle.readv([Buffer.from('')],
40 ({ bytesRead, buffers } = await handle.readv(bufferArr, null));
54 let { bytesRead, buffers } = await handle.readv([Buffer.from('')]);
58 ({ bytesRead, buffers } = await handle.readv(bufferArr));
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dreadv.c49 result = readv(fd, ios, sizeof(ios) / sizeof(struct iovec)); in readv_0100()
73 ssize_t result = readv(-1, NULL, -1); in readv_0200()
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/
H A Dnet_socket_test_012.cpp307 * read/readv in SocketNullTestInternal()
329 ret = readv(sfd, reinterpret_cast<struct iovec *>(bad), 0); in SocketNullTestInternal()
330 LogPrintln("readv: %d, errno=%d", ret, errno); in SocketNullTestInternal()
333 ret = readv(sfd, reinterpret_cast<struct iovec *>(bad), 1); in SocketNullTestInternal()
334 LogPrintln("readv: %d, errno=%d", ret, errno); in SocketNullTestInternal()
337 ret = readv(sfd, gIov, 0); in SocketNullTestInternal()
338 LogPrintln("readv: %d, errno=%d", ret, errno); in SocketNullTestInternal()
341 ret = readv(sfd, gIov, IOV_MAX + 1); in SocketNullTestInternal()
342 LogPrintln("readv: %d, errno=%d", ret, errno); in SocketNullTestInternal()
347 ret = readv(sf in SocketNullTestInternal()
[all...]
/third_party/musl/src/unistd/
H A Dreadv.c4 ssize_t readv(int fd, const struct iovec *iov, int count) in readv() function
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/
H A Duio.h48 ssize_t readv(int, const struct iovec *, int);
/third_party/rust/crates/rustix/tests/io/
H A Dread_write.rs73 use rustix::io::{readv, writev, SeekFrom}; in test_readwrite_v()
89 readv(&foo, &mut [IoSliceMut::new(&mut buf)]).unwrap(); in test_readwrite_v()
91 readv(&foo, &mut [IoSliceMut::new(&mut buf)]).unwrap(); in test_readwrite_v()
/third_party/musl/src/linux/
H A Dpreadv2.c10 if (ofs==-1) return readv(fd, iov, count); in preadv2()
/third_party/musl/libc-test/src/api/
H A Dsys_uio.c13 {ssize_t(*p)(int,const struct iovec*,int) = readv;} in f()
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Duio.h26 ssize_t readv (int, const struct iovec *, int);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Duio.h26 ssize_t readv (int, const struct iovec *, int);
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Duio.h26 ssize_t readv (int, const struct iovec *, int);
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
H A Duio.h16 ssize_t readv (int, const struct iovec *, int);
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Duio.h29 ssize_t readv (int, const struct iovec *, int);
/third_party/musl/include/sys/
H A Duio.h26 ssize_t readv (int, const struct iovec *, int);
/kernel/liteos_a/testsuites/unittest/libc/io/full/
H A DIt_stdio_readv_001.cpp66 nread = readv(fd, iov, 2); // 2, read 2 block in Testcase()
/third_party/ltp/testcases/kernel/syscalls/readv/
H A Dreadv02.c12 * Tests readv() failures:
74 TST_EXP_FAIL2(readv(*tc->fd, tc->buf, tc->count), tc->exp_error, in verify_readv()
75 "readv(%d, %p, %d)", *tc->fd, tc->buf, tc->count); in verify_readv()
H A Dreadv01.c10 * Testcase to check the basic functionality of the readv(2) system call.
13 * Create a IO vector, and attempt to readv() various components of it.
35 {&rd_iovec, 0, 0, "readv() with 0 I/O vectors"},
36 {&rd_iovec, 3, CHUNK, "readv() with NULL I/O vectors"},
37 {&big_iovec, 2, CHUNK, "readv() with too big I/O vectors"},
38 {&multi_iovec, 2, 3*CHUNK/4, "readv() with multiple I/O vectors"},
39 {&lockup_iovec, 2, CHUNK, "readv() with zero-len buffer"},
58 TEST(readv(fd, vec, tc->iov_count)); in test_readv()
61 tst_res(TFAIL | TTERRNO, "readv() failed unexpectedly"); in test_readv()
63 tst_res(TFAIL | TTERRNO, "readv() returne in test_readv()
[all...]
/third_party/selinux/libselinux/src/
H A Dsetrans_client.c153 while (((count = readv(fd, resp_hdr, 3)) < 0) && (errno == EINTR)) ; in receive_response()
165 /* coveriety doesn't realize that data will be initialized in readv */ in receive_response()
171 while (((count = readv(fd, &resp_data, 1))) < 0 && (errno == EINTR)) ; in receive_response()
/kernel/liteos_a/fs/vfs/operation/
H A Dvfs_readv.c144 ssize_t readv(int fd, const struct iovec *iov, int iovcnt) in readv() function
/third_party/ltp/testcases/kernel/sound/
H A Dsnd_timer01.c9 * The test performs several ioctl() parallel with readv() on the same
102 size = readv(snd_fd, &iov, 1); in run()
/third_party/rust/crates/rustix/src/io/
H A Dread_write.rs82 /// `readv(fd, bufs)`—Reads from a stream into multiple buffers.
89 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/readv.html
90 /// [Linux]: https://man7.org/linux/man-pages/man2/readv.2.html
91 /// [Apple]: https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/readv.2.html
93 pub fn readv<Fd: AsFd>(fd: Fd, bufs: &mut [IoSliceMut<'_>]) -> io::Result<usize> { in readv() functions
94 backend::io::syscalls::readv(fd.as_fd(), bufs) in readv()
H A Dmod.rs82 pub use read_write::{pread, pwrite, read, readv, write, writev, IoSlice, IoSliceMut};
/kernel/uniproton/src/fs/
H A Dfs.c149 ssize_t readv(int fd, const struct iovec *iovBuf, int iovcnt) in readv() function
/third_party/rust/crates/nix/src/sys/
H A Duio.rs30 /// See also [readv(2)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/readv.html)
31 pub fn readv(fd: RawFd, iov: &mut [IoSliceMut<'_>]) -> Result<usize> { in readv() functions
34 libc::readv(fd, iov.as_ptr() as *const libc::iovec, iov.len() as c_int) in readv()
71 /// See also: [`readv`](fn.readv.html) and [`pread`](fn.pread.html)
82 // SAFETY: same as in readv() in preadv()
150 /// Vectored I/O methods like [`writev`] and [`readv`] use this structure for
/third_party/node/lib/internal/fs/
H A Dpromises.js172 readv(buffers, position) {
173 return fsCall(readv, this, buffers, position);
639 async function readv(handle, buffers, position) {

Completed in 7 milliseconds

123