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