Searched refs:UV_FS_O_RDONLY (Results 1 – 7 of 7) sorted by relevance
/libuv/test/ |
H A D | test-fs-open-flags.c | 181 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 D | test-fs.c | 725 r = uv_fs_open(NULL, &req, "does_not_exist", UV_FS_O_RDONLY, 0, NULL); in TEST_IMPL() 730 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() [all …]
|
H A D | test-poll.c | 646 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 D | unix.h | 472 # define UV_FS_O_RDONLY O_RDONLY macro 474 # define UV_FS_O_RDONLY 0 macro
|
H A D | win.h | 685 #define UV_FS_O_RDONLY _O_RDONLY macro
|
/libuv/src/win/ |
H A D | fs.c | 416 if ((flags & (UV_FS_O_RDONLY | UV_FS_O_WRONLY | UV_FS_O_RDWR)) == in fs__open() 425 flags &= ~(UV_FS_O_RDONLY | UV_FS_O_WRONLY | UV_FS_O_RDWR); in fs__open() 436 switch (flags & (UV_FS_O_RDONLY | UV_FS_O_WRONLY | UV_FS_O_RDWR)) { in fs__open() 437 case UV_FS_O_RDONLY: in fs__open() 629 DWORD flProtect = (fd_info.flags & (UV_FS_O_RDONLY | UV_FS_O_WRONLY | in fs__open() 630 UV_FS_O_RDWR)) == UV_FS_O_RDONLY ? PAGE_READONLY : PAGE_READWRITE; in fs__open() 708 (UV_FS_O_RDONLY | UV_FS_O_WRONLY | UV_FS_O_RDWR); in fs__read_filemap() 889 (UV_FS_O_RDONLY | UV_FS_O_WRONLY | UV_FS_O_RDWR); in fs__write_filemap() 898 if (rw_flags == UV_FS_O_RDONLY) { in fs__write_filemap() 2164 DWORD flProtect = (fd_info.flags & (UV_FS_O_RDONLY | UV_FS_O_WRONLY | in fs__ftruncate() [all …]
|
/libuv/docs/src/ |
H A D | fs.rst | 668 .. c:macro:: UV_FS_O_RDONLY
|
Completed in 47 milliseconds