/third_party/libuv/test/ |
H A D | test-fs.c | 724 r = uv_fs_open(NULL, &req, "does_not_exist", UV_FS_O_RDONLY, 0, NULL); in TEST_IMPL() 729 r = uv_fs_open(loop, &req, "does_not_exist", UV_FS_O_RDONLY, 0, in TEST_IMPL() 753 r = uv_fs_open(NULL, &req, name, UV_FS_O_RDONLY, 0, NULL); in TEST_IMPL() 758 r = uv_fs_open(loop, &req, name, UV_FS_O_RDONLY, 0, open_nametoolong_cb); in TEST_IMPL() 793 r = uv_fs_open(NULL, &req, "test_symlink", UV_FS_O_RDONLY, 0, NULL); in TEST_IMPL() 798 r = uv_fs_open(loop, &req, "test_symlink", UV_FS_O_RDONLY, 0, open_loop_cb); in TEST_IMPL() 925 r = uv_fs_open(loop, &open_req1, "test_file", UV_FS_O_WRONLY | UV_FS_O_CREAT, in TEST_IMPL() 945 r = uv_fs_open(loop, &open_req1, "test_file2", UV_FS_O_RDWR, 0, open_cb); in TEST_IMPL() 957 r = uv_fs_open(loop, &open_req1, "test_file2", UV_FS_O_RDONLY, 0, open_cb); in TEST_IMPL() 988 r = uv_fs_open(loo in fs_file_sync() [all...] |
H A D | test-fs-open-flags.c | 51 /* Opening the same file multiple times quickly can cause uv_fs_open to fail 90 r = uv_fs_open(NULL, &open_req, empty_file, in refresh() 104 r = uv_fs_open(NULL, &open_req, dummy_file, in refresh() 133 r = uv_fs_open(NULL, &open_req, file, flags, S_IWUSR | S_IRUSR, NULL); in openFail() 139 r = uv_fs_open(NULL, &open_req, file, flags, S_IWUSR | S_IRUSR, NULL); in openFail() 152 r = uv_fs_open(NULL, &open_req, file, flags, S_IWUSR | S_IRUSR, NULL); in refreshOpen() 181 r = uv_fs_open(NULL, &open_req, file, UV_FS_O_RDONLY, S_IWUSR | S_IRUSR, NULL); in writeExpect()
|
H A D | test-metrics.c | 217 ASSERT_OK(uv_fs_open(uv_default_loop(), in prepare_cb() 331 fd = uv_fs_open(NULL, in TEST_IMPL()
|
H A D | test-fs-readdir.c | 359 r = uv_fs_open(uv_default_loop(), in TEST_IMPL() 373 r = uv_fs_open(uv_default_loop(), in TEST_IMPL()
|
H A D | test-fork.c | 425 r = uv_fs_open(NULL, &req, name, O_WRONLY | O_CREAT, S_IWUSR | S_IRUSR, NULL); in create_file() 441 r = uv_fs_open(NULL, &req, name, O_RDWR, 0, NULL); in touch_file()
|
H A D | test-spawn.c | 328 r = uv_fs_open(NULL, &fs_req, "stdout_file", UV_FS_O_CREAT | UV_FS_O_RDWR, in TEST_IMPL() 382 r = uv_fs_open(NULL, &fs_req, "stdout_file", UV_FS_O_CREAT | UV_FS_O_RDWR, in TEST_IMPL() 440 r = uv_fs_open(NULL, in TEST_IMPL() 507 r = uv_fs_open(NULL, in TEST_IMPL() 519 r = uv_fs_open(NULL, &fs_req, "stderr_file", O_CREAT | O_RDWR, in TEST_IMPL() 1688 r = uv_fs_open(NULL, &fs_req, dev_null, UV_FS_O_RDWR, 0, NULL); in TEST_IMPL()
|
H A D | test-fs-copyfile.c | 77 r = uv_fs_open(NULL, &req, name, in touch_file()
|
H A D | test-fs-event.c | 83 r = uv_fs_open(NULL, &req, name, UV_FS_O_WRONLY | UV_FS_O_CREAT, in create_file() 100 r = uv_fs_open(NULL, &req, name, UV_FS_O_RDWR, 0, NULL); in touch_file()
|
H A D | test-threadpool-cancel.c | 343 ASSERT_OK(uv_fs_open(loop, reqs + n++, "/", 0, 0, fs_cb)); in TEST_IMPL()
|
/third_party/libuv/docs/code/uvcat/ |
H A D | main.c | 55 uv_fs_open(uv_default_loop(), &open_req, argv[1], O_RDONLY, 0, on_open); in main()
|
/third_party/libuv/docs/code/uvtee/ |
H A D | main.c | 71 int fd = uv_fs_open(loop, &file_req, argv[1], O_CREAT | O_RDWR, 0644, NULL); in main()
|
/third_party/node/src/tracing/ |
H A D | node_trace_writer.cc | 88 fd_ = uv_fs_open(nullptr, &req, filepath.c_str(), in OpenNewFileForStreaming()
|
/third_party/node/src/ |
H A D | util.cc | 212 int fd = uv_fs_open(nullptr, in WriteFileSync() 248 uv_file file = uv_fs_open(nullptr, &req, path, O_RDONLY, 0, nullptr); in ReadFileSync()
|
H A D | heap_utils.cc | 355 const int fd = uv_fs_open(nullptr, in WriteSnapshot()
|
H A D | node_file.cc | 1014 const int fd = uv_fs_open(loop, &open_req, *path, O_RDONLY, 0, nullptr); in InternalModuleReadJSON() 1916 uv_fs_open, *path, flags, mode); in Open() 1922 uv_fs_open, *path, flags, mode); in Open() 1951 uv_fs_open, *path, flags, mode); in OpenFileHandle() 1957 uv_fs_open, *path, flags, mode); in OpenFileHandle()
|
/third_party/libuv/src/unix/ |
H A D | fs.c | 1161 srcfd = uv_fs_open(NULL, &fs_req, req->path, O_RDONLY, 0, NULL); in uv__fs_copyfile() 1179 dstfd = uv_fs_open(NULL, in uv__fs_copyfile() 1887 int uv_fs_open(uv_loop_t* loop, in uv_fs_open() function
|
/third_party/node/deps/uv/src/unix/ |
H A D | fs.c | 1284 srcfd = uv_fs_open(NULL, &fs_req, req->path, O_RDONLY, 0, NULL); in uv__fs_copyfile() 1302 dstfd = uv_fs_open(NULL, in uv__fs_copyfile() 1983 int uv_fs_open(uv_loop_t* loop, in uv_fs_open() function
|
/third_party/node/deps/uvwasi/src/ |
H A D | uvwasi.c | 367 r = uv_fs_open(NULL, &open_req, realpath_req.ptr, 0, 0666, NULL); in uvwasi_init() 2039 r = uv_fs_open(NULL, &req, resolved_path, flags, 0666, NULL); in uvwasi_path_open()
|
/third_party/libuv/include/ |
H A D | uv.h | 1467 UV_EXTERN int uv_fs_open(uv_loop_t* loop,
|
/third_party/libuv/include/uv_ndk/ |
H A D | uv.h | 1338 UV_EXTERN int uv_fs_open(uv_loop_t* loop,
|
/third_party/node/deps/uv/include/ |
H A D | uv.h | 1355 UV_EXTERN int uv_fs_open(uv_loop_t* loop,
|
/third_party/libuv/src/win/ |
H A D | fs.c | 2876 int uv_fs_open(uv_loop_t* loop, uv_fs_t* req, const char* path, int flags, in uv_fs_open() function
|
/third_party/node/deps/uv/src/win/ |
H A D | fs.c | 2889 int uv_fs_open(uv_loop_t* loop, uv_fs_t* req, const char* path, int flags, in uv_fs_open() function
|