Home
last modified time | relevance | path

Searched refs:UV_FS_O_RDONLY (Results 1 – 7 of 7) sorted by relevance

/libuv/test/
H A Dtest-fs-open-flags.c181 r = uv_fs_open(NULL, &open_req, file, UV_FS_O_RDONLY, S_IWUSR | S_IRUSR, NULL); in writeExpect()
277 flags = add_flags | UV_FS_O_RDONLY; in fs_open_flags()
287 flags = add_flags | UV_FS_O_RDONLY | UV_FS_O_SYNC; in fs_open_flags()
H A Dtest-fs.c730 r = uv_fs_open(loop, &req, "does_not_exist", UV_FS_O_RDONLY, 0, in TEST_IMPL()
754 r = uv_fs_open(NULL, &req, name, UV_FS_O_RDONLY, 0, NULL); in TEST_IMPL()
794 r = uv_fs_open(NULL, &req, "test_symlink", UV_FS_O_RDONLY, 0, NULL); in TEST_IMPL()
3062 r = uv_fs_open(NULL, &req, path, UV_FS_O_RDONLY, 0, NULL); in TEST_IMPL()
3235 UV_FS_O_RDONLY | add_flags, 0, NULL)); in fs_read_bufs()
3689 UV_FS_O_RDONLY | UV_FS_O_DIRECTORY, in TEST_IMPL()
4344 "test_file", UV_FS_O_RDONLY | UV_FS_O_EXLOCK, in TEST_IMPL()
4358 "test_file", UV_FS_O_RDONLY | UV_FS_O_EXLOCK, in TEST_IMPL()
4465 UV_FS_O_RDONLY | UV_FS_O_CREAT, in TEST_IMPL()
4528 UV_FS_O_RDONLY | UV_FS_O_CREAT, in TEST_IMPL()
[all …]
H A Dtest-poll.c646 fd[0] = _open("test/fixtures/empty_file", UV_FS_O_RDONLY);
648 fd[0] = open(".", UV_FS_O_RDONLY);
658 fd[0] = open("test/fixtures/empty_file", UV_FS_O_RDONLY);
/libuv/include/uv/
H A Dunix.h475 # define UV_FS_O_RDONLY O_RDONLY macro
477 # define UV_FS_O_RDONLY 0 macro
H A Dwin.h677 #define UV_FS_O_RDONLY _O_RDONLY macro
/libuv/src/win/
H A Dfs.c429 if ((flags & (UV_FS_O_RDONLY | UV_FS_O_WRONLY | UV_FS_O_RDWR)) == in fs__open()
438 flags &= ~(UV_FS_O_RDONLY | UV_FS_O_WRONLY | UV_FS_O_RDWR); in fs__open()
449 switch (flags & (UV_FS_O_RDONLY | UV_FS_O_WRONLY | UV_FS_O_RDWR)) { in fs__open()
450 case UV_FS_O_RDONLY: in fs__open()
642 DWORD flProtect = (fd_info.flags & (UV_FS_O_RDONLY | UV_FS_O_WRONLY | in fs__open()
643 UV_FS_O_RDWR)) == UV_FS_O_RDONLY ? PAGE_READONLY : PAGE_READWRITE; in fs__open()
721 (UV_FS_O_RDONLY | UV_FS_O_WRONLY | UV_FS_O_RDWR); in fs__read_filemap()
902 (UV_FS_O_RDONLY | UV_FS_O_WRONLY | UV_FS_O_RDWR); in fs__write_filemap()
911 if (rw_flags == UV_FS_O_RDONLY) { in fs__write_filemap()
2353 DWORD flProtect = (fd_info.flags & (UV_FS_O_RDONLY | UV_FS_O_WRONLY | in fs__ftruncate()
[all …]
/libuv/docs/src/
H A Dfs.rst668 .. c:macro:: UV_FS_O_RDONLY

Completed in 38 milliseconds