Lines Matching defs:req
58 uv_fs_t req;
78 r = uv_fs_fstat(NULL, &req, *fd, NULL);
80 r = uv_fs_lstat(NULL, &req, path, NULL);
83 uv_fs_req_cleanup(&req);
87 uvwasi__stat_to_filestat(&req.statbuf, &stat);
88 uv_fs_req_cleanup(&req);
699 uv_fs_t req;
733 r = uv_fs_fstat(NULL, &req, wrap->fd, NULL);
734 st_size = req.statbuf.st_size;
735 uv_fs_req_cleanup(&req);
742 r = uv_fs_ftruncate(NULL, &req, wrap->fd, offset + len, NULL);
759 uv_fs_t req;
774 r = uv_fs_close(NULL, &req, wrap->fd, NULL);
776 uv_fs_req_cleanup(&req);
802 uv_fs_t req;
818 r = uv_fs_fdatasync(NULL, &req, wrap->fd, NULL);
820 uv_fs_req_cleanup(&req);
987 uv_fs_t req;
1007 r = uv_fs_fstat(NULL, &req, wrap->fd, NULL);
1013 uvwasi__stat_to_filestat(&req.statbuf, buf);
1017 uv_fs_req_cleanup(&req);
1027 uv_fs_t req;
1048 r = uv_fs_ftruncate(NULL, &req, wrap->fd, st_size, NULL);
1050 uv_fs_req_cleanup(&req);
1067 uv_fs_t req;
1105 r = uv_fs_futime(NULL, &req, wrap->fd, atim, mtim, NULL);
1107 uv_fs_req_cleanup(&req);
1124 uv_fs_t req;
1155 r = uv_fs_read(NULL, &req, wrap->fd, bufs, iovs_len, offset, NULL);
1157 uvread = req.result;
1158 uv_fs_req_cleanup(&req);
1248 uv_fs_t req;
1279 r = uv_fs_write(NULL, &req, wrap->fd, bufs, iovs_len, offset, NULL);
1281 uvwritten = req.result;
1282 uv_fs_req_cleanup(&req);
1300 uv_fs_t req;
1326 r = uv_fs_read(NULL, &req, wrap->fd, bufs, iovs_len, -1, NULL);
1328 uvread = req.result;
1329 uv_fs_req_cleanup(&req);
1352 uv_fs_t req;
1384 r = uv_fs_opendir(NULL, &req, wrap->real_path, NULL);
1391 dir = req.ptr;
1394 uv_fs_req_cleanup(&req);
1403 while (0 != (r = uv_fs_readdir(NULL, &req, dir, NULL))) {
1406 uv_fs_req_cleanup(&req);
1416 uv_fs_req_cleanup(&req);
1474 uv_fs_req_cleanup(&req);
1482 r = uv_fs_closedir(NULL, &req, dir, NULL);
1484 uv_fs_req_cleanup(&req);
1542 uv_fs_t req;
1559 r = uv_fs_fsync(NULL, &req, wrap->fd, NULL);
1561 uv_fs_req_cleanup(&req);
1601 uv_fs_t req;
1627 r = uv_fs_write(NULL, &req, wrap->fd, bufs, iovs_len, -1, NULL);
1629 uvwritten = req.result;
1630 uv_fs_req_cleanup(&req);
1647 uv_fs_t req;
1673 r = uv_fs_mkdir(NULL, &req, resolved_path, 0777, NULL);
1674 uv_fs_req_cleanup(&req);
1697 uv_fs_t req;
1730 r = uv_fs_lstat(NULL, &req, resolved_path, NULL);
1733 uv_fs_req_cleanup(&req);
1738 uvwasi__stat_to_filestat(&req.statbuf, buf);
1739 uv_fs_req_cleanup(&req);
1759 uv_fs_t req;
1810 r = uv_fs_lutime(NULL, &req, resolved_path, atim, mtim, NULL);
1812 uv_fs_req_cleanup(&req);
1839 uv_fs_t req;
1913 r = uv_fs_link(NULL, &req, resolved_old_path, resolved_new_path, NULL);
1914 uv_fs_req_cleanup(&req);
1951 uv_fs_t req;
2039 r = uv_fs_open(NULL, &req, resolved_path, flags, 0666, NULL);
2041 uv_fs_req_cleanup(&req);
2084 uv_fs_close(NULL, &req, r, NULL);
2085 uv_fs_req_cleanup(&req);
2101 uv_fs_t req;
2132 r = uv_fs_readlink(NULL, &req, resolved_path, NULL);
2136 uv_fs_req_cleanup(&req);
2140 len = strnlen(req.ptr, buf_len);
2142 uv_fs_req_cleanup(&req);
2146 memcpy(buf, req.ptr, len);
2149 uv_fs_req_cleanup(&req);
2160 uv_fs_t req;
2188 r = uv_fs_rmdir(NULL, &req, resolved_path, NULL);
2191 uv_fs_req_cleanup(&req);
2212 uv_fs_t req;
2284 r = uv_fs_rename(NULL, &req, resolved_old_path, resolved_new_path, NULL);
2285 uv_fs_req_cleanup(&req);
2312 uv_fs_t req;
2347 r = uv_fs_symlink(NULL, &req, old_path, resolved_new_path, 0, NULL);
2350 uv_fs_req_cleanup(&req);
2364 uv_fs_t req;
2392 r = uv_fs_unlink(NULL, &req, resolved_path, NULL);
2395 uv_fs_req_cleanup(&req);