• Home
  • Raw
  • Download

Lines Matching refs:iovs_len

191                                          uvwasi_size_t iovs_len) {  in uvwasi__setup_iovs()  argument
195 if ((iovs_len * sizeof(*bufs)) / (sizeof(*bufs)) != iovs_len) in uvwasi__setup_iovs()
198 bufs = uvwasi__malloc(uvwasi, iovs_len * sizeof(*bufs)); in uvwasi__setup_iovs()
202 for (i = 0; i < iovs_len; ++i) in uvwasi__setup_iovs()
213 uvwasi_size_t iovs_len) { in uvwasi__setup_ciovs() argument
217 if ((iovs_len * sizeof(*bufs)) / (sizeof(*bufs)) != iovs_len) in uvwasi__setup_ciovs()
220 bufs = uvwasi__malloc(uvwasi, iovs_len * sizeof(*bufs)); in uvwasi__setup_ciovs()
224 for (i = 0; i < iovs_len; ++i) in uvwasi__setup_ciovs()
1049 uvwasi_size_t iovs_len, in uvwasi_fd_pread() argument
1064 iovs_len, in uvwasi_fd_pread()
1079 err = uvwasi__setup_iovs(uvwasi, &bufs, iovs, iovs_len); in uvwasi_fd_pread()
1085 r = uv_fs_read(NULL, &req, wrap->fd, bufs, iovs_len, offset, NULL); in uvwasi_fd_pread()
1173 uvwasi_size_t iovs_len, in uvwasi_fd_pwrite() argument
1188 iovs_len, in uvwasi_fd_pwrite()
1203 err = uvwasi__setup_ciovs(uvwasi, &bufs, iovs, iovs_len); in uvwasi_fd_pwrite()
1209 r = uv_fs_write(NULL, &req, wrap->fd, bufs, iovs_len, offset, NULL); in uvwasi_fd_pwrite()
1226 uvwasi_size_t iovs_len, in uvwasi_fd_read() argument
1240 iovs_len, in uvwasi_fd_read()
1250 err = uvwasi__setup_iovs(uvwasi, &bufs, iovs, iovs_len); in uvwasi_fd_read()
1256 r = uv_fs_read(NULL, &req, wrap->fd, bufs, iovs_len, -1, NULL); in uvwasi_fd_read()
1521 uvwasi_size_t iovs_len, in uvwasi_fd_write() argument
1535 iovs_len, in uvwasi_fd_write()
1545 err = uvwasi__setup_ciovs(uvwasi, &bufs, iovs, iovs_len); in uvwasi_fd_write()
1551 r = uv_fs_write(NULL, &req, wrap->fd, bufs, iovs_len, -1, NULL); in uvwasi_fd_write()