Home
last modified time | relevance | path

Searched refs:iovs (Results 1 – 13 of 13) sorted by relevance

/third_party/musl/src/stdio/
D__stdio_write.c6 struct iovec iovs[2] = { in __stdio_write() local
10 struct iovec *iov = iovs; in __stdio_write()
/third_party/musl/porting/liteos_a/kernel/src/stdio/
D__stdio_write.c6 struct iovec iovs[2] = { in __stdio_write() local
10 struct iovec *iov = iovs; in __stdio_write()
/third_party/musl/porting/uniproton/kernel/src/stdio/
D__stdio_write.c6 struct iovec iovs[2] = { in __stdio_write() local
10 struct iovec *iov = iovs; in __stdio_write()
/third_party/musl/porting/liteos_m/kernel/src/stdio/
D__stdio_write.c6 struct iovec iovs[2] = { in __stdio_write() local
10 struct iovec *iov = iovs; in __stdio_write()
/third_party/node/deps/uvwasi/src/
Duvwasi.c190 const uvwasi_iovec_t* iovs, in uvwasi__setup_iovs() argument
203 bufs[i] = uv_buf_init(iovs[i].buf, iovs[i].buf_len); in uvwasi__setup_iovs()
212 const uvwasi_ciovec_t* iovs, in uvwasi__setup_ciovs() argument
225 bufs[i] = uv_buf_init((char*)iovs[i].buf, iovs[i].buf_len); in uvwasi__setup_ciovs()
1048 const uvwasi_iovec_t* iovs, in uvwasi_fd_pread() argument
1063 iovs, in uvwasi_fd_pread()
1068 if (uvwasi == NULL || iovs == NULL || nread == NULL) in uvwasi_fd_pread()
1079 err = uvwasi__setup_iovs(uvwasi, &bufs, iovs, iovs_len); in uvwasi_fd_pread()
1172 const uvwasi_ciovec_t* iovs, in uvwasi_fd_pwrite() argument
1187 iovs, in uvwasi_fd_pwrite()
[all …]
Dwasi_serdes.c219 uvwasi_ciovec_t* iovs, in uvwasi_serdes_readv_ciovec_t() argument
225 err = uvwasi_serdes_read_ciovec_t(ptr, end, offset, &iovs[i]); in uvwasi_serdes_readv_ciovec_t()
238 uvwasi_iovec_t* iovs, in uvwasi_serdes_readv_iovec_t() argument
244 err = uvwasi_serdes_read_iovec_t(ptr, end, offset, &iovs[i]); in uvwasi_serdes_readv_iovec_t()
/third_party/node/deps/uvwasi/include/
Duvwasi.h134 const uvwasi_iovec_t* iovs,
147 const uvwasi_ciovec_t* iovs,
153 const uvwasi_iovec_t* iovs,
176 const uvwasi_ciovec_t* iovs,
Dwasi_serdes.h130 uvwasi_ciovec_t* iovs,
136 uvwasi_iovec_t* iovs,
/third_party/libuv/test/
Dtest-fs.c3079 uv_buf_t iovs[2]; in fs_write_multiple_bufs() local
3093 iovs[0] = uv_buf_init(test_buf, sizeof(test_buf)); in fs_write_multiple_bufs()
3094 iovs[1] = uv_buf_init(test_buf2, sizeof(test_buf2)); in fs_write_multiple_bufs()
3095 r = uv_fs_write(NULL, &write_req, open_req1.result, iovs, 2, 0, NULL); in fs_write_multiple_bufs()
3114 iovs[0] = uv_buf_init(buf, sizeof(test_buf)); in fs_write_multiple_bufs()
3115 iovs[1] = uv_buf_init(buf2, sizeof(test_buf2)); in fs_write_multiple_bufs()
3117 r = uv_fs_read(NULL, &read_req, open_req1.result, iovs, 2, -1, NULL); in fs_write_multiple_bufs()
3131 iovs[0] = uv_buf_init(buf, sizeof(test_buf)); in fs_write_multiple_bufs()
3132 iovs[1] = uv_buf_init(buf2, sizeof(test_buf2)); in fs_write_multiple_bufs()
3133 r = uv_fs_read(NULL, &read_req, open_req1.result, iovs, 2, 0, NULL); in fs_write_multiple_bufs()
[all …]
/third_party/node/src/
Dnode_wasi.cc673 std::vector<uvwasi_iovec_t> iovs(iovs_len); in FdPread() local
679 iovs.data(), in FdPread()
687 err = uvwasi_fd_pread(&wasi->uvw_, fd, iovs.data(), iovs_len, offset, &nread); in FdPread()
773 std::vector<uvwasi_ciovec_t> iovs(iovs_len); in FdPwrite() local
779 iovs.data(), in FdPwrite()
789 iovs.data(), in FdPwrite()
821 std::vector<uvwasi_iovec_t> iovs(iovs_len); in FdRead() local
827 iovs.data(), in FdRead()
835 err = uvwasi_fd_read(&wasi->uvw_, fd, iovs.data(), iovs_len, &nread); in FdRead()
1000 std::vector<uvwasi_ciovec_t> iovs(iovs_len); in FdWrite() local
[all …]
Dnode_file.cc1883 MaybeStackBuffer<uv_buf_t> iovs(chunks->Length()); in WriteBuffers() local
1885 for (uint32_t i = 0; i < iovs.length(); i++) { in WriteBuffers()
1888 iovs[i] = uv_buf_init(Buffer::Data(chunk), Buffer::Length(chunk)); in WriteBuffers()
1894 uv_fs_write, fd, *iovs, iovs.length(), pos); in WriteBuffers()
1900 uv_fs_write, fd, *iovs, iovs.length(), pos); in WriteBuffers()
2086 MaybeStackBuffer<uv_buf_t> iovs(buffers->Length()); in ReadBuffers() local
2089 for (uint32_t i = 0; i < iovs.length(); i++) { in ReadBuffers()
2092 iovs[i] = uv_buf_init(Buffer::Data(buffer), Buffer::Length(buffer)); in ReadBuffers()
2098 uv_fs_read, fd, *iovs, iovs.length(), pos); in ReadBuffers()
2104 uv_fs_read, fd, *iovs, iovs.length(), pos); in ReadBuffers()
/third_party/node/doc/api/
Dwasi.md60 ;; (File Descriptor, *iovs, iovs_len, nwritten) -> Returns number of bytes written
77 … (i32.const 0) ;; *iovs - The pointer to the iov array, which is stored at memory location 0
/third_party/python/Modules/
Dsocketmodule.c4028 struct iovec *iovs = NULL; in sock_recvmsg_into() local
4049 if (nitems > 0 && ((iovs = PyMem_New(struct iovec, nitems)) == NULL || in sock_recvmsg_into()
4060 iovs[nbufs].iov_base = bufs[nbufs].buf; in sock_recvmsg_into()
4061 iovs[nbufs].iov_len = bufs[nbufs].len; in sock_recvmsg_into()
4064 retval = sock_recvmsg_guts(s, iovs, nitems, flags, ancbufsize, in sock_recvmsg_into()
4070 PyMem_Free(iovs); in sock_recvmsg_into()
4356 struct iovec *iovs = NULL; in sock_sendmsg_iovec() local
4377 iovs = PyMem_New(struct iovec, ndataparts); in sock_sendmsg_iovec()
4378 if (iovs == NULL) { in sock_sendmsg_iovec()
4382 msg->msg_iov = iovs; in sock_sendmsg_iovec()
[all …]