Lines Matching defs:req
423 uv_fs_t req;
425 r = uv_fs_open(NULL, &req, name, O_WRONLY | O_CREAT, S_IWUSR | S_IRUSR, NULL);
428 uv_fs_req_cleanup(&req);
429 r = uv_fs_close(NULL, &req, file, NULL);
431 uv_fs_req_cleanup(&req);
438 uv_fs_t req;
441 r = uv_fs_open(NULL, &req, name, O_RDWR, 0, NULL);
444 uv_fs_req_cleanup(&req);
447 r = uv_fs_write(NULL, &req, file, &buf, 1, -1, NULL);
449 uv_fs_req_cleanup(&req);
451 r = uv_fs_close(NULL, &req, file, NULL);
453 uv_fs_req_cleanup(&req);
688 static void work_cb(uv_work_t* req) {
693 static void after_work_cb(uv_work_t* req, int status) {