Home
last modified time | relevance | path

Searched refs:open_req (Results 1 – 4 of 4) sorted by relevance

/third_party/libuv/test/
Dtest-fs-open-flags.c42 static uv_fs_t open_req; variable
90 r = uv_fs_open(NULL, &open_req, empty_file, in refresh()
93 ASSERT(open_req.result >= 0); in refresh()
94 uv_fs_req_cleanup(&open_req); in refresh()
96 r = uv_fs_close(NULL, &close_req, open_req.result, NULL); in refresh()
104 r = uv_fs_open(NULL, &open_req, dummy_file, in refresh()
107 ASSERT(open_req.result >= 0); in refresh()
108 uv_fs_req_cleanup(&open_req); in refresh()
111 r = uv_fs_write(NULL, &write_req, open_req.result, &iov, 1, -1, NULL); in refresh()
116 r = uv_fs_close(NULL, &close_req, open_req.result, NULL); in refresh()
[all …]
/third_party/libuv/docs/code/uvcat/
Dmain.c9 uv_fs_t open_req; variable
22 uv_fs_read(uv_default_loop(), &read_req, open_req.result, &iov, 1, -1, on_read); in on_write()
33 uv_fs_close(uv_default_loop(), &close_req, open_req.result, NULL); in on_read()
44 assert(req == &open_req); in on_open()
56 uv_fs_open(uv_default_loop(), &open_req, argv[1], O_RDONLY, 0, on_open); in main()
59 uv_fs_req_cleanup(&open_req); in main()
/third_party/node/deps/uvwasi/src/
Duvwasi.c234 uv_fs_t open_req; in uvwasi_init() local
343 r = uv_fs_open(NULL, &open_req, realpath_req.ptr, 0, 0666, NULL); in uvwasi_init()
347 uv_fs_req_cleanup(&open_req); in uvwasi_init()
353 open_req.result, in uvwasi_init()
357 uv_fs_req_cleanup(&open_req); in uvwasi_init()
/third_party/node/src/
Dnode_file.cc906 uv_fs_t open_req; in InternalModuleReadJSON() local
907 const int fd = uv_fs_open(loop, &open_req, *path, O_RDONLY, 0, nullptr); in InternalModuleReadJSON()
908 uv_fs_req_cleanup(&open_req); in InternalModuleReadJSON()